summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-04-01 23:40:32 +0200
committerGuenter Roeck <linux@roeck-us.net>2022-05-22 20:32:30 +0200
commitc8f55be4a1c7b4f64ecac1369e55f366b7f03bd2 (patch)
treed14d6eee5bd158056cef5b9a37784e0ef30e7e4e /drivers/hwmon/Kconfig
parentdt-bindings: hwmon: add Microchip LAN966x bindings (diff)
downloadlinux-c8f55be4a1c7b4f64ecac1369e55f366b7f03bd2.tar.xz
linux-c8f55be4a1c7b4f64ecac1369e55f366b7f03bd2.zip
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>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 6d11626c0a09..684b82597a5d 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -819,6 +819,18 @@ config SENSORS_POWR1220
This driver can also be built as a module. If so, the module
will be called powr1220.
+config SENSORS_LAN966X
+ tristate "Microchip LAN966x Hardware Monitoring"
+ depends on SOC_LAN966 || COMPILE_TEST
+ select REGMAP
+ select POLYNOMIAL
+ help
+ If you say yes here you get support for temperature monitoring
+ on the Microchip LAN966x SoC.
+
+ This driver can also be built as a module. If so, the module
+ will be called lan966x-hwmon.
+
config SENSORS_LINEAGE
tristate "Lineage Compact Power Line Power Entry Module"
depends on I2C