summaryrefslogtreecommitdiff
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorAlexandru Tachici <alexandru.tachici@analog.com>2020-12-03 09:11:54 +0200
committerGuenter Roeck <linux@roeck-us.net>2020-12-11 07:42:27 -0800
commit9ca26df1ba25c362113d9bb7b08ca93e260ce3e8 (patch)
tree6acd16da50938360735dec1d69d3a7ec7d7e41bd /drivers/hwmon/Kconfig
parentb0bd407e94b036d597c6060d64c22094ff85b13c (diff)
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