brintos

brintos / linux-shallow public Read only

0
0
Text · 50.5 KiB · 28e4bee Raw
1607 lines · plain
1# SPDX-License-Identifier: GPL-2.02#3# Serial device configuration4#5 6menu "Serial drivers"7	depends on HAS_IOMEM8 9config SERIAL_EARLYCON10	bool11	depends on SERIAL_CORE12	help13	  Support for early consoles with the earlycon parameter. This enables14	  the console before standard serial driver is probed. The console is15	  enabled when early_param is processed.16 17source "drivers/tty/serial/8250/Kconfig"18 19comment "Non-8250 serial port support"20 21config SERIAL_AMBA_PL01022	tristate "ARM AMBA PL010 serial port support"23	depends on ARM_AMBA || COMPILE_TEST24	select SERIAL_CORE25	help26	  This selects the ARM(R) AMBA(R) PrimeCell PL010 UART.  If you have27	  an Integrator/AP or Integrator/PP2 platform, or if you have a28	  Cirrus Logic EP93xx CPU, say Y or M here.29 30	  If unsure, say N.31 32config SERIAL_AMBA_PL010_CONSOLE33	bool "Support for console on AMBA serial port"34	depends on SERIAL_AMBA_PL010=y35	select SERIAL_CORE_CONSOLE36	help37	  Say Y here if you wish to use an AMBA PrimeCell UART as the system38	  console (the system console is the device which receives all kernel39	  messages and warnings and which allows logins in single user mode).40 41	  Even if you say Y here, the currently visible framebuffer console42	  (/dev/tty0) will still be used as the system console by default, but43	  you can alter that using a kernel command line option such as44	  "console=ttyAM0". (Try "man bootparam" or see the documentation of45	  your boot loader (lilo or loadlin) about how to pass options to the46	  kernel at boot time.)47 48config SERIAL_AMBA_PL01149	tristate "ARM AMBA PL011 serial port support"50	depends on ARM_AMBA51	select SERIAL_CORE52	help53	  This selects the ARM(R) AMBA(R) PrimeCell PL011 UART.  If you have54	  an Integrator/PP2, Integrator/CP or Versatile platform, say Y or M55	  here.56 57	  If unsure, say N.58 59config SERIAL_AMBA_PL011_CONSOLE60	bool "Support for console on AMBA serial port"61	depends on SERIAL_AMBA_PL011=y62	select SERIAL_CORE_CONSOLE63	select SERIAL_EARLYCON64	help65	  Say Y here if you wish to use an AMBA PrimeCell UART as the system66	  console (the system console is the device which receives all kernel67	  messages and warnings and which allows logins in single user mode).68 69	  Even if you say Y here, the currently visible framebuffer console70	  (/dev/tty0) will still be used as the system console by default, but71	  you can alter that using a kernel command line option such as72	  "console=ttyAMA0". (Try "man bootparam" or see the documentation of73	  your boot loader (lilo or loadlin) about how to pass options to the74	  kernel at boot time.)75 76config SERIAL_EARLYCON_SEMIHOST77	bool "Early console using Arm compatible semihosting"78	depends on ARM64 || ARM || RISCV79	select SERIAL_CORE80	select SERIAL_CORE_CONSOLE81	select SERIAL_EARLYCON82	help83	  Support for early debug console using Arm compatible semihosting.84	  This enables the console before standard serial driver is probed.85	  This is enabled with "earlycon=smh" on the kernel command line.86	  The console is enabled when early_param is processed.87 88config SERIAL_EARLYCON_RISCV_SBI89	bool "Early console using RISC-V SBI"90	depends on RISCV_SBI91	select SERIAL_CORE92	select SERIAL_CORE_CONSOLE93	select SERIAL_EARLYCON94	help95	  Support for early debug console using RISC-V SBI. This enables96	  the console before standard serial driver is probed. This is enabled97	  with "earlycon=sbi" on the kernel command line. The console is98	  enabled when early_param is processed.99 100config SERIAL_SB1250_DUART101	tristate "BCM1xxx on-chip DUART serial support"102	depends on SIBYTE_SB1xxx_SOC=y103	select SERIAL_CORE104	default y105	help106	  Support for the asynchronous serial interface (DUART) included in107	  the BCM1250 and derived System-On-a-Chip (SOC) devices.  Note that108	  the letter D in DUART stands for "dual", which is how the device109	  is implemented.  Depending on the SOC configuration there may be110	  one or more DUARTs available of which all are handled.111 112	  If unsure, say Y.  To compile this driver as a module, choose M here:113	  the module will be called sb1250-duart.114 115config SERIAL_SB1250_DUART_CONSOLE116	bool "Support for console on a BCM1xxx DUART serial port"117	depends on SERIAL_SB1250_DUART=y118	select SERIAL_CORE_CONSOLE119	default y120	help121	  If you say Y here, it will be possible to use a serial port as the122	  system console (the system console is the device which receives all123	  kernel messages and warnings and which allows logins in single user124	  mode).125 126	  If unsure, say Y.127 128config SERIAL_ATMEL129	bool "AT91 on-chip serial port support"130	depends on COMMON_CLK131	depends on ARCH_AT91 || COMPILE_TEST132	select SERIAL_CORE133	select SERIAL_MCTRL_GPIO if GPIOLIB134	select MFD_AT91_USART135	help136	  This enables the driver for the on-chip UARTs of the Atmel137	  AT91 processors.138 139config SERIAL_ATMEL_CONSOLE140	bool "Support for console on AT91 serial port"141	depends on SERIAL_ATMEL=y142	select SERIAL_CORE_CONSOLE143	select SERIAL_EARLYCON144	help145	  Say Y here if you wish to use an on-chip UART on a Atmel146	  AT91 processor as the system console (the system147	  console is the device which receives all kernel messages and148	  warnings and which allows logins in single user mode).149 150config SERIAL_ATMEL_PDC151	bool "Support DMA transfers on AT91 serial port"152	depends on SERIAL_ATMEL153	default y154	help155	  Say Y here if you wish to use the PDC to do DMA transfers to156	  and from the Atmel AT91 serial port. In order to157	  actually use DMA transfers, make sure that the use_dma_tx158	  and use_dma_rx members in the atmel_uart_data struct is set159	  appropriately for each port.160 161	  Note that break and error handling currently doesn't work162	  properly when DMA is enabled. Make sure that ports where163	  this matters don't use DMA.164 165config SERIAL_ATMEL_TTYAT166	bool "Install as device ttyATn instead of ttySn"167	depends on SERIAL_ATMEL=y168	help169	  Say Y here if you wish to have the internal AT91 UARTs170	  appear as /dev/ttyATn (major 204, minor starting at 154)171	  instead of the normal /dev/ttySn (major 4, minor starting at172	  64). This is necessary if you also want other UARTs, such as173	  external 8250/16C550 compatible UARTs.174	  The ttySn nodes are legally reserved for the 8250 serial driver175	  but are often misused by other serial drivers.176 177	  To use this, you should create suitable ttyATn device nodes in178	  /dev/, and pass "console=ttyATn" to the kernel.179 180	  Say Y if you have an external 8250/16C550 UART.  If unsure, say N.181 182config SERIAL_KGDB_NMI183	bool "Serial console over KGDB NMI debugger port"184	depends on KGDB_SERIAL_CONSOLE185	help186	  This special driver allows you to temporary use NMI debugger port187	  as a normal console (assuming that the port is attached to KGDB).188 189	  Unlike KDB's disable_nmi command, with this driver you are always190	  able to go back to the debugger using KGDB escape sequence ($3#33).191	  This is because this console driver processes the input in NMI192	  context, and thus is able to intercept the magic sequence.193 194	  Note that since the console interprets input and uses polling195	  communication methods, for things like PPP you still must fully196	  detach debugger port from the KGDB NMI (i.e. disable_nmi), and197	  use raw console.198 199	  If unsure, say N.200 201config SERIAL_MESON202	tristate "Meson serial port support"203	depends on ARCH_MESON || COMPILE_TEST204	select SERIAL_CORE205	help206	  This enables the driver for the on-chip UARTs of the Amlogic207	  MesonX processors.208 209config SERIAL_MESON_CONSOLE210	bool "Support for console on meson"211	depends on SERIAL_MESON212	select SERIAL_CORE_CONSOLE213	select SERIAL_EARLYCON214	help215	  Say Y here if you wish to use a Amlogic MesonX UART as the216	  system console (the system console is the device which217	  receives all kernel messages and warnings and which allows218	  logins in single user mode) as /dev/ttyAMLx.219 220config SERIAL_CLPS711X221	tristate "CLPS711X serial port support"222	depends on ARCH_CLPS711X || COMPILE_TEST223	select SERIAL_CORE224	select SERIAL_MCTRL_GPIO if GPIOLIB225	help226	  This enables the driver for the on-chip UARTs of the Cirrus227	  Logic EP711x/EP721x/EP731x processors.228 229config SERIAL_CLPS711X_CONSOLE230	bool "Support for console on CLPS711X serial port"231	depends on SERIAL_CLPS711X=y232	select SERIAL_CORE_CONSOLE233	help234	  Even if you say Y here, the currently visible virtual console235	  (/dev/tty0) will still be used as the system console by default, but236	  you can alter that using a kernel command line option such as237	  "console=ttyCL1".238 239config SERIAL_SAMSUNG240	tristate "Samsung SoC serial support"241	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_APPLE || ARCH_ARTPEC || COMPILE_TEST242	select SERIAL_CORE243	help244	  Support for the on-chip UARTs on the Samsung245	  S3C64xx/S5Pv210/Exynos and Apple M1 SoCs, providing246	  /dev/ttySAC0, 1 and 2 (note, some machines may not provide all of247	  these ports, depending on how the serial port pins are configured.248 249	  Choose Y/M here only if you build for such SoC.250 251config SERIAL_SAMSUNG_UARTS252	int253	depends on SERIAL_SAMSUNG254	default 4255	help256	  Select the number of available UART ports for the Samsung S3C257	  serial driver258 259config SERIAL_SAMSUNG_CONSOLE260	bool "Support for console on Samsung SoC serial port"261	depends on SERIAL_SAMSUNG262	select SERIAL_CORE_CONSOLE263	select SERIAL_EARLYCON264	help265	  Allow selection of the S3C24XX on-board serial ports for use as266	  an virtual console.267 268	  Even if you say Y here, the currently visible virtual console269	  (/dev/tty0) will still be used as the system console by default, but270	  you can alter that using a kernel command line option such as271	  "console=ttySACx". (Try "man bootparam" or see the documentation of272	  your boot loader about how to pass options to the kernel at273	  boot time.)274 275config SERIAL_TEGRA276	tristate "NVIDIA Tegra20/30 SoC serial controller"277	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST278	select SERIAL_CORE279	help280	  Support for the on-chip UARTs on the NVIDIA Tegra series SOCs281	  providing /dev/ttyTHS0, 1, 2, 3 and 4 (note, some machines may not282	  provide all of these ports, depending on how the serial port283	  are enabled). This driver uses the APB DMA to achieve higher baudrate284	  and better performance.285 286config SERIAL_TEGRA_TCU287	tristate "NVIDIA Tegra Combined UART"288	depends on MAILBOX289	depends on (ARCH_TEGRA && TEGRA_HSP_MBOX) || COMPILE_TEST290	select SERIAL_CORE291	help292	  Support for the mailbox-based TCU (Tegra Combined UART) serial port.293	  TCU is a virtual serial port that allows multiplexing multiple data294	  streams into a single hardware serial port.295 296config SERIAL_TEGRA_TCU_CONSOLE297	bool "Support for console on a Tegra TCU serial port"298	depends on SERIAL_TEGRA_TCU=y299	select SERIAL_CORE_CONSOLE300	default y301	help302	  If you say Y here, it will be possible to use a the Tegra TCU as the303	  system console (the system console is the device which receives all304	  kernel messages and warnings and which allows logins in single user305	  mode).306 307	  If unsure, say Y.308 309config SERIAL_MAX3100310	tristate "MAX3100/3110/3111/3222 support"311	depends on SPI312	select SERIAL_CORE313	help314	  This selects support for an advanced UART from Maxim.315	  Supported ICs are MAX3100, MAX3110, MAX3111, MAX3222.316 317	  Say Y here if you want to support these ICs.318 319config SERIAL_MAX310X320	tristate "MAX310X support"321	depends on SPI_MASTER322	select SERIAL_CORE323	select REGMAP_SPI if SPI_MASTER324	select REGMAP_I2C if I2C325	help326	  This selects support for an advanced UART from Maxim (Dallas).327	  Supported ICs are MAX3107, MAX3108, MAX3109, MAX14830.328	  Each IC contains 128 words each of receive and transmit FIFO329	  that can be controlled through I2C or high-speed SPI.330 331	  Say Y here if you want to support this ICs.332 333config SERIAL_DZ334	bool "DECstation DZ serial driver"335	depends on MACH_DECSTATION && 32BIT336	select SERIAL_CORE337	default y338	help339	  DZ11-family serial controllers for DECstations and VAXstations,340	  including the DC7085, M7814, and M7819.341 342config SERIAL_DZ_CONSOLE343	bool "Support console on DECstation DZ serial driver"344	depends on SERIAL_DZ=y345	select SERIAL_CORE_CONSOLE346	default y347	help348	  If you say Y here, it will be possible to use a serial port as the349	  system console (the system console is the device which receives all350	  kernel messages and warnings and which allows logins in single user351	  mode).352 353	  Note that the firmware uses ttyS3 as the serial console on354	  DECstations that use this driver.355 356	  If unsure, say Y.357 358config SERIAL_ZS359	tristate "DECstation Z85C30 serial support"360	depends on MACH_DECSTATION361	select SERIAL_CORE362	default y363	help364	  Support for the Zilog 85C350 serial communications controller used365	  for serial ports in newer DECstation systems.  These include the366	  DECsystem 5900 and all models of the DECstation and DECsystem 5000367	  systems except from model 200.368 369	  If unsure, say Y.  To compile this driver as a module, choose M here:370	  the module will be called zs.371 372config SERIAL_ZS_CONSOLE373	bool "Support for console on a DECstation Z85C30 serial port"374	depends on SERIAL_ZS=y375	select SERIAL_CORE_CONSOLE376	default y377	help378	  If you say Y here, it will be possible to use a serial port as the379	  system console (the system console is the device which receives all380	  kernel messages and warnings and which allows logins in single user381	  mode).382 383	  Note that the firmware uses ttyS1 as the serial console on the384	  Maxine and ttyS3 on the others using this driver.385 386	  If unsure, say Y.387 388config SERIAL_21285389	tristate "DC21285 serial port support"390	depends on FOOTBRIDGE391	select SERIAL_CORE392	help393	  If you have a machine based on a 21285 (Footbridge) StrongARM(R)/394	  PCI bridge you can enable its onboard serial port by enabling this395	  option.396 397config SERIAL_21285_CONSOLE398	bool "Console on DC21285 serial port"399	depends on SERIAL_21285=y400	select SERIAL_CORE_CONSOLE401	help402	  If you have enabled the serial port on the 21285 footbridge you can403	  make it the console by answering Y to this option.404 405	  Even if you say Y here, the currently visible virtual console406	  (/dev/tty0) will still be used as the system console by default, but407	  you can alter that using a kernel command line option such as408	  "console=ttyFB". (Try "man bootparam" or see the documentation of409	  your boot loader (lilo or loadlin) about how to pass options to the410	  kernel at boot time.)411 412config SERIAL_PXA413	bool "PXA serial port support (DEPRECATED)"414	depends on ARCH_PXA || ARCH_MMP415	select SERIAL_CORE416	select SERIAL_8250_PXA if SERIAL_8250=y417	select SERIAL_PXA_NON8250 if !SERIAL_8250=y418	help419	  If you have a machine based on an Intel XScale PXA2xx CPU you420	  can enable its onboard serial ports by enabling this option.421 422	  Unless you have a specific need, you should use SERIAL_8250_PXA423	  instead of this.424 425config SERIAL_PXA_NON8250426	bool427	depends on !SERIAL_8250 || COMPILE_TEST428 429config SERIAL_PXA_CONSOLE430	bool "Console on PXA serial port (DEPRECATED)"431	depends on SERIAL_PXA432	select SERIAL_CORE_CONSOLE433	select SERIAL_8250_CONSOLE if SERIAL_8250=y434	help435	  If you have enabled the serial port on the Intel XScale PXA436	  CPU you can make it the console by answering Y to this option.437 438	  Even if you say Y here, the currently visible virtual console439	  (/dev/tty0) will still be used as the system console by default, but440	  you can alter that using a kernel command line option such as441	  "console=ttySA0". (Try "man bootparam" or see the documentation of442	  your boot loader (lilo or loadlin) about how to pass options to the443	  kernel at boot time.)444 445	  Unless you have a specific need, you should use SERIAL_8250_PXA446	  and SERIAL_8250_CONSOLE instead of this.447 448config SERIAL_SA1100449	bool "SA1100 serial port support"450	depends on ARCH_SA1100451	select SERIAL_CORE452	select SERIAL_MCTRL_GPIO if GPIOLIB453	help454	  If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you455	  can enable its onboard serial port by enabling this option.456	  Please read <file:Documentation/arch/arm/sa1100/serial_uart.rst> for457	  further info.458 459config SERIAL_SA1100_CONSOLE460	bool "Console on SA1100 serial port"461	depends on SERIAL_SA1100462	select SERIAL_CORE_CONSOLE463	help464	  If you have enabled the serial port on the SA1100/SA1110 StrongARM465	  CPU you can make it the console by answering Y to this option.466 467	  Even if you say Y here, the currently visible virtual console468	  (/dev/tty0) will still be used as the system console by default, but469	  you can alter that using a kernel command line option such as470	  "console=ttySA0". (Try "man bootparam" or see the documentation of471	  your boot loader (lilo or loadlin) about how to pass options to the472	  kernel at boot time.)473 474config SERIAL_IMX475	tristate "IMX serial port support"476	depends on ARCH_MXC || COMPILE_TEST477	select SERIAL_CORE478	select RATIONAL479	select SERIAL_MCTRL_GPIO if GPIOLIB480	help481	  If you have a machine based on a Motorola IMX CPU you482	  can enable its onboard serial port by enabling this option.483 484config SERIAL_IMX_CONSOLE485	tristate "Console on IMX serial port"486	depends on SERIAL_IMX487	select SERIAL_CORE_CONSOLE488	help489	  If you have enabled the serial port on the Freescale IMX490	  CPU you can make it the console by answering Y/M to this option.491 492	  Even if you say Y/M here, the currently visible virtual console493	  (/dev/tty0) will still be used as the system console by default, but494	  you can alter that using a kernel command line option such as495	  "console=ttymxc0". (Try "man bootparam" or see the documentation of496	  your bootloader about how to pass options to the kernel at boot time.)497 498config SERIAL_IMX_EARLYCON499	bool "Earlycon on IMX serial port"500	depends on ARCH_MXC || COMPILE_TEST501	depends on OF502	select SERIAL_CORE503	select SERIAL_EARLYCON504	select SERIAL_CORE_CONSOLE505	default y if SERIAL_IMX_CONSOLE506	help507	  If you have enabled the earlycon on the Freescale IMX508	  CPU you can make it the earlycon by answering Y to this option.509 510config SERIAL_UARTLITE511	tristate "Xilinx uartlite serial port support"512	depends on HAS_IOMEM513	select SERIAL_CORE514	help515	  Say Y here if you want to use the Xilinx uartlite serial controller.516 517	  To compile this driver as a module, choose M here: the518	  module will be called uartlite.519 520config SERIAL_UARTLITE_CONSOLE521	bool "Support for console on Xilinx uartlite serial port"522	depends on SERIAL_UARTLITE=y523	select SERIAL_CORE_CONSOLE524	select SERIAL_EARLYCON525	help526	  Say Y here if you wish to use a Xilinx uartlite as the system527	  console (the system console is the device which receives all kernel528	  messages and warnings and which allows logins in single user mode).529 530config SERIAL_UARTLITE_NR_UARTS531	int "Maximum number of uartlite serial ports"532	depends on SERIAL_UARTLITE533	range 1 256534	default 1535	help536	  Set this to the number of uartlites in your system, or the number537	  you think you might implement.538	  If maximum number of uartlite serial ports is more than 4, then the539	  driver uses dynamic allocation instead of static allocation for major540	  number.541 542config SERIAL_SUNCORE543	bool544	depends on SPARC545	select SERIAL_CORE546	select SERIAL_CORE_CONSOLE547	default y548 549config SERIAL_SUNZILOG550	tristate "Sun Zilog8530 serial support"551	depends on SPARC552	help553	  This driver supports the Zilog8530 serial ports found on many Sparc554	  systems.  Say Y or M if you want to be able to these serial ports.555 556config SERIAL_SUNZILOG_CONSOLE557	bool "Console on Sun Zilog8530 serial port"558	depends on SERIAL_SUNZILOG=y559	help560	  If you would like to be able to use the Zilog8530 serial port561	  on your Sparc system as the console, you can do so by answering562	  Y to this option.563 564config SERIAL_SUNSU565	tristate "Sun SU serial support"566	depends on SPARC && PCI567	help568	  This driver supports the 8250 serial ports that run the keyboard and569	  mouse on (PCI) UltraSPARC systems.  Say Y or M if you want to be able570	  to these serial ports.571 572config SERIAL_SUNSU_CONSOLE573	bool "Console on Sun SU serial port"574	depends on SERIAL_SUNSU=y575	help576	  If you would like to be able to use the SU serial port577	  on your Sparc system as the console, you can do so by answering578	  Y to this option.579 580config SERIAL_MUX581	tristate "Serial MUX support"582	depends on GSC583	select SERIAL_CORE584	default y585	help586	  Saying Y here will enable the hardware MUX serial driver for587	  the Nova, K class systems and D class with a 'remote control card'.588	  The hardware MUX is not 8250/16550 compatible therefore the589	  /dev/ttyB0 device is shared between the Serial MUX and the PDC590	  software console. The following steps need to be completed to use591	  the Serial MUX:592 593	    1. create the device entry (mknod /dev/ttyB0 c 11 0)594	    2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0595	    3. Add device ttyB0 to /etc/securetty (if you want to log on as596		 root on this console.)597	    4. Change the kernel command console parameter to: console=ttyB0598 599config SERIAL_MUX_CONSOLE600	bool "Support for console on serial MUX"601	depends on SERIAL_MUX=y602	select SERIAL_CORE_CONSOLE603	default y604 605config SERIAL_SUNSAB606	tristate "Sun Siemens SAB82532 serial support"607	depends on SPARC && PCI608	help609	  This driver supports the Siemens SAB82532 DUSCC serial ports on newer610	  (PCI) UltraSPARC systems.  Say Y or M if you want to be able to these611	  serial ports.612 613config SERIAL_SUNSAB_CONSOLE614	bool "Console on Sun Siemens SAB82532 serial port"615	depends on SERIAL_SUNSAB=y616	help617	  If you would like to be able to use the SAB82532 serial port618	  on your Sparc system as the console, you can do so by answering619	  Y to this option.620 621config SERIAL_SUNHV622	bool "Sun4v Hypervisor Console support"623	depends on SPARC64624	help625	  This driver supports the console device found on SUN4V Sparc626	  systems.  Say Y if you want to be able to use this device.627 628config SERIAL_IP22_ZILOG629	tristate "SGI Zilog8530 serial support"630	depends on SGI_HAS_ZILOG631	select SERIAL_CORE632	help633	  This driver supports the Zilog8530 serial ports found on SGI634	  systems.  Say Y or M if you want to be able to these serial ports.635 636config SERIAL_IP22_ZILOG_CONSOLE637	bool "Console on SGI Zilog8530 serial port"638	depends on SERIAL_IP22_ZILOG=y639	select SERIAL_CORE_CONSOLE640 641config SERIAL_SH_SCI642	tristate "SuperH SCI(F) serial port support"643	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST644	select SERIAL_CORE645	select SERIAL_MCTRL_GPIO if GPIOLIB646 647config SERIAL_SH_SCI_NR_UARTS648	int "Maximum number of SCI(F) serial ports" if EXPERT649	range 1 64 if 64BIT650	range 1 32 if !64BIT651	depends on SERIAL_SH_SCI652	default "10" if SUPERH653	default "18" if ARCH_RENESAS654	default "2"655 656config SERIAL_SH_SCI_CONSOLE657	bool "Support for console on SuperH SCI(F)" if EXPERT658	depends on SERIAL_SH_SCI=y659	select SERIAL_CORE_CONSOLE660	default y661 662config SERIAL_SH_SCI_EARLYCON663	bool "Support for early console on SuperH SCI(F)" if EXPERT664	depends on SERIAL_SH_SCI=y665	select SERIAL_CORE_CONSOLE666	select SERIAL_EARLYCON667	default ARCH_RENESAS668 669config SERIAL_SH_SCI_DMA670	bool "DMA support" if EXPERT671	depends on SERIAL_SH_SCI && DMA_ENGINE672	default ARCH_RENESAS673 674config SERIAL_HS_LPC32XX675	tristate "LPC32XX high speed serial port support"676	depends on ARCH_LPC32XX || COMPILE_TEST677	depends on OF678	select SERIAL_CORE679	help680	  Support for the LPC32XX high speed serial ports (up to 900kbps).681	  Those are UARTs completely different from the Standard UARTs on the682	  LPC32XX SoC.683	  Choose M or Y here to build this driver.684 685config SERIAL_HS_LPC32XX_CONSOLE686	bool "Enable LPC32XX high speed UART serial console"687	depends on SERIAL_HS_LPC32XX=y688	select SERIAL_CORE_CONSOLE689	help690	  If you would like to be able to use one of the high speed serial691	  ports on the LPC32XX as the console, you can do so by answering692	  Y to this option.693 694config SERIAL_CORE695	tristate696 697config SERIAL_CORE_CONSOLE698	bool699 700config CONSOLE_POLL701	bool702 703config SERIAL_MCF704	bool "Coldfire serial support"705	depends on COLDFIRE706	select SERIAL_CORE707	help708	  This serial driver supports the Freescale Coldfire serial ports.709 710config SERIAL_MCF_BAUDRATE711	int "Default baudrate for Coldfire serial ports"712	depends on SERIAL_MCF713	default 19200714	help715	  This setting lets you define what the default baudrate is for the716	  ColdFire serial ports. The usual default varies from board to board,717	  and this setting is a way of catering for that.718 719config SERIAL_MCF_CONSOLE720	bool "Coldfire serial console support"721	depends on SERIAL_MCF722	select SERIAL_CORE_CONSOLE723	help724	  Enable a ColdFire internal serial port to be the system console.725 726config SERIAL_PMACZILOG727	tristate "Mac or PowerMac z85c30 ESCC support"728	depends on (M68K && MAC) || PPC_PMAC729	select SERIAL_CORE730	help731	  This driver supports the Zilog z85C30 serial ports found on732	  (Power)Mac machines.733	  Say Y or M if you want to be able to these serial ports.734 735config SERIAL_PMACZILOG_TTYS736	bool "Use ttySn device nodes for Zilog z85c30"737	depends on SERIAL_PMACZILOG738	help739	  The pmac_zilog driver for the z85C30 chip on many powermacs740	  historically used the device numbers for /dev/ttySn.  The741	  8250 serial port driver also uses these numbers, which means742	  the two drivers being unable to coexist; you could not use743	  both z85C30 and 8250 type ports at the same time.744 745	  If this option is not selected, the pmac_zilog driver will746	  use the device numbers allocated for /dev/ttyPZn.  This allows747	  the pmac_zilog and 8250 drivers to co-exist, but may cause748	  existing userspace setups to break.  Programs that need to749	  access the built-in serial ports on powermacs will need to750	  be reconfigured to use /dev/ttyPZn instead of /dev/ttySn.751 752	  If you enable this option, any z85c30 ports in the system will753	  be registered as ttyS0 onwards as in the past, and you will be754	  unable to use the 8250 module for PCMCIA or other 16C550-style755	  UARTs.756 757	  Say N unless you need the z85c30 ports on your (Power)Mac758	  to appear as /dev/ttySn.759 760config SERIAL_PMACZILOG_CONSOLE761	bool "Console on Mac or PowerMac z85c30 serial port"762	depends on SERIAL_PMACZILOG=y763	select SERIAL_CORE_CONSOLE764	help765	  If you would like to be able to use the z85c30 serial port766	  on your (Power)Mac as the console, you can do so by answering767	  Y to this option.768 769config SERIAL_CPM770	tristate "CPM SCC/SMC serial port support"771	depends on CPM2 || CPM1772	select SERIAL_CORE773	help774	  This driver supports the SCC and SMC serial ports on Motorola 775	  embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)776 777config SERIAL_CPM_CONSOLE778	bool "Support for console on CPM SCC/SMC serial port"779	depends on SERIAL_CPM=y780	select SERIAL_CORE_CONSOLE781	help782	  Say Y here if you wish to use a SCC or SMC CPM UART as the system783	  console (the system console is the device which receives all kernel784	  messages and warnings and which allows logins in single user mode).785 786	  Even if you say Y here, the currently visible framebuffer console787	  (/dev/tty0) will still be used as the system console by default, but788	  you can alter that using a kernel command line option such as789	  "console=ttyCPM0". (Try "man bootparam" or see the documentation of790	  your boot loader (lilo or loadlin) about how to pass options to the791	  kernel at boot time.)792 793config SERIAL_PIC32794	tristate "Microchip PIC32 serial support"795	depends on MACH_PIC32 || (MIPS && COMPILE_TEST)796	select SERIAL_CORE797	help798	  If you have a PIC32, this driver supports the serial ports.799 800	  Say Y or M to use PIC32 serial ports, otherwise say N. Note that801	  to use a serial port as a console, this must be included in kernel and802	  not as a module.803 804config SERIAL_PIC32_CONSOLE805	bool "PIC32 serial console support"806	depends on SERIAL_PIC32=y807	select SERIAL_CORE_CONSOLE808	help809	  If you have a PIC32, this driver supports the putting a console on one810	  of the serial ports.811 812	  Say Y to use the PIC32 console, otherwise say N.813 814config SERIAL_MPC52xx815	tristate "Freescale MPC52xx/MPC512x family PSC serial support"816	depends on PPC_MPC52xx || PPC_MPC512x817	select SERIAL_CORE818	help819	  This driver supports MPC52xx and MPC512x PSC serial ports. If you would820	  like to use them, you must answer Y or M to this option. Note that821	  for use as console, it must be included in kernel and not as a822	  module.823 824config SERIAL_MPC52xx_CONSOLE825	bool "Console on a Freescale MPC52xx/MPC512x family PSC serial port"826	depends on SERIAL_MPC52xx=y827	select SERIAL_CORE_CONSOLE828	help829	  Select this options if you'd like to use one of the PSC serial port830	  of the Freescale MPC52xx family as a console.831 832config SERIAL_MPC52xx_CONSOLE_BAUD833	int "Freescale MPC52xx/MPC512x family PSC serial port baud"834	depends on SERIAL_MPC52xx_CONSOLE=y835	default "9600"836	help837	  Select the MPC52xx console baud rate.838	  This value is only used if the bootloader doesn't pass in the839	  console baudrate840 841config SERIAL_ICOM842	tristate "IBM Multiport Serial Adapter"843	depends on PCI844	depends on PPC_PSERIES || COMPILE_TEST845	select SERIAL_CORE846	select FW_LOADER847	help848	  This driver is for a family of multiport serial adapters849	  including 2 port RVX, 2 port internal modem, 4 port internal850	  modem and a split 1 port RVX and 1 port internal modem.851 852	  This driver can also be built as a module.  If so, the module853	  will be called icom.854 855config SERIAL_TXX9856	bool "TMPTX39XX/49XX SIO support"857	depends on HAS_TXX9_SERIAL858	select SERIAL_CORE859	default y860 861config HAS_TXX9_SERIAL862	bool863 864config SERIAL_TXX9_NR_UARTS865	int "Maximum number of TMPTX39XX/49XX SIO ports"866	depends on SERIAL_TXX9867	default "6"868 869config SERIAL_TXX9_CONSOLE870	bool "TMPTX39XX/49XX SIO Console support"871	depends on SERIAL_TXX9=y872	select SERIAL_CORE_CONSOLE873 874config SERIAL_TXX9_STDSERIAL875	bool "TX39XX/49XX SIO act as standard serial"876	depends on !SERIAL_8250 && SERIAL_TXX9877 878config SERIAL_JSM879	tristate "Digi International NEO and Classic PCI Support"880	depends on PCI881	select SERIAL_CORE882	help883	  This is a driver for Digi International's Neo and Classic series884	  of cards which provide multiple serial ports. You would need885	  something like this to connect more than two modems to your Linux886	  box, for instance in order to become a dial-in server. This driver887	  supports PCI boards only.888 889	  If you have a card like this, say Y here, otherwise say N.890 891	  To compile this driver as a module, choose M here: the892	  module will be called jsm.893 894config SERIAL_MSM895	tristate "MSM on-chip serial port support"896	depends on ARCH_QCOM || COMPILE_TEST897	select SERIAL_CORE898 899config SERIAL_MSM_CONSOLE900	bool "MSM serial console support"901	depends on SERIAL_MSM=y902	select SERIAL_CORE_CONSOLE903	select SERIAL_EARLYCON904 905config SERIAL_QCOM_GENI906	tristate "QCOM on-chip GENI based serial port support"907	depends on ARCH_QCOM || COMPILE_TEST908	depends on QCOM_GENI_SE909	select SERIAL_CORE910 911config SERIAL_QCOM_GENI_CONSOLE912	bool "QCOM GENI Serial Console support"913	depends on SERIAL_QCOM_GENI914	select SERIAL_CORE_CONSOLE915	select SERIAL_EARLYCON916	help917	  Serial console driver for Qualcomm Technologies Inc's GENI based918	  QUP hardware.919 920config SERIAL_VT8500921	bool "VIA VT8500 on-chip serial port support"922	depends on ARCH_VT8500 || COMPILE_TEST923	select SERIAL_CORE924 925config SERIAL_VT8500_CONSOLE926	bool "VIA VT8500 serial console support"927	depends on SERIAL_VT8500=y928	select SERIAL_CORE_CONSOLE929 930config SERIAL_OMAP931	tristate "OMAP serial port support"932	depends on (ARCH_OMAP2PLUS && !SERIAL_8250_OMAP) || COMPILE_TEST933	select SERIAL_CORE934	help935	  If you have a machine based on an Texas Instruments OMAP CPU you936	  can enable its onboard serial ports by enabling this option.937 938	  By enabling this option you take advantage of dma feature available939	  with the omap-serial driver. DMA support can be enabled from platform940	  data.941 942config SERIAL_OMAP_CONSOLE943	bool "Console on OMAP serial port"944	depends on SERIAL_OMAP=y945	select SERIAL_CORE_CONSOLE946	help947	  Select this option if you would like to use omap serial port as948	  console.949 950	  Even if you say Y here, the currently visible virtual console951	  (/dev/tty0) will still be used as the system console by default, but952	  you can alter that using a kernel command line option such as953	  "console=ttyOx". (Try "man bootparam" or see the documentation of954	  your boot loader about how to pass options to the kernel at955	  boot time.)956 957config SERIAL_SIFIVE958	tristate "SiFive UART support"959	depends on OF960	default ARCH_SIFIVE || ARCH_CANAAN961	select SERIAL_CORE962	help963	  Select this option if you are building a kernel for a device that964	  contains a SiFive UART IP block.  This type of UART is present on965	  SiFive FU540 SoCs, among others.966 967config SERIAL_SIFIVE_CONSOLE968	bool "Console on SiFive UART"969	depends on SERIAL_SIFIVE=y970	default ARCH_SIFIVE || ARCH_CANAAN971	select SERIAL_CORE_CONSOLE972	select SERIAL_EARLYCON973	help974	  Select this option if you would like to use a SiFive UART as the975	  system console.976 977	  Even if you say Y here, the currently visible virtual console978	  (/dev/tty0) will still be used as the system console by default, but979	  you can alter that using a kernel command line option such as980	  "console=ttySIFx". (Try "man bootparam" or see the documentation of981	  your boot loader about how to pass options to the kernel at982	  boot time.)983 984config SERIAL_LANTIQ985	tristate "Lantiq serial driver"986	depends on (LANTIQ || X86) || COMPILE_TEST987	select SERIAL_CORE988	help989	  Support for UART on Lantiq and Intel SoCs.990	  To compile this driver as a module, select M here. The991	  module will be called lantiq.992 993config SERIAL_LANTIQ_CONSOLE994	bool "Console on Lantiq UART"995	depends on SERIAL_LANTIQ=y996	select SERIAL_CORE_CONSOLE997	select SERIAL_EARLYCON998	help999	  Select this option if you would like to use a Lantiq UART as the1000	  system console.1001 1002config SERIAL_QE1003	tristate "Freescale QUICC Engine serial port support"1004	depends on QUICC_ENGINE1005	select SERIAL_CORE1006	select FW_LOADER1007	help1008	  This driver supports the QE serial ports on Freescale embedded1009	  PowerPC that contain a QUICC Engine.1010 1011config SERIAL_SCCNXP1012	tristate "SCCNXP serial port support"1013	select SERIAL_CORE1014	help1015	  This selects support for an advanced UART from NXP (Philips).1016	  Supported ICs are SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,1017	  SC28L202, SCC68681 and SCC68692.1018 1019config SERIAL_SCCNXP_CONSOLE1020	bool "Console on SCCNXP serial port"1021	depends on SERIAL_SCCNXP=y1022	select SERIAL_CORE_CONSOLE1023	help1024	  Support for console on SCCNXP serial ports.1025 1026config SERIAL_SC16IS7XX1027	tristate "NXP SC16IS7xx UART support"1028	depends on SPI_MASTER || I2C1029	select SERIAL_CORE1030	select SERIAL_SC16IS7XX_SPI if SPI_MASTER1031	select SERIAL_SC16IS7XX_I2C if I2C1032	help1033	  Core driver for NXP SC16IS7xx UARTs.1034	  Supported ICs are:1035 1036	    SC16IS7401037	    SC16IS7411038	    SC16IS7501039	    SC16IS7521040	    SC16IS7601041	    SC16IS7621042 1043	  The driver supports both I2C and SPI interfaces.1044 1045config SERIAL_SC16IS7XX_I2C1046	tristate1047	select REGMAP_I2C1048 1049config SERIAL_SC16IS7XX_SPI1050	tristate1051	select REGMAP_SPI1052 1053config SERIAL_TIMBERDALE1054	tristate "Support for timberdale UART"1055	select SERIAL_CORE1056	depends on X86_32 || COMPILE_TEST1057	help1058	Add support for UART controller on timberdale.1059 1060config SERIAL_BCM63XX1061	tristate "Broadcom BCM63xx/BCM33xx UART support"1062	select SERIAL_CORE1063	depends on ARCH_BCMBCA || BCM63XX || BMIPS_GENERIC || COMPILE_TEST1064	default ARCH_BCMBCA || BCM63XX || BMIPS_GENERIC1065	help1066	  This enables the driver for the onchip UART core found on1067	  the following chipsets:1068 1069	    BCM33xx (cable modem)1070	    BCM63xx/BCM63xxx (DSL)1071	    BCM68xx (PON)1072	    BCM7xxx (STB) - DOCSIS console1073 1074config SERIAL_BCM63XX_CONSOLE1075	bool "Console on BCM63xx serial port"1076	depends on SERIAL_BCM63XX=y1077	select SERIAL_CORE_CONSOLE1078	select SERIAL_EARLYCON1079	help1080	  If you have enabled the serial port on the BCM63xx CPU1081	  you can make it the console by answering Y to this option.1082 1083config SERIAL_GRLIB_GAISLER_APBUART1084	tristate "GRLIB APBUART serial support"1085	depends on OF && SPARC1086	select SERIAL_CORE1087	help1088	Add support for the GRLIB APBUART serial port.1089 1090config SERIAL_GRLIB_GAISLER_APBUART_CONSOLE1091	bool "Console on GRLIB APBUART serial port"1092	depends on SERIAL_GRLIB_GAISLER_APBUART=y1093	select SERIAL_CORE_CONSOLE1094	help1095	Support for running a console on the GRLIB APBUART1096 1097config SERIAL_ALTERA_JTAGUART1098	tristate "Altera JTAG UART support"1099	select SERIAL_CORE1100	help1101	  This driver supports the Altera JTAG UART port.1102 1103config SERIAL_ALTERA_JTAGUART_CONSOLE1104	bool "Altera JTAG UART console support"1105	depends on SERIAL_ALTERA_JTAGUART=y1106	select SERIAL_CORE_CONSOLE1107	select SERIAL_EARLYCON1108	help1109	  Enable a Altera JTAG UART port to be the system console.1110 1111config SERIAL_ALTERA_JTAGUART_CONSOLE_BYPASS1112	bool "Bypass output when no connection"1113	depends on SERIAL_ALTERA_JTAGUART_CONSOLE1114	select SERIAL_CORE_CONSOLE1115	help1116	  Bypass console output and keep going even if there is no1117	  JTAG terminal connection with the host.1118 1119config SERIAL_ALTERA_UART1120	tristate "Altera UART support"1121	select SERIAL_CORE1122	help1123	  This driver supports the Altera softcore UART port.1124 1125config SERIAL_ALTERA_UART_MAXPORTS1126	int "Maximum number of Altera UART ports"1127	depends on SERIAL_ALTERA_UART1128	default 41129	help1130	  This setting lets you define the maximum number of the Altera1131	  UART ports. The usual default varies from board to board, and1132	  this setting is a way of catering for that.1133 1134config SERIAL_ALTERA_UART_BAUDRATE1135	int "Default baudrate for Altera UART ports"1136	depends on SERIAL_ALTERA_UART1137	default 1152001138	help1139	  This setting lets you define what the default baudrate is for the1140	  Altera UART ports. The usual default varies from board to board,1141	  and this setting is a way of catering for that.1142 1143config SERIAL_ALTERA_UART_CONSOLE1144	bool "Altera UART console support"1145	depends on SERIAL_ALTERA_UART=y1146	select SERIAL_CORE_CONSOLE1147	select SERIAL_EARLYCON1148	help1149	  Enable a Altera UART port to be the system console.1150 1151config SERIAL_PCH_UART1152	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) UART"1153	depends on PCI && (X86_32 || MIPS ||  COMPILE_TEST)1154	select SERIAL_CORE1155	help1156	  This driver is for PCH(Platform controller Hub) UART of Intel EG20T1157	  which is an IOH(Input/Output Hub) for x86 embedded processor.1158	  Enabling PCH_DMA, this PCH UART works as DMA mode.1159 1160	  This driver also can be used for LAPIS Semiconductor IOH(Input/1161	  Output Hub), ML7213, ML7223 and ML7831.1162	  ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is1163	  for MP(Media Phone) use and ML7831 IOH is for general purpose use.1164	  ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.1165	  ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.1166 1167config SERIAL_PCH_UART_CONSOLE1168	bool "Support for console on Intel EG20T PCH UART/OKI SEMICONDUCTOR ML7213 IOH"1169	depends on SERIAL_PCH_UART=y1170	select SERIAL_CORE_CONSOLE1171	help1172	  Say Y here if you wish to use the PCH UART as the system console1173	  (the system  console is the device which receives all kernel messages and1174	  warnings and which allows logins in single user mode).1175 1176config SERIAL_MXS_AUART1177	tristate "MXS AUART support"1178	depends on ARCH_MXS || MACH_ASM9260 || COMPILE_TEST1179	select SERIAL_CORE1180	select SERIAL_MCTRL_GPIO if GPIOLIB1181	help1182	  This driver supports the MXS and Alphascale ASM9260 Application1183	  UART (AUART) port.1184 1185config SERIAL_MXS_AUART_CONSOLE1186	bool "MXS AUART console support"1187	depends on SERIAL_MXS_AUART=y1188	select SERIAL_CORE_CONSOLE1189	help1190	  Enable a MXS AUART port to be the system console.1191 1192config SERIAL_XILINX_PS_UART1193	tristate "Cadence (Xilinx Zynq) UART support"1194	depends on OF1195	select SERIAL_CORE1196	help1197	  This driver supports the Cadence UART. It is found e.g. in Xilinx1198	  Zynq.1199 1200config SERIAL_XILINX_PS_UART_CONSOLE1201	bool "Cadence UART console support"1202	depends on SERIAL_XILINX_PS_UART=y1203	select SERIAL_CORE_CONSOLE1204	select SERIAL_EARLYCON1205	help1206	  Enable a Cadence UART port to be the system console.1207 1208config SERIAL_AR933X1209	tristate "AR933X serial port support"1210	depends on (HAVE_CLK && ATH79) || (MIPS && COMPILE_TEST)1211	select SERIAL_CORE1212	select SERIAL_MCTRL_GPIO if GPIOLIB1213	help1214	  If you have an Atheros AR933X SOC based board and want to use the1215	  built-in UART of the SoC, say Y to this option.1216 1217	  To compile this driver as a module, choose M here: the1218	  module will be called ar933x_uart.1219 1220config SERIAL_AR933X_CONSOLE1221	bool "Console on AR933X serial port"1222	depends on SERIAL_AR933X=y1223	select SERIAL_CORE_CONSOLE1224	help1225	  Enable a built-in UART port of the AR933X to be the system console.1226 1227config SERIAL_AR933X_NR_UARTS1228	int "Maximum number of AR933X serial ports"1229	depends on SERIAL_AR933X1230	default "2"1231	help1232	  Set this to the number of serial ports you want the driver1233	  to support.1234 1235config SERIAL_MPS2_UART_CONSOLE1236	bool "MPS2 UART console support"1237	depends on SERIAL_MPS2_UART1238	select SERIAL_CORE_CONSOLE1239	select SERIAL_EARLYCON1240 1241config SERIAL_MPS2_UART1242	bool "MPS2 UART port"1243	depends on ARCH_MPS2 || COMPILE_TEST1244	select SERIAL_CORE1245	help1246	  This driver support the UART ports on ARM MPS2.1247 1248config SERIAL_ARC1249	tristate "ARC UART driver support"1250	select SERIAL_CORE1251	help1252	  Driver for on-chip UART for ARC(Synopsys) for the legacy1253	  FPGA Boards (ML50x/ARCAngel4)1254 1255config SERIAL_ARC_CONSOLE1256	bool "Console on ARC UART"1257	depends on SERIAL_ARC=y1258	select SERIAL_CORE_CONSOLE1259	select SERIAL_EARLYCON1260	help1261	  Enable system Console on ARC UART1262 1263config SERIAL_ARC_NR_PORTS1264	int "Number of ARC UART ports"1265	depends on SERIAL_ARC1266	range 1 31267	default "1"1268	help1269	  Set this to the number of serial ports you want the driver1270	  to support.1271 1272config SERIAL_RP21273	tristate "Comtrol RocketPort EXPRESS/INFINITY support"1274	depends on PCI1275	select SERIAL_CORE1276	help1277	  This driver supports the Comtrol RocketPort EXPRESS and1278	  RocketPort INFINITY families of PCI/PCIe multiport serial adapters.1279	  These adapters use a "RocketPort 2" ASIC that is not compatible1280	  with the original RocketPort driver (CONFIG_ROCKETPORT).1281 1282	  To compile this driver as a module, choose M here: the1283	  module will be called rp2.1284 1285	  If you want to compile this driver into the kernel, say Y here.  If1286	  you don't have a suitable RocketPort card installed, say N.1287 1288config SERIAL_RP2_NR_UARTS1289	int "Maximum number of RocketPort EXPRESS/INFINITY ports"1290	depends on SERIAL_RP21291	default "32"1292	help1293	  If multiple cards are present, the default limit of 32 ports may1294	  need to be increased.1295 1296config SERIAL_FSL_LPUART1297	tristate "Freescale lpuart serial port support"1298	depends on HAS_DMA1299	select SERIAL_CORE1300	help1301	  Support for the on-chip lpuart on some Freescale SOCs.1302 1303config SERIAL_FSL_LPUART_CONSOLE1304	bool "Console on Freescale lpuart serial port"1305	depends on SERIAL_FSL_LPUART=y1306	select SERIAL_CORE_CONSOLE1307	select SERIAL_EARLYCON1308	help1309	  If you have enabled the lpuart serial port on the Freescale SoCs,1310	  you can make it the console by answering Y to this option.1311 1312config SERIAL_FSL_LINFLEXUART1313	tristate "Freescale LINFlexD UART serial port support"1314	depends on PRINTK1315	select SERIAL_CORE1316	help1317	  Support for the on-chip LINFlexD UART on some Freescale SOCs.1318 1319config SERIAL_FSL_LINFLEXUART_CONSOLE1320	bool "Console on Freescale LINFlexD UART serial port"1321	depends on SERIAL_FSL_LINFLEXUART=y1322	select SERIAL_CORE_CONSOLE1323	select SERIAL_EARLYCON1324	help1325	  If you have enabled the LINFlexD UART serial port on the Freescale1326	  SoCs, you can make it the console by answering Y to this option.1327 1328config SERIAL_CONEXANT_DIGICOLOR1329	tristate "Conexant Digicolor CX92xxx USART serial port support"1330	depends on OF1331	select SERIAL_CORE1332	help1333	  Support for the on-chip USART on Conexant Digicolor SoCs.1334 1335config SERIAL_CONEXANT_DIGICOLOR_CONSOLE1336	bool "Console on Conexant Digicolor serial port"1337	depends on SERIAL_CONEXANT_DIGICOLOR=y1338	select SERIAL_CORE_CONSOLE1339	help1340	  If you have enabled the USART serial port on Conexant Digicolor1341	  SoCs, you can make it the console by answering Y to this option.1342 1343config SERIAL_ST_ASC1344	tristate "ST ASC serial port support"1345	select SERIAL_CORE1346	depends on ARM || COMPILE_TEST1347	help1348	  This driver is for the on-chip Asynchronous Serial Controller on1349	  STMicroelectronics STi SoCs.1350	  ASC is embedded in ST COMMS IP block. It supports Rx & Tx functionality.1351	  It support all industry standard baud rates.1352 1353	  If unsure, say N.1354 1355config SERIAL_ST_ASC_CONSOLE1356	bool "Support for console on ST ASC"1357	depends on SERIAL_ST_ASC=y1358	select SERIAL_CORE_CONSOLE1359 1360config SERIAL_MEN_Z1351361	tristate "MEN 16z135 Support"1362	select SERIAL_CORE1363	depends on MCB1364	help1365	  Say yes here to enable support for the MEN 16z135 High Speed UART IP-Core1366	  on a MCB carrier.1367 1368	  This driver can also be build as a module. If so, the module will be called1369	  men_z135_uart.ko1370 1371config SERIAL_SPRD1372	tristate "Support for Spreadtrum serial"1373	select SERIAL_CORE1374	depends on COMMON_CLK1375	help1376	  This enables the driver for the Spreadtrum's serial.1377 1378config SERIAL_SPRD_CONSOLE1379	bool "Spreadtrum UART console support"1380	depends on SERIAL_SPRD=y1381	select SERIAL_CORE_CONSOLE1382	select SERIAL_EARLYCON1383	help1384	  Support for early debug console using Spreadtrum's serial. This enables1385	  the console before standard serial driver is probed. This is enabled1386	  with "earlycon" on the kernel command line. The console is1387	  enabled when early_param is processed.1388 1389config SERIAL_STM321390	tristate "STMicroelectronics STM32 serial port support"1391	select SERIAL_CORE1392	depends on ARCH_STM32 || COMPILE_TEST1393	select SERIAL_MCTRL_GPIO if GPIOLIB1394	help1395	  This driver is for the on-chip Serial Controller on1396	  STMicroelectronics STM32 MCUs.1397	  USART supports Rx & Tx functionality.1398	  It support all industry standard baud rates.1399 1400	  If unsure, say N.1401 1402config SERIAL_STM32_CONSOLE1403	bool "Support for console on STM32"1404	depends on SERIAL_STM32=y1405	select SERIAL_CORE_CONSOLE1406	select SERIAL_EARLYCON1407 1408config SERIAL_MVEBU_UART1409	bool "Marvell EBU serial port support"1410	depends on ARCH_MVEBU || COMPILE_TEST1411	depends on COMMON_CLK1412	select SERIAL_CORE1413	help1414	  This driver is for Marvell EBU SoC's UART. If you have a machine1415	  based on the Armada-3700 SoC and wish to use the on-board serial1416	  port,1417	  say 'Y' here.1418	  Otherwise, say 'N'.1419 1420config SERIAL_MVEBU_CONSOLE1421	bool "Console on Marvell EBU serial port"1422	depends on SERIAL_MVEBU_UART1423	select SERIAL_CORE_CONSOLE1424	select SERIAL_EARLYCON1425	default y1426	help1427	  Say 'Y' here if you wish to use Armada-3700 UART as the system console.1428	  (the system console is the device which receives all kernel messages1429	  and warnings and which allows logins in single user mode)1430	  Otherwise, say 'N'.1431 1432config SERIAL_OWL1433	tristate "Actions Semi Owl serial port support"1434	depends on ARCH_ACTIONS || COMPILE_TEST1435	select SERIAL_CORE1436	help1437	  This driver is for Actions Semiconductor S500/S900 SoC's UART.1438	  Say 'Y' here if you wish to use the on-board serial port.1439	  Otherwise, say 'N'.1440 1441config SERIAL_OWL_CONSOLE1442	bool "Console on Actions Semi Owl serial port"1443	depends on SERIAL_OWL=y1444	select SERIAL_CORE_CONSOLE1445	select SERIAL_EARLYCON1446	default y1447	help1448	  Say 'Y' here if you wish to use Actions Semiconductor S500/S900 UART1449	  as the system console.1450 1451config SERIAL_RDA1452	bool "RDA Micro serial port support"1453	depends on ARCH_RDA || COMPILE_TEST1454	select SERIAL_CORE1455	help1456	  This driver is for RDA8810PL SoC's UART.1457	  Say 'Y' here if you wish to use the on-board serial port.1458	  Otherwise, say 'N'.1459 1460config SERIAL_RDA_CONSOLE1461	bool "Console on RDA Micro serial port"1462	depends on SERIAL_RDA=y1463	select SERIAL_CORE_CONSOLE1464	select SERIAL_EARLYCON1465	default y1466	help1467	  Say 'Y' here if you wish to use the RDA8810PL UART as the system1468	  console. Only earlycon is implemented currently.1469 1470config SERIAL_MILBEAUT_USIO1471	tristate "Milbeaut USIO/UART serial port support"1472	depends on ARCH_MILBEAUT || (COMPILE_TEST && OF)1473	default ARCH_MILBEAUT1474	select SERIAL_CORE1475	help1476	  This selects the USIO/UART IP found in Socionext Milbeaut SoCs.1477 1478config SERIAL_MILBEAUT_USIO_PORTS1479	int "Maximum number of CSIO/UART ports (1-8)"1480	range 1 81481	depends on SERIAL_MILBEAUT_USIO1482	default "4"1483 1484config SERIAL_MILBEAUT_USIO_CONSOLE1485	bool "Support for console on MILBEAUT USIO/UART serial port"1486	depends on SERIAL_MILBEAUT_USIO=y1487	default y1488	select SERIAL_CORE_CONSOLE1489	select SERIAL_EARLYCON1490	help1491	  Say 'Y' here if you wish to use a USIO/UART of Socionext Milbeaut1492	  SoCs as the system console (the system console is the device which1493	  receives all kernel messages and warnings and which allows logins in1494	  single user mode).1495 1496config SERIAL_LITEUART1497	tristate "LiteUART serial port support"1498	depends on HAS_IOMEM1499	depends on OF1500	depends on LITEX || COMPILE_TEST1501	select SERIAL_CORE1502	help1503	  This driver is for the FPGA-based LiteUART serial controller from LiteX1504	  SoC builder.1505 1506	  Say 'Y' or 'M' here if you wish to use the LiteUART serial controller.1507	  Otherwise, say 'N'.1508 1509config SERIAL_LITEUART_MAX_PORTS1510	int "Maximum number of LiteUART ports"1511	depends on SERIAL_LITEUART1512	default "1"1513	help1514	  Set this to the maximum number of serial ports you want the driver1515	  to support.1516 1517config SERIAL_LITEUART_CONSOLE1518	bool "LiteUART serial port console support"1519	depends on SERIAL_LITEUART=y1520	select SERIAL_CORE_CONSOLE1521	select SERIAL_EARLYCON1522	help1523	  Say 'Y' or 'M' here if you wish to use the FPGA-based LiteUART serial1524	  controller from LiteX SoC builder as the system console1525	  (the system console is the device which receives all kernel messages1526	  and warnings and which allows logins in single user mode).1527	  Otherwise, say 'N'.1528 1529config SERIAL_SUNPLUS1530	tristate "Sunplus UART support"1531	depends on ARCH_SUNPLUS || COMPILE_TEST1532	select SERIAL_CORE1533	help1534	  Select this option if you would like to use Sunplus serial port on1535	  Sunplus SoC SP7021.1536	  If you enable this option, Sunplus serial ports in the system will1537	  be registered as ttySUPx.1538	  This driver can also be built as a module. If so, the module will be1539	  called sunplus-uart.1540 1541config SERIAL_SUNPLUS_CONSOLE1542	bool "Console on Sunplus UART"1543	depends on SERIAL_SUNPLUS1544	select SERIAL_CORE_CONSOLE1545	select SERIAL_EARLYCON1546	help1547	  Select this option if you would like to use a Sunplus UART as the1548	  system console.1549	  Even if you say Y here, the currently visible virtual console1550	  (/dev/tty0) will still be used as the system console by default, but1551	  you can alter that using a kernel command line option such as1552	  "console=ttySUPx".1553 1554config SERIAL_NUVOTON_MA35D11555	tristate "Nuvoton MA35D1 family UART support"1556	depends on ARCH_MA35 || COMPILE_TEST1557	select SERIAL_CORE1558	help1559	  This driver supports Nuvoton MA35D1 family UART ports. If you would1560	  like to use them, you must answer Y or M to this option. Note that1561	  for use as console, it must be included in kernel and not as a1562	  module. If you enable this option, Ma35D1 serial ports in the system1563	  will be registered as ttyNVTx.1564 1565config SERIAL_NUVOTON_MA35D1_CONSOLE1566	bool "Console on a Nuvotn MA35D1 family UART port"1567	depends on SERIAL_NUVOTON_MA35D1=y1568	select SERIAL_CORE_CONSOLE1569	help1570	  Select this options if you'd like to use the UART port0 of the1571	  Nuvoton MA35D1 family as a console.1572	  Even if you say Y here, the currently visible virtual console1573	  (/dev/tty0) will still be used as the system console by default,1574	  but you can alter that using a kernel command line option such as1575	  "console=ttyNVTx".1576 1577config SERIAL_ESP321578	tristate "Espressif ESP32 UART support"1579	depends on XTENSA_PLATFORM_ESP32 || (COMPILE_TEST && OF)1580	select SERIAL_CORE1581	select SERIAL_CORE_CONSOLE1582	select SERIAL_EARLYCON1583	help1584	  Driver for the UART controllers of the Espressif ESP32xx SoCs.1585	  When earlycon option is enabled the following kernel command line1586	  snippets may be used:1587	    earlycon=esp32s3uart,mmio32,0x60000000,115200n8,400000001588	    earlycon=esp32uart,mmio32,0x3ff40000,115200n81589 1590config SERIAL_ESP32_ACM1591	tristate "Espressif ESP32 USB ACM gadget support"1592	depends on XTENSA_PLATFORM_ESP32 || (COMPILE_TEST && OF)1593	select SERIAL_CORE1594	select SERIAL_CORE_CONSOLE1595	select SERIAL_EARLYCON1596	help1597	  Driver for the CDC ACM gadget controller of the Espressif ESP32S31598	  SoCs that share separate USB controller with the JTAG adapter.1599	  When earlycon option is enabled the following kernel command line1600	  snippet may be used:1601	    earlycon=esp32s3acm,mmio32,0x600380001602 1603endmenu1604 1605config SERIAL_MCTRL_GPIO1606	tristate1607