Skip to content

hwmon: (sch5627) Add pwmX_auto_channels_temp attributes

Armin Wolf linux-hwmon lkml 2 versions – Applied

Status from this message: Applied to hwmon-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- acquire mutex before doing register reads/writes

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2hwmon: (core) Add support for pwm auto channels attributedrivers/hwmon/hwmon.c include/linux/hwmon.h+3 -01 reply
2/2hwmon: (sch5627) Add pwmX_auto_channels_temp supportDocumentation/hwmon/sch5627.rst drivers/hwmon/sch5627.c+65 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] hwmon: (sch5627) Add pwmX_auto_channels_temp attributes

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