[PATCH 1/4] mfd: eiois200: Insert EIO-IS200 core driver to Kconfig

From: advantech . susiteam
Date: Wed Sep 06 2023 - 23:14:05 EST


From: Wenkai <advantech.susiteam@xxxxxxxxx>

This patch adds support for the Advantech EIO-IS200 Embedded
Controller core driver to the Kconfig configuration menu. When
configuring the kernel using tools like menuconfig, you can
select M to build it as a module or select N to exclude it from
being built-in.

Signed-off-by: Wenkai <advantech.susiteam@xxxxxxxxx>
---
drivers/mfd/Kconfig | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index aea95745c73f..85bcb8f95501 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -52,6 +52,23 @@ config MFD_ACT8945A
linear regulators, along with a complete ActivePath battery
charger.

+ config MFD_EIOIS200
+ tristate "Advantech EIO-IS200 Embedded Controller core driver"
+ depends on X86
+ depends on m
+ default m
+ select MFD_CORE
+ select REGMAP_MMIO
+ help
+ This driver provides support for the Advantech EIO-IS200 EC and
+ activate its sub-drivers, including GPIO, watchdog, hardware
+ monitor, I2C, and thermal.
+
+ This driver option only has two states: M and N. It cannot be
+ built-in. To compile this driver as a module, choose M here; the
+ module will be called eiois200_core. The system will force it to
+ M if any one of its sub-drivers is chosen.
+
config MFD_SUN4I_GPADC
tristate "Allwinner sunxi platforms' GPADC MFD driver"
select MFD_CORE
--
2.34.1