]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa484f509db3a669a08608d450d90d7bb312af4e
tree537ff7011a92af56b20ceaa056c23912a9bd673f
parent445a4669b469711c65c7fbe13ec2f673e42e3cb4
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]