Skip to contentSkip to conversation

mfd:Add supprt for SUNIX mfd & PCIe driver

PATCH In review Moriis Ku 2 participants 2 messages May 28, 2021 – Jun 1, 2021 Kbuild

lore
Share & tools
lore

Moriis Ku

author
#0 lore raw

PATCH 1/1 mfd:Add supprt for SUNIX mfd & PCIe driver

From: Morris Ku <[email protected]>

Add support for SUNIX mfd & PCIe driver

Cc Jason Lee <[email protected]>
Cc Taian Chen <[email protected]>
---
 Kconfig  | 12 ++++++++++++
 Makefile |  4 ++++
 2 files changed, 16 insertions(+)
Kconfig +12 -0
index 17d0ad2..25b7db5 100644
@@ -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
Makefile +4 -0
index a1872e4..52fa8be 100644
@@ -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
+
+
 
Signature · 1 line
2.20.1
#1 lore raw
Quoted 3 lines · Moriis Ku

From: Morris Ku <[email protected]>

Add support for SUNIX mfd & PCIe driver

That's a pretty broad description.

Quoted 7 lines
Cc Jason Lee <[email protected]>
Cc Taian Chen <[email protected]>
---
 Kconfig  | 12 ++++++++++++
 Makefile |  4 ++++
 2 files changed, 16 insertions(+)

Patches should be generated from the root of the source directory.

Quoted 5 lines
Kconfig +0 -0
index 17d0ad2..25b7db5 100644

Kconfig config RAVE_SP_CORE · line 2021

Quoted 10 lines
Kconfig +7 -0
@@ -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"

What is SDC?

Kconfig config RAVE_SP_CORE · line 2026

Quoted 5 lines
Kconfig +5 -0
+	select MFD_SUNIX_SDC
+	depends on X86 && PCI
+	help
+	  Selecting this option will add support for SUNIX SDC PCIe
+	  multi-function board.

More please.

Makefile obj-$(CONFIG_MFD_ROHM_BD70528) += rohm-bd70528.o · line 259

Quoted 11 lines
Kconfig +0 -0
 endmenu
 endif
Makefile +1 -0
index a1872e4..52fa8be 100644
@@ -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

There is no such thing as MFD.

You probably mean 'core'.

Makefile obj-$(CONFIG_MFD_ROHM_BD70528) += rohm-bd70528.o · line 262

Quoted 3 lines
Makefile +3 -0
+obj-$(CONFIG_MFD_SUNIX_SDC_PCI)	+= sdc_pci.o
+
+

No need for 2 empty spaces.

This patch doesn't actually do anything.

Please submit it squashed into the driver.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog