linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Moriis Ku <saumah@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-serial@vger.kernel.org, jason_lee@sunix.com,
	taian.chen@sunix.com, Morris Ku <saumah@gmail.com>
Subject: [PATCH] Add supprt for SUNIX SDC serial port driver
Date: Fri, 28 May 2021 17:22:40 +0800	[thread overview]
Message-ID: <20210528092240.5896-1-saumah@gmail.com> (raw)

From: Morris Ku <saumah@gmail.com>

SUNIX SDC serial port driver.

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

diff --git a/drivers/tty/serial/8250/Kconfig b//drivers/tty/serial/8250/Kconfig
index d6d408c..3fcd4d3 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -479,6 +479,12 @@ config SERIAL_8250_PXA
 	  applicable to both devicetree and legacy boards, and early console is
 	  part of its support.
 
+config SERIAL_8250_SDC
+	tristate "SUNIX SDC serial port support"
+	depends on SERIAL_8250 && MFD_SUNIX_SDC
+	help
+	  Support for SUNIX SDC serial port
+
 config SERIAL_OF_PLATFORM
 	tristate "Devicetree based probing for 8250 ports"
 	depends on SERIAL_8250 && OF
diff --git a/Makefile b/Makefile
index 53d483d..df5cbb5 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,7 @@ obj-$(CONFIG_SERIAL_8250_LPSS)		+= 8250_lpss.o
 obj-$(CONFIG_SERIAL_8250_MID)		+= 8250_mid.o
 obj-$(CONFIG_SERIAL_8250_PXA)		+= 8250_pxa.o
 obj-$(CONFIG_SERIAL_OF_PLATFORM)	+= 8250_of.o
+obj-$(CONFIG_SERIAL_8250_SDC)		+= 8250_sdc.o
 
 
 CFLAGS_8250_ingenic.o += -I$(srctree)/scripts/dtc/libfdt
-- 
2.20.1


             reply	other threads:[~2021-05-28  9:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-28  9:22 Moriis Ku [this message]
2021-05-28  9:27 ` [PATCH] Add supprt for SUNIX SDC serial port driver Greg KH

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=20210528092240.5896-1-saumah@gmail.com \
    --to=saumah@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jason_lee@sunix.com \
    --cc=linux-serial@vger.kernel.org \
    --cc=taian.chen@sunix.com \
    /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).