linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Add OF support for Microchip emc2305 fan controller
@ 2025-06-03 11:31 florin.leotescu
  2025-06-03 11:31 ` [PATCH 1/4] hwmon: emc2305: Add support for PWM frequency, polarity and output florin.leotescu
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: florin.leotescu @ 2025-06-03 11:31 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Florin Leotescu, linux-hwmon,
	linux-kernel
  Cc: viorel.suman, carlos.song, daniel.baluta, linux-arm-kernel, imx,
	festevam

From: Florin Leotescu <florin.leotescu@nxp.com>

This patch series is a complementary follow-up to the previously accepted
patch series that added initial Device Tree (OF) support for the Microchip
EMC2305 fan controller.

https://lore.kernel.org/all/20250321143308.4008623-1-florin.leotescu@oss.nxp.com/ 

This series builds on that foundation and introduces the actual implementation
of PWM channel configuration based on DT properties:

- Adds three new attributes to the driver data structures to support
  PWM frequency, polarity and output configuration.
- Implements parsing of child nodes and 'pwms' phandle arguments from the
  Device Tree and applies the corresponding per-channel configuration.
- Prevents the PWM value from being set to a thermal-state-based minimum
  during driver probe when the temperature exceeds trip points.


Florin Leotescu (4):
  hwmon: emc2305: Add support for PWM frequency, polarity and output
  hwmon: emc2305: Configure PWM channels based on DT properties
  hwmon: emc2305: Enable PWM polarity and output configuration
  hwmon: emc2305: Set initial PWM minimum value during probe based on
    thermal state

 drivers/hwmon/emc2305.c               | 181 ++++++++++++++++++++++----
 include/linux/platform_data/emc2305.h |   6 +
 2 files changed, 163 insertions(+), 24 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-06-16 22:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-03 11:31 [PATCH 0/4] Add OF support for Microchip emc2305 fan controller florin.leotescu
2025-06-03 11:31 ` [PATCH 1/4] hwmon: emc2305: Add support for PWM frequency, polarity and output florin.leotescu
2025-06-16 22:16   ` Guenter Roeck
2025-06-03 11:31 ` [PATCH 2/4] hwmon: emc2305: Configure PWM channels based on DT properties florin.leotescu
2025-06-16 22:16   ` Guenter Roeck
2025-06-03 11:31 ` [PATCH 3/4] hwmon: emc2305: Enable PWM polarity and output configuration florin.leotescu
2025-06-16 22:17   ` Guenter Roeck
2025-06-03 11:31 ` [PATCH 4/4] hwmon: emc2305: Set initial PWM minimum value during probe based on thermal state florin.leotescu
2025-06-16 22:17   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).