[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250603113125.3175103-1-florin.leotescu@oss.nxp.com>
Date: Tue, 3 Jun 2025 14:31:21 +0300
From: florin.leotescu@....nxp.com
To: Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Florin Leotescu <florin.leotescu@....com>,
linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: viorel.suman@....com,
carlos.song@....com,
daniel.baluta@....com,
linux-arm-kernel@...ts.infradead.org,
imx@...ts.linux.dev,
festevam@...il.com
Subject: [PATCH 0/4] Add OF support for Microchip emc2305 fan controller
From: Florin Leotescu <florin.leotescu@....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
Powered by blists - more mailing lists