All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd:Add supprt for SUNIX mfd & PCIe driver
@ 2021-05-28  9:58 Moriis Ku
  2021-06-01  9:09 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Moriis Ku @ 2021-05-28  9:58 UTC (permalink / raw)
  To: lee.jones; +Cc: linux-kernel, jason_lee, taian.chen, Morris Ku

From: Morris Ku <saumah@gmail.com>

Add support for SUNIX mfd & PCIe driver

Cc: Jason Lee <jason_lee@sunix.com>
Cc: Taian Chen <taian.chen@sunix.com>
Signed-off-by: Morris Ku <saumah@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd:Add supprt for SUNIX mfd & PCIe driver
  2021-05-28  9:58 [PATCH] mfd:Add supprt for SUNIX mfd & PCIe driver Moriis Ku
@ 2021-06-01  9:09 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2021-06-01  9:09 UTC (permalink / raw)
  To: Moriis Ku; +Cc: linux-kernel, jason_lee, taian.chen

On Fri, 28 May 2021, Moriis Ku wrote:

> From: Morris Ku <saumah@gmail.com>
> 
> Add support for SUNIX mfd & PCIe driver

That's a pretty broad description.


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

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

> 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"

What is SDC?

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

More please.

>  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

There is no such thing as MFD.

You probably mean 'core'.

> +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.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-01  9:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28  9:58 [PATCH] mfd:Add supprt for SUNIX mfd & PCIe driver Moriis Ku
2021-06-01  9:09 ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.