hwmon: add driver for the Microchip LAN966x SoC
authorMichael Walle <michael@walle.cc>
Fri, 1 Apr 2022 21:40:32 +0000 (23:40 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 22 May 2022 18:32:30 +0000 (11:32 -0700)
commitc8f55be4a1c7b4f64ecac1369e55f366b7f03bd2
treed14d6eee5bd158056cef5b9a37784e0ef30e7e4e
parentede7e1c20b7533d89259027595fe4e0096b827c9
hwmon: add driver for the Microchip LAN966x SoC

Add support for the temperatur sensor and the fan controller on the
Microchip LAN966x SoC. Apparently, an Analog Bits PVT sensor is used
which can measure temperature and process voltages. But only a forumlae
for the temperature sensor is known. Additionally, the SoC support a fan
tacho input as well as a PWM signal to control the fan.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220401214032.3738095-5-michael@walle.cc
[groeck: Added missing reference in Documentation/hwmon/index.rst]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/index.rst
Documentation/hwmon/lan966x.rst [new file with mode: 0644]
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/lan966x-hwmon.c [new file with mode: 0644]