mbox series

[0/2] emc2305 driver updates

Message ID 20250210073158.336522-1-florin.leotescu@oss.nxp.com (mailing list archive)
Headers show
Series emc2305 driver updates | expand

Message

Florin Leotescu (OSS) Feb. 10, 2025, 7:31 a.m. UTC
From: Florin Leotescu <florin.leotescu@nxp.com>

Hello,

This patch series enhance the emc2305 driver by introducing device tree support
for configuring PWM output config (open drain / push pull) and PWM polarity config (default/inverted).
Also updates the thermal management, to be configured based on device tree definition.

The primary motivation behind these changes is to simplify the process of configuring PWM settings for emc2305 driver.

By offering the possibility of changing the driver settings directly from device tree,
the driver becomes more flexible and easier to configure on different platforms.

I have tested these patches in a local environment by checking changes in pwm output mode and pwm polarity.

Florin Leotescu (2):
  hwmon: emc2305: Update cooling device registration to include device
    node
  hwmon: emc2305: Add device tree support for polarity and pwm output

 drivers/hwmon/emc2305.c | 32 ++++++++++++++++++++++++++++++--
 1 file changed, 30 insertions(+), 2 deletions(-)