aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus/Kconfig
diff options
context:
space:
mode:
authorAlexandru Tachici <alexandru.tachici@analog.com>2020-08-12 17:20:52 +0300
committerGuenter Roeck <linux@roeck-us.net>2020-09-23 09:42:41 -0700
commitd98dfad35c38c037b37c4adc99df01da571031a5 (patch)
treeee27d1f875e0dbf27448772a1e097c5c0e912ab1 /drivers/hwmon/pmbus/Kconfig
parenthwmon: (pmbus/adm1266) Add Block process call (diff)
downloadlinux-dev-d98dfad35c38c037b37c4adc99df01da571031a5.tar.xz
linux-dev-d98dfad35c38c037b37c4adc99df01da571031a5.zip
hwmon: (pmbus/adm1266) Add support for GPIOs
Adm1266 exposes 9 GPIOs and 16 PDIOs which are currently read-only. They are controlled by the internal sequencing engine. This patch makes adm1266 driver expose GPIOs and PDIOs to user-space using GPIO provider kernel api. Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com> Link: https://lore.kernel.org/r/20200812142055.9213-4-alexandru.tachici@analog.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus/Kconfig')
-rw-r--r--drivers/hwmon/pmbus/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/pmbus/Kconfig b/drivers/hwmon/pmbus/Kconfig
index 7902a9a72681..db90e0018948 100644
--- a/drivers/hwmon/pmbus/Kconfig
+++ b/drivers/hwmon/pmbus/Kconfig
@@ -29,6 +29,7 @@ config SENSORS_PMBUS
config SENSORS_ADM1266
tristate "Analog Devices ADM1266 Sequencer"
select CRC8
+ depends on GPIOLIB
help
If you say yes here you get hardware monitoring support for Analog
Devices ADM1266 Cascadable Super Sequencer.