From: florin.leotescu@oss.nxp.com
To: Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
Florin Leotescu <florin.leotescu@nxp.com>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: viorel.suman@nxp.com, carlos.song@nxp.com, daniel.baluta@nxp.com,
linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev,
festevam@gmail.com
Subject: [PATCH 0/4] Add OF support for Microchip emc2305 fan controller
Date: Tue, 3 Jun 2025 14:31:21 +0300 [thread overview]
Message-ID: <20250603113125.3175103-1-florin.leotescu@oss.nxp.com> (raw)
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
next reply other threads:[~2025-06-03 11:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-03 11:31 florin.leotescu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250603113125.3175103-1-florin.leotescu@oss.nxp.com \
--to=florin.leotescu@oss.nxp.com \
--cc=carlos.song@nxp.com \
--cc=daniel.baluta@nxp.com \
--cc=festevam@gmail.com \
--cc=florin.leotescu@nxp.com \
--cc=imx@lists.linux.dev \
--cc=jdelvare@suse.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=viorel.suman@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).