Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hwmon: (sch5627) Add pwmX_auto_channels_temp attributes
@ 2022-02-24  6:12 Armin Wolf
  2022-02-24  6:12 ` [PATCH v2 1/2] hwmon: (core) Add support for pwm auto channels attribute Armin Wolf
  2022-02-24  6:12 ` [PATCH v2 2/2] hwmon: (sch5627) Add pwmX_auto_channels_temp support Armin Wolf
  0 siblings, 2 replies; 5+ messages in thread
From: Armin Wolf @ 2022-02-24  6:12 UTC (permalink / raw)
  To: hdegoede; +Cc: jdelvare, linux, linux-hwmon, linux-kernel

After doing some research, i found out that Fujitsu's hardware
mointoring solution inside the SCH5627 exports data thru
registers 0xA0 - 0xA3 regarding the mapping between temperature
sensors and fans. If those registers are set to 0, the fans
are forced to full speed.
The first patch adds support for pwmX_auto_channels_temp
attributes to the hwmon core, while the second patch does
extend the sch5627 driver.

Both patches have been tested on a Fujitsu Esprimo P720.

---
Changes in v2:
- acquire mutex before doing register reads/writes

Armin Wolf (2):
  hwmon: (core) Add support for pwm auto channels attribute
  hwmon: (sch5627) Add pwmX_auto_channels_temp support

 Documentation/hwmon/sch5627.rst |  4 +++
 drivers/hwmon/hwmon.c           |  1 +
 drivers/hwmon/sch5627.c         | 61 +++++++++++++++++++++++++++++++++
 include/linux/hwmon.h           |  2 ++
 4 files changed, 68 insertions(+)

--
2.30.2


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

end of thread, other threads:[~2022-02-25  2:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-24  6:12 [PATCH v2 0/2] hwmon: (sch5627) Add pwmX_auto_channels_temp attributes Armin Wolf
2022-02-24  6:12 ` [PATCH v2 1/2] hwmon: (core) Add support for pwm auto channels attribute Armin Wolf
2022-02-25  2:09   ` Guenter Roeck
2022-02-24  6:12 ` [PATCH v2 2/2] hwmon: (sch5627) Add pwmX_auto_channels_temp support Armin Wolf
2022-02-25  2:10   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox