summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorAlexandru Tachici <alexandru.tachici@analog.com>2020-12-03 08:11:54 +0100
committerGuenter Roeck <linux@roeck-us.net>2020-12-11 16:42:27 +0100
commit9ca26df1ba25c362113d9bb7b08ca93e260ce3e8 (patch)
tree6acd16da50938360735dec1d69d3a7ec7d7e41bd /drivers/hwmon/Kconfig
parenthwmon: (ltc2992) Add support (diff)
downloadlinux-9ca26df1ba25c362113d9bb7b08ca93e260ce3e8.tar.xz
linux-9ca26df1ba25c362113d9bb7b08ca93e260ce3e8.zip
hwmon: (ltc2992) Add support for GPIOs.
LTC2992 has 4 open-drain GPIOS. This patch exports to user space the 4 GPIOs using the GPIO driver Linux API. Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index d3e4dc00f442..49920a1af3d0 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -874,6 +874,7 @@ config SENSORS_LTC2990
config SENSORS_LTC2992
tristate "Linear Technology LTC2992"
depends on I2C
+ depends on GPIOLIB
help
If you say yes here you get support for Linear Technology LTC2992
I2C System Monitor. The LTC2992 measures current, voltage, and