linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: advantech.susiteam@gmail.com
To: advantech.susiteam@gmail.com
Cc: wenkai.chung@advantech.com.tw, Susi.Driver@advantech.com,
	Lee Jones <lee@kernel.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 1/4] mfd: eiois200: Insert EIO-IS200 core driver to Kconfig
Date: Thu,  7 Sep 2023 11:13:15 +0800	[thread overview]
Message-ID: <20230907031320.6814-2-advantech.susiteam@gmail.com> (raw)
In-Reply-To: <20230907031320.6814-1-advantech.susiteam@gmail.com>

From: Wenkai <advantech.susiteam@gmail.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@gmail.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


  reply	other threads:[~2023-09-07  3:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-07  3:13 [PATCH 0/4] mfd: eiois200: Add core driver for EIO-IS200 advantech.susiteam
2023-09-07  3:13 ` advantech.susiteam [this message]
2023-09-07  3:13 ` [PATCH 2/4] mfd: eiois200: Insert EIO-IS200 core driver to Makefile advantech.susiteam
2023-09-07  3:13 ` [PATCH 3/4] mfd: eiois200: Add Header for EIO-IS200 Core Driver advantech.susiteam
2023-09-07  3:13 ` [PATCH 4/4] mfd: eiois200: Add EIO-IS200 Series EC " advantech.susiteam
2023-09-07  7:36   ` kernel test robot
2023-09-07 12:21   ` kernel test robot
2023-09-20 11:13   ` Lee Jones
2023-09-27  5:55     ` Wenkai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230907031320.6814-2-advantech.susiteam@gmail.com \
    --to=advantech.susiteam@gmail.com \
    --cc=Susi.Driver@advantech.com \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wenkai.chung@advantech.com.tw \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).