hwmon: (sch5627) Add pwmX_auto_channels_temp support
authorArmin Wolf <W_Armin@gmx.de>
Thu, 24 Feb 2022 06:12:10 +0000 (07:12 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:19 +0000 (17:03 -0800)
commitaa9f833dfc128169a1162261c5641aa516b4a231
tree532f604431483d8501ded64a41bac75a3f7080e3
parente75d16e58467c5703821e12536c7dc438f3c425d
hwmon: (sch5627) Add pwmX_auto_channels_temp support

After doing some research, it seems that Fujitsu's
hardware monitoring solution exports data describing
which temperature sensors affect which fans, similar
to the data in fan_source of the ftsteutates driver.
Writing 0 into these registers forces the fans to
full speed.
Export this data with standard attributes.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20220224061210.16452-3-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/sch5627.rst
drivers/hwmon/sch5627.c