diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2020-06-24 18:15:27 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-06-25 08:44:20 +0200 |
commit | 5772717e59b9fbdc9e97da606dd69a75174f8101 (patch) | |
tree | 537ff7011a92af56b20ceaa056c23912a9bd673f /drivers/thermal/Kconfig | |
parent | mfd: Add support for the Khadas System control Microcontroller (diff) | |
download | linux-5772717e59b9fbdc9e97da606dd69a75174f8101.tar.xz linux-5772717e59b9fbdc9e97da606dd69a75174f8101.zip |
thermal: Add support for the MCU controlled FAN on Khadas boards
The new Khadas VIM2 and VIM3 boards controls the cooling fan via the
on-board microcontroller.
This implements the FAN control as thermal devices and as cell of the Khadas
MCU MFD driver.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 3eb2348e5242..0125561488c9 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -500,4 +500,15 @@ config SPRD_THERMAL help Support for the Spreadtrum thermal sensor driver in the Linux thermal framework. + +config KHADAS_MCU_FAN_THERMAL + tristate "Khadas MCU controller FAN cooling support" + depends on OF || COMPILE_TEST + depends on MFD_KHADAS_MCU + select MFD_CORE + select REGMAP + help + If you say yes here you get support for the FAN controlled + by the Microcontroller found on the Khadas VIM boards. + endif |