diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-01-29 01:49:17 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2022-02-11 20:24:53 +0100 |
commit | 2b0e7ac0841b3906aeecf432567b02af683a596c (patch) | |
tree | 66e3f624cabb0dc8866709d846bf319417d5c38c /drivers/power/supply/Kconfig | |
parent | d662a7df36e1edc65eaf166ec1c8527ce9d088ea (diff) | |
download | lwn-2b0e7ac0841b3906aeecf432567b02af683a596c.tar.gz lwn-2b0e7ac0841b3906aeecf432567b02af683a596c.zip |
power: supply: ab8500: Integrate thermal zone
Instead of providing our own homebrewn thermal measurement
code for an NTC and passing tables, we put the NTC thermistor
into the device tree, create a passive thermal zone, and poll
this thermal zone for the temperature.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r-- | drivers/power/supply/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index 6b15eb184072..3520da74b8a7 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -728,6 +728,8 @@ config BATTERY_GAUGE_LTC2941 config AB8500_BM bool "AB8500 Battery Management Driver" depends on AB8500_CORE && AB8500_GPADC && (IIO = y) && OF + select THERMAL + select THERMAL_OF help Say Y to include support for AB8500 battery management. |