[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250708-mc33xs2410-hwmon-v4-0-95b9e3ea5f5c@liebherr.com>
Date: Tue, 08 Jul 2025 18:13:02 +0200
From: Dimitri Fedrau via B4 Relay <devnull+dimitri.fedrau.liebherr.com@...nel.org>
To: Uwe Kleine-König <ukleinek@...nel.org>,
Jean Delvare <jdelvare@...e.com>, Guenter Roeck <linux@...ck-us.net>
Cc: linux-pwm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hwmon@...r.kernel.org, Dimitri Fedrau <dimitri.fedrau@...bherr.com>,
Dimitri Fedrau <dima.fedrau@...il.com>
Subject: [PATCH v4 0/2] hwmon: add support for MC33XS2410 hardware
The device is able to monitor temperature, voltage and current of each of
the four outputs. Add basic support for monitoring the temperature of the
four outputs and the die temperature.
Signed-off-by: Dimitri Fedrau <dimitri.fedrau@...bherr.com>
---
Changes in v4:
- Move hwmon functionality into separate driver residing in hwmon subsystem
(auxiliary device)
- Link to v3: https://lore.kernel.org/r/20250619-mc33xs2410-hwmon-v3-1-301731e49f8f@liebherr.com
Changes in v3:
- Add changes suggested by Uwe Kleine-König.
Remove "#if IS_ENABLED(CONFIG_HWMON)" and add
"if (IS_REACHABLE(CONFIG_HWMON))" in mc33xs2410_hwmon_probe.
- Link to v2: https://lore.kernel.org/r/20250515-mc33xs2410-hwmon-v2-1-8d2e78f7e30d@liebherr.com
Changes in v2:
- Remove helper mc33xs2410_hwmon_read_out_status and report the last
latched status.
- Link to v1: https://lore.kernel.org/r/20250512-mc33xs2410-hwmon-v1-1-addba77c78f9@liebherr.com
---
Dimitri Fedrau (2):
pwm: mc33xs2410: add hwmon support
hwmon: add support for MC33XS2410 hardware monitoring
drivers/hwmon/Kconfig | 10 +++
drivers/hwmon/Makefile | 1 +
drivers/hwmon/mc33xs2410_hwmon.c | 179 +++++++++++++++++++++++++++++++++++++++
drivers/pwm/Kconfig | 1 +
drivers/pwm/pwm-mc33xs2410.c | 64 +++++++++++++-
include/linux/mc33xs2410.h | 14 +++
6 files changed, 267 insertions(+), 2 deletions(-)
---
base-commit: 446d36aa71b56e8a926e6ff066d83b12130fda59
change-id: 20250507-mc33xs2410-hwmon-a5ff9efec005
Best regards,
--
Dimitri Fedrau <dimitri.fedrau@...bherr.com>
Powered by blists - more mailing lists