[PATCH v4 0/2] mfd: Add support for Khadas Microcontroller

From: Neil Armstrong
Date: Thu Jun 18 2020 - 09:38:27 EST


The new Khadas VIM2, VIM3 and Edge boards embeds an on-board microcontroller
connected via I2C.

This Microcontroller is present on the Khadas VIM1, VIM2, VIM3 and Edge
boards.

It has multiple boot control features like password check, power-on
options, power-off control and system FAN control on recent boards.

Thie serie adds :
- the Thermal Cooling cell driver
- add support into the Khadas VIM3/VIM3L DT

Changes since v3 at [4]:
- Removed Applied patches 1, 2 & 4
- Added reviewed-by tags for patch 3 & 5

Changes since v2 at [3]:
- Removed NVMEM driver for separate submission
- fixed MFD driver, header and Kconfig
- fixed Thermal Kconfig
- fixed MAINTAINERS files and path

Changes since RFC v1 at [2]:
- moved hwmon driver to thermal-only
- moved the SM1 thermal nodes in a separate serie
- added the bindings review tag from rob

[1] http://lore.kernel.org/r/20200512093916.19676-1-narmstrong@xxxxxxxxxxxx
[2] http://lore.kernel.org/r/20200421080102.22796-1-narmstrong@xxxxxxxxxxxx
[3] http://lore.kernel.org/r/20200512132613.31507-1-narmstrong@xxxxxxxxxxxx
[4] http://lore.kernel.org/r/20200608091739.2368-1-narmstrong@xxxxxxxxxxxx

Neil Armstrong (2):
thermal: add support for the MCU controlled FAN on Khadas boards
arm64: dts: meson-khadas-vim3: add Khadas MCU nodes

.../boot/dts/amlogic/meson-khadas-vim3.dtsi | 23 +++
drivers/thermal/Kconfig | 11 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/khadas_mcu_fan.c | 174 ++++++++++++++++++
4 files changed, 209 insertions(+)
create mode 100644 drivers/thermal/khadas_mcu_fan.c

--
2.22.0