[PATCH] mfd:Add supprt for SUNIX mfd & PCIe driver

From: Moriis Ku
Date: Fri May 28 2021 - 05:58:40 EST


From: Morris Ku <saumah@xxxxxxxxx>

Add support for SUNIX mfd & PCIe driver

Cc: Jason Lee <jason_lee@xxxxxxxxx>
Cc: Taian Chen <taian.chen@xxxxxxxxx>
Signed-off-by: Morris Ku <saumah@xxxxxxxxx>
---
Kconfig | 12 ++++++++++++
Makefile | 4 ++++
2 files changed, 16 insertions(+)

diff --git a/Kconfig b/Kconfig
index 17d0ad2..25b7db5 100644
--- a/Kconfig
+++ b/Kconfig
@@ -2012,6 +2012,18 @@ config RAVE_SP_CORE
Select this to get support for the Supervisory Processor
device found on several devices in RAVE line of hardware.

+config MFD_SUNIX_SDC
+ tristate
+ select MFD_CORE
+ select SERIAL_8250_SDC
+
+config MFD_SUNIX_SDC_PCI
+ tristate "SUNIX SDC PCIe multi-function board support"
+ select MFD_SUNIX_SDC
+ depends on X86 && PCI
+ help
+ Selecting this option will add support for SUNIX SDC PCIe
+ multi-function board.

endmenu
endif
diff --git a/Makefile b/Makefile
index a1872e4..52fa8be 100644
--- a/Makefile
+++ b/Makefile
@@ -256,4 +256,8 @@ obj-$(CONFIG_MFD_ROHM_BD70528) += rohm-bd70528.o
obj-$(CONFIG_MFD_ROHM_BD718XX) += rohm-bd718x7.o
obj-$(CONFIG_MFD_STMFX) += stmfx.o

+obj-$(CONFIG_MFD_SUNIX_SDC) += sdc_mfd.o
+obj-$(CONFIG_MFD_SUNIX_SDC_PCI) += sdc_pci.o
+
+

--
2.20.1