18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Serial device configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_cimenu "Serial drivers"
78c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciconfig SERIAL_EARLYCON
108c2ecf20Sopenharmony_ci	bool
118c2ecf20Sopenharmony_ci	depends on SERIAL_CORE
128c2ecf20Sopenharmony_ci	help
138c2ecf20Sopenharmony_ci	  Support for early consoles with the earlycon parameter. This enables
148c2ecf20Sopenharmony_ci	  the console before standard serial driver is probed. The console is
158c2ecf20Sopenharmony_ci	  enabled when early_param is processed.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_cisource "drivers/tty/serial/8250/Kconfig"
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_cicomment "Non-8250 serial port support"
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciconfig SERIAL_AMBA_PL010
228c2ecf20Sopenharmony_ci	tristate "ARM AMBA PL010 serial port support"
238c2ecf20Sopenharmony_ci	depends on ARM_AMBA
248c2ecf20Sopenharmony_ci	select SERIAL_CORE
258c2ecf20Sopenharmony_ci	help
268c2ecf20Sopenharmony_ci	  This selects the ARM(R) AMBA(R) PrimeCell PL010 UART.  If you have
278c2ecf20Sopenharmony_ci	  an Integrator/AP or Integrator/PP2 platform, or if you have a
288c2ecf20Sopenharmony_ci	  Cirrus Logic EP93xx CPU, say Y or M here.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci	  If unsure, say N.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciconfig SERIAL_AMBA_PL010_CONSOLE
338c2ecf20Sopenharmony_ci	bool "Support for console on AMBA serial port"
348c2ecf20Sopenharmony_ci	depends on SERIAL_AMBA_PL010=y
358c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
368c2ecf20Sopenharmony_ci	help
378c2ecf20Sopenharmony_ci	  Say Y here if you wish to use an AMBA PrimeCell UART as the system
388c2ecf20Sopenharmony_ci	  console (the system console is the device which receives all kernel
398c2ecf20Sopenharmony_ci	  messages and warnings and which allows logins in single user mode).
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci	  Even if you say Y here, the currently visible framebuffer console
428c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
438c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
448c2ecf20Sopenharmony_ci	  "console=ttyAM0". (Try "man bootparam" or see the documentation of
458c2ecf20Sopenharmony_ci	  your boot loader (lilo or loadlin) about how to pass options to the
468c2ecf20Sopenharmony_ci	  kernel at boot time.)
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ciconfig SERIAL_AMBA_PL011
498c2ecf20Sopenharmony_ci	tristate "ARM AMBA PL011 serial port support"
508c2ecf20Sopenharmony_ci	depends on ARM_AMBA
518c2ecf20Sopenharmony_ci	select SERIAL_CORE
528c2ecf20Sopenharmony_ci	help
538c2ecf20Sopenharmony_ci	  This selects the ARM(R) AMBA(R) PrimeCell PL011 UART.  If you have
548c2ecf20Sopenharmony_ci	  an Integrator/PP2, Integrator/CP or Versatile platform, say Y or M
558c2ecf20Sopenharmony_ci	  here.
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ci	  If unsure, say N.
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ciconfig SERIAL_AMBA_PL011_CONSOLE
608c2ecf20Sopenharmony_ci	bool "Support for console on AMBA serial port"
618c2ecf20Sopenharmony_ci	depends on SERIAL_AMBA_PL011=y
628c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
638c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
648c2ecf20Sopenharmony_ci	help
658c2ecf20Sopenharmony_ci	  Say Y here if you wish to use an AMBA PrimeCell UART as the system
668c2ecf20Sopenharmony_ci	  console (the system console is the device which receives all kernel
678c2ecf20Sopenharmony_ci	  messages and warnings and which allows logins in single user mode).
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ci	  Even if you say Y here, the currently visible framebuffer console
708c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
718c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
728c2ecf20Sopenharmony_ci	  "console=ttyAMA0". (Try "man bootparam" or see the documentation of
738c2ecf20Sopenharmony_ci	  your boot loader (lilo or loadlin) about how to pass options to the
748c2ecf20Sopenharmony_ci	  kernel at boot time.)
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ciconfig SERIAL_EARLYCON_ARM_SEMIHOST
778c2ecf20Sopenharmony_ci	bool "Early console using ARM semihosting"
788c2ecf20Sopenharmony_ci	depends on ARM64 || ARM
798c2ecf20Sopenharmony_ci	select SERIAL_CORE
808c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
818c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
828c2ecf20Sopenharmony_ci	help
838c2ecf20Sopenharmony_ci	  Support for early debug console using ARM semihosting. This enables
848c2ecf20Sopenharmony_ci	  the console before standard serial driver is probed. This is enabled
858c2ecf20Sopenharmony_ci	  with "earlycon=smh" on the kernel command line. The console is
868c2ecf20Sopenharmony_ci	  enabled when early_param is processed.
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ciconfig SERIAL_EARLYCON_RISCV_SBI
898c2ecf20Sopenharmony_ci	bool "Early console using RISC-V SBI"
908c2ecf20Sopenharmony_ci	depends on RISCV_SBI_V01
918c2ecf20Sopenharmony_ci	select SERIAL_CORE
928c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
938c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
948c2ecf20Sopenharmony_ci	help
958c2ecf20Sopenharmony_ci	  Support for early debug console using RISC-V SBI. This enables
968c2ecf20Sopenharmony_ci	  the console before standard serial driver is probed. This is enabled
978c2ecf20Sopenharmony_ci	  with "earlycon=sbi" on the kernel command line. The console is
988c2ecf20Sopenharmony_ci	  enabled when early_param is processed.
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ciconfig SERIAL_SB1250_DUART
1018c2ecf20Sopenharmony_ci	tristate "BCM1xxx on-chip DUART serial support"
1028c2ecf20Sopenharmony_ci	depends on SIBYTE_SB1xxx_SOC=y
1038c2ecf20Sopenharmony_ci	select SERIAL_CORE
1048c2ecf20Sopenharmony_ci	default y
1058c2ecf20Sopenharmony_ci	help
1068c2ecf20Sopenharmony_ci	  Support for the asynchronous serial interface (DUART) included in
1078c2ecf20Sopenharmony_ci	  the BCM1250 and derived System-On-a-Chip (SOC) devices.  Note that
1088c2ecf20Sopenharmony_ci	  the letter D in DUART stands for "dual", which is how the device
1098c2ecf20Sopenharmony_ci	  is implemented.  Depending on the SOC configuration there may be
1108c2ecf20Sopenharmony_ci	  one or more DUARTs available of which all are handled.
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci	  If unsure, say Y.  To compile this driver as a module, choose M here:
1138c2ecf20Sopenharmony_ci	  the module will be called sb1250-duart.
1148c2ecf20Sopenharmony_ci
1158c2ecf20Sopenharmony_ciconfig SERIAL_SB1250_DUART_CONSOLE
1168c2ecf20Sopenharmony_ci	bool "Support for console on a BCM1xxx DUART serial port"
1178c2ecf20Sopenharmony_ci	depends on SERIAL_SB1250_DUART=y
1188c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
1198c2ecf20Sopenharmony_ci	default y
1208c2ecf20Sopenharmony_ci	help
1218c2ecf20Sopenharmony_ci	  If you say Y here, it will be possible to use a serial port as the
1228c2ecf20Sopenharmony_ci	  system console (the system console is the device which receives all
1238c2ecf20Sopenharmony_ci	  kernel messages and warnings and which allows logins in single user
1248c2ecf20Sopenharmony_ci	  mode).
1258c2ecf20Sopenharmony_ci
1268c2ecf20Sopenharmony_ci	  If unsure, say Y.
1278c2ecf20Sopenharmony_ci
1288c2ecf20Sopenharmony_ciconfig SERIAL_ATMEL
1298c2ecf20Sopenharmony_ci	bool "AT91 on-chip serial port support"
1308c2ecf20Sopenharmony_ci	depends on ARCH_AT91 || COMPILE_TEST
1318c2ecf20Sopenharmony_ci	select SERIAL_CORE
1328c2ecf20Sopenharmony_ci	select SERIAL_MCTRL_GPIO if GPIOLIB
1338c2ecf20Sopenharmony_ci	select MFD_AT91_USART
1348c2ecf20Sopenharmony_ci	help
1358c2ecf20Sopenharmony_ci	  This enables the driver for the on-chip UARTs of the Atmel
1368c2ecf20Sopenharmony_ci	  AT91 processors.
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ciconfig SERIAL_ATMEL_CONSOLE
1398c2ecf20Sopenharmony_ci	bool "Support for console on AT91 serial port"
1408c2ecf20Sopenharmony_ci	depends on SERIAL_ATMEL=y
1418c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
1428c2ecf20Sopenharmony_ci	help
1438c2ecf20Sopenharmony_ci	  Say Y here if you wish to use an on-chip UART on a Atmel
1448c2ecf20Sopenharmony_ci	  AT91 processor as the system console (the system
1458c2ecf20Sopenharmony_ci	  console is the device which receives all kernel messages and
1468c2ecf20Sopenharmony_ci	  warnings and which allows logins in single user mode).
1478c2ecf20Sopenharmony_ci
1488c2ecf20Sopenharmony_ciconfig SERIAL_ATMEL_PDC
1498c2ecf20Sopenharmony_ci	bool "Support DMA transfers on AT91 serial port"
1508c2ecf20Sopenharmony_ci	depends on SERIAL_ATMEL
1518c2ecf20Sopenharmony_ci	default y
1528c2ecf20Sopenharmony_ci	help
1538c2ecf20Sopenharmony_ci	  Say Y here if you wish to use the PDC to do DMA transfers to
1548c2ecf20Sopenharmony_ci	  and from the Atmel AT91 serial port. In order to
1558c2ecf20Sopenharmony_ci	  actually use DMA transfers, make sure that the use_dma_tx
1568c2ecf20Sopenharmony_ci	  and use_dma_rx members in the atmel_uart_data struct is set
1578c2ecf20Sopenharmony_ci	  appropriately for each port.
1588c2ecf20Sopenharmony_ci
1598c2ecf20Sopenharmony_ci	  Note that break and error handling currently doesn't work
1608c2ecf20Sopenharmony_ci	  properly when DMA is enabled. Make sure that ports where
1618c2ecf20Sopenharmony_ci	  this matters don't use DMA.
1628c2ecf20Sopenharmony_ci
1638c2ecf20Sopenharmony_ciconfig SERIAL_ATMEL_TTYAT
1648c2ecf20Sopenharmony_ci	bool "Install as device ttyATn instead of ttySn"
1658c2ecf20Sopenharmony_ci	depends on SERIAL_ATMEL=y
1668c2ecf20Sopenharmony_ci	help
1678c2ecf20Sopenharmony_ci	  Say Y here if you wish to have the internal AT91 UARTs
1688c2ecf20Sopenharmony_ci	  appear as /dev/ttyATn (major 204, minor starting at 154)
1698c2ecf20Sopenharmony_ci	  instead of the normal /dev/ttySn (major 4, minor starting at
1708c2ecf20Sopenharmony_ci	  64). This is necessary if you also want other UARTs, such as
1718c2ecf20Sopenharmony_ci	  external 8250/16C550 compatible UARTs.
1728c2ecf20Sopenharmony_ci	  The ttySn nodes are legally reserved for the 8250 serial driver
1738c2ecf20Sopenharmony_ci	  but are often misused by other serial drivers.
1748c2ecf20Sopenharmony_ci
1758c2ecf20Sopenharmony_ci	  To use this, you should create suitable ttyATn device nodes in
1768c2ecf20Sopenharmony_ci	  /dev/, and pass "console=ttyATn" to the kernel.
1778c2ecf20Sopenharmony_ci
1788c2ecf20Sopenharmony_ci	  Say Y if you have an external 8250/16C550 UART.  If unsure, say N.
1798c2ecf20Sopenharmony_ci
1808c2ecf20Sopenharmony_ciconfig SERIAL_KGDB_NMI
1818c2ecf20Sopenharmony_ci	bool "Serial console over KGDB NMI debugger port"
1828c2ecf20Sopenharmony_ci	depends on KGDB_SERIAL_CONSOLE
1838c2ecf20Sopenharmony_ci	help
1848c2ecf20Sopenharmony_ci	  This special driver allows you to temporary use NMI debugger port
1858c2ecf20Sopenharmony_ci	  as a normal console (assuming that the port is attached to KGDB).
1868c2ecf20Sopenharmony_ci
1878c2ecf20Sopenharmony_ci	  Unlike KDB's disable_nmi command, with this driver you are always
1888c2ecf20Sopenharmony_ci	  able to go back to the debugger using KGDB escape sequence ($3#33).
1898c2ecf20Sopenharmony_ci	  This is because this console driver processes the input in NMI
1908c2ecf20Sopenharmony_ci	  context, and thus is able to intercept the magic sequence.
1918c2ecf20Sopenharmony_ci
1928c2ecf20Sopenharmony_ci	  Note that since the console interprets input and uses polling
1938c2ecf20Sopenharmony_ci	  communication methods, for things like PPP you still must fully
1948c2ecf20Sopenharmony_ci	  detach debugger port from the KGDB NMI (i.e. disable_nmi), and
1958c2ecf20Sopenharmony_ci	  use raw console.
1968c2ecf20Sopenharmony_ci
1978c2ecf20Sopenharmony_ci	  If unsure, say N.
1988c2ecf20Sopenharmony_ci
1998c2ecf20Sopenharmony_ciconfig SERIAL_MESON
2008c2ecf20Sopenharmony_ci	tristate "Meson serial port support"
2018c2ecf20Sopenharmony_ci	depends on ARCH_MESON
2028c2ecf20Sopenharmony_ci	select SERIAL_CORE
2038c2ecf20Sopenharmony_ci	help
2048c2ecf20Sopenharmony_ci	  This enables the driver for the on-chip UARTs of the Amlogic
2058c2ecf20Sopenharmony_ci	  MesonX processors.
2068c2ecf20Sopenharmony_ci
2078c2ecf20Sopenharmony_ciconfig SERIAL_MESON_CONSOLE
2088c2ecf20Sopenharmony_ci	bool "Support for console on meson"
2098c2ecf20Sopenharmony_ci	depends on SERIAL_MESON=y
2108c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
2118c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
2128c2ecf20Sopenharmony_ci	help
2138c2ecf20Sopenharmony_ci	  Say Y here if you wish to use a Amlogic MesonX UART as the
2148c2ecf20Sopenharmony_ci	  system console (the system console is the device which
2158c2ecf20Sopenharmony_ci	  receives all kernel messages and warnings and which allows
2168c2ecf20Sopenharmony_ci	  logins in single user mode) as /dev/ttyAMLx.
2178c2ecf20Sopenharmony_ci
2188c2ecf20Sopenharmony_ciconfig SERIAL_CLPS711X
2198c2ecf20Sopenharmony_ci	tristate "CLPS711X serial port support"
2208c2ecf20Sopenharmony_ci	depends on ARCH_CLPS711X || COMPILE_TEST
2218c2ecf20Sopenharmony_ci	select SERIAL_CORE
2228c2ecf20Sopenharmony_ci	select SERIAL_MCTRL_GPIO if GPIOLIB
2238c2ecf20Sopenharmony_ci	help
2248c2ecf20Sopenharmony_ci	  This enables the driver for the on-chip UARTs of the Cirrus
2258c2ecf20Sopenharmony_ci	  Logic EP711x/EP721x/EP731x processors.
2268c2ecf20Sopenharmony_ci
2278c2ecf20Sopenharmony_ciconfig SERIAL_CLPS711X_CONSOLE
2288c2ecf20Sopenharmony_ci	bool "Support for console on CLPS711X serial port"
2298c2ecf20Sopenharmony_ci	depends on SERIAL_CLPS711X=y
2308c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
2318c2ecf20Sopenharmony_ci	help
2328c2ecf20Sopenharmony_ci	  Even if you say Y here, the currently visible virtual console
2338c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
2348c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
2358c2ecf20Sopenharmony_ci	  "console=ttyCL1".
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_ciconfig SERIAL_SAMSUNG
2388c2ecf20Sopenharmony_ci	tristate "Samsung SoC serial support"
2398c2ecf20Sopenharmony_ci	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
2408c2ecf20Sopenharmony_ci	select SERIAL_CORE
2418c2ecf20Sopenharmony_ci	help
2428c2ecf20Sopenharmony_ci	  Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
2438c2ecf20Sopenharmony_ci	  providing /dev/ttySAC0, 1 and 2 (note, some machines may not
2448c2ecf20Sopenharmony_ci	  provide all of these ports, depending on how the serial port
2458c2ecf20Sopenharmony_ci	  pins are configured.
2468c2ecf20Sopenharmony_ci
2478c2ecf20Sopenharmony_ciconfig SERIAL_SAMSUNG_UARTS_4
2488c2ecf20Sopenharmony_ci	bool
2498c2ecf20Sopenharmony_ci	depends on SERIAL_SAMSUNG
2508c2ecf20Sopenharmony_ci	default y if !(CPU_S3C2410 || CPU_S3C2412 || CPU_S3C2440 || CPU_S3C2442)
2518c2ecf20Sopenharmony_ci	help
2528c2ecf20Sopenharmony_ci	  Internal node for the common case of 4 Samsung compatible UARTs
2538c2ecf20Sopenharmony_ci
2548c2ecf20Sopenharmony_ciconfig SERIAL_SAMSUNG_UARTS
2558c2ecf20Sopenharmony_ci	int
2568c2ecf20Sopenharmony_ci	depends on SERIAL_SAMSUNG
2578c2ecf20Sopenharmony_ci	default 4 if SERIAL_SAMSUNG_UARTS_4 || CPU_S3C2416
2588c2ecf20Sopenharmony_ci	default 3
2598c2ecf20Sopenharmony_ci	help
2608c2ecf20Sopenharmony_ci	  Select the number of available UART ports for the Samsung S3C
2618c2ecf20Sopenharmony_ci	  serial driver
2628c2ecf20Sopenharmony_ci
2638c2ecf20Sopenharmony_ciconfig SERIAL_SAMSUNG_CONSOLE
2648c2ecf20Sopenharmony_ci	bool "Support for console on Samsung SoC serial port"
2658c2ecf20Sopenharmony_ci	depends on SERIAL_SAMSUNG=y
2668c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
2678c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
2688c2ecf20Sopenharmony_ci	help
2698c2ecf20Sopenharmony_ci	  Allow selection of the S3C24XX on-board serial ports for use as
2708c2ecf20Sopenharmony_ci	  an virtual console.
2718c2ecf20Sopenharmony_ci
2728c2ecf20Sopenharmony_ci	  Even if you say Y here, the currently visible virtual console
2738c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
2748c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
2758c2ecf20Sopenharmony_ci	  "console=ttySACx". (Try "man bootparam" or see the documentation of
2768c2ecf20Sopenharmony_ci	  your boot loader about how to pass options to the kernel at
2778c2ecf20Sopenharmony_ci	  boot time.)
2788c2ecf20Sopenharmony_ci
2798c2ecf20Sopenharmony_ciconfig SERIAL_SIRFSOC
2808c2ecf20Sopenharmony_ci	tristate "SiRF SoC Platform Serial port support"
2818c2ecf20Sopenharmony_ci	depends on ARCH_SIRF
2828c2ecf20Sopenharmony_ci	select SERIAL_CORE
2838c2ecf20Sopenharmony_ci	help
2848c2ecf20Sopenharmony_ci	  Support for the on-chip UART on the CSR SiRFprimaII series,
2858c2ecf20Sopenharmony_ci	  providing /dev/ttySiRF0, 1 and 2 (note, some machines may not
2868c2ecf20Sopenharmony_ci	  provide all of these ports, depending on how the serial port
2878c2ecf20Sopenharmony_ci	  pins are configured).
2888c2ecf20Sopenharmony_ci
2898c2ecf20Sopenharmony_ciconfig SERIAL_SIRFSOC_CONSOLE
2908c2ecf20Sopenharmony_ci	bool "Support for console on SiRF SoC serial port"
2918c2ecf20Sopenharmony_ci	depends on SERIAL_SIRFSOC=y
2928c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
2938c2ecf20Sopenharmony_ci	help
2948c2ecf20Sopenharmony_ci	  Even if you say Y here, the currently visible virtual console
2958c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
2968c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
2978c2ecf20Sopenharmony_ci	  "console=ttySiRFx". (Try "man bootparam" or see the documentation of
2988c2ecf20Sopenharmony_ci	  your boot loader about how to pass options to the kernel at
2998c2ecf20Sopenharmony_ci	  boot time.)
3008c2ecf20Sopenharmony_ci
3018c2ecf20Sopenharmony_ciconfig SERIAL_TEGRA
3028c2ecf20Sopenharmony_ci	tristate "NVIDIA Tegra20/30 SoC serial controller"
3038c2ecf20Sopenharmony_ci	depends on ARCH_TEGRA && TEGRA20_APB_DMA
3048c2ecf20Sopenharmony_ci	select SERIAL_CORE
3058c2ecf20Sopenharmony_ci	help
3068c2ecf20Sopenharmony_ci	  Support for the on-chip UARTs on the NVIDIA Tegra series SOCs
3078c2ecf20Sopenharmony_ci	  providing /dev/ttyTHS0, 1, 2, 3 and 4 (note, some machines may not
3088c2ecf20Sopenharmony_ci	  provide all of these ports, depending on how the serial port
3098c2ecf20Sopenharmony_ci	  are enabled). This driver uses the APB DMA to achieve higher baudrate
3108c2ecf20Sopenharmony_ci	  and better performance.
3118c2ecf20Sopenharmony_ci
3128c2ecf20Sopenharmony_ciconfig SERIAL_TEGRA_TCU
3138c2ecf20Sopenharmony_ci	tristate "NVIDIA Tegra Combined UART"
3148c2ecf20Sopenharmony_ci	depends on ARCH_TEGRA && TEGRA_HSP_MBOX
3158c2ecf20Sopenharmony_ci	select SERIAL_CORE
3168c2ecf20Sopenharmony_ci	help
3178c2ecf20Sopenharmony_ci	  Support for the mailbox-based TCU (Tegra Combined UART) serial port.
3188c2ecf20Sopenharmony_ci	  TCU is a virtual serial port that allows multiplexing multiple data
3198c2ecf20Sopenharmony_ci	  streams into a single hardware serial port.
3208c2ecf20Sopenharmony_ci
3218c2ecf20Sopenharmony_ciconfig SERIAL_TEGRA_TCU_CONSOLE
3228c2ecf20Sopenharmony_ci	bool "Support for console on a Tegra TCU serial port"
3238c2ecf20Sopenharmony_ci	depends on SERIAL_TEGRA_TCU=y
3248c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
3258c2ecf20Sopenharmony_ci	default y
3268c2ecf20Sopenharmony_ci	help
3278c2ecf20Sopenharmony_ci	  If you say Y here, it will be possible to use a the Tegra TCU as the
3288c2ecf20Sopenharmony_ci	  system console (the system console is the device which receives all
3298c2ecf20Sopenharmony_ci	  kernel messages and warnings and which allows logins in single user
3308c2ecf20Sopenharmony_ci	  mode).
3318c2ecf20Sopenharmony_ci
3328c2ecf20Sopenharmony_ci	  If unsure, say Y.
3338c2ecf20Sopenharmony_ci
3348c2ecf20Sopenharmony_ciconfig SERIAL_MAX3100
3358c2ecf20Sopenharmony_ci	tristate "MAX3100 support"
3368c2ecf20Sopenharmony_ci	depends on SPI
3378c2ecf20Sopenharmony_ci	select SERIAL_CORE
3388c2ecf20Sopenharmony_ci	help
3398c2ecf20Sopenharmony_ci	  MAX3100 chip support
3408c2ecf20Sopenharmony_ci
3418c2ecf20Sopenharmony_ciconfig SERIAL_MAX310X
3428c2ecf20Sopenharmony_ci	tristate "MAX310X support"
3438c2ecf20Sopenharmony_ci	depends on SPI_MASTER
3448c2ecf20Sopenharmony_ci	select SERIAL_CORE
3458c2ecf20Sopenharmony_ci	select REGMAP_SPI if SPI_MASTER
3468c2ecf20Sopenharmony_ci	help
3478c2ecf20Sopenharmony_ci	  This selects support for an advanced UART from Maxim (Dallas).
3488c2ecf20Sopenharmony_ci	  Supported ICs are MAX3107, MAX3108, MAX3109, MAX14830.
3498c2ecf20Sopenharmony_ci	  Each IC contains 128 words each of receive and transmit FIFO
3508c2ecf20Sopenharmony_ci	  that can be controlled through I2C or high-speed SPI.
3518c2ecf20Sopenharmony_ci
3528c2ecf20Sopenharmony_ci	  Say Y here if you want to support this ICs.
3538c2ecf20Sopenharmony_ci
3548c2ecf20Sopenharmony_ciconfig SERIAL_DZ
3558c2ecf20Sopenharmony_ci	bool "DECstation DZ serial driver"
3568c2ecf20Sopenharmony_ci	depends on MACH_DECSTATION && 32BIT
3578c2ecf20Sopenharmony_ci	select SERIAL_CORE
3588c2ecf20Sopenharmony_ci	default y
3598c2ecf20Sopenharmony_ci	help
3608c2ecf20Sopenharmony_ci	  DZ11-family serial controllers for DECstations and VAXstations,
3618c2ecf20Sopenharmony_ci	  including the DC7085, M7814, and M7819.
3628c2ecf20Sopenharmony_ci
3638c2ecf20Sopenharmony_ciconfig SERIAL_DZ_CONSOLE
3648c2ecf20Sopenharmony_ci	bool "Support console on DECstation DZ serial driver"
3658c2ecf20Sopenharmony_ci	depends on SERIAL_DZ=y
3668c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
3678c2ecf20Sopenharmony_ci	default y
3688c2ecf20Sopenharmony_ci	help
3698c2ecf20Sopenharmony_ci	  If you say Y here, it will be possible to use a serial port as the
3708c2ecf20Sopenharmony_ci	  system console (the system console is the device which receives all
3718c2ecf20Sopenharmony_ci	  kernel messages and warnings and which allows logins in single user
3728c2ecf20Sopenharmony_ci	  mode).
3738c2ecf20Sopenharmony_ci
3748c2ecf20Sopenharmony_ci	  Note that the firmware uses ttyS3 as the serial console on
3758c2ecf20Sopenharmony_ci	  DECstations that use this driver.
3768c2ecf20Sopenharmony_ci
3778c2ecf20Sopenharmony_ci	  If unsure, say Y.
3788c2ecf20Sopenharmony_ci
3798c2ecf20Sopenharmony_ciconfig SERIAL_ZS
3808c2ecf20Sopenharmony_ci	tristate "DECstation Z85C30 serial support"
3818c2ecf20Sopenharmony_ci	depends on MACH_DECSTATION
3828c2ecf20Sopenharmony_ci	select SERIAL_CORE
3838c2ecf20Sopenharmony_ci	default y
3848c2ecf20Sopenharmony_ci	help
3858c2ecf20Sopenharmony_ci	  Support for the Zilog 85C350 serial communications controller used
3868c2ecf20Sopenharmony_ci	  for serial ports in newer DECstation systems.  These include the
3878c2ecf20Sopenharmony_ci	  DECsystem 5900 and all models of the DECstation and DECsystem 5000
3888c2ecf20Sopenharmony_ci	  systems except from model 200.
3898c2ecf20Sopenharmony_ci
3908c2ecf20Sopenharmony_ci	  If unsure, say Y.  To compile this driver as a module, choose M here:
3918c2ecf20Sopenharmony_ci	  the module will be called zs.
3928c2ecf20Sopenharmony_ci
3938c2ecf20Sopenharmony_ciconfig SERIAL_ZS_CONSOLE
3948c2ecf20Sopenharmony_ci	bool "Support for console on a DECstation Z85C30 serial port"
3958c2ecf20Sopenharmony_ci	depends on SERIAL_ZS=y
3968c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
3978c2ecf20Sopenharmony_ci	default y
3988c2ecf20Sopenharmony_ci	help
3998c2ecf20Sopenharmony_ci	  If you say Y here, it will be possible to use a serial port as the
4008c2ecf20Sopenharmony_ci	  system console (the system console is the device which receives all
4018c2ecf20Sopenharmony_ci	  kernel messages and warnings and which allows logins in single user
4028c2ecf20Sopenharmony_ci	  mode).
4038c2ecf20Sopenharmony_ci
4048c2ecf20Sopenharmony_ci	  Note that the firmware uses ttyS1 as the serial console on the
4058c2ecf20Sopenharmony_ci	  Maxine and ttyS3 on the others using this driver.
4068c2ecf20Sopenharmony_ci
4078c2ecf20Sopenharmony_ci	  If unsure, say Y.
4088c2ecf20Sopenharmony_ci
4098c2ecf20Sopenharmony_ciconfig SERIAL_21285
4108c2ecf20Sopenharmony_ci	tristate "DC21285 serial port support"
4118c2ecf20Sopenharmony_ci	depends on FOOTBRIDGE
4128c2ecf20Sopenharmony_ci	select SERIAL_CORE
4138c2ecf20Sopenharmony_ci	help
4148c2ecf20Sopenharmony_ci	  If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
4158c2ecf20Sopenharmony_ci	  PCI bridge you can enable its onboard serial port by enabling this
4168c2ecf20Sopenharmony_ci	  option.
4178c2ecf20Sopenharmony_ci
4188c2ecf20Sopenharmony_ciconfig SERIAL_21285_CONSOLE
4198c2ecf20Sopenharmony_ci	bool "Console on DC21285 serial port"
4208c2ecf20Sopenharmony_ci	depends on SERIAL_21285=y
4218c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
4228c2ecf20Sopenharmony_ci	help
4238c2ecf20Sopenharmony_ci	  If you have enabled the serial port on the 21285 footbridge you can
4248c2ecf20Sopenharmony_ci	  make it the console by answering Y to this option.
4258c2ecf20Sopenharmony_ci
4268c2ecf20Sopenharmony_ci	  Even if you say Y here, the currently visible virtual console
4278c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
4288c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
4298c2ecf20Sopenharmony_ci	  "console=ttyFB". (Try "man bootparam" or see the documentation of
4308c2ecf20Sopenharmony_ci	  your boot loader (lilo or loadlin) about how to pass options to the
4318c2ecf20Sopenharmony_ci	  kernel at boot time.)
4328c2ecf20Sopenharmony_ci
4338c2ecf20Sopenharmony_ciconfig SERIAL_PXA
4348c2ecf20Sopenharmony_ci	bool "PXA serial port support (DEPRECATED)"
4358c2ecf20Sopenharmony_ci	depends on ARCH_PXA || ARCH_MMP
4368c2ecf20Sopenharmony_ci	select SERIAL_CORE
4378c2ecf20Sopenharmony_ci	select SERIAL_8250_PXA if SERIAL_8250=y
4388c2ecf20Sopenharmony_ci	select SERIAL_PXA_NON8250 if !SERIAL_8250=y
4398c2ecf20Sopenharmony_ci	help
4408c2ecf20Sopenharmony_ci	  If you have a machine based on an Intel XScale PXA2xx CPU you
4418c2ecf20Sopenharmony_ci	  can enable its onboard serial ports by enabling this option.
4428c2ecf20Sopenharmony_ci
4438c2ecf20Sopenharmony_ci	  Unless you have a specific need, you should use SERIAL_8250_PXA
4448c2ecf20Sopenharmony_ci	  instead of this.
4458c2ecf20Sopenharmony_ci
4468c2ecf20Sopenharmony_ciconfig SERIAL_PXA_NON8250
4478c2ecf20Sopenharmony_ci	bool
4488c2ecf20Sopenharmony_ci	depends on !SERIAL_8250
4498c2ecf20Sopenharmony_ci
4508c2ecf20Sopenharmony_ciconfig SERIAL_PXA_CONSOLE
4518c2ecf20Sopenharmony_ci	bool "Console on PXA serial port (DEPRECATED)"
4528c2ecf20Sopenharmony_ci	depends on SERIAL_PXA
4538c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
4548c2ecf20Sopenharmony_ci	select SERIAL_8250_CONSOLE if SERIAL_8250=y
4558c2ecf20Sopenharmony_ci	help
4568c2ecf20Sopenharmony_ci	  If you have enabled the serial port on the Intel XScale PXA
4578c2ecf20Sopenharmony_ci	  CPU you can make it the console by answering Y to this option.
4588c2ecf20Sopenharmony_ci
4598c2ecf20Sopenharmony_ci	  Even if you say Y here, the currently visible virtual console
4608c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
4618c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
4628c2ecf20Sopenharmony_ci	  "console=ttySA0". (Try "man bootparam" or see the documentation of
4638c2ecf20Sopenharmony_ci	  your boot loader (lilo or loadlin) about how to pass options to the
4648c2ecf20Sopenharmony_ci	  kernel at boot time.)
4658c2ecf20Sopenharmony_ci
4668c2ecf20Sopenharmony_ci	  Unless you have a specific need, you should use SERIAL_8250_PXA
4678c2ecf20Sopenharmony_ci	  and SERIAL_8250_CONSOLE instead of this.
4688c2ecf20Sopenharmony_ci
4698c2ecf20Sopenharmony_ciconfig SERIAL_SA1100
4708c2ecf20Sopenharmony_ci	bool "SA1100 serial port support"
4718c2ecf20Sopenharmony_ci	depends on ARCH_SA1100
4728c2ecf20Sopenharmony_ci	select SERIAL_CORE
4738c2ecf20Sopenharmony_ci	select SERIAL_MCTRL_GPIO if GPIOLIB
4748c2ecf20Sopenharmony_ci	help
4758c2ecf20Sopenharmony_ci	  If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
4768c2ecf20Sopenharmony_ci	  can enable its onboard serial port by enabling this option.
4778c2ecf20Sopenharmony_ci	  Please read <file:Documentation/arm/sa1100/serial_uart.rst> for further
4788c2ecf20Sopenharmony_ci	  info.
4798c2ecf20Sopenharmony_ci
4808c2ecf20Sopenharmony_ciconfig SERIAL_SA1100_CONSOLE
4818c2ecf20Sopenharmony_ci	bool "Console on SA1100 serial port"
4828c2ecf20Sopenharmony_ci	depends on SERIAL_SA1100
4838c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
4848c2ecf20Sopenharmony_ci	help
4858c2ecf20Sopenharmony_ci	  If you have enabled the serial port on the SA1100/SA1110 StrongARM
4868c2ecf20Sopenharmony_ci	  CPU you can make it the console by answering Y to this option.
4878c2ecf20Sopenharmony_ci
4888c2ecf20Sopenharmony_ci	  Even if you say Y here, the currently visible virtual console
4898c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
4908c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
4918c2ecf20Sopenharmony_ci	  "console=ttySA0". (Try "man bootparam" or see the documentation of
4928c2ecf20Sopenharmony_ci	  your boot loader (lilo or loadlin) about how to pass options to the
4938c2ecf20Sopenharmony_ci	  kernel at boot time.)
4948c2ecf20Sopenharmony_ci
4958c2ecf20Sopenharmony_ciconfig SERIAL_IMX
4968c2ecf20Sopenharmony_ci	tristate "IMX serial port support"
4978c2ecf20Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
4988c2ecf20Sopenharmony_ci	select SERIAL_CORE
4998c2ecf20Sopenharmony_ci	select RATIONAL
5008c2ecf20Sopenharmony_ci	select SERIAL_MCTRL_GPIO if GPIOLIB
5018c2ecf20Sopenharmony_ci	help
5028c2ecf20Sopenharmony_ci	  If you have a machine based on a Motorola IMX CPU you
5038c2ecf20Sopenharmony_ci	  can enable its onboard serial port by enabling this option.
5048c2ecf20Sopenharmony_ci
5058c2ecf20Sopenharmony_ciconfig SERIAL_IMX_CONSOLE
5068c2ecf20Sopenharmony_ci	tristate "Console on IMX serial port"
5078c2ecf20Sopenharmony_ci	depends on SERIAL_IMX
5088c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
5098c2ecf20Sopenharmony_ci	help
5108c2ecf20Sopenharmony_ci	  If you have enabled the serial port on the Freescale IMX
5118c2ecf20Sopenharmony_ci	  CPU you can make it the console by answering Y/M to this option.
5128c2ecf20Sopenharmony_ci
5138c2ecf20Sopenharmony_ci	  Even if you say Y/M here, the currently visible virtual console
5148c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
5158c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
5168c2ecf20Sopenharmony_ci	  "console=ttymxc0". (Try "man bootparam" or see the documentation of
5178c2ecf20Sopenharmony_ci	  your bootloader about how to pass options to the kernel at boot time.)
5188c2ecf20Sopenharmony_ci
5198c2ecf20Sopenharmony_ciconfig SERIAL_IMX_EARLYCON
5208c2ecf20Sopenharmony_ci	bool "Earlycon on IMX serial port"
5218c2ecf20Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
5228c2ecf20Sopenharmony_ci	depends on OF
5238c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
5248c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
5258c2ecf20Sopenharmony_ci	default y if SERIAL_IMX_CONSOLE
5268c2ecf20Sopenharmony_ci	help
5278c2ecf20Sopenharmony_ci	  If you have enabled the earlycon on the Freescale IMX
5288c2ecf20Sopenharmony_ci	  CPU you can make it the earlycon by answering Y to this option.
5298c2ecf20Sopenharmony_ci
5308c2ecf20Sopenharmony_ciconfig SERIAL_UARTLITE
5318c2ecf20Sopenharmony_ci	tristate "Xilinx uartlite serial port support"
5328c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
5338c2ecf20Sopenharmony_ci	select SERIAL_CORE
5348c2ecf20Sopenharmony_ci	help
5358c2ecf20Sopenharmony_ci	  Say Y here if you want to use the Xilinx uartlite serial controller.
5368c2ecf20Sopenharmony_ci
5378c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
5388c2ecf20Sopenharmony_ci	  module will be called uartlite.
5398c2ecf20Sopenharmony_ci
5408c2ecf20Sopenharmony_ciconfig SERIAL_UARTLITE_CONSOLE
5418c2ecf20Sopenharmony_ci	bool "Support for console on Xilinx uartlite serial port"
5428c2ecf20Sopenharmony_ci	depends on SERIAL_UARTLITE=y
5438c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
5448c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
5458c2ecf20Sopenharmony_ci	help
5468c2ecf20Sopenharmony_ci	  Say Y here if you wish to use a Xilinx uartlite as the system
5478c2ecf20Sopenharmony_ci	  console (the system console is the device which receives all kernel
5488c2ecf20Sopenharmony_ci	  messages and warnings and which allows logins in single user mode).
5498c2ecf20Sopenharmony_ci
5508c2ecf20Sopenharmony_ciconfig SERIAL_UARTLITE_NR_UARTS
5518c2ecf20Sopenharmony_ci	int "Maximum number of uartlite serial ports"
5528c2ecf20Sopenharmony_ci	depends on SERIAL_UARTLITE
5538c2ecf20Sopenharmony_ci	range 1 256
5548c2ecf20Sopenharmony_ci	default 1
5558c2ecf20Sopenharmony_ci	help
5568c2ecf20Sopenharmony_ci	  Set this to the number of uartlites in your system, or the number
5578c2ecf20Sopenharmony_ci	  you think you might implement.
5588c2ecf20Sopenharmony_ci
5598c2ecf20Sopenharmony_ciconfig SERIAL_SUNCORE
5608c2ecf20Sopenharmony_ci	bool
5618c2ecf20Sopenharmony_ci	depends on SPARC
5628c2ecf20Sopenharmony_ci	select SERIAL_CORE
5638c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
5648c2ecf20Sopenharmony_ci	default y
5658c2ecf20Sopenharmony_ci
5668c2ecf20Sopenharmony_ciconfig SERIAL_SUNZILOG
5678c2ecf20Sopenharmony_ci	tristate "Sun Zilog8530 serial support"
5688c2ecf20Sopenharmony_ci	depends on SPARC
5698c2ecf20Sopenharmony_ci	help
5708c2ecf20Sopenharmony_ci	  This driver supports the Zilog8530 serial ports found on many Sparc
5718c2ecf20Sopenharmony_ci	  systems.  Say Y or M if you want to be able to these serial ports.
5728c2ecf20Sopenharmony_ci
5738c2ecf20Sopenharmony_ciconfig SERIAL_SUNZILOG_CONSOLE
5748c2ecf20Sopenharmony_ci	bool "Console on Sun Zilog8530 serial port"
5758c2ecf20Sopenharmony_ci	depends on SERIAL_SUNZILOG=y
5768c2ecf20Sopenharmony_ci	help
5778c2ecf20Sopenharmony_ci	  If you would like to be able to use the Zilog8530 serial port
5788c2ecf20Sopenharmony_ci	  on your Sparc system as the console, you can do so by answering
5798c2ecf20Sopenharmony_ci	  Y to this option.
5808c2ecf20Sopenharmony_ci
5818c2ecf20Sopenharmony_ciconfig SERIAL_SUNSU
5828c2ecf20Sopenharmony_ci	tristate "Sun SU serial support"
5838c2ecf20Sopenharmony_ci	depends on SPARC && PCI
5848c2ecf20Sopenharmony_ci	help
5858c2ecf20Sopenharmony_ci	  This driver supports the 8250 serial ports that run the keyboard and
5868c2ecf20Sopenharmony_ci	  mouse on (PCI) UltraSPARC systems.  Say Y or M if you want to be able
5878c2ecf20Sopenharmony_ci	  to these serial ports.
5888c2ecf20Sopenharmony_ci
5898c2ecf20Sopenharmony_ciconfig SERIAL_SUNSU_CONSOLE
5908c2ecf20Sopenharmony_ci	bool "Console on Sun SU serial port"
5918c2ecf20Sopenharmony_ci	depends on SERIAL_SUNSU=y
5928c2ecf20Sopenharmony_ci	help
5938c2ecf20Sopenharmony_ci	  If you would like to be able to use the SU serial port
5948c2ecf20Sopenharmony_ci	  on your Sparc system as the console, you can do so by answering
5958c2ecf20Sopenharmony_ci	  Y to this option.
5968c2ecf20Sopenharmony_ci
5978c2ecf20Sopenharmony_ciconfig SERIAL_MUX
5988c2ecf20Sopenharmony_ci	tristate "Serial MUX support"
5998c2ecf20Sopenharmony_ci	depends on GSC
6008c2ecf20Sopenharmony_ci	select SERIAL_CORE
6018c2ecf20Sopenharmony_ci	default y
6028c2ecf20Sopenharmony_ci	help
6038c2ecf20Sopenharmony_ci	  Saying Y here will enable the hardware MUX serial driver for
6048c2ecf20Sopenharmony_ci	  the Nova, K class systems and D class with a 'remote control card'.
6058c2ecf20Sopenharmony_ci	  The hardware MUX is not 8250/16550 compatible therefore the
6068c2ecf20Sopenharmony_ci	  /dev/ttyB0 device is shared between the Serial MUX and the PDC
6078c2ecf20Sopenharmony_ci	  software console. The following steps need to be completed to use
6088c2ecf20Sopenharmony_ci	  the Serial MUX:
6098c2ecf20Sopenharmony_ci
6108c2ecf20Sopenharmony_ci	    1. create the device entry (mknod /dev/ttyB0 c 11 0)
6118c2ecf20Sopenharmony_ci	    2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
6128c2ecf20Sopenharmony_ci	    3. Add device ttyB0 to /etc/securetty (if you want to log on as
6138c2ecf20Sopenharmony_ci		 root on this console.)
6148c2ecf20Sopenharmony_ci	    4. Change the kernel command console parameter to: console=ttyB0
6158c2ecf20Sopenharmony_ci
6168c2ecf20Sopenharmony_ciconfig SERIAL_MUX_CONSOLE
6178c2ecf20Sopenharmony_ci	bool "Support for console on serial MUX"
6188c2ecf20Sopenharmony_ci	depends on SERIAL_MUX=y
6198c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
6208c2ecf20Sopenharmony_ci	default y
6218c2ecf20Sopenharmony_ci
6228c2ecf20Sopenharmony_ciconfig PDC_CONSOLE
6238c2ecf20Sopenharmony_ci	bool "PDC software console support"
6248c2ecf20Sopenharmony_ci	depends on PARISC && !SERIAL_MUX && VT
6258c2ecf20Sopenharmony_ci	help
6268c2ecf20Sopenharmony_ci	  Saying Y here will enable the software based PDC console to be 
6278c2ecf20Sopenharmony_ci	  used as the system console.  This is useful for machines in 
6288c2ecf20Sopenharmony_ci	  which the hardware based console has not been written yet.  The
6298c2ecf20Sopenharmony_ci	  following steps must be completed to use the PDC console:
6308c2ecf20Sopenharmony_ci
6318c2ecf20Sopenharmony_ci	    1. create the device entry (mknod /dev/ttyB0 c 11 0)
6328c2ecf20Sopenharmony_ci	    2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
6338c2ecf20Sopenharmony_ci	    3. Add device ttyB0 to /etc/securetty (if you want to log on as
6348c2ecf20Sopenharmony_ci		 root on this console.)
6358c2ecf20Sopenharmony_ci	    4. Change the kernel command console parameter to: console=ttyB0
6368c2ecf20Sopenharmony_ci
6378c2ecf20Sopenharmony_ciconfig SERIAL_SUNSAB
6388c2ecf20Sopenharmony_ci	tristate "Sun Siemens SAB82532 serial support"
6398c2ecf20Sopenharmony_ci	depends on SPARC && PCI
6408c2ecf20Sopenharmony_ci	help
6418c2ecf20Sopenharmony_ci	  This driver supports the Siemens SAB82532 DUSCC serial ports on newer
6428c2ecf20Sopenharmony_ci	  (PCI) UltraSPARC systems.  Say Y or M if you want to be able to these
6438c2ecf20Sopenharmony_ci	  serial ports.
6448c2ecf20Sopenharmony_ci
6458c2ecf20Sopenharmony_ciconfig SERIAL_SUNSAB_CONSOLE
6468c2ecf20Sopenharmony_ci	bool "Console on Sun Siemens SAB82532 serial port"
6478c2ecf20Sopenharmony_ci	depends on SERIAL_SUNSAB=y
6488c2ecf20Sopenharmony_ci	help
6498c2ecf20Sopenharmony_ci	  If you would like to be able to use the SAB82532 serial port
6508c2ecf20Sopenharmony_ci	  on your Sparc system as the console, you can do so by answering
6518c2ecf20Sopenharmony_ci	  Y to this option.
6528c2ecf20Sopenharmony_ci
6538c2ecf20Sopenharmony_ciconfig SERIAL_SUNHV
6548c2ecf20Sopenharmony_ci	bool "Sun4v Hypervisor Console support"
6558c2ecf20Sopenharmony_ci	depends on SPARC64
6568c2ecf20Sopenharmony_ci	help
6578c2ecf20Sopenharmony_ci	  This driver supports the console device found on SUN4V Sparc
6588c2ecf20Sopenharmony_ci	  systems.  Say Y if you want to be able to use this device.
6598c2ecf20Sopenharmony_ci
6608c2ecf20Sopenharmony_ciconfig SERIAL_IP22_ZILOG
6618c2ecf20Sopenharmony_ci	tristate "SGI Zilog8530 serial support"
6628c2ecf20Sopenharmony_ci	depends on SGI_HAS_ZILOG
6638c2ecf20Sopenharmony_ci	select SERIAL_CORE
6648c2ecf20Sopenharmony_ci	help
6658c2ecf20Sopenharmony_ci	  This driver supports the Zilog8530 serial ports found on SGI
6668c2ecf20Sopenharmony_ci	  systems.  Say Y or M if you want to be able to these serial ports.
6678c2ecf20Sopenharmony_ci
6688c2ecf20Sopenharmony_ciconfig SERIAL_IP22_ZILOG_CONSOLE
6698c2ecf20Sopenharmony_ci	bool "Console on SGI Zilog8530 serial port"
6708c2ecf20Sopenharmony_ci	depends on SERIAL_IP22_ZILOG=y
6718c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
6728c2ecf20Sopenharmony_ci
6738c2ecf20Sopenharmony_ciconfig SERIAL_SH_SCI
6748c2ecf20Sopenharmony_ci	tristate "SuperH SCI(F) serial port support"
6758c2ecf20Sopenharmony_ci	depends on SUPERH || ARCH_RENESAS || H8300 || COMPILE_TEST
6768c2ecf20Sopenharmony_ci	select SERIAL_CORE
6778c2ecf20Sopenharmony_ci	select SERIAL_MCTRL_GPIO if GPIOLIB
6788c2ecf20Sopenharmony_ci
6798c2ecf20Sopenharmony_ciconfig SERIAL_SH_SCI_NR_UARTS
6808c2ecf20Sopenharmony_ci	int "Maximum number of SCI(F) serial ports" if EXPERT
6818c2ecf20Sopenharmony_ci	range 1 64 if 64BIT
6828c2ecf20Sopenharmony_ci	range 1 32 if !64BIT
6838c2ecf20Sopenharmony_ci	depends on SERIAL_SH_SCI
6848c2ecf20Sopenharmony_ci	default "3" if H8300
6858c2ecf20Sopenharmony_ci	default "10" if SUPERH
6868c2ecf20Sopenharmony_ci	default "18" if ARCH_RENESAS
6878c2ecf20Sopenharmony_ci	default "2"
6888c2ecf20Sopenharmony_ci
6898c2ecf20Sopenharmony_ciconfig SERIAL_SH_SCI_CONSOLE
6908c2ecf20Sopenharmony_ci	bool "Support for console on SuperH SCI(F)" if EXPERT
6918c2ecf20Sopenharmony_ci	depends on SERIAL_SH_SCI=y
6928c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
6938c2ecf20Sopenharmony_ci	default y
6948c2ecf20Sopenharmony_ci
6958c2ecf20Sopenharmony_ciconfig SERIAL_SH_SCI_EARLYCON
6968c2ecf20Sopenharmony_ci	bool "Support for early console on SuperH SCI(F)" if EXPERT
6978c2ecf20Sopenharmony_ci	depends on SERIAL_SH_SCI=y
6988c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
6998c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
7008c2ecf20Sopenharmony_ci	default ARCH_RENESAS || H8300
7018c2ecf20Sopenharmony_ci
7028c2ecf20Sopenharmony_ciconfig SERIAL_SH_SCI_DMA
7038c2ecf20Sopenharmony_ci	bool "DMA support" if EXPERT
7048c2ecf20Sopenharmony_ci	depends on SERIAL_SH_SCI && DMA_ENGINE
7058c2ecf20Sopenharmony_ci	default ARCH_RENESAS
7068c2ecf20Sopenharmony_ci
7078c2ecf20Sopenharmony_ciconfig SERIAL_PNX8XXX
7088c2ecf20Sopenharmony_ci	bool "Enable PNX8XXX SoCs' UART Support"
7098c2ecf20Sopenharmony_ci	depends on SOC_PNX833X
7108c2ecf20Sopenharmony_ci	select SERIAL_CORE
7118c2ecf20Sopenharmony_ci	help
7128c2ecf20Sopenharmony_ci	  If you have a MIPS-based Philips SoC such as PNX8330 and you want
7138c2ecf20Sopenharmony_ci	  to use serial ports, say Y.  Otherwise, say N.
7148c2ecf20Sopenharmony_ci
7158c2ecf20Sopenharmony_ciconfig SERIAL_PNX8XXX_CONSOLE
7168c2ecf20Sopenharmony_ci	bool "Enable PNX8XX0 serial console"
7178c2ecf20Sopenharmony_ci	depends on SERIAL_PNX8XXX
7188c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
7198c2ecf20Sopenharmony_ci	help
7208c2ecf20Sopenharmony_ci	  If you have a MIPS-based Philips SoC such as PNX8330 and you want
7218c2ecf20Sopenharmony_ci	  to use serial console, say Y. Otherwise, say N.
7228c2ecf20Sopenharmony_ci
7238c2ecf20Sopenharmony_ciconfig SERIAL_HS_LPC32XX
7248c2ecf20Sopenharmony_ci	tristate "LPC32XX high speed serial port support"
7258c2ecf20Sopenharmony_ci	depends on ARCH_LPC32XX || COMPILE_TEST
7268c2ecf20Sopenharmony_ci	depends on OF
7278c2ecf20Sopenharmony_ci	select SERIAL_CORE
7288c2ecf20Sopenharmony_ci	help
7298c2ecf20Sopenharmony_ci	  Support for the LPC32XX high speed serial ports (up to 900kbps).
7308c2ecf20Sopenharmony_ci	  Those are UARTs completely different from the Standard UARTs on the
7318c2ecf20Sopenharmony_ci	  LPC32XX SoC.
7328c2ecf20Sopenharmony_ci	  Choose M or Y here to build this driver.
7338c2ecf20Sopenharmony_ci
7348c2ecf20Sopenharmony_ciconfig SERIAL_HS_LPC32XX_CONSOLE
7358c2ecf20Sopenharmony_ci	bool "Enable LPC32XX high speed UART serial console"
7368c2ecf20Sopenharmony_ci	depends on SERIAL_HS_LPC32XX=y
7378c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
7388c2ecf20Sopenharmony_ci	help
7398c2ecf20Sopenharmony_ci	  If you would like to be able to use one of the high speed serial
7408c2ecf20Sopenharmony_ci	  ports on the LPC32XX as the console, you can do so by answering
7418c2ecf20Sopenharmony_ci	  Y to this option.
7428c2ecf20Sopenharmony_ci
7438c2ecf20Sopenharmony_ciconfig SERIAL_CORE
7448c2ecf20Sopenharmony_ci	tristate
7458c2ecf20Sopenharmony_ci
7468c2ecf20Sopenharmony_ciconfig SERIAL_CORE_CONSOLE
7478c2ecf20Sopenharmony_ci	bool
7488c2ecf20Sopenharmony_ci
7498c2ecf20Sopenharmony_ciconfig CONSOLE_POLL
7508c2ecf20Sopenharmony_ci	bool
7518c2ecf20Sopenharmony_ci
7528c2ecf20Sopenharmony_ciconfig SERIAL_MCF
7538c2ecf20Sopenharmony_ci	bool "Coldfire serial support"
7548c2ecf20Sopenharmony_ci	depends on COLDFIRE
7558c2ecf20Sopenharmony_ci	select SERIAL_CORE
7568c2ecf20Sopenharmony_ci	help
7578c2ecf20Sopenharmony_ci	  This serial driver supports the Freescale Coldfire serial ports.
7588c2ecf20Sopenharmony_ci
7598c2ecf20Sopenharmony_ciconfig SERIAL_MCF_BAUDRATE
7608c2ecf20Sopenharmony_ci	int "Default baudrate for Coldfire serial ports"
7618c2ecf20Sopenharmony_ci	depends on SERIAL_MCF
7628c2ecf20Sopenharmony_ci	default 19200
7638c2ecf20Sopenharmony_ci	help
7648c2ecf20Sopenharmony_ci	  This setting lets you define what the default baudrate is for the
7658c2ecf20Sopenharmony_ci	  ColdFire serial ports. The usual default varies from board to board,
7668c2ecf20Sopenharmony_ci	  and this setting is a way of catering for that.
7678c2ecf20Sopenharmony_ci
7688c2ecf20Sopenharmony_ciconfig SERIAL_MCF_CONSOLE
7698c2ecf20Sopenharmony_ci	bool "Coldfire serial console support"
7708c2ecf20Sopenharmony_ci	depends on SERIAL_MCF
7718c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
7728c2ecf20Sopenharmony_ci	help
7738c2ecf20Sopenharmony_ci	  Enable a ColdFire internal serial port to be the system console.
7748c2ecf20Sopenharmony_ci
7758c2ecf20Sopenharmony_ciconfig SERIAL_PMACZILOG
7768c2ecf20Sopenharmony_ci	tristate "Mac or PowerMac z85c30 ESCC support"
7778c2ecf20Sopenharmony_ci	depends on (M68K && MAC) || PPC_PMAC
7788c2ecf20Sopenharmony_ci	select SERIAL_CORE
7798c2ecf20Sopenharmony_ci	help
7808c2ecf20Sopenharmony_ci	  This driver supports the Zilog z85C30 serial ports found on
7818c2ecf20Sopenharmony_ci	  (Power)Mac machines.
7828c2ecf20Sopenharmony_ci	  Say Y or M if you want to be able to these serial ports.
7838c2ecf20Sopenharmony_ci
7848c2ecf20Sopenharmony_ciconfig SERIAL_PMACZILOG_TTYS
7858c2ecf20Sopenharmony_ci	bool "Use ttySn device nodes for Zilog z85c30"
7868c2ecf20Sopenharmony_ci	depends on SERIAL_PMACZILOG
7878c2ecf20Sopenharmony_ci	help
7888c2ecf20Sopenharmony_ci	  The pmac_zilog driver for the z85C30 chip on many powermacs
7898c2ecf20Sopenharmony_ci	  historically used the device numbers for /dev/ttySn.  The
7908c2ecf20Sopenharmony_ci	  8250 serial port driver also uses these numbers, which means
7918c2ecf20Sopenharmony_ci	  the two drivers being unable to coexist; you could not use
7928c2ecf20Sopenharmony_ci	  both z85C30 and 8250 type ports at the same time.
7938c2ecf20Sopenharmony_ci
7948c2ecf20Sopenharmony_ci	  If this option is not selected, the pmac_zilog driver will
7958c2ecf20Sopenharmony_ci	  use the device numbers allocated for /dev/ttyPZn.  This allows
7968c2ecf20Sopenharmony_ci	  the pmac_zilog and 8250 drivers to co-exist, but may cause
7978c2ecf20Sopenharmony_ci	  existing userspace setups to break.  Programs that need to
7988c2ecf20Sopenharmony_ci	  access the built-in serial ports on powermacs will need to
7998c2ecf20Sopenharmony_ci	  be reconfigured to use /dev/ttyPZn instead of /dev/ttySn.
8008c2ecf20Sopenharmony_ci
8018c2ecf20Sopenharmony_ci	  If you enable this option, any z85c30 ports in the system will
8028c2ecf20Sopenharmony_ci	  be registered as ttyS0 onwards as in the past, and you will be
8038c2ecf20Sopenharmony_ci	  unable to use the 8250 module for PCMCIA or other 16C550-style
8048c2ecf20Sopenharmony_ci	  UARTs.
8058c2ecf20Sopenharmony_ci
8068c2ecf20Sopenharmony_ci	  Say N unless you need the z85c30 ports on your (Power)Mac
8078c2ecf20Sopenharmony_ci	  to appear as /dev/ttySn.
8088c2ecf20Sopenharmony_ci
8098c2ecf20Sopenharmony_ciconfig SERIAL_PMACZILOG_CONSOLE
8108c2ecf20Sopenharmony_ci	bool "Console on Mac or PowerMac z85c30 serial port"
8118c2ecf20Sopenharmony_ci	depends on SERIAL_PMACZILOG=y
8128c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
8138c2ecf20Sopenharmony_ci	help
8148c2ecf20Sopenharmony_ci	  If you would like to be able to use the z85c30 serial port
8158c2ecf20Sopenharmony_ci	  on your (Power)Mac as the console, you can do so by answering
8168c2ecf20Sopenharmony_ci	  Y to this option.
8178c2ecf20Sopenharmony_ci
8188c2ecf20Sopenharmony_ciconfig SERIAL_CPM
8198c2ecf20Sopenharmony_ci	tristate "CPM SCC/SMC serial port support"
8208c2ecf20Sopenharmony_ci	depends on CPM2 || CPM1
8218c2ecf20Sopenharmony_ci	select SERIAL_CORE
8228c2ecf20Sopenharmony_ci	help
8238c2ecf20Sopenharmony_ci	  This driver supports the SCC and SMC serial ports on Motorola 
8248c2ecf20Sopenharmony_ci	  embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)
8258c2ecf20Sopenharmony_ci
8268c2ecf20Sopenharmony_ciconfig SERIAL_CPM_CONSOLE
8278c2ecf20Sopenharmony_ci	bool "Support for console on CPM SCC/SMC serial port"
8288c2ecf20Sopenharmony_ci	depends on SERIAL_CPM=y
8298c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
8308c2ecf20Sopenharmony_ci	help
8318c2ecf20Sopenharmony_ci	  Say Y here if you wish to use a SCC or SMC CPM UART as the system
8328c2ecf20Sopenharmony_ci	  console (the system console is the device which receives all kernel
8338c2ecf20Sopenharmony_ci	  messages and warnings and which allows logins in single user mode).
8348c2ecf20Sopenharmony_ci
8358c2ecf20Sopenharmony_ci	  Even if you say Y here, the currently visible framebuffer console
8368c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
8378c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
8388c2ecf20Sopenharmony_ci	  "console=ttyCPM0". (Try "man bootparam" or see the documentation of
8398c2ecf20Sopenharmony_ci	  your boot loader (lilo or loadlin) about how to pass options to the
8408c2ecf20Sopenharmony_ci	  kernel at boot time.)
8418c2ecf20Sopenharmony_ci
8428c2ecf20Sopenharmony_ciconfig SERIAL_PIC32
8438c2ecf20Sopenharmony_ci	tristate "Microchip PIC32 serial support"
8448c2ecf20Sopenharmony_ci	depends on MACH_PIC32
8458c2ecf20Sopenharmony_ci	select SERIAL_CORE
8468c2ecf20Sopenharmony_ci	help
8478c2ecf20Sopenharmony_ci	  If you have a PIC32, this driver supports the serial ports.
8488c2ecf20Sopenharmony_ci
8498c2ecf20Sopenharmony_ci	  Say Y or M to use PIC32 serial ports, otherwise say N. Note that
8508c2ecf20Sopenharmony_ci	  to use a serial port as a console, this must be included in kernel and
8518c2ecf20Sopenharmony_ci	  not as a module.
8528c2ecf20Sopenharmony_ci
8538c2ecf20Sopenharmony_ciconfig SERIAL_PIC32_CONSOLE
8548c2ecf20Sopenharmony_ci	bool "PIC32 serial console support"
8558c2ecf20Sopenharmony_ci	depends on SERIAL_PIC32
8568c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
8578c2ecf20Sopenharmony_ci	help
8588c2ecf20Sopenharmony_ci	  If you have a PIC32, this driver supports the putting a console on one
8598c2ecf20Sopenharmony_ci	  of the serial ports.
8608c2ecf20Sopenharmony_ci
8618c2ecf20Sopenharmony_ci	  Say Y to use the PIC32 console, otherwise say N.
8628c2ecf20Sopenharmony_ci
8638c2ecf20Sopenharmony_ciconfig SERIAL_MPC52xx
8648c2ecf20Sopenharmony_ci	tristate "Freescale MPC52xx/MPC512x family PSC serial support"
8658c2ecf20Sopenharmony_ci	depends on PPC_MPC52xx || PPC_MPC512x
8668c2ecf20Sopenharmony_ci	select SERIAL_CORE
8678c2ecf20Sopenharmony_ci	help
8688c2ecf20Sopenharmony_ci	  This driver supports MPC52xx and MPC512x PSC serial ports. If you would
8698c2ecf20Sopenharmony_ci	  like to use them, you must answer Y or M to this option. Note that
8708c2ecf20Sopenharmony_ci	  for use as console, it must be included in kernel and not as a
8718c2ecf20Sopenharmony_ci	  module.
8728c2ecf20Sopenharmony_ci
8738c2ecf20Sopenharmony_ciconfig SERIAL_MPC52xx_CONSOLE
8748c2ecf20Sopenharmony_ci	bool "Console on a Freescale MPC52xx/MPC512x family PSC serial port"
8758c2ecf20Sopenharmony_ci	depends on SERIAL_MPC52xx=y
8768c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
8778c2ecf20Sopenharmony_ci	help
8788c2ecf20Sopenharmony_ci	  Select this options if you'd like to use one of the PSC serial port
8798c2ecf20Sopenharmony_ci	  of the Freescale MPC52xx family as a console.
8808c2ecf20Sopenharmony_ci
8818c2ecf20Sopenharmony_ciconfig SERIAL_MPC52xx_CONSOLE_BAUD
8828c2ecf20Sopenharmony_ci	int "Freescale MPC52xx/MPC512x family PSC serial port baud"
8838c2ecf20Sopenharmony_ci	depends on SERIAL_MPC52xx_CONSOLE=y
8848c2ecf20Sopenharmony_ci	default "9600"
8858c2ecf20Sopenharmony_ci	help
8868c2ecf20Sopenharmony_ci	  Select the MPC52xx console baud rate.
8878c2ecf20Sopenharmony_ci	  This value is only used if the bootloader doesn't pass in the
8888c2ecf20Sopenharmony_ci	  console baudrate
8898c2ecf20Sopenharmony_ci
8908c2ecf20Sopenharmony_ciconfig SERIAL_ICOM
8918c2ecf20Sopenharmony_ci	tristate "IBM Multiport Serial Adapter"
8928c2ecf20Sopenharmony_ci	depends on PCI && PPC_PSERIES
8938c2ecf20Sopenharmony_ci	select SERIAL_CORE
8948c2ecf20Sopenharmony_ci	select FW_LOADER
8958c2ecf20Sopenharmony_ci	help
8968c2ecf20Sopenharmony_ci	  This driver is for a family of multiport serial adapters
8978c2ecf20Sopenharmony_ci	  including 2 port RVX, 2 port internal modem, 4 port internal
8988c2ecf20Sopenharmony_ci	  modem and a split 1 port RVX and 1 port internal modem.
8998c2ecf20Sopenharmony_ci
9008c2ecf20Sopenharmony_ci	  This driver can also be built as a module.  If so, the module
9018c2ecf20Sopenharmony_ci	  will be called icom.
9028c2ecf20Sopenharmony_ci
9038c2ecf20Sopenharmony_ciconfig SERIAL_TXX9
9048c2ecf20Sopenharmony_ci	bool "TMPTX39XX/49XX SIO support"
9058c2ecf20Sopenharmony_ci	depends on HAS_TXX9_SERIAL
9068c2ecf20Sopenharmony_ci	select SERIAL_CORE
9078c2ecf20Sopenharmony_ci	default y
9088c2ecf20Sopenharmony_ci
9098c2ecf20Sopenharmony_ciconfig HAS_TXX9_SERIAL
9108c2ecf20Sopenharmony_ci	bool
9118c2ecf20Sopenharmony_ci
9128c2ecf20Sopenharmony_ciconfig SERIAL_TXX9_NR_UARTS
9138c2ecf20Sopenharmony_ci	int "Maximum number of TMPTX39XX/49XX SIO ports"
9148c2ecf20Sopenharmony_ci	depends on SERIAL_TXX9
9158c2ecf20Sopenharmony_ci	default "6"
9168c2ecf20Sopenharmony_ci
9178c2ecf20Sopenharmony_ciconfig SERIAL_TXX9_CONSOLE
9188c2ecf20Sopenharmony_ci	bool "TMPTX39XX/49XX SIO Console support"
9198c2ecf20Sopenharmony_ci	depends on SERIAL_TXX9=y
9208c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
9218c2ecf20Sopenharmony_ci
9228c2ecf20Sopenharmony_ciconfig SERIAL_TXX9_STDSERIAL
9238c2ecf20Sopenharmony_ci	bool "TX39XX/49XX SIO act as standard serial"
9248c2ecf20Sopenharmony_ci	depends on !SERIAL_8250 && SERIAL_TXX9
9258c2ecf20Sopenharmony_ci
9268c2ecf20Sopenharmony_ciconfig SERIAL_VR41XX
9278c2ecf20Sopenharmony_ci	tristate "NEC VR4100 series Serial Interface Unit support"
9288c2ecf20Sopenharmony_ci	depends on CPU_VR41XX
9298c2ecf20Sopenharmony_ci	select SERIAL_CORE
9308c2ecf20Sopenharmony_ci	help
9318c2ecf20Sopenharmony_ci	  If you have a NEC VR4100 series processor and you want to use
9328c2ecf20Sopenharmony_ci	  Serial Interface Unit(SIU) or Debug Serial Interface Unit(DSIU)
9338c2ecf20Sopenharmony_ci	  (not include VR4111/VR4121 DSIU), say Y.  Otherwise, say N.
9348c2ecf20Sopenharmony_ci
9358c2ecf20Sopenharmony_ciconfig SERIAL_VR41XX_CONSOLE
9368c2ecf20Sopenharmony_ci	bool "Enable NEC VR4100 series Serial Interface Unit console"
9378c2ecf20Sopenharmony_ci	depends on SERIAL_VR41XX=y
9388c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
9398c2ecf20Sopenharmony_ci	help
9408c2ecf20Sopenharmony_ci	  If you have a NEC VR4100 series processor and you want to use
9418c2ecf20Sopenharmony_ci	  a console on a serial port, say Y.  Otherwise, say N.
9428c2ecf20Sopenharmony_ci
9438c2ecf20Sopenharmony_ciconfig SERIAL_JSM
9448c2ecf20Sopenharmony_ci	tristate "Digi International NEO and Classic PCI Support"
9458c2ecf20Sopenharmony_ci	depends on PCI
9468c2ecf20Sopenharmony_ci	select SERIAL_CORE
9478c2ecf20Sopenharmony_ci	help
9488c2ecf20Sopenharmony_ci	  This is a driver for Digi International's Neo and Classic series
9498c2ecf20Sopenharmony_ci	  of cards which provide multiple serial ports. You would need
9508c2ecf20Sopenharmony_ci	  something like this to connect more than two modems to your Linux
9518c2ecf20Sopenharmony_ci	  box, for instance in order to become a dial-in server. This driver
9528c2ecf20Sopenharmony_ci	  supports PCI boards only.
9538c2ecf20Sopenharmony_ci
9548c2ecf20Sopenharmony_ci	  If you have a card like this, say Y here, otherwise say N.
9558c2ecf20Sopenharmony_ci
9568c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
9578c2ecf20Sopenharmony_ci	  module will be called jsm.
9588c2ecf20Sopenharmony_ci
9598c2ecf20Sopenharmony_ciconfig SERIAL_MSM
9608c2ecf20Sopenharmony_ci	tristate "MSM on-chip serial port support"
9618c2ecf20Sopenharmony_ci	depends on ARCH_QCOM
9628c2ecf20Sopenharmony_ci	select SERIAL_CORE
9638c2ecf20Sopenharmony_ci
9648c2ecf20Sopenharmony_ciconfig SERIAL_MSM_CONSOLE
9658c2ecf20Sopenharmony_ci	bool "MSM serial console support"
9668c2ecf20Sopenharmony_ci	depends on SERIAL_MSM=y
9678c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
9688c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
9698c2ecf20Sopenharmony_ci
9708c2ecf20Sopenharmony_ciconfig SERIAL_QCOM_GENI
9718c2ecf20Sopenharmony_ci	tristate "QCOM on-chip GENI based serial port support"
9728c2ecf20Sopenharmony_ci	depends on ARCH_QCOM || COMPILE_TEST
9738c2ecf20Sopenharmony_ci	depends on QCOM_GENI_SE
9748c2ecf20Sopenharmony_ci	select SERIAL_CORE
9758c2ecf20Sopenharmony_ci
9768c2ecf20Sopenharmony_ciconfig SERIAL_QCOM_GENI_CONSOLE
9778c2ecf20Sopenharmony_ci	bool "QCOM GENI Serial Console support"
9788c2ecf20Sopenharmony_ci	depends on SERIAL_QCOM_GENI
9798c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
9808c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
9818c2ecf20Sopenharmony_ci	help
9828c2ecf20Sopenharmony_ci	  Serial console driver for Qualcomm Technologies Inc's GENI based
9838c2ecf20Sopenharmony_ci	  QUP hardware.
9848c2ecf20Sopenharmony_ci
9858c2ecf20Sopenharmony_ciconfig SERIAL_VT8500
9868c2ecf20Sopenharmony_ci	bool "VIA VT8500 on-chip serial port support"
9878c2ecf20Sopenharmony_ci	depends on ARCH_VT8500
9888c2ecf20Sopenharmony_ci	select SERIAL_CORE
9898c2ecf20Sopenharmony_ci
9908c2ecf20Sopenharmony_ciconfig SERIAL_VT8500_CONSOLE
9918c2ecf20Sopenharmony_ci	bool "VIA VT8500 serial console support"
9928c2ecf20Sopenharmony_ci	depends on SERIAL_VT8500=y
9938c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
9948c2ecf20Sopenharmony_ci
9958c2ecf20Sopenharmony_ciconfig SERIAL_OMAP
9968c2ecf20Sopenharmony_ci	tristate "OMAP serial port support"
9978c2ecf20Sopenharmony_ci	depends on ARCH_OMAP2PLUS
9988c2ecf20Sopenharmony_ci	select SERIAL_CORE
9998c2ecf20Sopenharmony_ci	help
10008c2ecf20Sopenharmony_ci	  If you have a machine based on an Texas Instruments OMAP CPU you
10018c2ecf20Sopenharmony_ci	  can enable its onboard serial ports by enabling this option.
10028c2ecf20Sopenharmony_ci
10038c2ecf20Sopenharmony_ci	  By enabling this option you take advantage of dma feature available
10048c2ecf20Sopenharmony_ci	  with the omap-serial driver. DMA support can be enabled from platform
10058c2ecf20Sopenharmony_ci	  data.
10068c2ecf20Sopenharmony_ci
10078c2ecf20Sopenharmony_ciconfig SERIAL_OMAP_CONSOLE
10088c2ecf20Sopenharmony_ci	bool "Console on OMAP serial port"
10098c2ecf20Sopenharmony_ci	depends on SERIAL_OMAP=y
10108c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
10118c2ecf20Sopenharmony_ci	help
10128c2ecf20Sopenharmony_ci	  Select this option if you would like to use omap serial port as
10138c2ecf20Sopenharmony_ci	  console.
10148c2ecf20Sopenharmony_ci
10158c2ecf20Sopenharmony_ci	  Even if you say Y here, the currently visible virtual console
10168c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
10178c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
10188c2ecf20Sopenharmony_ci	  "console=ttyOx". (Try "man bootparam" or see the documentation of
10198c2ecf20Sopenharmony_ci	  your boot loader about how to pass options to the kernel at
10208c2ecf20Sopenharmony_ci	  boot time.)
10218c2ecf20Sopenharmony_ci
10228c2ecf20Sopenharmony_ciconfig SERIAL_SIFIVE
10238c2ecf20Sopenharmony_ci	tristate "SiFive UART support"
10248c2ecf20Sopenharmony_ci	depends on OF
10258c2ecf20Sopenharmony_ci	select SERIAL_CORE
10268c2ecf20Sopenharmony_ci	help
10278c2ecf20Sopenharmony_ci	  Select this option if you are building a kernel for a device that
10288c2ecf20Sopenharmony_ci	  contains a SiFive UART IP block.  This type of UART is present on
10298c2ecf20Sopenharmony_ci	  SiFive FU540 SoCs, among others.
10308c2ecf20Sopenharmony_ci
10318c2ecf20Sopenharmony_ciconfig SERIAL_SIFIVE_CONSOLE
10328c2ecf20Sopenharmony_ci	bool "Console on SiFive UART"
10338c2ecf20Sopenharmony_ci	depends on SERIAL_SIFIVE=y
10348c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
10358c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
10368c2ecf20Sopenharmony_ci	help
10378c2ecf20Sopenharmony_ci	  Select this option if you would like to use a SiFive UART as the
10388c2ecf20Sopenharmony_ci	  system console.
10398c2ecf20Sopenharmony_ci
10408c2ecf20Sopenharmony_ci	  Even if you say Y here, the currently visible virtual console
10418c2ecf20Sopenharmony_ci	  (/dev/tty0) will still be used as the system console by default, but
10428c2ecf20Sopenharmony_ci	  you can alter that using a kernel command line option such as
10438c2ecf20Sopenharmony_ci	  "console=ttySIFx". (Try "man bootparam" or see the documentation of
10448c2ecf20Sopenharmony_ci	  your boot loader about how to pass options to the kernel at
10458c2ecf20Sopenharmony_ci	  boot time.)
10468c2ecf20Sopenharmony_ci
10478c2ecf20Sopenharmony_ciconfig SERIAL_LANTIQ
10488c2ecf20Sopenharmony_ci	tristate "Lantiq serial driver"
10498c2ecf20Sopenharmony_ci	depends on (LANTIQ || X86) || COMPILE_TEST
10508c2ecf20Sopenharmony_ci	select SERIAL_CORE
10518c2ecf20Sopenharmony_ci	help
10528c2ecf20Sopenharmony_ci	  Support for UART on Lantiq and Intel SoCs.
10538c2ecf20Sopenharmony_ci	  To compile this driver as a module, select M here. The
10548c2ecf20Sopenharmony_ci	  module will be called lantiq.
10558c2ecf20Sopenharmony_ci
10568c2ecf20Sopenharmony_ciconfig SERIAL_LANTIQ_CONSOLE
10578c2ecf20Sopenharmony_ci	bool "Console on Lantiq UART"
10588c2ecf20Sopenharmony_ci	depends on SERIAL_LANTIQ=y
10598c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
10608c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
10618c2ecf20Sopenharmony_ci	help
10628c2ecf20Sopenharmony_ci	  Select this option if you would like to use a Lantiq UART as the
10638c2ecf20Sopenharmony_ci	  system console.
10648c2ecf20Sopenharmony_ci
10658c2ecf20Sopenharmony_ciconfig SERIAL_QE
10668c2ecf20Sopenharmony_ci	tristate "Freescale QUICC Engine serial port support"
10678c2ecf20Sopenharmony_ci	depends on QUICC_ENGINE
10688c2ecf20Sopenharmony_ci	select SERIAL_CORE
10698c2ecf20Sopenharmony_ci	select FW_LOADER
10708c2ecf20Sopenharmony_ci	help
10718c2ecf20Sopenharmony_ci	  This driver supports the QE serial ports on Freescale embedded
10728c2ecf20Sopenharmony_ci	  PowerPC that contain a QUICC Engine.
10738c2ecf20Sopenharmony_ci
10748c2ecf20Sopenharmony_ciconfig SERIAL_SCCNXP
10758c2ecf20Sopenharmony_ci	tristate "SCCNXP serial port support"
10768c2ecf20Sopenharmony_ci	select SERIAL_CORE
10778c2ecf20Sopenharmony_ci	help
10788c2ecf20Sopenharmony_ci	  This selects support for an advanced UART from NXP (Philips).
10798c2ecf20Sopenharmony_ci	  Supported ICs are SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,
10808c2ecf20Sopenharmony_ci	  SC28L202, SCC68681 and SCC68692.
10818c2ecf20Sopenharmony_ci
10828c2ecf20Sopenharmony_ciconfig SERIAL_SCCNXP_CONSOLE
10838c2ecf20Sopenharmony_ci	bool "Console on SCCNXP serial port"
10848c2ecf20Sopenharmony_ci	depends on SERIAL_SCCNXP=y
10858c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
10868c2ecf20Sopenharmony_ci	help
10878c2ecf20Sopenharmony_ci	  Support for console on SCCNXP serial ports.
10888c2ecf20Sopenharmony_ci
10898c2ecf20Sopenharmony_ciconfig SERIAL_SC16IS7XX_CORE
10908c2ecf20Sopenharmony_ci	tristate
10918c2ecf20Sopenharmony_ci
10928c2ecf20Sopenharmony_ciconfig SERIAL_SC16IS7XX
10938c2ecf20Sopenharmony_ci	tristate "SC16IS7xx serial support"
10948c2ecf20Sopenharmony_ci	select SERIAL_CORE
10958c2ecf20Sopenharmony_ci	depends on (SPI_MASTER && !I2C) || I2C
10968c2ecf20Sopenharmony_ci	help
10978c2ecf20Sopenharmony_ci	  This selects support for SC16IS7xx serial ports.
10988c2ecf20Sopenharmony_ci	  Supported ICs are SC16IS740, SC16IS741, SC16IS750, SC16IS752,
10998c2ecf20Sopenharmony_ci	  SC16IS760 and SC16IS762. Select supported buses using options below.
11008c2ecf20Sopenharmony_ci
11018c2ecf20Sopenharmony_ciconfig SERIAL_SC16IS7XX_I2C
11028c2ecf20Sopenharmony_ci	bool "SC16IS7xx for I2C interface"
11038c2ecf20Sopenharmony_ci	depends on SERIAL_SC16IS7XX
11048c2ecf20Sopenharmony_ci	depends on I2C
11058c2ecf20Sopenharmony_ci	select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
11068c2ecf20Sopenharmony_ci	select REGMAP_I2C if I2C
11078c2ecf20Sopenharmony_ci	default y
11088c2ecf20Sopenharmony_ci	help
11098c2ecf20Sopenharmony_ci	  Enable SC16IS7xx driver on I2C bus,
11108c2ecf20Sopenharmony_ci	  If required say y, and say n to i2c if not required,
11118c2ecf20Sopenharmony_ci	  Enabled by default to support oldconfig.
11128c2ecf20Sopenharmony_ci	  You must select at least one bus for the driver to be built.
11138c2ecf20Sopenharmony_ci
11148c2ecf20Sopenharmony_ciconfig SERIAL_SC16IS7XX_SPI
11158c2ecf20Sopenharmony_ci	bool "SC16IS7xx for spi interface"
11168c2ecf20Sopenharmony_ci	depends on SERIAL_SC16IS7XX
11178c2ecf20Sopenharmony_ci	depends on SPI_MASTER
11188c2ecf20Sopenharmony_ci	select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
11198c2ecf20Sopenharmony_ci	select REGMAP_SPI if SPI_MASTER
11208c2ecf20Sopenharmony_ci	help
11218c2ecf20Sopenharmony_ci	  Enable SC16IS7xx driver on SPI bus,
11228c2ecf20Sopenharmony_ci	  If required say y, and say n to spi if not required,
11238c2ecf20Sopenharmony_ci	  This is additional support to existing driver.
11248c2ecf20Sopenharmony_ci	  You must select at least one bus for the driver to be built.
11258c2ecf20Sopenharmony_ci
11268c2ecf20Sopenharmony_ciconfig SERIAL_TIMBERDALE
11278c2ecf20Sopenharmony_ci	tristate "Support for timberdale UART"
11288c2ecf20Sopenharmony_ci	select SERIAL_CORE
11298c2ecf20Sopenharmony_ci	depends on X86_32 || COMPILE_TEST
11308c2ecf20Sopenharmony_ci	help
11318c2ecf20Sopenharmony_ci	Add support for UART controller on timberdale.
11328c2ecf20Sopenharmony_ci
11338c2ecf20Sopenharmony_ciconfig SERIAL_BCM63XX
11348c2ecf20Sopenharmony_ci	tristate "Broadcom BCM63xx/BCM33xx UART support"
11358c2ecf20Sopenharmony_ci	select SERIAL_CORE
11368c2ecf20Sopenharmony_ci	depends on MIPS || ARM || COMPILE_TEST
11378c2ecf20Sopenharmony_ci	help
11388c2ecf20Sopenharmony_ci	  This enables the driver for the onchip UART core found on
11398c2ecf20Sopenharmony_ci	  the following chipsets:
11408c2ecf20Sopenharmony_ci
11418c2ecf20Sopenharmony_ci	    BCM33xx (cable modem)
11428c2ecf20Sopenharmony_ci	    BCM63xx/BCM63xxx (DSL)
11438c2ecf20Sopenharmony_ci	    BCM68xx (PON)
11448c2ecf20Sopenharmony_ci	    BCM7xxx (STB) - DOCSIS console
11458c2ecf20Sopenharmony_ci
11468c2ecf20Sopenharmony_ciconfig SERIAL_BCM63XX_CONSOLE
11478c2ecf20Sopenharmony_ci	bool "Console on BCM63xx serial port"
11488c2ecf20Sopenharmony_ci	depends on SERIAL_BCM63XX=y
11498c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
11508c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
11518c2ecf20Sopenharmony_ci	help
11528c2ecf20Sopenharmony_ci	  If you have enabled the serial port on the BCM63xx CPU
11538c2ecf20Sopenharmony_ci	  you can make it the console by answering Y to this option.
11548c2ecf20Sopenharmony_ci
11558c2ecf20Sopenharmony_ciconfig SERIAL_GRLIB_GAISLER_APBUART
11568c2ecf20Sopenharmony_ci	tristate "GRLIB APBUART serial support"
11578c2ecf20Sopenharmony_ci	depends on OF && SPARC
11588c2ecf20Sopenharmony_ci	select SERIAL_CORE
11598c2ecf20Sopenharmony_ci	help
11608c2ecf20Sopenharmony_ci	Add support for the GRLIB APBUART serial port.
11618c2ecf20Sopenharmony_ci
11628c2ecf20Sopenharmony_ciconfig SERIAL_GRLIB_GAISLER_APBUART_CONSOLE
11638c2ecf20Sopenharmony_ci	bool "Console on GRLIB APBUART serial port"
11648c2ecf20Sopenharmony_ci	depends on SERIAL_GRLIB_GAISLER_APBUART=y
11658c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
11668c2ecf20Sopenharmony_ci	help
11678c2ecf20Sopenharmony_ci	Support for running a console on the GRLIB APBUART
11688c2ecf20Sopenharmony_ci
11698c2ecf20Sopenharmony_ciconfig SERIAL_ALTERA_JTAGUART
11708c2ecf20Sopenharmony_ci	tristate "Altera JTAG UART support"
11718c2ecf20Sopenharmony_ci	select SERIAL_CORE
11728c2ecf20Sopenharmony_ci	help
11738c2ecf20Sopenharmony_ci	  This driver supports the Altera JTAG UART port.
11748c2ecf20Sopenharmony_ci
11758c2ecf20Sopenharmony_ciconfig SERIAL_ALTERA_JTAGUART_CONSOLE
11768c2ecf20Sopenharmony_ci	bool "Altera JTAG UART console support"
11778c2ecf20Sopenharmony_ci	depends on SERIAL_ALTERA_JTAGUART=y
11788c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
11798c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
11808c2ecf20Sopenharmony_ci	help
11818c2ecf20Sopenharmony_ci	  Enable a Altera JTAG UART port to be the system console.
11828c2ecf20Sopenharmony_ci
11838c2ecf20Sopenharmony_ciconfig SERIAL_ALTERA_JTAGUART_CONSOLE_BYPASS
11848c2ecf20Sopenharmony_ci	bool "Bypass output when no connection"
11858c2ecf20Sopenharmony_ci	depends on SERIAL_ALTERA_JTAGUART_CONSOLE
11868c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
11878c2ecf20Sopenharmony_ci	help
11888c2ecf20Sopenharmony_ci	  Bypass console output and keep going even if there is no
11898c2ecf20Sopenharmony_ci	  JTAG terminal connection with the host.
11908c2ecf20Sopenharmony_ci
11918c2ecf20Sopenharmony_ciconfig SERIAL_ALTERA_UART
11928c2ecf20Sopenharmony_ci	tristate "Altera UART support"
11938c2ecf20Sopenharmony_ci	select SERIAL_CORE
11948c2ecf20Sopenharmony_ci	help
11958c2ecf20Sopenharmony_ci	  This driver supports the Altera softcore UART port.
11968c2ecf20Sopenharmony_ci
11978c2ecf20Sopenharmony_ciconfig SERIAL_ALTERA_UART_MAXPORTS
11988c2ecf20Sopenharmony_ci	int "Maximum number of Altera UART ports"
11998c2ecf20Sopenharmony_ci	depends on SERIAL_ALTERA_UART
12008c2ecf20Sopenharmony_ci	default 4
12018c2ecf20Sopenharmony_ci	help
12028c2ecf20Sopenharmony_ci	  This setting lets you define the maximum number of the Altera
12038c2ecf20Sopenharmony_ci	  UART ports. The usual default varies from board to board, and
12048c2ecf20Sopenharmony_ci	  this setting is a way of catering for that.
12058c2ecf20Sopenharmony_ci
12068c2ecf20Sopenharmony_ciconfig SERIAL_ALTERA_UART_BAUDRATE
12078c2ecf20Sopenharmony_ci	int "Default baudrate for Altera UART ports"
12088c2ecf20Sopenharmony_ci	depends on SERIAL_ALTERA_UART
12098c2ecf20Sopenharmony_ci	default 115200
12108c2ecf20Sopenharmony_ci	help
12118c2ecf20Sopenharmony_ci	  This setting lets you define what the default baudrate is for the
12128c2ecf20Sopenharmony_ci	  Altera UART ports. The usual default varies from board to board,
12138c2ecf20Sopenharmony_ci	  and this setting is a way of catering for that.
12148c2ecf20Sopenharmony_ci
12158c2ecf20Sopenharmony_ciconfig SERIAL_ALTERA_UART_CONSOLE
12168c2ecf20Sopenharmony_ci	bool "Altera UART console support"
12178c2ecf20Sopenharmony_ci	depends on SERIAL_ALTERA_UART=y
12188c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
12198c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
12208c2ecf20Sopenharmony_ci	help
12218c2ecf20Sopenharmony_ci	  Enable a Altera UART port to be the system console.
12228c2ecf20Sopenharmony_ci
12238c2ecf20Sopenharmony_ciconfig SERIAL_IFX6X60
12248c2ecf20Sopenharmony_ci	tristate "SPI protocol driver for Infineon 6x60 modem (EXPERIMENTAL)"
12258c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
12268c2ecf20Sopenharmony_ci	depends on SPI && HAS_DMA
12278c2ecf20Sopenharmony_ci	help
12288c2ecf20Sopenharmony_ci	  Support for the IFX6x60 modem devices on Intel MID platforms.
12298c2ecf20Sopenharmony_ci
12308c2ecf20Sopenharmony_ciconfig SERIAL_PCH_UART
12318c2ecf20Sopenharmony_ci	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) UART"
12328c2ecf20Sopenharmony_ci	depends on PCI && (X86_32 || MIPS ||  COMPILE_TEST)
12338c2ecf20Sopenharmony_ci	select SERIAL_CORE
12348c2ecf20Sopenharmony_ci	help
12358c2ecf20Sopenharmony_ci	  This driver is for PCH(Platform controller Hub) UART of Intel EG20T
12368c2ecf20Sopenharmony_ci	  which is an IOH(Input/Output Hub) for x86 embedded processor.
12378c2ecf20Sopenharmony_ci	  Enabling PCH_DMA, this PCH UART works as DMA mode.
12388c2ecf20Sopenharmony_ci
12398c2ecf20Sopenharmony_ci	  This driver also can be used for LAPIS Semiconductor IOH(Input/
12408c2ecf20Sopenharmony_ci	  Output Hub), ML7213, ML7223 and ML7831.
12418c2ecf20Sopenharmony_ci	  ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
12428c2ecf20Sopenharmony_ci	  for MP(Media Phone) use and ML7831 IOH is for general purpose use.
12438c2ecf20Sopenharmony_ci	  ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
12448c2ecf20Sopenharmony_ci	  ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
12458c2ecf20Sopenharmony_ci
12468c2ecf20Sopenharmony_ciconfig SERIAL_PCH_UART_CONSOLE
12478c2ecf20Sopenharmony_ci	bool "Support for console on Intel EG20T PCH UART/OKI SEMICONDUCTOR ML7213 IOH"
12488c2ecf20Sopenharmony_ci	depends on SERIAL_PCH_UART=y
12498c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
12508c2ecf20Sopenharmony_ci	help
12518c2ecf20Sopenharmony_ci	  Say Y here if you wish to use the PCH UART as the system console
12528c2ecf20Sopenharmony_ci	  (the system  console is the device which receives all kernel messages and
12538c2ecf20Sopenharmony_ci	  warnings and which allows logins in single user mode).
12548c2ecf20Sopenharmony_ci
12558c2ecf20Sopenharmony_ciconfig SERIAL_MXS_AUART
12568c2ecf20Sopenharmony_ci	tristate "MXS AUART support"
12578c2ecf20Sopenharmony_ci	depends on ARCH_MXS || MACH_ASM9260 || COMPILE_TEST
12588c2ecf20Sopenharmony_ci	select SERIAL_CORE
12598c2ecf20Sopenharmony_ci	select SERIAL_MCTRL_GPIO if GPIOLIB
12608c2ecf20Sopenharmony_ci	help
12618c2ecf20Sopenharmony_ci	  This driver supports the MXS and Alphascale ASM9260 Application
12628c2ecf20Sopenharmony_ci	  UART (AUART) port.
12638c2ecf20Sopenharmony_ci
12648c2ecf20Sopenharmony_ciconfig SERIAL_MXS_AUART_CONSOLE
12658c2ecf20Sopenharmony_ci	bool "MXS AUART console support"
12668c2ecf20Sopenharmony_ci	depends on SERIAL_MXS_AUART=y
12678c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
12688c2ecf20Sopenharmony_ci	help
12698c2ecf20Sopenharmony_ci	  Enable a MXS AUART port to be the system console.
12708c2ecf20Sopenharmony_ci
12718c2ecf20Sopenharmony_ciconfig SERIAL_XILINX_PS_UART
12728c2ecf20Sopenharmony_ci	tristate "Cadence (Xilinx Zynq) UART support"
12738c2ecf20Sopenharmony_ci	depends on OF
12748c2ecf20Sopenharmony_ci	select SERIAL_CORE
12758c2ecf20Sopenharmony_ci	help
12768c2ecf20Sopenharmony_ci	  This driver supports the Cadence UART. It is found e.g. in Xilinx
12778c2ecf20Sopenharmony_ci	  Zynq.
12788c2ecf20Sopenharmony_ci
12798c2ecf20Sopenharmony_ciconfig SERIAL_XILINX_PS_UART_CONSOLE
12808c2ecf20Sopenharmony_ci	bool "Cadence UART console support"
12818c2ecf20Sopenharmony_ci	depends on SERIAL_XILINX_PS_UART=y
12828c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
12838c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
12848c2ecf20Sopenharmony_ci	help
12858c2ecf20Sopenharmony_ci	  Enable a Cadence UART port to be the system console.
12868c2ecf20Sopenharmony_ci
12878c2ecf20Sopenharmony_ciconfig SERIAL_AR933X
12888c2ecf20Sopenharmony_ci	tristate "AR933X serial port support"
12898c2ecf20Sopenharmony_ci	depends on HAVE_CLK && ATH79
12908c2ecf20Sopenharmony_ci	select SERIAL_CORE
12918c2ecf20Sopenharmony_ci	select SERIAL_MCTRL_GPIO if GPIOLIB
12928c2ecf20Sopenharmony_ci	help
12938c2ecf20Sopenharmony_ci	  If you have an Atheros AR933X SOC based board and want to use the
12948c2ecf20Sopenharmony_ci	  built-in UART of the SoC, say Y to this option.
12958c2ecf20Sopenharmony_ci
12968c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
12978c2ecf20Sopenharmony_ci	  module will be called ar933x_uart.
12988c2ecf20Sopenharmony_ci
12998c2ecf20Sopenharmony_ciconfig SERIAL_AR933X_CONSOLE
13008c2ecf20Sopenharmony_ci	bool "Console on AR933X serial port"
13018c2ecf20Sopenharmony_ci	depends on SERIAL_AR933X=y
13028c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
13038c2ecf20Sopenharmony_ci	help
13048c2ecf20Sopenharmony_ci	  Enable a built-in UART port of the AR933X to be the system console.
13058c2ecf20Sopenharmony_ci
13068c2ecf20Sopenharmony_ciconfig SERIAL_AR933X_NR_UARTS
13078c2ecf20Sopenharmony_ci	int "Maximum number of AR933X serial ports"
13088c2ecf20Sopenharmony_ci	depends on SERIAL_AR933X
13098c2ecf20Sopenharmony_ci	default "2"
13108c2ecf20Sopenharmony_ci	help
13118c2ecf20Sopenharmony_ci	  Set this to the number of serial ports you want the driver
13128c2ecf20Sopenharmony_ci	  to support.
13138c2ecf20Sopenharmony_ci
13148c2ecf20Sopenharmony_ciconfig SERIAL_EFM32_UART
13158c2ecf20Sopenharmony_ci	tristate "EFM32 UART/USART port"
13168c2ecf20Sopenharmony_ci	depends on ARM && (ARCH_EFM32 || COMPILE_TEST)
13178c2ecf20Sopenharmony_ci	select SERIAL_CORE
13188c2ecf20Sopenharmony_ci	help
13198c2ecf20Sopenharmony_ci	  This driver support the USART and UART ports on
13208c2ecf20Sopenharmony_ci	  Energy Micro's efm32 SoCs.
13218c2ecf20Sopenharmony_ci
13228c2ecf20Sopenharmony_ciconfig SERIAL_MPS2_UART_CONSOLE
13238c2ecf20Sopenharmony_ci	bool "MPS2 UART console support"
13248c2ecf20Sopenharmony_ci	depends on SERIAL_MPS2_UART
13258c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
13268c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
13278c2ecf20Sopenharmony_ci
13288c2ecf20Sopenharmony_ciconfig SERIAL_MPS2_UART
13298c2ecf20Sopenharmony_ci	bool "MPS2 UART port"
13308c2ecf20Sopenharmony_ci	depends on ARCH_MPS2 || COMPILE_TEST
13318c2ecf20Sopenharmony_ci	select SERIAL_CORE
13328c2ecf20Sopenharmony_ci	help
13338c2ecf20Sopenharmony_ci	  This driver support the UART ports on ARM MPS2.
13348c2ecf20Sopenharmony_ci
13358c2ecf20Sopenharmony_ciconfig SERIAL_EFM32_UART_CONSOLE
13368c2ecf20Sopenharmony_ci	bool "EFM32 UART/USART console support"
13378c2ecf20Sopenharmony_ci	depends on SERIAL_EFM32_UART=y
13388c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
13398c2ecf20Sopenharmony_ci
13408c2ecf20Sopenharmony_ciconfig SERIAL_ARC
13418c2ecf20Sopenharmony_ci	tristate "ARC UART driver support"
13428c2ecf20Sopenharmony_ci	select SERIAL_CORE
13438c2ecf20Sopenharmony_ci	help
13448c2ecf20Sopenharmony_ci	  Driver for on-chip UART for ARC(Synopsys) for the legacy
13458c2ecf20Sopenharmony_ci	  FPGA Boards (ML50x/ARCAngel4)
13468c2ecf20Sopenharmony_ci
13478c2ecf20Sopenharmony_ciconfig SERIAL_ARC_CONSOLE
13488c2ecf20Sopenharmony_ci	bool "Console on ARC UART"
13498c2ecf20Sopenharmony_ci	depends on SERIAL_ARC=y
13508c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
13518c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
13528c2ecf20Sopenharmony_ci	help
13538c2ecf20Sopenharmony_ci	  Enable system Console on ARC UART
13548c2ecf20Sopenharmony_ci
13558c2ecf20Sopenharmony_ciconfig SERIAL_ARC_NR_PORTS
13568c2ecf20Sopenharmony_ci	int "Number of ARC UART ports"
13578c2ecf20Sopenharmony_ci	depends on SERIAL_ARC
13588c2ecf20Sopenharmony_ci	range 1 3
13598c2ecf20Sopenharmony_ci	default "1"
13608c2ecf20Sopenharmony_ci	help
13618c2ecf20Sopenharmony_ci	  Set this to the number of serial ports you want the driver
13628c2ecf20Sopenharmony_ci	  to support.
13638c2ecf20Sopenharmony_ci
13648c2ecf20Sopenharmony_ciconfig SERIAL_RP2
13658c2ecf20Sopenharmony_ci	tristate "Comtrol RocketPort EXPRESS/INFINITY support"
13668c2ecf20Sopenharmony_ci	depends on PCI
13678c2ecf20Sopenharmony_ci	select SERIAL_CORE
13688c2ecf20Sopenharmony_ci	help
13698c2ecf20Sopenharmony_ci	  This driver supports the Comtrol RocketPort EXPRESS and
13708c2ecf20Sopenharmony_ci	  RocketPort INFINITY families of PCI/PCIe multiport serial adapters.
13718c2ecf20Sopenharmony_ci	  These adapters use a "RocketPort 2" ASIC that is not compatible
13728c2ecf20Sopenharmony_ci	  with the original RocketPort driver (CONFIG_ROCKETPORT).
13738c2ecf20Sopenharmony_ci
13748c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
13758c2ecf20Sopenharmony_ci	  module will be called rp2.
13768c2ecf20Sopenharmony_ci
13778c2ecf20Sopenharmony_ci	  If you want to compile this driver into the kernel, say Y here.  If
13788c2ecf20Sopenharmony_ci	  you don't have a suitable RocketPort card installed, say N.
13798c2ecf20Sopenharmony_ci
13808c2ecf20Sopenharmony_ciconfig SERIAL_RP2_NR_UARTS
13818c2ecf20Sopenharmony_ci	int "Maximum number of RocketPort EXPRESS/INFINITY ports"
13828c2ecf20Sopenharmony_ci	depends on SERIAL_RP2
13838c2ecf20Sopenharmony_ci	default "32"
13848c2ecf20Sopenharmony_ci	help
13858c2ecf20Sopenharmony_ci	  If multiple cards are present, the default limit of 32 ports may
13868c2ecf20Sopenharmony_ci	  need to be increased.
13878c2ecf20Sopenharmony_ci
13888c2ecf20Sopenharmony_ciconfig SERIAL_FSL_LPUART
13898c2ecf20Sopenharmony_ci	tristate "Freescale lpuart serial port support"
13908c2ecf20Sopenharmony_ci	depends on HAS_DMA
13918c2ecf20Sopenharmony_ci	select SERIAL_CORE
13928c2ecf20Sopenharmony_ci	help
13938c2ecf20Sopenharmony_ci	  Support for the on-chip lpuart on some Freescale SOCs.
13948c2ecf20Sopenharmony_ci
13958c2ecf20Sopenharmony_ciconfig SERIAL_FSL_LPUART_CONSOLE
13968c2ecf20Sopenharmony_ci	bool "Console on Freescale lpuart serial port"
13978c2ecf20Sopenharmony_ci	depends on SERIAL_FSL_LPUART=y
13988c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
13998c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
14008c2ecf20Sopenharmony_ci	help
14018c2ecf20Sopenharmony_ci	  If you have enabled the lpuart serial port on the Freescale SoCs,
14028c2ecf20Sopenharmony_ci	  you can make it the console by answering Y to this option.
14038c2ecf20Sopenharmony_ci
14048c2ecf20Sopenharmony_ciconfig SERIAL_FSL_LINFLEXUART
14058c2ecf20Sopenharmony_ci	tristate "Freescale LINFlexD UART serial port support"
14068c2ecf20Sopenharmony_ci	depends on PRINTK
14078c2ecf20Sopenharmony_ci	select SERIAL_CORE
14088c2ecf20Sopenharmony_ci	help
14098c2ecf20Sopenharmony_ci	  Support for the on-chip LINFlexD UART on some Freescale SOCs.
14108c2ecf20Sopenharmony_ci
14118c2ecf20Sopenharmony_ciconfig SERIAL_FSL_LINFLEXUART_CONSOLE
14128c2ecf20Sopenharmony_ci	bool "Console on Freescale LINFlexD UART serial port"
14138c2ecf20Sopenharmony_ci	depends on SERIAL_FSL_LINFLEXUART=y
14148c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
14158c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
14168c2ecf20Sopenharmony_ci	help
14178c2ecf20Sopenharmony_ci	  If you have enabled the LINFlexD UART serial port on the Freescale
14188c2ecf20Sopenharmony_ci	  SoCs, you can make it the console by answering Y to this option.
14198c2ecf20Sopenharmony_ci
14208c2ecf20Sopenharmony_ciconfig SERIAL_CONEXANT_DIGICOLOR
14218c2ecf20Sopenharmony_ci	tristate "Conexant Digicolor CX92xxx USART serial port support"
14228c2ecf20Sopenharmony_ci	depends on OF
14238c2ecf20Sopenharmony_ci	select SERIAL_CORE
14248c2ecf20Sopenharmony_ci	help
14258c2ecf20Sopenharmony_ci	  Support for the on-chip USART on Conexant Digicolor SoCs.
14268c2ecf20Sopenharmony_ci
14278c2ecf20Sopenharmony_ciconfig SERIAL_CONEXANT_DIGICOLOR_CONSOLE
14288c2ecf20Sopenharmony_ci	bool "Console on Conexant Digicolor serial port"
14298c2ecf20Sopenharmony_ci	depends on SERIAL_CONEXANT_DIGICOLOR=y
14308c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
14318c2ecf20Sopenharmony_ci	help
14328c2ecf20Sopenharmony_ci	  If you have enabled the USART serial port on Conexant Digicolor
14338c2ecf20Sopenharmony_ci	  SoCs, you can make it the console by answering Y to this option.
14348c2ecf20Sopenharmony_ci
14358c2ecf20Sopenharmony_ciconfig SERIAL_ST_ASC
14368c2ecf20Sopenharmony_ci	tristate "ST ASC serial port support"
14378c2ecf20Sopenharmony_ci	select SERIAL_CORE
14388c2ecf20Sopenharmony_ci	depends on ARM || COMPILE_TEST
14398c2ecf20Sopenharmony_ci	help
14408c2ecf20Sopenharmony_ci	  This driver is for the on-chip Asychronous Serial Controller on
14418c2ecf20Sopenharmony_ci	  STMicroelectronics STi SoCs.
14428c2ecf20Sopenharmony_ci	  ASC is embedded in ST COMMS IP block. It supports Rx & Tx functionality.
14438c2ecf20Sopenharmony_ci	  It support all industry standard baud rates.
14448c2ecf20Sopenharmony_ci
14458c2ecf20Sopenharmony_ci	  If unsure, say N.
14468c2ecf20Sopenharmony_ci
14478c2ecf20Sopenharmony_ciconfig SERIAL_ST_ASC_CONSOLE
14488c2ecf20Sopenharmony_ci	bool "Support for console on ST ASC"
14498c2ecf20Sopenharmony_ci	depends on SERIAL_ST_ASC=y
14508c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
14518c2ecf20Sopenharmony_ci
14528c2ecf20Sopenharmony_ciconfig SERIAL_MEN_Z135
14538c2ecf20Sopenharmony_ci	tristate "MEN 16z135 Support"
14548c2ecf20Sopenharmony_ci	select SERIAL_CORE
14558c2ecf20Sopenharmony_ci	depends on MCB
14568c2ecf20Sopenharmony_ci	help
14578c2ecf20Sopenharmony_ci	  Say yes here to enable support for the MEN 16z135 High Speed UART IP-Core
14588c2ecf20Sopenharmony_ci	  on a MCB carrier.
14598c2ecf20Sopenharmony_ci
14608c2ecf20Sopenharmony_ci	  This driver can also be build as a module. If so, the module will be called
14618c2ecf20Sopenharmony_ci	  men_z135_uart.ko
14628c2ecf20Sopenharmony_ci
14638c2ecf20Sopenharmony_ciconfig SERIAL_SPRD
14648c2ecf20Sopenharmony_ci	tristate "Support for Spreadtrum serial"
14658c2ecf20Sopenharmony_ci	select SERIAL_CORE
14668c2ecf20Sopenharmony_ci	depends on COMMON_CLK
14678c2ecf20Sopenharmony_ci	help
14688c2ecf20Sopenharmony_ci	  This enables the driver for the Spreadtrum's serial.
14698c2ecf20Sopenharmony_ci
14708c2ecf20Sopenharmony_ciconfig SERIAL_SPRD_CONSOLE
14718c2ecf20Sopenharmony_ci	bool "Spreadtrum UART console support"
14728c2ecf20Sopenharmony_ci	depends on SERIAL_SPRD=y
14738c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
14748c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
14758c2ecf20Sopenharmony_ci	help
14768c2ecf20Sopenharmony_ci	  Support for early debug console using Spreadtrum's serial. This enables
14778c2ecf20Sopenharmony_ci	  the console before standard serial driver is probed. This is enabled
14788c2ecf20Sopenharmony_ci	  with "earlycon" on the kernel command line. The console is
14798c2ecf20Sopenharmony_ci	  enabled when early_param is processed.
14808c2ecf20Sopenharmony_ci
14818c2ecf20Sopenharmony_ciconfig SERIAL_STM32
14828c2ecf20Sopenharmony_ci	tristate "STMicroelectronics STM32 serial port support"
14838c2ecf20Sopenharmony_ci	select SERIAL_CORE
14848c2ecf20Sopenharmony_ci	depends on ARCH_STM32 || COMPILE_TEST
14858c2ecf20Sopenharmony_ci	select SERIAL_MCTRL_GPIO if GPIOLIB
14868c2ecf20Sopenharmony_ci	help
14878c2ecf20Sopenharmony_ci	  This driver is for the on-chip Serial Controller on
14888c2ecf20Sopenharmony_ci	  STMicroelectronics STM32 MCUs.
14898c2ecf20Sopenharmony_ci	  USART supports Rx & Tx functionality.
14908c2ecf20Sopenharmony_ci	  It support all industry standard baud rates.
14918c2ecf20Sopenharmony_ci
14928c2ecf20Sopenharmony_ci	  If unsure, say N.
14938c2ecf20Sopenharmony_ci
14948c2ecf20Sopenharmony_ciconfig SERIAL_STM32_CONSOLE
14958c2ecf20Sopenharmony_ci	bool "Support for console on STM32"
14968c2ecf20Sopenharmony_ci	depends on SERIAL_STM32=y
14978c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
14988c2ecf20Sopenharmony_ci
14998c2ecf20Sopenharmony_ciconfig SERIAL_MVEBU_UART
15008c2ecf20Sopenharmony_ci	bool "Marvell EBU serial port support"
15018c2ecf20Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
15028c2ecf20Sopenharmony_ci	select SERIAL_CORE
15038c2ecf20Sopenharmony_ci	help
15048c2ecf20Sopenharmony_ci	  This driver is for Marvell EBU SoC's UART. If you have a machine
15058c2ecf20Sopenharmony_ci	  based on the Armada-3700 SoC and wish to use the on-board serial
15068c2ecf20Sopenharmony_ci	  port,
15078c2ecf20Sopenharmony_ci	  say 'Y' here.
15088c2ecf20Sopenharmony_ci	  Otherwise, say 'N'.
15098c2ecf20Sopenharmony_ci
15108c2ecf20Sopenharmony_ciconfig SERIAL_MVEBU_CONSOLE
15118c2ecf20Sopenharmony_ci	bool "Console on Marvell EBU serial port"
15128c2ecf20Sopenharmony_ci	depends on SERIAL_MVEBU_UART
15138c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
15148c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
15158c2ecf20Sopenharmony_ci	default y
15168c2ecf20Sopenharmony_ci	help
15178c2ecf20Sopenharmony_ci	  Say 'Y' here if you wish to use Armada-3700 UART as the system console.
15188c2ecf20Sopenharmony_ci	  (the system console is the device which receives all kernel messages
15198c2ecf20Sopenharmony_ci	  and warnings and which allows logins in single user mode)
15208c2ecf20Sopenharmony_ci	  Otherwise, say 'N'.
15218c2ecf20Sopenharmony_ci
15228c2ecf20Sopenharmony_ciconfig SERIAL_OWL
15238c2ecf20Sopenharmony_ci	tristate "Actions Semi Owl serial port support"
15248c2ecf20Sopenharmony_ci	depends on ARCH_ACTIONS || COMPILE_TEST
15258c2ecf20Sopenharmony_ci	select SERIAL_CORE
15268c2ecf20Sopenharmony_ci	help
15278c2ecf20Sopenharmony_ci	  This driver is for Actions Semiconductor S500/S900 SoC's UART.
15288c2ecf20Sopenharmony_ci	  Say 'Y' here if you wish to use the on-board serial port.
15298c2ecf20Sopenharmony_ci	  Otherwise, say 'N'.
15308c2ecf20Sopenharmony_ci
15318c2ecf20Sopenharmony_ciconfig SERIAL_OWL_CONSOLE
15328c2ecf20Sopenharmony_ci	bool "Console on Actions Semi Owl serial port"
15338c2ecf20Sopenharmony_ci	depends on SERIAL_OWL=y
15348c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
15358c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
15368c2ecf20Sopenharmony_ci	default y
15378c2ecf20Sopenharmony_ci	help
15388c2ecf20Sopenharmony_ci	  Say 'Y' here if you wish to use Actions Semiconductor S500/S900 UART
15398c2ecf20Sopenharmony_ci	  as the system console.
15408c2ecf20Sopenharmony_ci
15418c2ecf20Sopenharmony_ciconfig SERIAL_RDA
15428c2ecf20Sopenharmony_ci	bool "RDA Micro serial port support"
15438c2ecf20Sopenharmony_ci	depends on ARCH_RDA || COMPILE_TEST
15448c2ecf20Sopenharmony_ci	select SERIAL_CORE
15458c2ecf20Sopenharmony_ci	help
15468c2ecf20Sopenharmony_ci	  This driver is for RDA8810PL SoC's UART.
15478c2ecf20Sopenharmony_ci	  Say 'Y' here if you wish to use the on-board serial port.
15488c2ecf20Sopenharmony_ci	  Otherwise, say 'N'.
15498c2ecf20Sopenharmony_ci
15508c2ecf20Sopenharmony_ciconfig SERIAL_RDA_CONSOLE
15518c2ecf20Sopenharmony_ci	bool "Console on RDA Micro serial port"
15528c2ecf20Sopenharmony_ci	depends on SERIAL_RDA=y
15538c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
15548c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
15558c2ecf20Sopenharmony_ci	default y
15568c2ecf20Sopenharmony_ci	help
15578c2ecf20Sopenharmony_ci	  Say 'Y' here if you wish to use the RDA8810PL UART as the system
15588c2ecf20Sopenharmony_ci	  console. Only earlycon is implemented currently.
15598c2ecf20Sopenharmony_ci
15608c2ecf20Sopenharmony_ciconfig SERIAL_MILBEAUT_USIO
15618c2ecf20Sopenharmony_ci	tristate "Milbeaut USIO/UART serial port support"
15628c2ecf20Sopenharmony_ci	depends on ARCH_MILBEAUT || (COMPILE_TEST && OF)
15638c2ecf20Sopenharmony_ci	default ARCH_MILBEAUT
15648c2ecf20Sopenharmony_ci	select SERIAL_CORE
15658c2ecf20Sopenharmony_ci	help
15668c2ecf20Sopenharmony_ci	  This selects the USIO/UART IP found in Socionext Milbeaut SoCs.
15678c2ecf20Sopenharmony_ci
15688c2ecf20Sopenharmony_ciconfig SERIAL_MILBEAUT_USIO_PORTS
15698c2ecf20Sopenharmony_ci	int "Maximum number of CSIO/UART ports (1-8)"
15708c2ecf20Sopenharmony_ci	range 1 8
15718c2ecf20Sopenharmony_ci	depends on SERIAL_MILBEAUT_USIO
15728c2ecf20Sopenharmony_ci	default "4"
15738c2ecf20Sopenharmony_ci
15748c2ecf20Sopenharmony_ciconfig SERIAL_MILBEAUT_USIO_CONSOLE
15758c2ecf20Sopenharmony_ci	bool "Support for console on MILBEAUT USIO/UART serial port"
15768c2ecf20Sopenharmony_ci	depends on SERIAL_MILBEAUT_USIO=y
15778c2ecf20Sopenharmony_ci	default y
15788c2ecf20Sopenharmony_ci	select SERIAL_CORE_CONSOLE
15798c2ecf20Sopenharmony_ci	select SERIAL_EARLYCON
15808c2ecf20Sopenharmony_ci	help
15818c2ecf20Sopenharmony_ci	  Say 'Y' here if you wish to use a USIO/UART of Socionext Milbeaut
15828c2ecf20Sopenharmony_ci	  SoCs as the system console (the system console is the device which
15838c2ecf20Sopenharmony_ci	  receives all kernel messages and warnings and which allows logins in
15848c2ecf20Sopenharmony_ci	  single user mode).
15858c2ecf20Sopenharmony_ci
15868c2ecf20Sopenharmony_ciendmenu
15878c2ecf20Sopenharmony_ci
15888c2ecf20Sopenharmony_ciconfig SERIAL_MCTRL_GPIO
15898c2ecf20Sopenharmony_ci	tristate
1590