summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorJason Li <jason.li@cortina-access.com>2021-06-15 09:57:48 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-18 13:12:12 +0200
commitb61c8bf4694b5115766849378dcb8787ff54e65e (patch)
tree863e3428f77e2756f708b7b267fe2f90cd29e6ba /drivers/tty/serial/Kconfig
parent18aaa97eee7ddb770963d84aeaf5e95a8f8af088 (diff)
tty: serial: Add UART driver for Cortina-Access platform
This driver supports Cortina Access UART IP integrated in most all CAXXXX line of SoCs. Earlycom is also supported Signed-off-by: Jason Li <jason.li@cortina-access.com> Link: https://lore.kernel.org/r/20210615165750.31261-1-alex.nemirovsky@cortina-access.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r--drivers/tty/serial/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 24282ad99d85..2fa39cd78c56 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1561,6 +1561,25 @@ config SERIAL_LITEUART_CONSOLE
and warnings and which allows logins in single user mode).
Otherwise, say 'N'.
+config SERIAL_CORTINA_ACCESS
+ tristate "Cortina-Access serial port support"
+ select SERIAL_CORE
+ help
+ This driver is for Cortina-Access SoC's UART. If you have a machine
+ based on the Cortina-Access SoC and wish to use the serial port,
+ say 'Y' here. Otherwise, say 'N'.
+
+config SERIAL_CORTINA_ACCESS_CONSOLE
+ bool "Console on Cortina-ACCESS serial port"
+ depends on SERIAL_CORTINA_ACCESS=y
+ select SERIAL_CORE_CONSOLE
+ select SERIAL_EARLYCON
+ help
+ Say 'Y' here if you wish to use Cortina-Access UART as the system
+ console. (the system console is the device which receives all kernel
+ messages and warnings and which allows logins in single user mode)
+ /dev/ttyS* is default device node.
+
endmenu
config SERIAL_MCTRL_GPIO