aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-10-11 09:18:02 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-10-18 19:37:08 +0100
commitd17e86cb16e088336501bed1fdec45f705d85c5f (patch)
treec92b6353b4bcd65785d0c8688b6919439d76b7ab /drivers/hwmon/Kconfig
parentpower: supply: ab8500_fg: Convert to IIO ADC (diff)
downloadlinux-dev-d17e86cb16e088336501bed1fdec45f705d85c5f.tar.xz
linux-dev-d17e86cb16e088336501bed1fdec45f705d85c5f.zip
hwmon: ab8500: Convert to IIO ADC
This switches the AB8500 hardware monitor driver to using the standard IIO ADC channel lookup and conversion routines. Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 13a6b4afb4b3..5308c59d7001 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -40,7 +40,8 @@ comment "Native drivers"
config SENSORS_AB8500
tristate "AB8500 thermal monitoring"
- depends on AB8500_GPADC && AB8500_BM
+ depends on AB8500_GPADC && AB8500_BM && (IIO = y)
+ default n
help
If you say yes here you get support for the thermal sensor part
of the AB8500 chip. The driver includes thermal management for