Greg Kroah-HartmanMerge tag 'v7.1-rc6' into tty-nextb586d695 months agoHistory
1598 lines · 50.0 KB · Text
RawDownload
# SPDX-License-Identifier: GPL-2.0## Serial device configuration# menu "Serial drivers"	depends on HAS_IOMEM config SERIAL_EARLYCON	bool	depends on SERIAL_CORE	help	  Support for early consoles with the earlycon parameter. This enables	  the console before standard serial driver is probed. The console is	  enabled when early_param is processed. source "drivers/tty/serial/8250/Kconfig" comment "Non-8250 serial port support" config SERIAL_AMBA_PL010	tristate "ARM AMBA PL010 serial port support"	depends on ARM_AMBA || COMPILE_TEST	select SERIAL_CORE	help	  This selects the ARM(R) AMBA(R) PrimeCell PL010 UART.  If you have	  an Integrator/AP or Integrator/PP2 platform, or if you have a	  Cirrus Logic EP93xx CPU, say Y or M here. 	  If unsure, say N. config SERIAL_AMBA_PL010_CONSOLE	bool "Support for console on AMBA serial port"	depends on SERIAL_AMBA_PL010=y	select SERIAL_CORE_CONSOLE	help	  Say Y here if you wish to use an AMBA PrimeCell UART as the system	  console (the system console is the device which receives all kernel	  messages and warnings and which allows logins in single user mode). 	  Even if you say Y here, the currently visible framebuffer console	  (/dev/tty0) will still be used as the system console by default, but	  you can alter that using a kernel command line option such as	  "console=ttyAM0". (Try "man bootparam" or see the documentation of	  your boot loader (lilo or loadlin) about how to pass options to the	  kernel at boot time.) config SERIAL_AMBA_PL011	tristate "ARM AMBA PL011 serial port support"	depends on ARM_AMBA	select SERIAL_CORE	help	  This selects the ARM(R) AMBA(R) PrimeCell PL011 UART.  If you have	  an Integrator/PP2, Integrator/CP or Versatile platform, say Y or M	  here. 	  If unsure, say N. config SERIAL_AMBA_PL011_CONSOLE	bool "Support for console on AMBA serial port"	depends on SERIAL_AMBA_PL011=y	select SERIAL_CORE_CONSOLE	select SERIAL_EARLYCON	help	  Say Y here if you wish to use an AMBA PrimeCell UART as the system	  console (the system console is the device which receives all kernel	  messages and warnings and which allows logins in single user mode). 	  Even if you say Y here, the currently visible framebuffer console	  (/dev/tty0) will still be used as the system console by default, but	  you can alter that using a kernel command line option such as	  "console=ttyAMA0". (Try "man bootparam" or see the documentation of	  your boot loader (lilo or loadlin) about how to pass options to the	  kernel at boot time.) config SERIAL_EARLYCON_SEMIHOST	bool "Early console using Arm compatible semihosting"	depends on ARM64 || ARM || RISCV	select SERIAL_CORE	select SERIAL_CORE_CONSOLE	select SERIAL_EARLYCON	help	  Support for early debug console using Arm compatible semihosting.	  This enables the console before standard serial driver is probed.	  This is enabled with "earlycon=smh" on the kernel command line.	  The console is enabled when early_param is processed. config SERIAL_EARLYCON_RISCV_SBI	bool "Early console using RISC-V SBI"	depends on RISCV_SBI	select SERIAL_CORE	select SERIAL_CORE_CONSOLE	select SERIAL_EARLYCON	help	  Support for early debug console using RISC-V SBI. This enables	  the console before standard serial driver is probed. This is enabled	  with "earlycon=sbi" on the kernel command line. The console is	  enabled when early_param is processed. config SERIAL_SB1250_DUART	tristate "BCM1xxx on-chip DUART serial support"	depends on SIBYTE_SB1xxx_SOC=y	select SERIAL_CORE	default y	help	  Support for the asynchronous serial interface (DUART) included in	  the BCM1250 and derived System-On-a-Chip (SOC) devices.  Note that	  the letter D in DUART stands for "dual", which is how the device	  is implemented.  Depending on the SOC configuration there may be	  one or more DUARTs available of which all are handled. 	  If unsure, say Y.  To compile this driver as a module, choose M here:	  the module will be called sb1250-duart. config SERIAL_SB1250_DUART_CONSOLE	bool "Support for console on a BCM1xxx DUART serial port"	depends on SERIAL_SB1250_DUART=y	select SERIAL_CORE_CONSOLE	default y	help	  If you say Y here, it will be possible to use a serial port as the	  system console (the system console is the device which receives all	  kernel messages and warnings and which allows logins in single user	  mode). 	  If unsure, say Y. config SERIAL_ATMEL	bool "AT91 on-chip serial port support"	depends on COMMON_CLK	depends on ARCH_MICROCHIP || COMPILE_TEST	select SERIAL_CORE	select SERIAL_MCTRL_GPIO if GPIOLIB	select MFD_AT91_USART	help	  This enables the driver for the on-chip UARTs of the Atmel	  AT91 processors. config SERIAL_ATMEL_CONSOLE	bool "Support for console on AT91 serial port"	depends on SERIAL_ATMEL=y	select SERIAL_CORE_CONSOLE	select SERIAL_EARLYCON	help	  Say Y here if you wish to use an on-chip UART on a Atmel	  AT91 processor as the system console (the system	  console is the device which receives all kernel messages and	  warnings and which allows logins in single user mode). config SERIAL_ATMEL_PDC	bool "Support DMA transfers on AT91 serial port"	depends on SERIAL_ATMEL	default y	help	  Say Y here if you wish to use the PDC to do DMA transfers to	  and from the Atmel AT91 serial port. In order to	  actually use DMA transfers, make sure that the use_dma_tx	  and use_dma_rx members in the atmel_uart_data struct is set	  appropriately for each port. 	  Note that break and error handling currently doesn't work	  properly when DMA is enabled. Make sure that ports where	  this matters don't use DMA. config SERIAL_ATMEL_TTYAT	bool "Install as device ttyATn instead of ttySn"	depends on SERIAL_ATMEL=y	help	  Say Y here if you wish to have the internal AT91 UARTs	  appear as /dev/ttyATn (major 204, minor starting at 154)	  instead of the normal /dev/ttySn (major 4, minor starting at	  64). This is necessary if you also want other UARTs, such as	  external 8250/16C550 compatible UARTs.	  The ttySn nodes are legally reserved for the 8250 serial driver	  but are often misused by other serial drivers. 	  To use this, you should create suitable ttyATn device nodes in	  /dev/, and pass "console=ttyATn" to the kernel. 	  Say Y if you have an external 8250/16C550 UART.  If unsure, say N. config SERIAL_MESON	tristate "Meson serial port support"	depends on ARCH_MESON || COMPILE_TEST	select SERIAL_CORE	help	  This enables the driver for the on-chip UARTs of the Amlogic	  MesonX processors. config SERIAL_MESON_CONSOLE	bool "Support for console on meson"	depends on SERIAL_MESON	select SERIAL_CORE_CONSOLE	select SERIAL_EARLYCON	help	  Say Y here if you wish to use a Amlogic MesonX UART as the	  system console (the system console is the device which	  receives all kernel messages and warnings and which allows	  logins in single user mode) as /dev/ttyAMLx. config SERIAL_CLPS711X	tristate "CLPS711X serial port support"	depends on ARCH_CLPS711X || COMPILE_TEST	select SERIAL_CORE	select SERIAL_MCTRL_GPIO if GPIOLIB	help	  This enables the driver for the on-chip UARTs of the Cirrus	  Logic EP711x/EP721x/EP731x processors. config SERIAL_CLPS711X_CONSOLE	bool "Support for console on CLPS711X serial port"	depends on SERIAL_CLPS711X=y	select SERIAL_CORE_CONSOLE	help	  Even if you say Y here, the currently visible virtual console	  (/dev/tty0) will still be used as the system console by default, but	  you can alter that using a kernel command line option such as	  "console=ttyCL1". config SERIAL_SAMSUNG	tristate "Samsung SoC serial support"	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_APPLE || ARCH_ARTPEC || COMPILE_TEST	select SERIAL_CORE	help	  Support for the on-chip UARTs on the Samsung	  S3C64xx/S5Pv210/Exynos and Apple M1 SoCs, providing	  /dev/ttySAC0, 1 and 2 (note, some machines may not provide all of	  these ports, depending on how the serial port pins are configured. 	  Choose Y/M here only if you build for such SoC. config SERIAL_SAMSUNG_UARTS	int	depends on SERIAL_SAMSUNG	default 4	help	  Select the number of available UART ports for the Samsung S3C	  serial driver config SERIAL_SAMSUNG_CONSOLE	bool "Support for console on Samsung SoC serial port"	depends on SERIAL_SAMSUNG	select SERIAL_CORE_CONSOLE	select SERIAL_EARLYCON	help	  Allow selection of the S3C24XX on-board serial ports for use as	  an virtual console. 	  Even if you say Y here, the currently visible virtual console	  (/dev/tty0) will still be used as the system console by default, but	  you can alter that using a kernel command line option such as	  "console=ttySACx". (Try "man bootparam" or see the documentation of	  your boot loader about how to pass options to the kernel at	  boot time.) config SERIAL_TEGRA	tristate "NVIDIA Tegra20/30 SoC serial controller"	depends on ARCH_TEGRA || COMPILE_TEST	select SERIAL_CORE	help	  Support for the on-chip UARTs on the NVIDIA Tegra series SOCs	  providing /dev/ttyTHS0, 1, 2, 3 and 4 (note, some machines may not	  provide all of these ports, depending on how the serial port	  are enabled). config SERIAL_TEGRA_TCU	tristate "NVIDIA Tegra Combined UART"	depends on MAILBOX	depends on (ARCH_TEGRA && TEGRA_HSP_MBOX) || COMPILE_TEST	select SERIAL_CORE	help	  Support for the mailbox-based TCU (Tegra Combined UART) serial port.	  TCU is a virtual serial port that allows multiplexing multiple data	  streams into a single hardware serial port. config SERIAL_TEGRA_TCU_CONSOLE	bool "Support for console on a Tegra TCU serial port"	depends on SERIAL_TEGRA_TCU=y	select SERIAL_CORE_CONSOLE	default y	help	  If you say Y here, it will be possible to use a the Tegra TCU as the	  system console (the system console is the device which receives all	  kernel messages and warnings and which allows logins in single user	  mode). 	  If unsure, say Y. config SERIAL_TEGRA_UTC	tristate "NVIDIA Tegra UART Trace Controller"	depends on ARCH_TEGRA || COMPILE_TEST	select SERIAL_CORE	help	  Support for Tegra UTC (UART Trace controller) client serial port. 	  UTC is a HW based serial port that allows multiplexing multiple data	  streams of up to 16 UTC clients into a single hardware serial port. config SERIAL_TEGRA_UTC_CONSOLE	bool "Support for console on a Tegra UTC serial port"	depends on SERIAL_TEGRA_UTC	select SERIAL_CORE_CONSOLE	default SERIAL_TEGRA_UTC	help	  If you say Y here, it will be possible to use a Tegra UTC client as	  the system console (the system console is the device which receives	  all kernel messages and warnings and which allows logins in single	  user mode). 	  If unsure, say Y. config SERIAL_MAX3100	tristate "MAX3100/3110/3111/3222 support"	depends on SPI	select SERIAL_CORE	help	  This selects support for an advanced UART from Maxim.	  Supported ICs are MAX3100, MAX3110, MAX3111, MAX3222. 	  Say Y here if you want to support these ICs. config SERIAL_MAX310X	tristate "MAX310X support"	depends on (SPI_MASTER && !I2C) || I2C	select SERIAL_CORE	select REGMAP_SPI if SPI_MASTER	select REGMAP_I2C if I2C	help	  This selects support for an advanced UART from Maxim (Dallas).	  Supported ICs are MAX3107, MAX3108, MAX3109, MAX14830.	  Each IC contains 128 words each of receive and transmit FIFO	  that can be controlled through I2C or high-speed SPI. 	  Say Y here if you want to support this ICs. config SERIAL_DZ	tristate "DECstation DZ serial driver"	depends on MACH_DECSTATION && 32BIT	select SERIAL_CORE	default y	help	  DZ11-family serial controllers for DECstations and VAXstations,	  including the DC7085, M7814, and M7819. config SERIAL_DZ_CONSOLE	bool "Support console on DECstation DZ serial driver"	depends on SERIAL_DZ=y	select SERIAL_CORE_CONSOLE	default y	help	  If you say Y here, it will be possible to use a serial port as the	  system console (the system console is the device which receives all	  kernel messages and warnings and which allows logins in single user	  mode). 	  Note that the firmware uses ttyS3 as the serial console on	  DECstations that use this driver. 	  If unsure, say Y. config SERIAL_ZS	tristate "DECstation Z85C30 serial support"	depends on MACH_DECSTATION	select SERIAL_CORE	default y	help	  Support for the Zilog 85C350 serial communications controller used	  for serial ports in newer DECstation systems.  These include the	  DECsystem 5900 and all models of the DECstation and DECsystem 5000	  systems except from model 200. 	  If unsure, say Y.  To compile this driver as a module, choose M here:	  the module will be called zs. config SERIAL_ZS_CONSOLE	bool "Support for console on a DECstation Z85C30 serial port"	depends on SERIAL_ZS=y	select SERIAL_CORE_CONSOLE	default y	help	  If you say Y here, it will be possible to use a serial port as the	  system console (the system console is the device which receives all	  kernel messages and warnings and which allows logins in single user	  mode). 	  Note that the firmware uses ttyS1 as the serial console on the	  Maxine and ttyS3 on the others using this driver. 	  If unsure, say Y. config SERIAL_21285	tristate "DC21285 serial port support"	depends on FOOTBRIDGE	select SERIAL_CORE	help	  If you have a machine based on a 21285 (Footbridge) StrongARM(R)/	  PCI bridge you can enable its onboard serial port by enabling this	  option. config SERIAL_21285_CONSOLE	bool "Console on DC21285 serial port"	depends on SERIAL_21285=y	select SERIAL_CORE_CONSOLE	help	  If you have enabled the serial port on the 21285 footbridge you can	  make it the console by answering Y to this option. 	  Even if you say Y here, the currently visible virtual console	  (/dev/tty0) will still be used as the system console by default, but	  you can alter that using a kernel command line option such as	  "console=ttyFB". (Try "man bootparam" or see the documentation of	  your boot loader (lilo or loadlin) about how to pass options to the	  kernel at boot time.) config SERIAL_PXA_NON8250	bool	depends on !SERIAL_8250 || COMPILE_TEST config SERIAL_PXA	bool "PXA serial port support (DEPRECATED)"	depends on ARCH_PXA || ARCH_MMP	select SERIAL_CORE	select SERIAL_8250_PXA if SERIAL_8250=y	select SERIAL_PXA_NON8250 if !SERIAL_8250=y	help	  If you have a machine based on an Intel XScale PXA2xx CPU you	  can enable its onboard serial ports by enabling this option. 	  Unless you have a specific need, you should use SERIAL_8250_PXA	  instead of this. config SERIAL_PXA_CONSOLE	bool "Console on PXA serial port (DEPRECATED)"	depends on SERIAL_PXA	select SERIAL_CORE_CONSOLE	select SERIAL_8250_CONSOLE if SERIAL_8250=y	help	  If you have enabled the serial port on the Intel XScale PXA	  CPU you can make it the console by answering Y to this option. 	  Even if you say Y here, the currently visible virtual console	  (/dev/tty0) will still be used as the system console by default, but	  you can alter that using a kernel command line option such as	  "console=ttySA0". (Try "man bootparam" or see the documentation of	  your boot loader (lilo or loadlin) about how to pass options to the	  kernel at boot time.) 	  Unless you have a specific need, you should use SERIAL_8250_PXA	  and SERIAL_8250_CONSOLE instead of this. config SERIAL_SA1100	bool "SA1100 serial port support"	depends on ARCH_SA1100	select SERIAL_CORE	select SERIAL_MCTRL_GPIO if GPIOLIB	help	  If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you	  can enable its onboard serial port by enabling this option.	  Please read <file:Documentation/arch/arm/sa1100/serial_uart.rst> for	  further info. config SERIAL_SA1100_CONSOLE	bool "Console on SA1100 serial port"	depends on SERIAL_SA1100	select SERIAL_CORE_CONSOLE	help	  If you have enabled the serial port on the SA1100/SA1110 StrongARM	  CPU you can make it the console by answering Y to this option. 	  Even if you say Y here, the currently visible virtual console	  (/dev/tty0) will still be used as the system console by default, but	  you can alter that using a kernel command line option such as	  "console=ttySA0". (Try "man bootparam" or see the documentation of	  your boot loader (lilo or loadlin) about how to pass options to the	  kernel at boot time.) config SERIAL_IMX	tristate "IMX serial port support"	depends on ARCH_MXC || COMPILE_TEST	select SERIAL_CORE	select RATIONAL	select SERIAL_MCTRL_GPIO if GPIOLIB	help	  If you have a machine based on a Motorola IMX CPU you	  can enable its onboard serial port by enabling this option. config SERIAL_IMX_CONSOLE	bool "Console on IMX serial port"	depends on SERIAL_IMX	select SERIAL_CORE_CONSOLE	help	  If you have enabled the serial port on the Freescale IMX	  CPU you can make it the console by answering Y to this option. 	  Even if you say Y here, the currently visible virtual console	  (/dev/tty0) will still be used as the system console by default, but	  you can alter that using a kernel command line option such as	  "console=ttymxc0". (Try "man bootparam" or see the documentation of	  your bootloader about how to pass options to the kernel at boot time.) 

Lines 1–500 of 1598.