summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorJean-Francois Dagenais2019-04-19 02:57:22 +0200
committerGuenter Roeck2019-04-20 16:08:15 +0200
commit4f8d374b770a2e26088186d6c18acf582227129d (patch)
tree4be6838793c8bf4b86e964828321731a3446475d /drivers/hwmon/Kconfig
parenthwmon: (ina3221) Add voltage conversion time settings (diff)
downloadkernel-qcow2-linux-4f8d374b770a2e26088186d6c18acf582227129d.tar.gz
kernel-qcow2-linux-4f8d374b770a2e26088186d6c18acf582227129d.tar.xz
kernel-qcow2-linux-4f8d374b770a2e26088186d6c18acf582227129d.zip
hwmon: (max6650) add thermal cooling device capability
This allows max6650 devices to be referenced in dts as a cooling device. The pwm value seems duplicated in cooling_dev_state but since pwm goes through rounding logic into data->dac, it is modified and messes with the thermal zone state algorithms. It's also better to serve a cache value, thus avoiding periodic actual i2c traffic. Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.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 470ba66b18b0..1915a18b537b 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -908,6 +908,7 @@ config SENSORS_MAX6642
config SENSORS_MAX6650
tristate "Maxim MAX6650 sensor chip"
depends on I2C
+ depends on THERMAL || THERMAL=n
help
If you say yes here you get support for the MAX6650 / MAX6651
sensor chips.