mfd: Add support for the Khadas System control Microcontroller
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 8 Jun 2020 09:17:36 +0000 (11:17 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 18 Jun 2020 10:23:16 +0000 (11:23 +0100)
commit6c27219e34911601955b72c754adfc11c527ba7b
tree20e6092cd0d63f11f00dbcb290b24671c6aeb7b5
parent6bcb330c1f373f314118f772c6e22f1cc36d7683
mfd: Add support for the Khadas System control Microcontroller

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.

This implements a very basic MFD driver with the fan control and User
NVMEM cells.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/khadas-mcu.c [new file with mode: 0644]
include/linux/mfd/khadas-mcu.h [new file with mode: 0644]