diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2020-06-08 11:17:36 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-06-18 11:23:16 +0100 |
commit | 6c27219e34911601955b72c754adfc11c527ba7b (patch) | |
tree | 20e6092cd0d63f11f00dbcb290b24671c6aeb7b5 /drivers/mfd/Kconfig | |
parent | 6bcb330c1f373f314118f772c6e22f1cc36d7683 (diff) | |
download | lwn-6c27219e34911601955b72c754adfc11c527ba7b.tar.gz lwn-6c27219e34911601955b72c754adfc11c527ba7b.zip |
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>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index a37d7d171382..d13bb0abfd6f 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -2053,6 +2053,27 @@ config MFD_WCD934X This driver provides common support WCD934x audio codec and its associated Pin Controller, Soundwire Controller and Audio codec. +config MFD_KHADAS_MCU + tristate "Support for Khadas System control Microcontroller" + depends on I2C + depends on ARCH_MESON || ARCH_ROCKCHIP || COMPILE_TEST + select MFD_CORE + select REGMAP_I2C + help + Support for the Khadas System control Microcontroller interface + present on their VIM and Edge boards. + + This Microcontroller is present on the Khadas VIM1, VIM2, VIM3 and + Edge boards. + + It provides multiple boot control features like password check, + power-on options, power-off control and system FAN control on recent + boards. + + This driver provides common support for accessing the device, + additional drivers must be enabled in order to use the functionality + of the device. + menu "Multimedia Capabilities Port drivers" depends on ARCH_SA1100 |