thermal: Add support for the MCU controlled FAN on Khadas boards
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 24 Jun 2020 16:15:27 +0000 (18:15 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 25 Jun 2020 06:44:20 +0000 (07:44 +0100)
commit5772717e59b9fbdc9e97da606dd69a75174f8101
tree537ff7011a92af56b20ceaa056c23912a9bd673f
parent6c27219e34911601955b72c754adfc11c527ba7b
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>
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/khadas_mcu_fan.c [new file with mode: 0644]