Skip to content
Permalink
Browse files
serial:sunplus-uart:Add Sunplus SoC UART Driver
Add Sunplus SoC UART Driver

Signed-off-by: Hammer Hsieh <hammer.hsieh@sunplus.com>
  • Loading branch information
Hammer Hsieh authored and intel-lab-lkp committed Nov 10, 2021
1 parent 49cb593 commit bf691d823221e8ab7a6710bcf06c227fcb00ac6d
Show file tree
Hide file tree
Showing 5 changed files with 1,764 additions and 0 deletions.
@@ -17938,6 +17938,8 @@ SUNPLUS UART DRIVER
M: Hammer Hsieh <hammer.hsieh@sunplus.com>
S: Maintained
F: Documentation/devicetree/bindings/serial/sunplus,sp7021-uart.yaml
F: drivers/tty/serial/sunplus-uart.c
F: include/soc/sunplus/sp-uart.h

SUPERH
M: Yoshinori Sato <ysato@users.sourceforge.jp>
@@ -1562,6 +1562,29 @@ config SERIAL_LITEUART_CONSOLE
and warnings and which allows logins in single user mode).
Otherwise, say 'N'.

config SERIAL_SUNPLUS
bool "Sunplus UART support"
depends on OF
select SERIAL_CORE
help
Select this option if you would like to use Sunplus serial port on
Sunplus SoC SP7021.
If you enable this option, Sunplus serial ports in the system will
be registered as ttySx.

config SERIAL_SUNPLUS_CONSOLE
bool "Console on Sunplus UART"
depends on SERIAL_SUNPLUS
select SERIAL_CORE_CONSOLE
select SERIAL_EARLYCON
help
Select this option if you would like to use a Sunplus UART as the
system console.
Even if you say Y here, the currently visible virtual console
(/dev/tty0) will still be used as the system console by default, but
you can alter that using a kernel command line option such as
"console=ttySx".

endmenu

config SERIAL_MCTRL_GPIO
@@ -87,6 +87,7 @@ obj-$(CONFIG_SERIAL_RDA) += rda-uart.o
obj-$(CONFIG_SERIAL_MILBEAUT_USIO) += milbeaut_usio.o
obj-$(CONFIG_SERIAL_SIFIVE) += sifive.o
obj-$(CONFIG_SERIAL_LITEUART) += liteuart.o
obj-$(CONFIG_SERIAL_SUNPLUS) += sunplus-uart.o

# GPIOLIB helpers for modem control lines
obj-$(CONFIG_SERIAL_MCTRL_GPIO) += serial_mctrl_gpio.o

0 comments on commit bf691d8

Please sign in to comment.