[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230907031320.6814-2-advantech.susiteam@gmail.com>
Date: Thu, 7 Sep 2023 11:13:15 +0800
From: advantech.susiteam@...il.com
To: advantech.susiteam@...il.com
Cc: wenkai.chung@...antech.com.tw, Susi.Driver@...antech.com,
Lee Jones <lee@...nel.org>, linux-kernel@...r.kernel.org
Subject: [PATCH 1/4] mfd: eiois200: Insert EIO-IS200 core driver to Kconfig
From: Wenkai <advantech.susiteam@...il.com>
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@...il.com>
---
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
Powered by blists - more mailing lists