Commit c10b1332 authored by Manivannan Sadhasivam's avatar Manivannan Sadhasivam Committed by Olof Johansson

tty: serial: Add RDA8810PL UART driver

Add UART driver for RDA Micro RDA8810PL SoC.
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 6fc66a5c
...@@ -1021,6 +1021,12 @@ ...@@ -1021,6 +1021,12 @@
specified address. The serial port must already be specified address. The serial port must already be
setup and configured. Options are not yet supported. setup and configured. Options are not yet supported.
rda,<addr>
Start an early, polled-mode console on a serial port
of an RDA Micro SoC, such as RDA8810PL, at the
specified address. The serial port must already be
setup and configured. Options are not yet supported.
smh Use ARM semihosting calls for early console. smh Use ARM semihosting calls for early console.
s3c2410,<addr> s3c2410,<addr>
......
...@@ -1529,6 +1529,25 @@ config SERIAL_OWL_CONSOLE ...@@ -1529,6 +1529,25 @@ config SERIAL_OWL_CONSOLE
Say 'Y' here if you wish to use Actions Semiconductor S500/S900 UART Say 'Y' here if you wish to use Actions Semiconductor S500/S900 UART
as the system console. as the system console.
config SERIAL_RDA
bool "RDA Micro serial port support"
depends on ARCH_RDA || COMPILE_TEST
select SERIAL_CORE
help
This driver is for RDA8810PL SoC's UART.
Say 'Y' here if you wish to use the on-board serial port.
Otherwise, say 'N'.
config SERIAL_RDA_CONSOLE
bool "Console on RDA Micro serial port"
depends on SERIAL_RDA=y
select SERIAL_CORE_CONSOLE
select SERIAL_EARLYCON
default y
help
Say 'Y' here if you wish to use the RDA8810PL UART as the system
console. Only earlycon is implemented currently.
endmenu endmenu
config SERIAL_MCTRL_GPIO config SERIAL_MCTRL_GPIO
......
...@@ -89,6 +89,7 @@ obj-$(CONFIG_SERIAL_MVEBU_UART) += mvebu-uart.o ...@@ -89,6 +89,7 @@ obj-$(CONFIG_SERIAL_MVEBU_UART) += mvebu-uart.o
obj-$(CONFIG_SERIAL_PIC32) += pic32_uart.o obj-$(CONFIG_SERIAL_PIC32) += pic32_uart.o
obj-$(CONFIG_SERIAL_MPS2_UART) += mps2-uart.o obj-$(CONFIG_SERIAL_MPS2_UART) += mps2-uart.o
obj-$(CONFIG_SERIAL_OWL) += owl-uart.o obj-$(CONFIG_SERIAL_OWL) += owl-uart.o
obj-$(CONFIG_SERIAL_RDA) += rda-uart.o
# GPIOLIB helpers for modem control lines # GPIOLIB helpers for modem control lines
obj-$(CONFIG_SERIAL_MCTRL_GPIO) += serial_mctrl_gpio.o obj-$(CONFIG_SERIAL_MCTRL_GPIO) += serial_mctrl_gpio.o
......
This diff is collapsed.
...@@ -281,4 +281,7 @@ ...@@ -281,4 +281,7 @@
/* MediaTek BTIF */ /* MediaTek BTIF */
#define PORT_MTK_BTIF 117 #define PORT_MTK_BTIF 117
/* RDA UART */
#define PORT_RDA 118
#endif /* _UAPILINUX_SERIAL_CORE_H */ #endif /* _UAPILINUX_SERIAL_CORE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment