]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc62e07224b9f788aacbb42642b5049f87dc7bd5
treed14d6eee5bd158056cef5b9a37784e0ef30e7e4e
parentb80f9c75560e707e769978ac28bfa145d4f33b7a
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]