linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] hwmon: add support for MC33XS2410 hardware
@ 2025-07-08 16:13 Dimitri Fedrau via B4 Relay
  2025-07-08 16:13 ` [PATCH v4 1/2] pwm: mc33xs2410: add hwmon support Dimitri Fedrau via B4 Relay
  2025-07-08 16:13 ` [PATCH v4 2/2] hwmon: add support for MC33XS2410 hardware monitoring Dimitri Fedrau via B4 Relay
  0 siblings, 2 replies; 7+ messages in thread
From: Dimitri Fedrau via B4 Relay @ 2025-07-08 16:13 UTC (permalink / raw)
  To: Uwe Kleine-König, Jean Delvare, Guenter Roeck
  Cc: linux-pwm, linux-kernel, linux-hwmon, Dimitri Fedrau,
	Dimitri Fedrau

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@liebherr.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@liebherr.com>



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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-08 16:13 [PATCH v4 0/2] hwmon: add support for MC33XS2410 hardware Dimitri Fedrau via B4 Relay
2025-07-08 16:13 ` [PATCH v4 1/2] pwm: mc33xs2410: add hwmon support Dimitri Fedrau via B4 Relay
2025-07-16  6:39   ` Uwe Kleine-König
2025-07-16  7:06     ` Dimitri Fedrau
2025-07-08 16:13 ` [PATCH v4 2/2] hwmon: add support for MC33XS2410 hardware monitoring Dimitri Fedrau via B4 Relay
2025-07-08 16:21   ` Guenter Roeck
2025-07-11  5:45     ` Dimitri Fedrau

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).