xref: /linux-6.15/drivers/tty/serial/Kconfig (revision eb07e3a9)
138c91d1dSGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2ab4382d2SGreg Kroah-Hartman#
3ab4382d2SGreg Kroah-Hartman# Serial device configuration
4ab4382d2SGreg Kroah-Hartman#
5ab4382d2SGreg Kroah-Hartman
6ab4382d2SGreg Kroah-Hartmanmenu "Serial drivers"
70244ad00SMartin Schwidefsky	depends on HAS_IOMEM
8ab4382d2SGreg Kroah-Hartman
99aac5887SRob Herringconfig SERIAL_EARLYCON
109aac5887SRob Herring	bool
110fb9342dSTong Zhang	depends on SERIAL_CORE
129aac5887SRob Herring	help
139aac5887SRob Herring	  Support for early consoles with the earlycon parameter. This enables
149aac5887SRob Herring	  the console before standard serial driver is probed. The console is
159aac5887SRob Herring	  enabled when early_param is processed.
169aac5887SRob Herring
179bef3d41SPaul Gortmakersource "drivers/tty/serial/8250/Kconfig"
187d4008ebSJamie Iles
19ab4382d2SGreg Kroah-Hartmancomment "Non-8250 serial port support"
20ab4382d2SGreg Kroah-Hartman
21ab4382d2SGreg Kroah-Hartmanconfig SERIAL_AMBA_PL010
22ab4382d2SGreg Kroah-Hartman	tristate "ARM AMBA PL010 serial port support"
238720037dSJohan Hovold	depends on ARM_AMBA || COMPILE_TEST
24ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
25ab4382d2SGreg Kroah-Hartman	help
26ab4382d2SGreg Kroah-Hartman	  This selects the ARM(R) AMBA(R) PrimeCell PL010 UART.  If you have
27ab4382d2SGreg Kroah-Hartman	  an Integrator/AP or Integrator/PP2 platform, or if you have a
28ab4382d2SGreg Kroah-Hartman	  Cirrus Logic EP93xx CPU, say Y or M here.
29ab4382d2SGreg Kroah-Hartman
30ab4382d2SGreg Kroah-Hartman	  If unsure, say N.
31ab4382d2SGreg Kroah-Hartman
32ab4382d2SGreg Kroah-Hartmanconfig SERIAL_AMBA_PL010_CONSOLE
33ab4382d2SGreg Kroah-Hartman	bool "Support for console on AMBA serial port"
34ab4382d2SGreg Kroah-Hartman	depends on SERIAL_AMBA_PL010=y
35ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
36a7f7f624SMasahiro Yamada	help
37ab4382d2SGreg Kroah-Hartman	  Say Y here if you wish to use an AMBA PrimeCell UART as the system
38ab4382d2SGreg Kroah-Hartman	  console (the system console is the device which receives all kernel
39ab4382d2SGreg Kroah-Hartman	  messages and warnings and which allows logins in single user mode).
40ab4382d2SGreg Kroah-Hartman
41ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible framebuffer console
42ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
43ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
44ab4382d2SGreg Kroah-Hartman	  "console=ttyAM0". (Try "man bootparam" or see the documentation of
45ab4382d2SGreg Kroah-Hartman	  your boot loader (lilo or loadlin) about how to pass options to the
46ab4382d2SGreg Kroah-Hartman	  kernel at boot time.)
47ab4382d2SGreg Kroah-Hartman
48ab4382d2SGreg Kroah-Hartmanconfig SERIAL_AMBA_PL011
49ab4382d2SGreg Kroah-Hartman	tristate "ARM AMBA PL011 serial port support"
50062a68a5SGreg Kroah-Hartman	depends on ARM_AMBA
51ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
52ab4382d2SGreg Kroah-Hartman	help
53ab4382d2SGreg Kroah-Hartman	  This selects the ARM(R) AMBA(R) PrimeCell PL011 UART.  If you have
54ab4382d2SGreg Kroah-Hartman	  an Integrator/PP2, Integrator/CP or Versatile platform, say Y or M
55062a68a5SGreg Kroah-Hartman	  here.
56ab4382d2SGreg Kroah-Hartman
57ab4382d2SGreg Kroah-Hartman	  If unsure, say N.
58ab4382d2SGreg Kroah-Hartman
59ab4382d2SGreg Kroah-Hartmanconfig SERIAL_AMBA_PL011_CONSOLE
60ab4382d2SGreg Kroah-Hartman	bool "Support for console on AMBA serial port"
61ab4382d2SGreg Kroah-Hartman	depends on SERIAL_AMBA_PL011=y
62ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
630d3c673eSRob Herring	select SERIAL_EARLYCON
64a7f7f624SMasahiro Yamada	help
65ab4382d2SGreg Kroah-Hartman	  Say Y here if you wish to use an AMBA PrimeCell UART as the system
66ab4382d2SGreg Kroah-Hartman	  console (the system console is the device which receives all kernel
67ab4382d2SGreg Kroah-Hartman	  messages and warnings and which allows logins in single user mode).
68ab4382d2SGreg Kroah-Hartman
69ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible framebuffer console
70ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
71ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
72ab4382d2SGreg Kroah-Hartman	  "console=ttyAMA0". (Try "man bootparam" or see the documentation of
73ab4382d2SGreg Kroah-Hartman	  your boot loader (lilo or loadlin) about how to pass options to the
74ab4382d2SGreg Kroah-Hartman	  kernel at boot time.)
75ab4382d2SGreg Kroah-Hartman
76359fb3f8SBin Mengconfig SERIAL_EARLYCON_SEMIHOST
77359fb3f8SBin Meng	bool "Early console using Arm compatible semihosting"
78db5489f4SBin Meng	depends on ARM64 || ARM || RISCV
79717e1cb2SArnd Bergmann	select SERIAL_CORE
80717e1cb2SArnd Bergmann	select SERIAL_CORE_CONSOLE
81d50d7269SRob Herring	select SERIAL_EARLYCON
82d50d7269SRob Herring	help
83359fb3f8SBin Meng	  Support for early debug console using Arm compatible semihosting.
84359fb3f8SBin Meng	  This enables the console before standard serial driver is probed.
85359fb3f8SBin Meng	  This is enabled with "earlycon=smh" on the kernel command line.
86359fb3f8SBin Meng	  The console is enabled when early_param is processed.
87d50d7269SRob Herring
8827de1f54SAnup Patelconfig SERIAL_EARLYCON_RISCV_SBI
8927de1f54SAnup Patel	bool "Early console using RISC-V SBI"
90c77bf360SAnup Patel	depends on RISCV_SBI
9127de1f54SAnup Patel	select SERIAL_CORE
9227de1f54SAnup Patel	select SERIAL_CORE_CONSOLE
9327de1f54SAnup Patel	select SERIAL_EARLYCON
9427de1f54SAnup Patel	help
9527de1f54SAnup Patel	  Support for early debug console using RISC-V SBI. This enables
9627de1f54SAnup Patel	  the console before standard serial driver is probed. This is enabled
9727de1f54SAnup Patel	  with "earlycon=sbi" on the kernel command line. The console is
9827de1f54SAnup Patel	  enabled when early_param is processed.
9927de1f54SAnup Patel
100ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SB1250_DUART
101ab4382d2SGreg Kroah-Hartman	tristate "BCM1xxx on-chip DUART serial support"
102ab4382d2SGreg Kroah-Hartman	depends on SIBYTE_SB1xxx_SOC=y
103ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
104ab4382d2SGreg Kroah-Hartman	default y
105a7f7f624SMasahiro Yamada	help
106ab4382d2SGreg Kroah-Hartman	  Support for the asynchronous serial interface (DUART) included in
107ab4382d2SGreg Kroah-Hartman	  the BCM1250 and derived System-On-a-Chip (SOC) devices.  Note that
108ab4382d2SGreg Kroah-Hartman	  the letter D in DUART stands for "dual", which is how the device
109ab4382d2SGreg Kroah-Hartman	  is implemented.  Depending on the SOC configuration there may be
110ab4382d2SGreg Kroah-Hartman	  one or more DUARTs available of which all are handled.
111ab4382d2SGreg Kroah-Hartman
112ab4382d2SGreg Kroah-Hartman	  If unsure, say Y.  To compile this driver as a module, choose M here:
113ab4382d2SGreg Kroah-Hartman	  the module will be called sb1250-duart.
114ab4382d2SGreg Kroah-Hartman
115ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SB1250_DUART_CONSOLE
116ab4382d2SGreg Kroah-Hartman	bool "Support for console on a BCM1xxx DUART serial port"
117ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SB1250_DUART=y
118ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
119ab4382d2SGreg Kroah-Hartman	default y
120a7f7f624SMasahiro Yamada	help
121ab4382d2SGreg Kroah-Hartman	  If you say Y here, it will be possible to use a serial port as the
122ab4382d2SGreg Kroah-Hartman	  system console (the system console is the device which receives all
123ab4382d2SGreg Kroah-Hartman	  kernel messages and warnings and which allows logins in single user
124ab4382d2SGreg Kroah-Hartman	  mode).
125ab4382d2SGreg Kroah-Hartman
126ab4382d2SGreg Kroah-Hartman	  If unsure, say Y.
127ab4382d2SGreg Kroah-Hartman
128ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ATMEL
12972ce5732SAndy Shevchenko	bool "AT91 on-chip serial port support"
130468cdabeSSergiu Moga	depends on COMMON_CLK
1312b6b523cSRobert Marko	depends on ARCH_AT91 || ARCH_LAN969X || COMPILE_TEST
132ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
133c8d1f022SUwe Kleine-König	select SERIAL_MCTRL_GPIO if GPIOLIB
134c24d2531SRadu Pirea	select MFD_AT91_USART
135ab4382d2SGreg Kroah-Hartman	help
136ab4382d2SGreg Kroah-Hartman	  This enables the driver for the on-chip UARTs of the Atmel
13772ce5732SAndy Shevchenko	  AT91 processors.
138ab4382d2SGreg Kroah-Hartman
139ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ATMEL_CONSOLE
14072ce5732SAndy Shevchenko	bool "Support for console on AT91 serial port"
141ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ATMEL=y
142ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
143aab68e95SMichael Walle	select SERIAL_EARLYCON
144ab4382d2SGreg Kroah-Hartman	help
145ab4382d2SGreg Kroah-Hartman	  Say Y here if you wish to use an on-chip UART on a Atmel
14672ce5732SAndy Shevchenko	  AT91 processor as the system console (the system
147ab4382d2SGreg Kroah-Hartman	  console is the device which receives all kernel messages and
148ab4382d2SGreg Kroah-Hartman	  warnings and which allows logins in single user mode).
149ab4382d2SGreg Kroah-Hartman
150ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ATMEL_PDC
15172ce5732SAndy Shevchenko	bool "Support DMA transfers on AT91 serial port"
152ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ATMEL
153ab4382d2SGreg Kroah-Hartman	default y
154ab4382d2SGreg Kroah-Hartman	help
155ab4382d2SGreg Kroah-Hartman	  Say Y here if you wish to use the PDC to do DMA transfers to
15672ce5732SAndy Shevchenko	  and from the Atmel AT91 serial port. In order to
157ab4382d2SGreg Kroah-Hartman	  actually use DMA transfers, make sure that the use_dma_tx
158ab4382d2SGreg Kroah-Hartman	  and use_dma_rx members in the atmel_uart_data struct is set
159ab4382d2SGreg Kroah-Hartman	  appropriately for each port.
160ab4382d2SGreg Kroah-Hartman
161ab4382d2SGreg Kroah-Hartman	  Note that break and error handling currently doesn't work
162ab4382d2SGreg Kroah-Hartman	  properly when DMA is enabled. Make sure that ports where
163ab4382d2SGreg Kroah-Hartman	  this matters don't use DMA.
164ab4382d2SGreg Kroah-Hartman
165ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ATMEL_TTYAT
166ab4382d2SGreg Kroah-Hartman	bool "Install as device ttyATn instead of ttySn"
167ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ATMEL=y
168ab4382d2SGreg Kroah-Hartman	help
16972ce5732SAndy Shevchenko	  Say Y here if you wish to have the internal AT91 UARTs
170ab4382d2SGreg Kroah-Hartman	  appear as /dev/ttyATn (major 204, minor starting at 154)
171ab4382d2SGreg Kroah-Hartman	  instead of the normal /dev/ttySn (major 4, minor starting at
172ab4382d2SGreg Kroah-Hartman	  64). This is necessary if you also want other UARTs, such as
173ab4382d2SGreg Kroah-Hartman	  external 8250/16C550 compatible UARTs.
174ab4382d2SGreg Kroah-Hartman	  The ttySn nodes are legally reserved for the 8250 serial driver
175ab4382d2SGreg Kroah-Hartman	  but are often misused by other serial drivers.
176ab4382d2SGreg Kroah-Hartman
177ab4382d2SGreg Kroah-Hartman	  To use this, you should create suitable ttyATn device nodes in
178ab4382d2SGreg Kroah-Hartman	  /dev/, and pass "console=ttyATn" to the kernel.
179ab4382d2SGreg Kroah-Hartman
180ab4382d2SGreg Kroah-Hartman	  Say Y if you have an external 8250/16C550 UART.  If unsure, say N.
181ab4382d2SGreg Kroah-Hartman
182ff7693d0SCarlo Caioneconfig SERIAL_MESON
183ff7693d0SCarlo Caione	tristate "Meson serial port support"
1848720037dSJohan Hovold	depends on ARCH_MESON || COMPILE_TEST
185ff7693d0SCarlo Caione	select SERIAL_CORE
186ff7693d0SCarlo Caione	help
187ff7693d0SCarlo Caione	  This enables the driver for the on-chip UARTs of the Amlogic
188ff7693d0SCarlo Caione	  MesonX processors.
189ff7693d0SCarlo Caione
190ff7693d0SCarlo Caioneconfig SERIAL_MESON_CONSOLE
191ff7693d0SCarlo Caione	bool "Support for console on meson"
19287a0b9f9SKevin Hilman	depends on SERIAL_MESON
193ff7693d0SCarlo Caione	select SERIAL_CORE_CONSOLE
194736d5538SAndreas Färber	select SERIAL_EARLYCON
195ff7693d0SCarlo Caione	help
196ff7693d0SCarlo Caione	  Say Y here if you wish to use a Amlogic MesonX UART as the
197ff7693d0SCarlo Caione	  system console (the system console is the device which
198ff7693d0SCarlo Caione	  receives all kernel messages and warnings and which allows
199ff7693d0SCarlo Caione	  logins in single user mode) as /dev/ttyAMLx.
200ff7693d0SCarlo Caione
201ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CLPS711X
202ab4382d2SGreg Kroah-Hartman	tristate "CLPS711X serial port support"
203093a9e2aSAlexander Shiyan	depends on ARCH_CLPS711X || COMPILE_TEST
204ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
205efb08951SAlexander Shiyan	select SERIAL_MCTRL_GPIO if GPIOLIB
206ab4382d2SGreg Kroah-Hartman	help
207b53cc0faSAlexander Shiyan	  This enables the driver for the on-chip UARTs of the Cirrus
208b53cc0faSAlexander Shiyan	  Logic EP711x/EP721x/EP731x processors.
209ab4382d2SGreg Kroah-Hartman
210ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CLPS711X_CONSOLE
211ab4382d2SGreg Kroah-Hartman	bool "Support for console on CLPS711X serial port"
212ab4382d2SGreg Kroah-Hartman	depends on SERIAL_CLPS711X=y
213ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
214ab4382d2SGreg Kroah-Hartman	help
215ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
216ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
217ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
218b53cc0faSAlexander Shiyan	  "console=ttyCL1".
219ab4382d2SGreg Kroah-Hartman
220ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SAMSUNG
221ab4382d2SGreg Kroah-Hartman	tristate "Samsung SoC serial support"
2221db536f9SVincent Whitchurch	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_APPLE || ARCH_ARTPEC || COMPILE_TEST
223ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
224ab4382d2SGreg Kroah-Hartman	help
225e01f9125SKrzysztof Kozlowski	  Support for the on-chip UARTs on the Samsung
2261ea35b35SArnd Bergmann	  S3C64xx/S5Pv210/Exynos and Apple M1 SoCs, providing
227e01f9125SKrzysztof Kozlowski	  /dev/ttySAC0, 1 and 2 (note, some machines may not provide all of
228e01f9125SKrzysztof Kozlowski	  these ports, depending on how the serial port pins are configured.
2291ea35b35SArnd Bergmann
230e01f9125SKrzysztof Kozlowski	  Choose Y/M here only if you build for such SoC.
231ab4382d2SGreg Kroah-Hartman
232ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SAMSUNG_UARTS
233ab4382d2SGreg Kroah-Hartman	int
234edeeec85SPankaj Dubey	depends on SERIAL_SAMSUNG
2351ea35b35SArnd Bergmann	default 4
236ab4382d2SGreg Kroah-Hartman	help
237ab4382d2SGreg Kroah-Hartman	  Select the number of available UART ports for the Samsung S3C
238ab4382d2SGreg Kroah-Hartman	  serial driver
239ab4382d2SGreg Kroah-Hartman
240ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SAMSUNG_CONSOLE
241ab4382d2SGreg Kroah-Hartman	bool "Support for console on Samsung SoC serial port"
2420882b473SSam Protsenko	depends on SERIAL_SAMSUNG
243ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
244357d5615SArnd Bergmann	select SERIAL_EARLYCON
245ab4382d2SGreg Kroah-Hartman	help
246ab4382d2SGreg Kroah-Hartman	  Allow selection of the S3C24XX on-board serial ports for use as
247ab4382d2SGreg Kroah-Hartman	  an virtual console.
248ab4382d2SGreg Kroah-Hartman
249ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
250ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
251ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
252ab4382d2SGreg Kroah-Hartman	  "console=ttySACx". (Try "man bootparam" or see the documentation of
253ab4382d2SGreg Kroah-Hartman	  your boot loader about how to pass options to the kernel at
254ab4382d2SGreg Kroah-Hartman	  boot time.)
255ab4382d2SGreg Kroah-Hartman
256e9ea096dSLaxman Dewanganconfig SERIAL_TEGRA
257e9ea096dSLaxman Dewangan	tristate "NVIDIA Tegra20/30 SoC serial controller"
2588720037dSJohan Hovold	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
259e9ea096dSLaxman Dewangan	select SERIAL_CORE
260e9ea096dSLaxman Dewangan	help
261e9ea096dSLaxman Dewangan	  Support for the on-chip UARTs on the NVIDIA Tegra series SOCs
2623bf5d350SRichard Zhao	  providing /dev/ttyTHS0, 1, 2, 3 and 4 (note, some machines may not
263e9ea096dSLaxman Dewangan	  provide all of these ports, depending on how the serial port
264e9ea096dSLaxman Dewangan	  are enabled). This driver uses the APB DMA to achieve higher baudrate
265e9ea096dSLaxman Dewangan	  and better performance.
266e9ea096dSLaxman Dewangan
2672d908b38SThierry Redingconfig SERIAL_TEGRA_TCU
2682d908b38SThierry Reding	tristate "NVIDIA Tegra Combined UART"
2698720037dSJohan Hovold	depends on MAILBOX
2708720037dSJohan Hovold	depends on (ARCH_TEGRA && TEGRA_HSP_MBOX) || COMPILE_TEST
2712d908b38SThierry Reding	select SERIAL_CORE
2722d908b38SThierry Reding	help
2732d908b38SThierry Reding	  Support for the mailbox-based TCU (Tegra Combined UART) serial port.
2742d908b38SThierry Reding	  TCU is a virtual serial port that allows multiplexing multiple data
2752d908b38SThierry Reding	  streams into a single hardware serial port.
2762d908b38SThierry Reding
2772d908b38SThierry Redingconfig SERIAL_TEGRA_TCU_CONSOLE
2782d908b38SThierry Reding	bool "Support for console on a Tegra TCU serial port"
2792d908b38SThierry Reding	depends on SERIAL_TEGRA_TCU=y
2802d908b38SThierry Reding	select SERIAL_CORE_CONSOLE
2812d908b38SThierry Reding	default y
282a7f7f624SMasahiro Yamada	help
2832d908b38SThierry Reding	  If you say Y here, it will be possible to use a the Tegra TCU as the
2842d908b38SThierry Reding	  system console (the system console is the device which receives all
2852d908b38SThierry Reding	  kernel messages and warnings and which allows logins in single user
2862d908b38SThierry Reding	  mode).
2872d908b38SThierry Reding
2882d908b38SThierry Reding	  If unsure, say Y.
2892d908b38SThierry Reding
290*eb07e3a9SKartik Rajputconfig SERIAL_TEGRA_UTC
291*eb07e3a9SKartik Rajput	tristate "NVIDIA Tegra UART Trace Controller"
292*eb07e3a9SKartik Rajput	depends on ARCH_TEGRA || COMPILE_TEST
293*eb07e3a9SKartik Rajput	select SERIAL_CORE
294*eb07e3a9SKartik Rajput	help
295*eb07e3a9SKartik Rajput	  Support for Tegra UTC (UART Trace controller) client serial port.
296*eb07e3a9SKartik Rajput
297*eb07e3a9SKartik Rajput	  UTC is a HW based serial port that allows multiplexing multiple data
298*eb07e3a9SKartik Rajput	  streams of up to 16 UTC clients into a single hardware serial port.
299*eb07e3a9SKartik Rajput
300*eb07e3a9SKartik Rajputconfig SERIAL_TEGRA_UTC_CONSOLE
301*eb07e3a9SKartik Rajput	bool "Support for console on a Tegra UTC serial port"
302*eb07e3a9SKartik Rajput	depends on SERIAL_TEGRA_UTC
303*eb07e3a9SKartik Rajput	select SERIAL_CORE_CONSOLE
304*eb07e3a9SKartik Rajput	default SERIAL_TEGRA_UTC
305*eb07e3a9SKartik Rajput	help
306*eb07e3a9SKartik Rajput	  If you say Y here, it will be possible to use a Tegra UTC client as
307*eb07e3a9SKartik Rajput	  the system console (the system console is the device which receives
308*eb07e3a9SKartik Rajput	  all kernel messages and warnings and which allows logins in single
309*eb07e3a9SKartik Rajput	  user mode).
310*eb07e3a9SKartik Rajput
311*eb07e3a9SKartik Rajput	  If unsure, say Y.
312*eb07e3a9SKartik Rajput
313ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MAX3100
3140867a980SAndy Shevchenko	tristate "MAX3100/3110/3111/3222 support"
315ab4382d2SGreg Kroah-Hartman	depends on SPI
316ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
317ab4382d2SGreg Kroah-Hartman	help
3180867a980SAndy Shevchenko	  This selects support for an advanced UART from Maxim.
3190867a980SAndy Shevchenko	  Supported ICs are MAX3100, MAX3110, MAX3111, MAX3222.
3200867a980SAndy Shevchenko
3210867a980SAndy Shevchenko	  Say Y here if you want to support these ICs.
322ab4382d2SGreg Kroah-Hartman
323f6544418SAlexander Shiyanconfig SERIAL_MAX310X
324d0fd413cSAlexander Shiyan	tristate "MAX310X support"
32510d8b34aSAlexander Shiyan	depends on SPI_MASTER
326ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
32710d8b34aSAlexander Shiyan	select REGMAP_SPI if SPI_MASTER
3282e1f2d9aSCosmin Tanislav	select REGMAP_I2C if I2C
329ab4382d2SGreg Kroah-Hartman	help
330f6544418SAlexander Shiyan	  This selects support for an advanced UART from Maxim (Dallas).
331003236d9SAlexander Shiyan	  Supported ICs are MAX3107, MAX3108, MAX3109, MAX14830.
332f6544418SAlexander Shiyan	  Each IC contains 128 words each of receive and transmit FIFO
333f6544418SAlexander Shiyan	  that can be controlled through I2C or high-speed SPI.
334f6544418SAlexander Shiyan
335f6544418SAlexander Shiyan	  Say Y here if you want to support this ICs.
336ab4382d2SGreg Kroah-Hartman
337ab4382d2SGreg Kroah-Hartmanconfig SERIAL_DZ
338ab4382d2SGreg Kroah-Hartman	bool "DECstation DZ serial driver"
339ab4382d2SGreg Kroah-Hartman	depends on MACH_DECSTATION && 32BIT
340ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
341ab4382d2SGreg Kroah-Hartman	default y
342a7f7f624SMasahiro Yamada	help
343ab4382d2SGreg Kroah-Hartman	  DZ11-family serial controllers for DECstations and VAXstations,
344ab4382d2SGreg Kroah-Hartman	  including the DC7085, M7814, and M7819.
345ab4382d2SGreg Kroah-Hartman
346ab4382d2SGreg Kroah-Hartmanconfig SERIAL_DZ_CONSOLE
347ab4382d2SGreg Kroah-Hartman	bool "Support console on DECstation DZ serial driver"
348ab4382d2SGreg Kroah-Hartman	depends on SERIAL_DZ=y
349ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
350ab4382d2SGreg Kroah-Hartman	default y
351a7f7f624SMasahiro Yamada	help
352ab4382d2SGreg Kroah-Hartman	  If you say Y here, it will be possible to use a serial port as the
353ab4382d2SGreg Kroah-Hartman	  system console (the system console is the device which receives all
354ab4382d2SGreg Kroah-Hartman	  kernel messages and warnings and which allows logins in single user
355ab4382d2SGreg Kroah-Hartman	  mode).
356ab4382d2SGreg Kroah-Hartman
357ab4382d2SGreg Kroah-Hartman	  Note that the firmware uses ttyS3 as the serial console on
358ab4382d2SGreg Kroah-Hartman	  DECstations that use this driver.
359ab4382d2SGreg Kroah-Hartman
360ab4382d2SGreg Kroah-Hartman	  If unsure, say Y.
361ab4382d2SGreg Kroah-Hartman
362ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ZS
363ab4382d2SGreg Kroah-Hartman	tristate "DECstation Z85C30 serial support"
364ab4382d2SGreg Kroah-Hartman	depends on MACH_DECSTATION
365ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
366ab4382d2SGreg Kroah-Hartman	default y
367a7f7f624SMasahiro Yamada	help
368ab4382d2SGreg Kroah-Hartman	  Support for the Zilog 85C350 serial communications controller used
369ab4382d2SGreg Kroah-Hartman	  for serial ports in newer DECstation systems.  These include the
370ab4382d2SGreg Kroah-Hartman	  DECsystem 5900 and all models of the DECstation and DECsystem 5000
371ab4382d2SGreg Kroah-Hartman	  systems except from model 200.
372ab4382d2SGreg Kroah-Hartman
373ab4382d2SGreg Kroah-Hartman	  If unsure, say Y.  To compile this driver as a module, choose M here:
374ab4382d2SGreg Kroah-Hartman	  the module will be called zs.
375ab4382d2SGreg Kroah-Hartman
376ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ZS_CONSOLE
377ab4382d2SGreg Kroah-Hartman	bool "Support for console on a DECstation Z85C30 serial port"
378ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ZS=y
379ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
380ab4382d2SGreg Kroah-Hartman	default y
381a7f7f624SMasahiro Yamada	help
382ab4382d2SGreg Kroah-Hartman	  If you say Y here, it will be possible to use a serial port as the
383ab4382d2SGreg Kroah-Hartman	  system console (the system console is the device which receives all
384ab4382d2SGreg Kroah-Hartman	  kernel messages and warnings and which allows logins in single user
385ab4382d2SGreg Kroah-Hartman	  mode).
386ab4382d2SGreg Kroah-Hartman
387ab4382d2SGreg Kroah-Hartman	  Note that the firmware uses ttyS1 as the serial console on the
388ab4382d2SGreg Kroah-Hartman	  Maxine and ttyS3 on the others using this driver.
389ab4382d2SGreg Kroah-Hartman
390ab4382d2SGreg Kroah-Hartman	  If unsure, say Y.
391ab4382d2SGreg Kroah-Hartman
392ab4382d2SGreg Kroah-Hartmanconfig SERIAL_21285
393ab4382d2SGreg Kroah-Hartman	tristate "DC21285 serial port support"
39418e0749aSAlexander Shiyan	depends on FOOTBRIDGE
395ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
396ab4382d2SGreg Kroah-Hartman	help
397ab4382d2SGreg Kroah-Hartman	  If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
398ab4382d2SGreg Kroah-Hartman	  PCI bridge you can enable its onboard serial port by enabling this
399ab4382d2SGreg Kroah-Hartman	  option.
400ab4382d2SGreg Kroah-Hartman
401ab4382d2SGreg Kroah-Hartmanconfig SERIAL_21285_CONSOLE
402ab4382d2SGreg Kroah-Hartman	bool "Console on DC21285 serial port"
403ab4382d2SGreg Kroah-Hartman	depends on SERIAL_21285=y
404ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
405ab4382d2SGreg Kroah-Hartman	help
406ab4382d2SGreg Kroah-Hartman	  If you have enabled the serial port on the 21285 footbridge you can
407ab4382d2SGreg Kroah-Hartman	  make it the console by answering Y to this option.
408ab4382d2SGreg Kroah-Hartman
409ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
410ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
411ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
412ab4382d2SGreg Kroah-Hartman	  "console=ttyFB". (Try "man bootparam" or see the documentation of
413ab4382d2SGreg Kroah-Hartman	  your boot loader (lilo or loadlin) about how to pass options to the
414ab4382d2SGreg Kroah-Hartman	  kernel at boot time.)
415ab4382d2SGreg Kroah-Hartman
416ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PXA
417ab28f51cSSergey Yanovich	bool "PXA serial port support (DEPRECATED)"
418ab4382d2SGreg Kroah-Hartman	depends on ARCH_PXA || ARCH_MMP
419ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
420ab28f51cSSergey Yanovich	select SERIAL_8250_PXA if SERIAL_8250=y
421ab28f51cSSergey Yanovich	select SERIAL_PXA_NON8250 if !SERIAL_8250=y
422ab4382d2SGreg Kroah-Hartman	help
423ab4382d2SGreg Kroah-Hartman	  If you have a machine based on an Intel XScale PXA2xx CPU you
424ab4382d2SGreg Kroah-Hartman	  can enable its onboard serial ports by enabling this option.
425ab4382d2SGreg Kroah-Hartman
426ab28f51cSSergey Yanovich	  Unless you have a specific need, you should use SERIAL_8250_PXA
427ab28f51cSSergey Yanovich	  instead of this.
428ab28f51cSSergey Yanovich
429ab28f51cSSergey Yanovichconfig SERIAL_PXA_NON8250
430ab28f51cSSergey Yanovich	bool
4318a108811SJiri Slaby	depends on !SERIAL_8250 || COMPILE_TEST
432ab28f51cSSergey Yanovich
433ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PXA_CONSOLE
434ab28f51cSSergey Yanovich	bool "Console on PXA serial port (DEPRECATED)"
435ab4382d2SGreg Kroah-Hartman	depends on SERIAL_PXA
436ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
437ab28f51cSSergey Yanovich	select SERIAL_8250_CONSOLE if SERIAL_8250=y
438ab4382d2SGreg Kroah-Hartman	help
439ab4382d2SGreg Kroah-Hartman	  If you have enabled the serial port on the Intel XScale PXA
440ab4382d2SGreg Kroah-Hartman	  CPU you can make it the console by answering Y to this option.
441ab4382d2SGreg Kroah-Hartman
442ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
443ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
444ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
445ab4382d2SGreg Kroah-Hartman	  "console=ttySA0". (Try "man bootparam" or see the documentation of
446ab4382d2SGreg Kroah-Hartman	  your boot loader (lilo or loadlin) about how to pass options to the
447ab4382d2SGreg Kroah-Hartman	  kernel at boot time.)
448ab4382d2SGreg Kroah-Hartman
449ab28f51cSSergey Yanovich	  Unless you have a specific need, you should use SERIAL_8250_PXA
450ab28f51cSSergey Yanovich	  and SERIAL_8250_CONSOLE instead of this.
451ab28f51cSSergey Yanovich
452ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SA1100
453ab4382d2SGreg Kroah-Hartman	bool "SA1100 serial port support"
45418e0749aSAlexander Shiyan	depends on ARCH_SA1100
455ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
456d9d03e2cSRussell King	select SERIAL_MCTRL_GPIO if GPIOLIB
457ab4382d2SGreg Kroah-Hartman	help
458ab4382d2SGreg Kroah-Hartman	  If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
459ab4382d2SGreg Kroah-Hartman	  can enable its onboard serial port by enabling this option.
460173cb655SJonathan Corbet	  Please read <file:Documentation/arch/arm/sa1100/serial_uart.rst> for
461173cb655SJonathan Corbet	  further info.
462ab4382d2SGreg Kroah-Hartman
463ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SA1100_CONSOLE
464ab4382d2SGreg Kroah-Hartman	bool "Console on SA1100 serial port"
465ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SA1100
466ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
467ab4382d2SGreg Kroah-Hartman	help
468ab4382d2SGreg Kroah-Hartman	  If you have enabled the serial port on the SA1100/SA1110 StrongARM
469ab4382d2SGreg Kroah-Hartman	  CPU you can make it the console by answering Y to this option.
470ab4382d2SGreg Kroah-Hartman
471ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
472ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
473ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
474ab4382d2SGreg Kroah-Hartman	  "console=ttySA0". (Try "man bootparam" or see the documentation of
475ab4382d2SGreg Kroah-Hartman	  your boot loader (lilo or loadlin) about how to pass options to the
476ab4382d2SGreg Kroah-Hartman	  kernel at boot time.)
477ab4382d2SGreg Kroah-Hartman
478ab4382d2SGreg Kroah-Hartmanconfig SERIAL_IMX
47937fb5b56SFabio Estevam	tristate "IMX serial port support"
480dc2454f7SUwe Kleine-König	depends on ARCH_MXC || COMPILE_TEST
481ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
482ab4382d2SGreg Kroah-Hartman	select RATIONAL
48358362d5bSUwe Kleine-König	select SERIAL_MCTRL_GPIO if GPIOLIB
484ab4382d2SGreg Kroah-Hartman	help
485ab4382d2SGreg Kroah-Hartman	  If you have a machine based on a Motorola IMX CPU you
486ab4382d2SGreg Kroah-Hartman	  can enable its onboard serial port by enabling this option.
487ab4382d2SGreg Kroah-Hartman
488ab4382d2SGreg Kroah-Hartmanconfig SERIAL_IMX_CONSOLE
4890db4f9b9SFugang Duan	tristate "Console on IMX serial port"
4900db4f9b9SFugang Duan	depends on SERIAL_IMX
491ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
492ab4382d2SGreg Kroah-Hartman	help
493f0f6b803SFabio Estevam	  If you have enabled the serial port on the Freescale IMX
4940db4f9b9SFugang Duan	  CPU you can make it the console by answering Y/M to this option.
495ab4382d2SGreg Kroah-Hartman
4960db4f9b9SFugang Duan	  Even if you say Y/M here, the currently visible virtual console
497ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
498ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
499f0f6b803SFabio Estevam	  "console=ttymxc0". (Try "man bootparam" or see the documentation of
500f0f6b803SFabio Estevam	  your bootloader about how to pass options to the kernel at boot time.)
501ab4382d2SGreg Kroah-Hartman
502699cc4dfSFugang Duanconfig SERIAL_IMX_EARLYCON
503699cc4dfSFugang Duan	bool "Earlycon on IMX serial port"
504ea1fc02eSFugang Duan	depends on ARCH_MXC || COMPILE_TEST
505699cc4dfSFugang Duan	depends on OF
506196ebe5cSJulian Braha	select SERIAL_CORE
507699cc4dfSFugang Duan	select SERIAL_EARLYCON
50824c79692SYang Yingliang	select SERIAL_CORE_CONSOLE
509427627a2SLucas Stach	default y if SERIAL_IMX_CONSOLE
510699cc4dfSFugang Duan	help
511699cc4dfSFugang Duan	  If you have enabled the earlycon on the Freescale IMX
512699cc4dfSFugang Duan	  CPU you can make it the earlycon by answering Y to this option.
513699cc4dfSFugang Duan
514ab4382d2SGreg Kroah-Hartmanconfig SERIAL_UARTLITE
515ab4382d2SGreg Kroah-Hartman	tristate "Xilinx uartlite serial port support"
5161eacbfb0SRicardo Ribalda Delgado	depends on HAS_IOMEM
517ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
518ab4382d2SGreg Kroah-Hartman	help
519ab4382d2SGreg Kroah-Hartman	  Say Y here if you want to use the Xilinx uartlite serial controller.
520ab4382d2SGreg Kroah-Hartman
521ab4382d2SGreg Kroah-Hartman	  To compile this driver as a module, choose M here: the
522ab4382d2SGreg Kroah-Hartman	  module will be called uartlite.
523ab4382d2SGreg Kroah-Hartman
524ab4382d2SGreg Kroah-Hartmanconfig SERIAL_UARTLITE_CONSOLE
525ab4382d2SGreg Kroah-Hartman	bool "Support for console on Xilinx uartlite serial port"
526ab4382d2SGreg Kroah-Hartman	depends on SERIAL_UARTLITE=y
527ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
5287cdcc29eSRich Felker	select SERIAL_EARLYCON
529ab4382d2SGreg Kroah-Hartman	help
530ab4382d2SGreg Kroah-Hartman	  Say Y here if you wish to use a Xilinx uartlite as the system
531ab4382d2SGreg Kroah-Hartman	  console (the system console is the device which receives all kernel
532ab4382d2SGreg Kroah-Hartman	  messages and warnings and which allows logins in single user mode).
533ab4382d2SGreg Kroah-Hartman
534b44b96a0SSam Povilusconfig SERIAL_UARTLITE_NR_UARTS
535b44b96a0SSam Povilus	int "Maximum number of uartlite serial ports"
536b44b96a0SSam Povilus	depends on SERIAL_UARTLITE
537b44b96a0SSam Povilus	range 1 256
538b44b96a0SSam Povilus	default 1
539b44b96a0SSam Povilus	help
540b44b96a0SSam Povilus	  Set this to the number of uartlites in your system, or the number
541b44b96a0SSam Povilus	  you think you might implement.
54201c33b81SManikanta Guntupalli	  If maximum number of uartlite serial ports is more than 4, then the
54301c33b81SManikanta Guntupalli	  driver uses dynamic allocation instead of static allocation for major
54401c33b81SManikanta Guntupalli	  number.
545b44b96a0SSam Povilus
546ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNCORE
547ab4382d2SGreg Kroah-Hartman	bool
548ab4382d2SGreg Kroah-Hartman	depends on SPARC
549ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
550ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
551ab4382d2SGreg Kroah-Hartman	default y
552ab4382d2SGreg Kroah-Hartman
553ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNZILOG
554ab4382d2SGreg Kroah-Hartman	tristate "Sun Zilog8530 serial support"
555ab4382d2SGreg Kroah-Hartman	depends on SPARC
556ab4382d2SGreg Kroah-Hartman	help
557ab4382d2SGreg Kroah-Hartman	  This driver supports the Zilog8530 serial ports found on many Sparc
558ab4382d2SGreg Kroah-Hartman	  systems.  Say Y or M if you want to be able to these serial ports.
559ab4382d2SGreg Kroah-Hartman
560ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNZILOG_CONSOLE
561ab4382d2SGreg Kroah-Hartman	bool "Console on Sun Zilog8530 serial port"
562ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SUNZILOG=y
563ab4382d2SGreg Kroah-Hartman	help
564ab4382d2SGreg Kroah-Hartman	  If you would like to be able to use the Zilog8530 serial port
565ab4382d2SGreg Kroah-Hartman	  on your Sparc system as the console, you can do so by answering
566ab4382d2SGreg Kroah-Hartman	  Y to this option.
567ab4382d2SGreg Kroah-Hartman
568ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNSU
569ab4382d2SGreg Kroah-Hartman	tristate "Sun SU serial support"
570ab4382d2SGreg Kroah-Hartman	depends on SPARC && PCI
571ab4382d2SGreg Kroah-Hartman	help
572ab4382d2SGreg Kroah-Hartman	  This driver supports the 8250 serial ports that run the keyboard and
573ab4382d2SGreg Kroah-Hartman	  mouse on (PCI) UltraSPARC systems.  Say Y or M if you want to be able
574ab4382d2SGreg Kroah-Hartman	  to these serial ports.
575ab4382d2SGreg Kroah-Hartman
576ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNSU_CONSOLE
577ab4382d2SGreg Kroah-Hartman	bool "Console on Sun SU serial port"
578ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SUNSU=y
579ab4382d2SGreg Kroah-Hartman	help
580ab4382d2SGreg Kroah-Hartman	  If you would like to be able to use the SU serial port
581ab4382d2SGreg Kroah-Hartman	  on your Sparc system as the console, you can do so by answering
582ab4382d2SGreg Kroah-Hartman	  Y to this option.
583ab4382d2SGreg Kroah-Hartman
584ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MUX
585ab4382d2SGreg Kroah-Hartman	tristate "Serial MUX support"
586ab4382d2SGreg Kroah-Hartman	depends on GSC
587ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
588ab4382d2SGreg Kroah-Hartman	default y
589a7f7f624SMasahiro Yamada	help
590ab4382d2SGreg Kroah-Hartman	  Saying Y here will enable the hardware MUX serial driver for
591ab4382d2SGreg Kroah-Hartman	  the Nova, K class systems and D class with a 'remote control card'.
592ab4382d2SGreg Kroah-Hartman	  The hardware MUX is not 8250/16550 compatible therefore the
593ab4382d2SGreg Kroah-Hartman	  /dev/ttyB0 device is shared between the Serial MUX and the PDC
594ab4382d2SGreg Kroah-Hartman	  software console. The following steps need to be completed to use
595ab4382d2SGreg Kroah-Hartman	  the Serial MUX:
596ab4382d2SGreg Kroah-Hartman
597ab4382d2SGreg Kroah-Hartman	    1. create the device entry (mknod /dev/ttyB0 c 11 0)
598ab4382d2SGreg Kroah-Hartman	    2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
599ab4382d2SGreg Kroah-Hartman	    3. Add device ttyB0 to /etc/securetty (if you want to log on as
600ab4382d2SGreg Kroah-Hartman		 root on this console.)
601ab4382d2SGreg Kroah-Hartman	    4. Change the kernel command console parameter to: console=ttyB0
602ab4382d2SGreg Kroah-Hartman
603ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MUX_CONSOLE
604ab4382d2SGreg Kroah-Hartman	bool "Support for console on serial MUX"
605ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MUX=y
606ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
607ab4382d2SGreg Kroah-Hartman	default y
608ab4382d2SGreg Kroah-Hartman
609ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNSAB
610ab4382d2SGreg Kroah-Hartman	tristate "Sun Siemens SAB82532 serial support"
611ab4382d2SGreg Kroah-Hartman	depends on SPARC && PCI
612ab4382d2SGreg Kroah-Hartman	help
613ab4382d2SGreg Kroah-Hartman	  This driver supports the Siemens SAB82532 DUSCC serial ports on newer
614ab4382d2SGreg Kroah-Hartman	  (PCI) UltraSPARC systems.  Say Y or M if you want to be able to these
615ab4382d2SGreg Kroah-Hartman	  serial ports.
616ab4382d2SGreg Kroah-Hartman
617ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNSAB_CONSOLE
618ab4382d2SGreg Kroah-Hartman	bool "Console on Sun Siemens SAB82532 serial port"
619ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SUNSAB=y
620ab4382d2SGreg Kroah-Hartman	help
621ab4382d2SGreg Kroah-Hartman	  If you would like to be able to use the SAB82532 serial port
622ab4382d2SGreg Kroah-Hartman	  on your Sparc system as the console, you can do so by answering
623ab4382d2SGreg Kroah-Hartman	  Y to this option.
624ab4382d2SGreg Kroah-Hartman
625ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNHV
626ab4382d2SGreg Kroah-Hartman	bool "Sun4v Hypervisor Console support"
627ab4382d2SGreg Kroah-Hartman	depends on SPARC64
628ab4382d2SGreg Kroah-Hartman	help
629ab4382d2SGreg Kroah-Hartman	  This driver supports the console device found on SUN4V Sparc
630ab4382d2SGreg Kroah-Hartman	  systems.  Say Y if you want to be able to use this device.
631ab4382d2SGreg Kroah-Hartman
632ab4382d2SGreg Kroah-Hartmanconfig SERIAL_IP22_ZILOG
633ab4382d2SGreg Kroah-Hartman	tristate "SGI Zilog8530 serial support"
634ab4382d2SGreg Kroah-Hartman	depends on SGI_HAS_ZILOG
635ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
636ab4382d2SGreg Kroah-Hartman	help
637ab4382d2SGreg Kroah-Hartman	  This driver supports the Zilog8530 serial ports found on SGI
638ab4382d2SGreg Kroah-Hartman	  systems.  Say Y or M if you want to be able to these serial ports.
639ab4382d2SGreg Kroah-Hartman
640ab4382d2SGreg Kroah-Hartmanconfig SERIAL_IP22_ZILOG_CONSOLE
641ab4382d2SGreg Kroah-Hartman	bool "Console on SGI Zilog8530 serial port"
642ab4382d2SGreg Kroah-Hartman	depends on SERIAL_IP22_ZILOG=y
643ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
644ab4382d2SGreg Kroah-Hartman
645ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SH_SCI
646ab4382d2SGreg Kroah-Hartman	tristate "SuperH SCI(F) serial port support"
6471c4b5ecbSChristoph Hellwig	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
648ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
649f907c9eaSGeert Uytterhoeven	select SERIAL_MCTRL_GPIO if GPIOLIB
650ab4382d2SGreg Kroah-Hartman
651ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SH_SCI_NR_UARTS
652f6731485SGeert Uytterhoeven	int "Maximum number of SCI(F) serial ports" if EXPERT
6537678f4c2SGeert Uytterhoeven	range 1 64 if 64BIT
6547678f4c2SGeert Uytterhoeven	range 1 32 if !64BIT
655ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SH_SCI
656f6731485SGeert Uytterhoeven	default "10" if SUPERH
657f6731485SGeert Uytterhoeven	default "18" if ARCH_RENESAS
65819ac50f6SGeert Uytterhoeven	default "2"
659ab4382d2SGreg Kroah-Hartman
660ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SH_SCI_CONSOLE
661c5bb576dSGeert Uytterhoeven	bool "Support for console on SuperH SCI(F)" if EXPERT
662ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SH_SCI=y
663ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
664c5bb576dSGeert Uytterhoeven	default y
665ab4382d2SGreg Kroah-Hartman
6660b0cced1SYoshinori Satoconfig SERIAL_SH_SCI_EARLYCON
6673a987e73SGeert Uytterhoeven	bool "Support for early console on SuperH SCI(F)" if EXPERT
6680b0cced1SYoshinori Sato	depends on SERIAL_SH_SCI=y
6690b0cced1SYoshinori Sato	select SERIAL_CORE_CONSOLE
6700b0cced1SYoshinori Sato	select SERIAL_EARLYCON
6711c4b5ecbSChristoph Hellwig	default ARCH_RENESAS
6720b0cced1SYoshinori Sato
673ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SH_SCI_DMA
674be7e251dSGeert Uytterhoeven	bool "DMA support" if EXPERT
675565dd11aSGeert Uytterhoeven	depends on SERIAL_SH_SCI && DMA_ENGINE
676be7e251dSGeert Uytterhoeven	default ARCH_RENESAS
677ab4382d2SGreg Kroah-Hartman
678596f93f5SRoland Stiggeconfig SERIAL_HS_LPC32XX
679596f93f5SRoland Stigge	tristate "LPC32XX high speed serial port support"
6805711e41bSArnd Bergmann	depends on ARCH_LPC32XX || COMPILE_TEST
6815711e41bSArnd Bergmann	depends on OF
682596f93f5SRoland Stigge	select SERIAL_CORE
683596f93f5SRoland Stigge	help
684596f93f5SRoland Stigge	  Support for the LPC32XX high speed serial ports (up to 900kbps).
685596f93f5SRoland Stigge	  Those are UARTs completely different from the Standard UARTs on the
686596f93f5SRoland Stigge	  LPC32XX SoC.
687596f93f5SRoland Stigge	  Choose M or Y here to build this driver.
688596f93f5SRoland Stigge
689596f93f5SRoland Stiggeconfig SERIAL_HS_LPC32XX_CONSOLE
690596f93f5SRoland Stigge	bool "Enable LPC32XX high speed UART serial console"
691080029b1SArnd Bergmann	depends on SERIAL_HS_LPC32XX=y
692596f93f5SRoland Stigge	select SERIAL_CORE_CONSOLE
693596f93f5SRoland Stigge	help
694596f93f5SRoland Stigge	  If you would like to be able to use one of the high speed serial
695596f93f5SRoland Stigge	  ports on the LPC32XX as the console, you can do so by answering
696596f93f5SRoland Stigge	  Y to this option.
697596f93f5SRoland Stigge
698ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CORE
699ab4382d2SGreg Kroah-Hartman	tristate
700ab4382d2SGreg Kroah-Hartman
701ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CORE_CONSOLE
702ab4382d2SGreg Kroah-Hartman	bool
703ab4382d2SGreg Kroah-Hartman
704ab4382d2SGreg Kroah-Hartmanconfig CONSOLE_POLL
705ab4382d2SGreg Kroah-Hartman	bool
706ab4382d2SGreg Kroah-Hartman
707ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MCF
708ab4382d2SGreg Kroah-Hartman	bool "Coldfire serial support"
709ab4382d2SGreg Kroah-Hartman	depends on COLDFIRE
710ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
711ab4382d2SGreg Kroah-Hartman	help
712ab4382d2SGreg Kroah-Hartman	  This serial driver supports the Freescale Coldfire serial ports.
713ab4382d2SGreg Kroah-Hartman
714ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MCF_BAUDRATE
715ab4382d2SGreg Kroah-Hartman	int "Default baudrate for Coldfire serial ports"
716ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MCF
717ab4382d2SGreg Kroah-Hartman	default 19200
718ab4382d2SGreg Kroah-Hartman	help
719ab4382d2SGreg Kroah-Hartman	  This setting lets you define what the default baudrate is for the
720ab4382d2SGreg Kroah-Hartman	  ColdFire serial ports. The usual default varies from board to board,
721ab4382d2SGreg Kroah-Hartman	  and this setting is a way of catering for that.
722ab4382d2SGreg Kroah-Hartman
723ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MCF_CONSOLE
724ab4382d2SGreg Kroah-Hartman	bool "Coldfire serial console support"
725ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MCF
726ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
727ab4382d2SGreg Kroah-Hartman	help
728ab4382d2SGreg Kroah-Hartman	  Enable a ColdFire internal serial port to be the system console.
729ab4382d2SGreg Kroah-Hartman
730ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PMACZILOG
731ab4382d2SGreg Kroah-Hartman	tristate "Mac or PowerMac z85c30 ESCC support"
732213dce3cSKevin Hao	depends on (M68K && MAC) || PPC_PMAC
733ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
734ab4382d2SGreg Kroah-Hartman	help
735ab4382d2SGreg Kroah-Hartman	  This driver supports the Zilog z85C30 serial ports found on
736ab4382d2SGreg Kroah-Hartman	  (Power)Mac machines.
737ab4382d2SGreg Kroah-Hartman	  Say Y or M if you want to be able to these serial ports.
738ab4382d2SGreg Kroah-Hartman
739ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PMACZILOG_TTYS
740ab4382d2SGreg Kroah-Hartman	bool "Use ttySn device nodes for Zilog z85c30"
741ab4382d2SGreg Kroah-Hartman	depends on SERIAL_PMACZILOG
742ab4382d2SGreg Kroah-Hartman	help
743ab4382d2SGreg Kroah-Hartman	  The pmac_zilog driver for the z85C30 chip on many powermacs
744ab4382d2SGreg Kroah-Hartman	  historically used the device numbers for /dev/ttySn.  The
745ab4382d2SGreg Kroah-Hartman	  8250 serial port driver also uses these numbers, which means
746ab4382d2SGreg Kroah-Hartman	  the two drivers being unable to coexist; you could not use
747ab4382d2SGreg Kroah-Hartman	  both z85C30 and 8250 type ports at the same time.
748ab4382d2SGreg Kroah-Hartman
749ab4382d2SGreg Kroah-Hartman	  If this option is not selected, the pmac_zilog driver will
750ab4382d2SGreg Kroah-Hartman	  use the device numbers allocated for /dev/ttyPZn.  This allows
751ab4382d2SGreg Kroah-Hartman	  the pmac_zilog and 8250 drivers to co-exist, but may cause
752ab4382d2SGreg Kroah-Hartman	  existing userspace setups to break.  Programs that need to
753ab4382d2SGreg Kroah-Hartman	  access the built-in serial ports on powermacs will need to
754ab4382d2SGreg Kroah-Hartman	  be reconfigured to use /dev/ttyPZn instead of /dev/ttySn.
755ab4382d2SGreg Kroah-Hartman
756ab4382d2SGreg Kroah-Hartman	  If you enable this option, any z85c30 ports in the system will
757ab4382d2SGreg Kroah-Hartman	  be registered as ttyS0 onwards as in the past, and you will be
758ab4382d2SGreg Kroah-Hartman	  unable to use the 8250 module for PCMCIA or other 16C550-style
759ab4382d2SGreg Kroah-Hartman	  UARTs.
760ab4382d2SGreg Kroah-Hartman
761ab4382d2SGreg Kroah-Hartman	  Say N unless you need the z85c30 ports on your (Power)Mac
762ab4382d2SGreg Kroah-Hartman	  to appear as /dev/ttySn.
763ab4382d2SGreg Kroah-Hartman
764ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PMACZILOG_CONSOLE
765ab4382d2SGreg Kroah-Hartman	bool "Console on Mac or PowerMac z85c30 serial port"
766ab4382d2SGreg Kroah-Hartman	depends on SERIAL_PMACZILOG=y
767ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
768ab4382d2SGreg Kroah-Hartman	help
769ab4382d2SGreg Kroah-Hartman	  If you would like to be able to use the z85c30 serial port
770ab4382d2SGreg Kroah-Hartman	  on your (Power)Mac as the console, you can do so by answering
771ab4382d2SGreg Kroah-Hartman	  Y to this option.
772ab4382d2SGreg Kroah-Hartman
773ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CPM
774ab4382d2SGreg Kroah-Hartman	tristate "CPM SCC/SMC serial port support"
7757183c37fSHerve Codina	depends on CPM2 || CPM1
776ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
777ab4382d2SGreg Kroah-Hartman	help
778ab4382d2SGreg Kroah-Hartman	  This driver supports the SCC and SMC serial ports on Motorola
779ab4382d2SGreg Kroah-Hartman	  embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)
780ab4382d2SGreg Kroah-Hartman
781ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CPM_CONSOLE
782ab4382d2SGreg Kroah-Hartman	bool "Support for console on CPM SCC/SMC serial port"
783ab4382d2SGreg Kroah-Hartman	depends on SERIAL_CPM=y
784ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
785ab4382d2SGreg Kroah-Hartman	help
786ab4382d2SGreg Kroah-Hartman	  Say Y here if you wish to use a SCC or SMC CPM UART as the system
787ab4382d2SGreg Kroah-Hartman	  console (the system console is the device which receives all kernel
788ab4382d2SGreg Kroah-Hartman	  messages and warnings and which allows logins in single user mode).
789ab4382d2SGreg Kroah-Hartman
790ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible framebuffer console
791ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
792ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
793ab4382d2SGreg Kroah-Hartman	  "console=ttyCPM0". (Try "man bootparam" or see the documentation of
794ab4382d2SGreg Kroah-Hartman	  your boot loader (lilo or loadlin) about how to pass options to the
795ab4382d2SGreg Kroah-Hartman	  kernel at boot time.)
796ab4382d2SGreg Kroah-Hartman
797157b9394SAndrei Pistiricaconfig SERIAL_PIC32
798157b9394SAndrei Pistirica	tristate "Microchip PIC32 serial support"
799e3e7b13bSJiri Slaby	depends on MACH_PIC32 || (MIPS && COMPILE_TEST)
800157b9394SAndrei Pistirica	select SERIAL_CORE
801157b9394SAndrei Pistirica	help
802157b9394SAndrei Pistirica	  If you have a PIC32, this driver supports the serial ports.
803157b9394SAndrei Pistirica
804157b9394SAndrei Pistirica	  Say Y or M to use PIC32 serial ports, otherwise say N. Note that
805157b9394SAndrei Pistirica	  to use a serial port as a console, this must be included in kernel and
806157b9394SAndrei Pistirica	  not as a module.
807157b9394SAndrei Pistirica
808157b9394SAndrei Pistiricaconfig SERIAL_PIC32_CONSOLE
809157b9394SAndrei Pistirica	bool "PIC32 serial console support"
81086b9602fSJiri Slaby	depends on SERIAL_PIC32=y
811157b9394SAndrei Pistirica	select SERIAL_CORE_CONSOLE
812157b9394SAndrei Pistirica	help
813157b9394SAndrei Pistirica	  If you have a PIC32, this driver supports the putting a console on one
814157b9394SAndrei Pistirica	  of the serial ports.
815157b9394SAndrei Pistirica
816157b9394SAndrei Pistirica	  Say Y to use the PIC32 console, otherwise say N.
817157b9394SAndrei Pistirica
818ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MPC52xx
819ab4382d2SGreg Kroah-Hartman	tristate "Freescale MPC52xx/MPC512x family PSC serial support"
820ab4382d2SGreg Kroah-Hartman	depends on PPC_MPC52xx || PPC_MPC512x
821ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
822ab4382d2SGreg Kroah-Hartman	help
823ab4382d2SGreg Kroah-Hartman	  This driver supports MPC52xx and MPC512x PSC serial ports. If you would
824ab4382d2SGreg Kroah-Hartman	  like to use them, you must answer Y or M to this option. Note that
825ab4382d2SGreg Kroah-Hartman	  for use as console, it must be included in kernel and not as a
826ab4382d2SGreg Kroah-Hartman	  module.
827ab4382d2SGreg Kroah-Hartman
828ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MPC52xx_CONSOLE
829ab4382d2SGreg Kroah-Hartman	bool "Console on a Freescale MPC52xx/MPC512x family PSC serial port"
830ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MPC52xx=y
831ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
832ab4382d2SGreg Kroah-Hartman	help
833ab4382d2SGreg Kroah-Hartman	  Select this options if you'd like to use one of the PSC serial port
834ab4382d2SGreg Kroah-Hartman	  of the Freescale MPC52xx family as a console.
835ab4382d2SGreg Kroah-Hartman
836ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MPC52xx_CONSOLE_BAUD
837ab4382d2SGreg Kroah-Hartman	int "Freescale MPC52xx/MPC512x family PSC serial port baud"
838ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MPC52xx_CONSOLE=y
839ab4382d2SGreg Kroah-Hartman	default "9600"
840ab4382d2SGreg Kroah-Hartman	help
841ab4382d2SGreg Kroah-Hartman	  Select the MPC52xx console baud rate.
842ab4382d2SGreg Kroah-Hartman	  This value is only used if the bootloader doesn't pass in the
843ab4382d2SGreg Kroah-Hartman	  console baudrate
844ab4382d2SGreg Kroah-Hartman
845ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ICOM
846ab4382d2SGreg Kroah-Hartman	tristate "IBM Multiport Serial Adapter"
8478720037dSJohan Hovold	depends on PCI
8488720037dSJohan Hovold	depends on PPC_PSERIES || COMPILE_TEST
849ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
850ab4382d2SGreg Kroah-Hartman	select FW_LOADER
851ab4382d2SGreg Kroah-Hartman	help
852ab4382d2SGreg Kroah-Hartman	  This driver is for a family of multiport serial adapters
853ab4382d2SGreg Kroah-Hartman	  including 2 port RVX, 2 port internal modem, 4 port internal
854ab4382d2SGreg Kroah-Hartman	  modem and a split 1 port RVX and 1 port internal modem.
855ab4382d2SGreg Kroah-Hartman
856ab4382d2SGreg Kroah-Hartman	  This driver can also be built as a module.  If so, the module
857ab4382d2SGreg Kroah-Hartman	  will be called icom.
858ab4382d2SGreg Kroah-Hartman
859ab4382d2SGreg Kroah-Hartmanconfig SERIAL_TXX9
860ab4382d2SGreg Kroah-Hartman	bool "TMPTX39XX/49XX SIO support"
861ab4382d2SGreg Kroah-Hartman	depends on HAS_TXX9_SERIAL
862ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
863ab4382d2SGreg Kroah-Hartman	default y
864ab4382d2SGreg Kroah-Hartman
865ab4382d2SGreg Kroah-Hartmanconfig HAS_TXX9_SERIAL
866ab4382d2SGreg Kroah-Hartman	bool
867ab4382d2SGreg Kroah-Hartman
868ab4382d2SGreg Kroah-Hartmanconfig SERIAL_TXX9_NR_UARTS
869ab4382d2SGreg Kroah-Hartman	int "Maximum number of TMPTX39XX/49XX SIO ports"
870ab4382d2SGreg Kroah-Hartman	depends on SERIAL_TXX9
871ab4382d2SGreg Kroah-Hartman	default "6"
872ab4382d2SGreg Kroah-Hartman
873ab4382d2SGreg Kroah-Hartmanconfig SERIAL_TXX9_CONSOLE
874ab4382d2SGreg Kroah-Hartman	bool "TMPTX39XX/49XX SIO Console support"
875ab4382d2SGreg Kroah-Hartman	depends on SERIAL_TXX9=y
876ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
877ab4382d2SGreg Kroah-Hartman
878ab4382d2SGreg Kroah-Hartmanconfig SERIAL_TXX9_STDSERIAL
879ab4382d2SGreg Kroah-Hartman	bool "TX39XX/49XX SIO act as standard serial"
880ab4382d2SGreg Kroah-Hartman	depends on !SERIAL_8250 && SERIAL_TXX9
881ab4382d2SGreg Kroah-Hartman
882ab4382d2SGreg Kroah-Hartmanconfig SERIAL_JSM
88303a8482cSKonrad Zapalowicz	tristate "Digi International NEO and Classic PCI Support"
8847c7e6c89SNiklas Schnelle	depends on PCI && HAS_IOPORT
885ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
886ab4382d2SGreg Kroah-Hartman	help
88703a8482cSKonrad Zapalowicz	  This is a driver for Digi International's Neo and Classic series
888ab4382d2SGreg Kroah-Hartman	  of cards which provide multiple serial ports. You would need
889ab4382d2SGreg Kroah-Hartman	  something like this to connect more than two modems to your Linux
890ab4382d2SGreg Kroah-Hartman	  box, for instance in order to become a dial-in server. This driver
891ab4382d2SGreg Kroah-Hartman	  supports PCI boards only.
892ab4382d2SGreg Kroah-Hartman
893ab4382d2SGreg Kroah-Hartman	  If you have a card like this, say Y here, otherwise say N.
894ab4382d2SGreg Kroah-Hartman
895ab4382d2SGreg Kroah-Hartman	  To compile this driver as a module, choose M here: the
896ab4382d2SGreg Kroah-Hartman	  module will be called jsm.
897ab4382d2SGreg Kroah-Hartman
898ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MSM
89923a88024SStephen Boyd	tristate "MSM on-chip serial port support"
9008720037dSJohan Hovold	depends on ARCH_QCOM || COMPILE_TEST
901ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
902ab4382d2SGreg Kroah-Hartman
903ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MSM_CONSOLE
904ab4382d2SGreg Kroah-Hartman	bool "MSM serial console support"
905ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MSM=y
906ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
9070efe7296SStephen Boyd	select SERIAL_EARLYCON
908ab4382d2SGreg Kroah-Hartman
909c4f52879SKarthikeyan Ramasubramanianconfig SERIAL_QCOM_GENI
910c4f52879SKarthikeyan Ramasubramanian	tristate "QCOM on-chip GENI based serial port support"
911c4f52879SKarthikeyan Ramasubramanian	depends on ARCH_QCOM || COMPILE_TEST
912c4f52879SKarthikeyan Ramasubramanian	depends on QCOM_GENI_SE
913c4f52879SKarthikeyan Ramasubramanian	select SERIAL_CORE
914c4f52879SKarthikeyan Ramasubramanian
915c4f52879SKarthikeyan Ramasubramanianconfig SERIAL_QCOM_GENI_CONSOLE
916c4f52879SKarthikeyan Ramasubramanian	bool "QCOM GENI Serial Console support"
917cdcc41a2SJohn Stultz	depends on SERIAL_QCOM_GENI
918c4f52879SKarthikeyan Ramasubramanian	select SERIAL_CORE_CONSOLE
919c4f52879SKarthikeyan Ramasubramanian	select SERIAL_EARLYCON
920c4f52879SKarthikeyan Ramasubramanian	help
921c4f52879SKarthikeyan Ramasubramanian	  Serial console driver for Qualcomm Technologies Inc's GENI based
922c4f52879SKarthikeyan Ramasubramanian	  QUP hardware.
923c4f52879SKarthikeyan Ramasubramanian
924ab4382d2SGreg Kroah-Hartmanconfig SERIAL_VT8500
925ab4382d2SGreg Kroah-Hartman	bool "VIA VT8500 on-chip serial port support"
9268720037dSJohan Hovold	depends on ARCH_VT8500 || COMPILE_TEST
927ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
928ab4382d2SGreg Kroah-Hartman
929ab4382d2SGreg Kroah-Hartmanconfig SERIAL_VT8500_CONSOLE
930ab4382d2SGreg Kroah-Hartman	bool "VIA VT8500 serial console support"
931ab4382d2SGreg Kroah-Hartman	depends on SERIAL_VT8500=y
932ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
933ab4382d2SGreg Kroah-Hartman
934ab4382d2SGreg Kroah-Hartmanconfig SERIAL_OMAP
935ab4382d2SGreg Kroah-Hartman	tristate "OMAP serial port support"
9366c44eb59STony Lindgren	depends on (ARCH_OMAP2PLUS && !SERIAL_8250_OMAP) || COMPILE_TEST
937ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
938ab4382d2SGreg Kroah-Hartman	help
939ab4382d2SGreg Kroah-Hartman	  If you have a machine based on an Texas Instruments OMAP CPU you
940ab4382d2SGreg Kroah-Hartman	  can enable its onboard serial ports by enabling this option.
941ab4382d2SGreg Kroah-Hartman
942ab4382d2SGreg Kroah-Hartman	  By enabling this option you take advantage of dma feature available
943ab4382d2SGreg Kroah-Hartman	  with the omap-serial driver. DMA support can be enabled from platform
944ab4382d2SGreg Kroah-Hartman	  data.
945ab4382d2SGreg Kroah-Hartman
946ab4382d2SGreg Kroah-Hartmanconfig SERIAL_OMAP_CONSOLE
947ab4382d2SGreg Kroah-Hartman	bool "Console on OMAP serial port"
948d8c4019bSArnd Bergmann	depends on SERIAL_OMAP=y
949ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
950ab4382d2SGreg Kroah-Hartman	help
951ab4382d2SGreg Kroah-Hartman	  Select this option if you would like to use omap serial port as
952ab4382d2SGreg Kroah-Hartman	  console.
953ab4382d2SGreg Kroah-Hartman
954ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
955ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
956ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
957ab4382d2SGreg Kroah-Hartman	  "console=ttyOx". (Try "man bootparam" or see the documentation of
958ab4382d2SGreg Kroah-Hartman	  your boot loader about how to pass options to the kernel at
959ab4382d2SGreg Kroah-Hartman	  boot time.)
960ab4382d2SGreg Kroah-Hartman
96145c054d0SPaul Walmsleyconfig SERIAL_SIFIVE
96245c054d0SPaul Walmsley	tristate "SiFive UART support"
96345c054d0SPaul Walmsley	depends on OF
964c6c01763SConor Dooley	default ARCH_SIFIVE || ARCH_CANAAN
96545c054d0SPaul Walmsley	select SERIAL_CORE
96645c054d0SPaul Walmsley	help
96745c054d0SPaul Walmsley	  Select this option if you are building a kernel for a device that
96845c054d0SPaul Walmsley	  contains a SiFive UART IP block.  This type of UART is present on
96945c054d0SPaul Walmsley	  SiFive FU540 SoCs, among others.
97045c054d0SPaul Walmsley
97145c054d0SPaul Walmsleyconfig SERIAL_SIFIVE_CONSOLE
97245c054d0SPaul Walmsley	bool "Console on SiFive UART"
97345c054d0SPaul Walmsley	depends on SERIAL_SIFIVE=y
974c6c01763SConor Dooley	default ARCH_SIFIVE || ARCH_CANAAN
97545c054d0SPaul Walmsley	select SERIAL_CORE_CONSOLE
9767e2a165dSChristoph Hellwig	select SERIAL_EARLYCON
97745c054d0SPaul Walmsley	help
97845c054d0SPaul Walmsley	  Select this option if you would like to use a SiFive UART as the
97945c054d0SPaul Walmsley	  system console.
98045c054d0SPaul Walmsley
98145c054d0SPaul Walmsley	  Even if you say Y here, the currently visible virtual console
98245c054d0SPaul Walmsley	  (/dev/tty0) will still be used as the system console by default, but
98345c054d0SPaul Walmsley	  you can alter that using a kernel command line option such as
98445c054d0SPaul Walmsley	  "console=ttySIFx". (Try "man bootparam" or see the documentation of
98545c054d0SPaul Walmsley	  your boot loader about how to pass options to the kernel at
98645c054d0SPaul Walmsley	  boot time.)
98745c054d0SPaul Walmsley
9882f0fc415SJohn Crispinconfig SERIAL_LANTIQ
989ad406341SRahul Tanwar	tristate "Lantiq serial driver"
990c2880ec6SRahul Tanwar	depends on (LANTIQ || X86) || COMPILE_TEST
9912f0fc415SJohn Crispin	select SERIAL_CORE
992ea7d3fd8SRahul Tanwar	help
993ea7d3fd8SRahul Tanwar	  Support for UART on Lantiq and Intel SoCs.
994ad406341SRahul Tanwar	  To compile this driver as a module, select M here. The
995ad406341SRahul Tanwar	  module will be called lantiq.
996ea7d3fd8SRahul Tanwar
997ea7d3fd8SRahul Tanwarconfig SERIAL_LANTIQ_CONSOLE
998ea7d3fd8SRahul Tanwar	bool "Console on Lantiq UART"
999ea7d3fd8SRahul Tanwar	depends on SERIAL_LANTIQ=y
10002f0fc415SJohn Crispin	select SERIAL_CORE_CONSOLE
1001ec84aa0aSMartin Blumenstingl	select SERIAL_EARLYCON
10022f0fc415SJohn Crispin	help
1003ea7d3fd8SRahul Tanwar	  Select this option if you would like to use a Lantiq UART as the
1004ea7d3fd8SRahul Tanwar	  system console.
10052f0fc415SJohn Crispin
1006ab4382d2SGreg Kroah-Hartmanconfig SERIAL_QE
1007ab4382d2SGreg Kroah-Hartman	tristate "Freescale QUICC Engine serial port support"
1008ab4382d2SGreg Kroah-Hartman	depends on QUICC_ENGINE
1009ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
1010ab4382d2SGreg Kroah-Hartman	select FW_LOADER
1011ab4382d2SGreg Kroah-Hartman	help
1012ab4382d2SGreg Kroah-Hartman	  This driver supports the QE serial ports on Freescale embedded
1013ab4382d2SGreg Kroah-Hartman	  PowerPC that contain a QUICC Engine.
1014ab4382d2SGreg Kroah-Hartman
10151d65c0b1SAlexander Shiyanconfig SERIAL_SCCNXP
1016725dd00aSAlexander Shiyan	tristate "SCCNXP serial port support"
10171d65c0b1SAlexander Shiyan	select SERIAL_CORE
10181d65c0b1SAlexander Shiyan	help
10191d65c0b1SAlexander Shiyan	  This selects support for an advanced UART from NXP (Philips).
10201d65c0b1SAlexander Shiyan	  Supported ICs are SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,
10211d65c0b1SAlexander Shiyan	  SC28L202, SCC68681 and SCC68692.
10221d65c0b1SAlexander Shiyan
10231d65c0b1SAlexander Shiyanconfig SERIAL_SCCNXP_CONSOLE
10241d65c0b1SAlexander Shiyan	bool "Console on SCCNXP serial port"
1025725dd00aSAlexander Shiyan	depends on SERIAL_SCCNXP=y
10261d65c0b1SAlexander Shiyan	select SERIAL_CORE_CONSOLE
10271d65c0b1SAlexander Shiyan	help
10281d65c0b1SAlexander Shiyan	  Support for console on SCCNXP serial ports.
10291d65c0b1SAlexander Shiyan
10304e534ff4SHugo Villeneuveconfig SERIAL_SC16IS7XX
1031d4921643SHugo Villeneuve	tristate "NXP SC16IS7xx UART support"
10327a2e8e30SHugo Villeneuve	depends on SPI_MASTER || I2C
1033dfeae619SJon Ringle	select SERIAL_CORE
1034d4921643SHugo Villeneuve	select SERIAL_SC16IS7XX_SPI if SPI_MASTER
1035d4921643SHugo Villeneuve	select SERIAL_SC16IS7XX_I2C if I2C
1036dfeae619SJon Ringle	help
1037d4921643SHugo Villeneuve	  Core driver for NXP SC16IS7xx UARTs.
1038d4921643SHugo Villeneuve	  Supported ICs are:
1039d4921643SHugo Villeneuve
1040d4921643SHugo Villeneuve	    SC16IS740
1041d4921643SHugo Villeneuve	    SC16IS741
1042d4921643SHugo Villeneuve	    SC16IS750
1043d4921643SHugo Villeneuve	    SC16IS752
1044d4921643SHugo Villeneuve	    SC16IS760
1045d4921643SHugo Villeneuve	    SC16IS762
1046d4921643SHugo Villeneuve
1047d4921643SHugo Villeneuve	  The driver supports both I2C and SPI interfaces.
10482c837a8aSRama Kiran Kumar Indrakanti
10492c837a8aSRama Kiran Kumar Indrakanticonfig SERIAL_SC16IS7XX_I2C
1050d4921643SHugo Villeneuve	tristate
1051d4921643SHugo Villeneuve	select REGMAP_I2C
10522c837a8aSRama Kiran Kumar Indrakanti
10532c837a8aSRama Kiran Kumar Indrakanticonfig SERIAL_SC16IS7XX_SPI
1054d4921643SHugo Villeneuve	tristate
1055d4921643SHugo Villeneuve	select REGMAP_SPI
1056dfeae619SJon Ringle
1057ab4382d2SGreg Kroah-Hartmanconfig SERIAL_TIMBERDALE
1058ab4382d2SGreg Kroah-Hartman	tristate "Support for timberdale UART"
1059ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
1060e55c2a07SJean Delvare	depends on X86_32 || COMPILE_TEST
1061a7f7f624SMasahiro Yamada	help
1062ab4382d2SGreg Kroah-Hartman	Add support for UART controller on timberdale.
1063ab4382d2SGreg Kroah-Hartman
1064ab4382d2SGreg Kroah-Hartmanconfig SERIAL_BCM63XX
10654b65208fSKevin Cernekee	tristate "Broadcom BCM63xx/BCM33xx UART support"
1066ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
10677bb49d77SWilliam Zhang	depends on ARCH_BCMBCA || BCM63XX || BMIPS_GENERIC || COMPILE_TEST
10687bb49d77SWilliam Zhang	default ARCH_BCMBCA || BCM63XX || BMIPS_GENERIC
1069ab4382d2SGreg Kroah-Hartman	help
10704b65208fSKevin Cernekee	  This enables the driver for the onchip UART core found on
10714b65208fSKevin Cernekee	  the following chipsets:
1072ab4382d2SGreg Kroah-Hartman
10734b65208fSKevin Cernekee	    BCM33xx (cable modem)
10744b65208fSKevin Cernekee	    BCM63xx/BCM63xxx (DSL)
10754b65208fSKevin Cernekee	    BCM68xx (PON)
10764b65208fSKevin Cernekee	    BCM7xxx (STB) - DOCSIS console
1077ab4382d2SGreg Kroah-Hartman
1078ab4382d2SGreg Kroah-Hartmanconfig SERIAL_BCM63XX_CONSOLE
10794b65208fSKevin Cernekee	bool "Console on BCM63xx serial port"
1080ab4382d2SGreg Kroah-Hartman	depends on SERIAL_BCM63XX=y
1081ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
10821ab8e4b1SKevin Cernekee	select SERIAL_EARLYCON
1083ab4382d2SGreg Kroah-Hartman	help
10844b65208fSKevin Cernekee	  If you have enabled the serial port on the BCM63xx CPU
1085ab4382d2SGreg Kroah-Hartman	  you can make it the console by answering Y to this option.
1086ab4382d2SGreg Kroah-Hartman
1087ab4382d2SGreg Kroah-Hartmanconfig SERIAL_GRLIB_GAISLER_APBUART
1088ab4382d2SGreg Kroah-Hartman	tristate "GRLIB APBUART serial support"
10896cd7a637SDavid S. Miller	depends on OF && SPARC
1090fed7bb32SRandy Dunlap	select SERIAL_CORE
1091a7f7f624SMasahiro Yamada	help
1092ab4382d2SGreg Kroah-Hartman	Add support for the GRLIB APBUART serial port.
1093ab4382d2SGreg Kroah-Hartman
1094ab4382d2SGreg Kroah-Hartmanconfig SERIAL_GRLIB_GAISLER_APBUART_CONSOLE
1095ab4382d2SGreg Kroah-Hartman	bool "Console on GRLIB APBUART serial port"
1096ab4382d2SGreg Kroah-Hartman	depends on SERIAL_GRLIB_GAISLER_APBUART=y
1097ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
1098ab4382d2SGreg Kroah-Hartman	help
1099ab4382d2SGreg Kroah-Hartman	Support for running a console on the GRLIB APBUART
1100ab4382d2SGreg Kroah-Hartman
1101ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_JTAGUART
1102ab4382d2SGreg Kroah-Hartman	tristate "Altera JTAG UART support"
1103ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
1104ab4382d2SGreg Kroah-Hartman	help
1105ab4382d2SGreg Kroah-Hartman	  This driver supports the Altera JTAG UART port.
1106ab4382d2SGreg Kroah-Hartman
1107ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_JTAGUART_CONSOLE
1108ab4382d2SGreg Kroah-Hartman	bool "Altera JTAG UART console support"
1109ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ALTERA_JTAGUART=y
1110ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
11110dcc0542STobias Klauser	select SERIAL_EARLYCON
1112ab4382d2SGreg Kroah-Hartman	help
1113ab4382d2SGreg Kroah-Hartman	  Enable a Altera JTAG UART port to be the system console.
1114ab4382d2SGreg Kroah-Hartman
1115ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_JTAGUART_CONSOLE_BYPASS
1116ab4382d2SGreg Kroah-Hartman	bool "Bypass output when no connection"
1117ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ALTERA_JTAGUART_CONSOLE
1118ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
1119ab4382d2SGreg Kroah-Hartman	help
1120ab4382d2SGreg Kroah-Hartman	  Bypass console output and keep going even if there is no
1121ab4382d2SGreg Kroah-Hartman	  JTAG terminal connection with the host.
1122ab4382d2SGreg Kroah-Hartman
1123ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_UART
1124ab4382d2SGreg Kroah-Hartman	tristate "Altera UART support"
1125ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
1126ab4382d2SGreg Kroah-Hartman	help
1127ab4382d2SGreg Kroah-Hartman	  This driver supports the Altera softcore UART port.
1128ab4382d2SGreg Kroah-Hartman
1129ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_UART_MAXPORTS
1130ab4382d2SGreg Kroah-Hartman	int "Maximum number of Altera UART ports"
1131ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ALTERA_UART
1132ab4382d2SGreg Kroah-Hartman	default 4
1133ab4382d2SGreg Kroah-Hartman	help
1134ab4382d2SGreg Kroah-Hartman	  This setting lets you define the maximum number of the Altera
1135ab4382d2SGreg Kroah-Hartman	  UART ports. The usual default varies from board to board, and
1136ab4382d2SGreg Kroah-Hartman	  this setting is a way of catering for that.
1137ab4382d2SGreg Kroah-Hartman
1138ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_UART_BAUDRATE
1139ab4382d2SGreg Kroah-Hartman	int "Default baudrate for Altera UART ports"
1140ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ALTERA_UART
1141ab4382d2SGreg Kroah-Hartman	default 115200
1142ab4382d2SGreg Kroah-Hartman	help
1143ab4382d2SGreg Kroah-Hartman	  This setting lets you define what the default baudrate is for the
1144ab4382d2SGreg Kroah-Hartman	  Altera UART ports. The usual default varies from board to board,
1145ab4382d2SGreg Kroah-Hartman	  and this setting is a way of catering for that.
1146ab4382d2SGreg Kroah-Hartman
1147ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_UART_CONSOLE
1148ab4382d2SGreg Kroah-Hartman	bool "Altera UART console support"
1149ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ALTERA_UART=y
1150ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
11514d9d7d89STobias Klauser	select SERIAL_EARLYCON
1152ab4382d2SGreg Kroah-Hartman	help
1153ab4382d2SGreg Kroah-Hartman	  Enable a Altera UART port to be the system console.
1154ab4382d2SGreg Kroah-Hartman
1155ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PCH_UART
11568249f743STomoya MORINAGA	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) UART"
11577789e5a2SZubair Lutfullah Kakakhel	depends on PCI && (X86_32 || MIPS ||  COMPILE_TEST)
1158ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
1159ab4382d2SGreg Kroah-Hartman	help
1160ab4382d2SGreg Kroah-Hartman	  This driver is for PCH(Platform controller Hub) UART of Intel EG20T
1161ab4382d2SGreg Kroah-Hartman	  which is an IOH(Input/Output Hub) for x86 embedded processor.
1162ab4382d2SGreg Kroah-Hartman	  Enabling PCH_DMA, this PCH UART works as DMA mode.
11634564e1efSTomoya MORINAGA
11648249f743STomoya MORINAGA	  This driver also can be used for LAPIS Semiconductor IOH(Input/
11658249f743STomoya MORINAGA	  Output Hub), ML7213, ML7223 and ML7831.
11668249f743STomoya MORINAGA	  ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
11678249f743STomoya MORINAGA	  for MP(Media Phone) use and ML7831 IOH is for general purpose use.
11688249f743STomoya MORINAGA	  ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
11698249f743STomoya MORINAGA	  ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
1170daaf6ff4SNiranjana Vishwanathapura
1171e30f867dSAlexander Steinconfig SERIAL_PCH_UART_CONSOLE
1172e30f867dSAlexander Stein	bool "Support for console on Intel EG20T PCH UART/OKI SEMICONDUCTOR ML7213 IOH"
1173e30f867dSAlexander Stein	depends on SERIAL_PCH_UART=y
1174e30f867dSAlexander Stein	select SERIAL_CORE_CONSOLE
1175e30f867dSAlexander Stein	help
1176e30f867dSAlexander Stein	  Say Y here if you wish to use the PCH UART as the system console
1177e30f867dSAlexander Stein	  (the system  console is the device which receives all kernel messages and
1178e30f867dSAlexander Stein	  warnings and which allows logins in single user mode).
1179e30f867dSAlexander Stein
1180f19693a1SSascha Hauerconfig SERIAL_MXS_AUART
1181f19693a1SSascha Hauer	tristate "MXS AUART support"
1182254da0d7SOleksij Rempel	depends on ARCH_MXS || MACH_ASM9260 || COMPILE_TEST
1183f19693a1SSascha Hauer	select SERIAL_CORE
11847c573d7eSJanusz Uzycki	select SERIAL_MCTRL_GPIO if GPIOLIB
1185f19693a1SSascha Hauer	help
1186254da0d7SOleksij Rempel	  This driver supports the MXS and Alphascale ASM9260 Application
1187254da0d7SOleksij Rempel	  UART (AUART) port.
1188f19693a1SSascha Hauer
1189f19693a1SSascha Hauerconfig SERIAL_MXS_AUART_CONSOLE
1190f19693a1SSascha Hauer	bool "MXS AUART console support"
1191f19693a1SSascha Hauer	depends on SERIAL_MXS_AUART=y
1192f19693a1SSascha Hauer	select SERIAL_CORE_CONSOLE
1193f19693a1SSascha Hauer	help
1194f19693a1SSascha Hauer	  Enable a MXS AUART port to be the system console.
1195f19693a1SSascha Hauer
119661ec9016SJohn Linnconfig SERIAL_XILINX_PS_UART
1197d9bb3fb1SSoren Brinkmann	tristate "Cadence (Xilinx Zynq) UART support"
11984bb535d2SJosh Cartwright	depends on OF
119961ec9016SJohn Linn	select SERIAL_CORE
120061ec9016SJohn Linn	help
1201d9bb3fb1SSoren Brinkmann	  This driver supports the Cadence UART. It is found e.g. in Xilinx
1202d9bb3fb1SSoren Brinkmann	  Zynq.
120361ec9016SJohn Linn
120461ec9016SJohn Linnconfig SERIAL_XILINX_PS_UART_CONSOLE
1205d9bb3fb1SSoren Brinkmann	bool "Cadence UART console support"
120661ec9016SJohn Linn	depends on SERIAL_XILINX_PS_UART=y
120761ec9016SJohn Linn	select SERIAL_CORE_CONSOLE
12086fa62fc4SMichal Simek	select SERIAL_EARLYCON
120961ec9016SJohn Linn	help
1210d9bb3fb1SSoren Brinkmann	  Enable a Cadence UART port to be the system console.
121161ec9016SJohn Linn
1212d57f341bSGabor Juhosconfig SERIAL_AR933X
1213284301efSGabor Juhos	tristate "AR933X serial port support"
1214e3e7b13bSJiri Slaby	depends on (HAVE_CLK && ATH79) || (MIPS && COMPILE_TEST)
1215d57f341bSGabor Juhos	select SERIAL_CORE
12169be1064fSDaniel Golle	select SERIAL_MCTRL_GPIO if GPIOLIB
1217d57f341bSGabor Juhos	help
1218d57f341bSGabor Juhos	  If you have an Atheros AR933X SOC based board and want to use the
1219d57f341bSGabor Juhos	  built-in UART of the SoC, say Y to this option.
1220d57f341bSGabor Juhos
1221284301efSGabor Juhos	  To compile this driver as a module, choose M here: the
1222284301efSGabor Juhos	  module will be called ar933x_uart.
1223284301efSGabor Juhos
1224d57f341bSGabor Juhosconfig SERIAL_AR933X_CONSOLE
1225d57f341bSGabor Juhos	bool "Console on AR933X serial port"
1226d57f341bSGabor Juhos	depends on SERIAL_AR933X=y
1227d57f341bSGabor Juhos	select SERIAL_CORE_CONSOLE
1228d57f341bSGabor Juhos	help
1229d57f341bSGabor Juhos	  Enable a built-in UART port of the AR933X to be the system console.
1230d57f341bSGabor Juhos
1231d57f341bSGabor Juhosconfig SERIAL_AR933X_NR_UARTS
1232d57f341bSGabor Juhos	int "Maximum number of AR933X serial ports"
1233d57f341bSGabor Juhos	depends on SERIAL_AR933X
1234d57f341bSGabor Juhos	default "2"
1235d57f341bSGabor Juhos	help
1236d57f341bSGabor Juhos	  Set this to the number of serial ports you want the driver
1237d57f341bSGabor Juhos	  to support.
1238d57f341bSGabor Juhos
1239041f031dSVladimir Murzinconfig SERIAL_MPS2_UART_CONSOLE
1240041f031dSVladimir Murzin	bool "MPS2 UART console support"
1241041f031dSVladimir Murzin	depends on SERIAL_MPS2_UART
1242041f031dSVladimir Murzin	select SERIAL_CORE_CONSOLE
1243bd8d257fSVladimir Murzin	select SERIAL_EARLYCON
1244041f031dSVladimir Murzin
1245041f031dSVladimir Murzinconfig SERIAL_MPS2_UART
1246041f031dSVladimir Murzin	bool "MPS2 UART port"
12473e5af8e0SGeert Uytterhoeven	depends on ARCH_MPS2 || COMPILE_TEST
1248041f031dSVladimir Murzin	select SERIAL_CORE
1249041f031dSVladimir Murzin	help
1250041f031dSVladimir Murzin	  This driver support the UART ports on ARM MPS2.
1251041f031dSVladimir Murzin
12522ac4ad2aSVineet Guptaconfig SERIAL_ARC
12532ac4ad2aSVineet Gupta	tristate "ARC UART driver support"
12542ac4ad2aSVineet Gupta	select SERIAL_CORE
12552ac4ad2aSVineet Gupta	help
12562ac4ad2aSVineet Gupta	  Driver for on-chip UART for ARC(Synopsys) for the legacy
12572ac4ad2aSVineet Gupta	  FPGA Boards (ML50x/ARCAngel4)
12582ac4ad2aSVineet Gupta
12592ac4ad2aSVineet Guptaconfig SERIAL_ARC_CONSOLE
12602ac4ad2aSVineet Gupta	bool "Console on ARC UART"
12612ac4ad2aSVineet Gupta	depends on SERIAL_ARC=y
12622ac4ad2aSVineet Gupta	select SERIAL_CORE_CONSOLE
126327cfe4ecSVineet Gupta	select SERIAL_EARLYCON
12642ac4ad2aSVineet Gupta	help
12652ac4ad2aSVineet Gupta	  Enable system Console on ARC UART
12662ac4ad2aSVineet Gupta
12672ac4ad2aSVineet Guptaconfig SERIAL_ARC_NR_PORTS
12682ac4ad2aSVineet Gupta	int "Number of ARC UART ports"
12692ac4ad2aSVineet Gupta	depends on SERIAL_ARC
12702ac4ad2aSVineet Gupta	range 1 3
12712ac4ad2aSVineet Gupta	default "1"
12722ac4ad2aSVineet Gupta	help
12732ac4ad2aSVineet Gupta	  Set this to the number of serial ports you want the driver
12742ac4ad2aSVineet Gupta	  to support.
12752ac4ad2aSVineet Gupta
12767d9f49afSKevin Cernekeeconfig SERIAL_RP2
12777d9f49afSKevin Cernekee	tristate "Comtrol RocketPort EXPRESS/INFINITY support"
12787d9f49afSKevin Cernekee	depends on PCI
12797d9f49afSKevin Cernekee	select SERIAL_CORE
12807d9f49afSKevin Cernekee	help
12817d9f49afSKevin Cernekee	  This driver supports the Comtrol RocketPort EXPRESS and
12827d9f49afSKevin Cernekee	  RocketPort INFINITY families of PCI/PCIe multiport serial adapters.
12837d9f49afSKevin Cernekee	  These adapters use a "RocketPort 2" ASIC that is not compatible
12847d9f49afSKevin Cernekee	  with the original RocketPort driver (CONFIG_ROCKETPORT).
12857d9f49afSKevin Cernekee
12867d9f49afSKevin Cernekee	  To compile this driver as a module, choose M here: the
12877d9f49afSKevin Cernekee	  module will be called rp2.
12887d9f49afSKevin Cernekee
12897d9f49afSKevin Cernekee	  If you want to compile this driver into the kernel, say Y here.  If
12907d9f49afSKevin Cernekee	  you don't have a suitable RocketPort card installed, say N.
12917d9f49afSKevin Cernekee
12927d9f49afSKevin Cernekeeconfig SERIAL_RP2_NR_UARTS
12937d9f49afSKevin Cernekee	int "Maximum number of RocketPort EXPRESS/INFINITY ports"
12947d9f49afSKevin Cernekee	depends on SERIAL_RP2
12957d9f49afSKevin Cernekee	default "32"
12967d9f49afSKevin Cernekee	help
12977d9f49afSKevin Cernekee	  If multiple cards are present, the default limit of 32 ports may
12987d9f49afSKevin Cernekee	  need to be increased.
12997d9f49afSKevin Cernekee
1300c9e2e946SJingchang Luconfig SERIAL_FSL_LPUART
1301c9e2e946SJingchang Lu	tristate "Freescale lpuart serial port support"
1302ac623914SGeert Uytterhoeven	depends on HAS_DMA
1303c9e2e946SJingchang Lu	select SERIAL_CORE
1304c9e2e946SJingchang Lu	help
1305c9e2e946SJingchang Lu	  Support for the on-chip lpuart on some Freescale SOCs.
1306c9e2e946SJingchang Lu
1307c9e2e946SJingchang Luconfig SERIAL_FSL_LPUART_CONSOLE
1308c9e2e946SJingchang Lu	bool "Console on Freescale lpuart serial port"
13092d638be7STom Rix	depends on SERIAL_FSL_LPUART=y
1310c9e2e946SJingchang Lu	select SERIAL_CORE_CONSOLE
1311bec8bf61SPeter Hurley	select SERIAL_EARLYCON
1312c9e2e946SJingchang Lu	help
1313c9e2e946SJingchang Lu	  If you have enabled the lpuart serial port on the Freescale SoCs,
1314c9e2e946SJingchang Lu	  you can make it the console by answering Y to this option.
1315c9e2e946SJingchang Lu
131609864c1cSStefan-gabriel Mireaconfig SERIAL_FSL_LINFLEXUART
13179905f32aSStefan-Gabriel Mirea	tristate "Freescale LINFlexD UART serial port support"
1318c140e97fSMao Wenan	depends on PRINTK
131909864c1cSStefan-gabriel Mirea	select SERIAL_CORE
132009864c1cSStefan-gabriel Mirea	help
13219905f32aSStefan-Gabriel Mirea	  Support for the on-chip LINFlexD UART on some Freescale SOCs.
132209864c1cSStefan-gabriel Mirea
132309864c1cSStefan-gabriel Mireaconfig SERIAL_FSL_LINFLEXUART_CONSOLE
13249905f32aSStefan-Gabriel Mirea	bool "Console on Freescale LINFlexD UART serial port"
132509864c1cSStefan-gabriel Mirea	depends on SERIAL_FSL_LINFLEXUART=y
132609864c1cSStefan-gabriel Mirea	select SERIAL_CORE_CONSOLE
132709864c1cSStefan-gabriel Mirea	select SERIAL_EARLYCON
132809864c1cSStefan-gabriel Mirea	help
13299905f32aSStefan-Gabriel Mirea	  If you have enabled the LINFlexD UART serial port on the Freescale
133009864c1cSStefan-gabriel Mirea	  SoCs, you can make it the console by answering Y to this option.
133109864c1cSStefan-gabriel Mirea
13325930cb35SBaruch Siachconfig SERIAL_CONEXANT_DIGICOLOR
13335930cb35SBaruch Siach	tristate "Conexant Digicolor CX92xxx USART serial port support"
13345930cb35SBaruch Siach	depends on OF
13355930cb35SBaruch Siach	select SERIAL_CORE
13365930cb35SBaruch Siach	help
13375930cb35SBaruch Siach	  Support for the on-chip USART on Conexant Digicolor SoCs.
13385930cb35SBaruch Siach
13395930cb35SBaruch Siachconfig SERIAL_CONEXANT_DIGICOLOR_CONSOLE
13405930cb35SBaruch Siach	bool "Console on Conexant Digicolor serial port"
13415930cb35SBaruch Siach	depends on SERIAL_CONEXANT_DIGICOLOR=y
13425930cb35SBaruch Siach	select SERIAL_CORE_CONSOLE
13435930cb35SBaruch Siach	help
13445930cb35SBaruch Siach	  If you have enabled the USART serial port on Conexant Digicolor
13455930cb35SBaruch Siach	  SoCs, you can make it the console by answering Y to this option.
13465930cb35SBaruch Siach
1347c4b05856SSrinivas Kandagatlaconfig SERIAL_ST_ASC
1348c4b05856SSrinivas Kandagatla	tristate "ST ASC serial port support"
1349c4b05856SSrinivas Kandagatla	select SERIAL_CORE
1350965e260aSDave Jones	depends on ARM || COMPILE_TEST
1351c4b05856SSrinivas Kandagatla	help
1352e94159dfSColin Ian King	  This driver is for the on-chip Asynchronous Serial Controller on
1353c4b05856SSrinivas Kandagatla	  STMicroelectronics STi SoCs.
1354c4b05856SSrinivas Kandagatla	  ASC is embedded in ST COMMS IP block. It supports Rx & Tx functionality.
1355c4b05856SSrinivas Kandagatla	  It support all industry standard baud rates.
1356c4b05856SSrinivas Kandagatla
1357c4b05856SSrinivas Kandagatla	  If unsure, say N.
1358c4b05856SSrinivas Kandagatla
1359c4b05856SSrinivas Kandagatlaconfig SERIAL_ST_ASC_CONSOLE
1360c4b05856SSrinivas Kandagatla	bool "Support for console on ST ASC"
1361c4b05856SSrinivas Kandagatla	depends on SERIAL_ST_ASC=y
1362c4b05856SSrinivas Kandagatla	select SERIAL_CORE_CONSOLE
1363c4b05856SSrinivas Kandagatla
1364e264ebf4SJohannes Thumshirnconfig SERIAL_MEN_Z135
1365e264ebf4SJohannes Thumshirn	tristate "MEN 16z135 Support"
1366717e1cb2SArnd Bergmann	select SERIAL_CORE
1367e264ebf4SJohannes Thumshirn	depends on MCB
1368e264ebf4SJohannes Thumshirn	help
1369e264ebf4SJohannes Thumshirn	  Say yes here to enable support for the MEN 16z135 High Speed UART IP-Core
1370e264ebf4SJohannes Thumshirn	  on a MCB carrier.
1371e264ebf4SJohannes Thumshirn
1372e264ebf4SJohannes Thumshirn	  This driver can also be build as a module. If so, the module will be called
1373e264ebf4SJohannes Thumshirn	  men_z135_uart.ko
1374e264ebf4SJohannes Thumshirn
1375b7396a38SChunyan Zhangconfig SERIAL_SPRD
1376b7396a38SChunyan Zhang	tristate "Support for Spreadtrum serial"
1377b7396a38SChunyan Zhang	select SERIAL_CORE
13783b9c55efSChunyan Zhang	depends on COMMON_CLK
1379b7396a38SChunyan Zhang	help
1380b7396a38SChunyan Zhang	  This enables the driver for the Spreadtrum's serial.
1381b7396a38SChunyan Zhang
1382b7396a38SChunyan Zhangconfig SERIAL_SPRD_CONSOLE
1383b7396a38SChunyan Zhang	bool "Spreadtrum UART console support"
1384b7396a38SChunyan Zhang	depends on SERIAL_SPRD=y
1385b7396a38SChunyan Zhang	select SERIAL_CORE_CONSOLE
1386b7396a38SChunyan Zhang	select SERIAL_EARLYCON
1387b7396a38SChunyan Zhang	help
1388b7396a38SChunyan Zhang	  Support for early debug console using Spreadtrum's serial. This enables
1389b7396a38SChunyan Zhang	  the console before standard serial driver is probed. This is enabled
1390b7396a38SChunyan Zhang	  with "earlycon" on the kernel command line. The console is
1391b7396a38SChunyan Zhang	  enabled when early_param is processed.
1392b7396a38SChunyan Zhang
139348a6092fSMaxime Coquelinconfig SERIAL_STM32
139448a6092fSMaxime Coquelin	tristate "STMicroelectronics STM32 serial port support"
139548a6092fSMaxime Coquelin	select SERIAL_CORE
1396adcb05f0SPeter Robinson	depends on ARCH_STM32 || COMPILE_TEST
13976cf61b9bSManivannan Sadhasivam	select SERIAL_MCTRL_GPIO if GPIOLIB
139848a6092fSMaxime Coquelin	help
139948a6092fSMaxime Coquelin	  This driver is for the on-chip Serial Controller on
140048a6092fSMaxime Coquelin	  STMicroelectronics STM32 MCUs.
140148a6092fSMaxime Coquelin	  USART supports Rx & Tx functionality.
140248a6092fSMaxime Coquelin	  It support all industry standard baud rates.
140348a6092fSMaxime Coquelin
140448a6092fSMaxime Coquelin	  If unsure, say N.
140548a6092fSMaxime Coquelin
140648a6092fSMaxime Coquelinconfig SERIAL_STM32_CONSOLE
140748a6092fSMaxime Coquelin	bool "Support for console on STM32"
140848a6092fSMaxime Coquelin	depends on SERIAL_STM32=y
140948a6092fSMaxime Coquelin	select SERIAL_CORE_CONSOLE
14108043b16fSValentin Caron	select SERIAL_EARLYCON
141148a6092fSMaxime Coquelin
141230530791SWilson Dingconfig SERIAL_MVEBU_UART
141330530791SWilson Ding	bool "Marvell EBU serial port support"
14143d23b4c3SGeert Uytterhoeven	depends on ARCH_MVEBU || COMPILE_TEST
1415b7e2b536SPali Rohár	depends on COMMON_CLK
141630530791SWilson Ding	select SERIAL_CORE
141730530791SWilson Ding	help
141830530791SWilson Ding	  This driver is for Marvell EBU SoC's UART. If you have a machine
141930530791SWilson Ding	  based on the Armada-3700 SoC and wish to use the on-board serial
142030530791SWilson Ding	  port,
142130530791SWilson Ding	  say 'Y' here.
142230530791SWilson Ding	  Otherwise, say 'N'.
142330530791SWilson Ding
142430530791SWilson Dingconfig SERIAL_MVEBU_CONSOLE
142530530791SWilson Ding	bool "Console on Marvell EBU serial port"
142630530791SWilson Ding	depends on SERIAL_MVEBU_UART
142730530791SWilson Ding	select SERIAL_CORE_CONSOLE
142830530791SWilson Ding	select SERIAL_EARLYCON
142930530791SWilson Ding	default y
143030530791SWilson Ding	help
143130530791SWilson Ding	  Say 'Y' here if you wish to use Armada-3700 UART as the system console.
143230530791SWilson Ding	  (the system console is the device which receives all kernel messages
143330530791SWilson Ding	  and warnings and which allows logins in single user mode)
143430530791SWilson Ding	  Otherwise, say 'N'.
143530530791SWilson Ding
1436e36361d7SAndreas Färberconfig SERIAL_OWL
1437fc60a8b6SAndreas Färber	tristate "Actions Semi Owl serial port support"
1438e36361d7SAndreas Färber	depends on ARCH_ACTIONS || COMPILE_TEST
1439e36361d7SAndreas Färber	select SERIAL_CORE
1440e36361d7SAndreas Färber	help
1441e36361d7SAndreas Färber	  This driver is for Actions Semiconductor S500/S900 SoC's UART.
1442e36361d7SAndreas Färber	  Say 'Y' here if you wish to use the on-board serial port.
1443e36361d7SAndreas Färber	  Otherwise, say 'N'.
1444e36361d7SAndreas Färber
1445e36361d7SAndreas Färberconfig SERIAL_OWL_CONSOLE
1446e36361d7SAndreas Färber	bool "Console on Actions Semi Owl serial port"
1447e36361d7SAndreas Färber	depends on SERIAL_OWL=y
1448e36361d7SAndreas Färber	select SERIAL_CORE_CONSOLE
1449e36361d7SAndreas Färber	select SERIAL_EARLYCON
1450e36361d7SAndreas Färber	default y
1451e36361d7SAndreas Färber	help
1452e36361d7SAndreas Färber	  Say 'Y' here if you wish to use Actions Semiconductor S500/S900 UART
1453fc60a8b6SAndreas Färber	  as the system console.
1454e36361d7SAndreas Färber
1455c10b1332SManivannan Sadhasivamconfig SERIAL_RDA
1456c10b1332SManivannan Sadhasivam	bool "RDA Micro serial port support"
1457c10b1332SManivannan Sadhasivam	depends on ARCH_RDA || COMPILE_TEST
1458c10b1332SManivannan Sadhasivam	select SERIAL_CORE
1459c10b1332SManivannan Sadhasivam	help
1460c10b1332SManivannan Sadhasivam	  This driver is for RDA8810PL SoC's UART.
1461c10b1332SManivannan Sadhasivam	  Say 'Y' here if you wish to use the on-board serial port.
1462c10b1332SManivannan Sadhasivam	  Otherwise, say 'N'.
1463c10b1332SManivannan Sadhasivam
1464c10b1332SManivannan Sadhasivamconfig SERIAL_RDA_CONSOLE
1465c10b1332SManivannan Sadhasivam	bool "Console on RDA Micro serial port"
1466c10b1332SManivannan Sadhasivam	depends on SERIAL_RDA=y
1467c10b1332SManivannan Sadhasivam	select SERIAL_CORE_CONSOLE
1468c10b1332SManivannan Sadhasivam	select SERIAL_EARLYCON
1469c10b1332SManivannan Sadhasivam	default y
1470c10b1332SManivannan Sadhasivam	help
1471c10b1332SManivannan Sadhasivam	  Say 'Y' here if you wish to use the RDA8810PL UART as the system
1472c10b1332SManivannan Sadhasivam	  console. Only earlycon is implemented currently.
1473c10b1332SManivannan Sadhasivam
1474ba44dc04SSugaya Taichiconfig SERIAL_MILBEAUT_USIO
1475ba44dc04SSugaya Taichi	tristate "Milbeaut USIO/UART serial port support"
1476ba44dc04SSugaya Taichi	depends on ARCH_MILBEAUT || (COMPILE_TEST && OF)
1477ba44dc04SSugaya Taichi	default ARCH_MILBEAUT
1478ba44dc04SSugaya Taichi	select SERIAL_CORE
1479ba44dc04SSugaya Taichi	help
1480ba44dc04SSugaya Taichi	  This selects the USIO/UART IP found in Socionext Milbeaut SoCs.
1481ba44dc04SSugaya Taichi
1482ba44dc04SSugaya Taichiconfig SERIAL_MILBEAUT_USIO_PORTS
1483ba44dc04SSugaya Taichi	int "Maximum number of CSIO/UART ports (1-8)"
1484ba44dc04SSugaya Taichi	range 1 8
1485ba44dc04SSugaya Taichi	depends on SERIAL_MILBEAUT_USIO
1486ba44dc04SSugaya Taichi	default "4"
1487ba44dc04SSugaya Taichi
1488ba44dc04SSugaya Taichiconfig SERIAL_MILBEAUT_USIO_CONSOLE
1489ba44dc04SSugaya Taichi	bool "Support for console on MILBEAUT USIO/UART serial port"
1490ba44dc04SSugaya Taichi	depends on SERIAL_MILBEAUT_USIO=y
1491ba44dc04SSugaya Taichi	default y
1492ba44dc04SSugaya Taichi	select SERIAL_CORE_CONSOLE
1493ba44dc04SSugaya Taichi	select SERIAL_EARLYCON
1494ba44dc04SSugaya Taichi	help
1495ba44dc04SSugaya Taichi	  Say 'Y' here if you wish to use a USIO/UART of Socionext Milbeaut
1496ba44dc04SSugaya Taichi	  SoCs as the system console (the system console is the device which
1497ba44dc04SSugaya Taichi	  receives all kernel messages and warnings and which allows logins in
1498ba44dc04SSugaya Taichi	  single user mode).
1499ba44dc04SSugaya Taichi
15001da81e55SFilip Kokosinskiconfig SERIAL_LITEUART
15011da81e55SFilip Kokosinski	tristate "LiteUART serial port support"
15021da81e55SFilip Kokosinski	depends on HAS_IOMEM
150398a59cd2SJean Delvare	depends on OF
15040b993fc1SJohan Hovold	depends on LITEX || COMPILE_TEST
15051da81e55SFilip Kokosinski	select SERIAL_CORE
15061da81e55SFilip Kokosinski	help
15071da81e55SFilip Kokosinski	  This driver is for the FPGA-based LiteUART serial controller from LiteX
15081da81e55SFilip Kokosinski	  SoC builder.
15091da81e55SFilip Kokosinski
15101da81e55SFilip Kokosinski	  Say 'Y' or 'M' here if you wish to use the LiteUART serial controller.
15111da81e55SFilip Kokosinski	  Otherwise, say 'N'.
15121da81e55SFilip Kokosinski
15131da81e55SFilip Kokosinskiconfig SERIAL_LITEUART_MAX_PORTS
15141da81e55SFilip Kokosinski	int "Maximum number of LiteUART ports"
15151da81e55SFilip Kokosinski	depends on SERIAL_LITEUART
15161da81e55SFilip Kokosinski	default "1"
15171da81e55SFilip Kokosinski	help
15181da81e55SFilip Kokosinski	  Set this to the maximum number of serial ports you want the driver
15191da81e55SFilip Kokosinski	  to support.
15201da81e55SFilip Kokosinski
15211da81e55SFilip Kokosinskiconfig SERIAL_LITEUART_CONSOLE
15221da81e55SFilip Kokosinski	bool "LiteUART serial port console support"
15231da81e55SFilip Kokosinski	depends on SERIAL_LITEUART=y
15241da81e55SFilip Kokosinski	select SERIAL_CORE_CONSOLE
15254bc2bd5aSStafford Horne	select SERIAL_EARLYCON
15261da81e55SFilip Kokosinski	help
15271da81e55SFilip Kokosinski	  Say 'Y' or 'M' here if you wish to use the FPGA-based LiteUART serial
15281da81e55SFilip Kokosinski	  controller from LiteX SoC builder as the system console
15291da81e55SFilip Kokosinski	  (the system console is the device which receives all kernel messages
15301da81e55SFilip Kokosinski	  and warnings and which allows logins in single user mode).
15311da81e55SFilip Kokosinski	  Otherwise, say 'N'.
15321da81e55SFilip Kokosinski
15339e8d5470SHammer Hsiehconfig SERIAL_SUNPLUS
15349e8d5470SHammer Hsieh	tristate "Sunplus UART support"
15351a282ef0SGeert Uytterhoeven	depends on ARCH_SUNPLUS || COMPILE_TEST
15369e8d5470SHammer Hsieh	select SERIAL_CORE
15379e8d5470SHammer Hsieh	help
15389e8d5470SHammer Hsieh	  Select this option if you would like to use Sunplus serial port on
15399e8d5470SHammer Hsieh	  Sunplus SoC SP7021.
15409e8d5470SHammer Hsieh	  If you enable this option, Sunplus serial ports in the system will
15419e8d5470SHammer Hsieh	  be registered as ttySUPx.
15429e8d5470SHammer Hsieh	  This driver can also be built as a module. If so, the module will be
15439e8d5470SHammer Hsieh	  called sunplus-uart.
15449e8d5470SHammer Hsieh
15459e8d5470SHammer Hsiehconfig SERIAL_SUNPLUS_CONSOLE
15469e8d5470SHammer Hsieh	bool "Console on Sunplus UART"
15479e8d5470SHammer Hsieh	depends on SERIAL_SUNPLUS
15489e8d5470SHammer Hsieh	select SERIAL_CORE_CONSOLE
15499e8d5470SHammer Hsieh	select SERIAL_EARLYCON
15509e8d5470SHammer Hsieh	help
15519e8d5470SHammer Hsieh	  Select this option if you would like to use a Sunplus UART as the
15529e8d5470SHammer Hsieh	  system console.
15539e8d5470SHammer Hsieh	  Even if you say Y here, the currently visible virtual console
15549e8d5470SHammer Hsieh	  (/dev/tty0) will still be used as the system console by default, but
15559e8d5470SHammer Hsieh	  you can alter that using a kernel command line option such as
15569e8d5470SHammer Hsieh	  "console=ttySUPx".
15579e8d5470SHammer Hsieh
1558930cbf92SJacky Huangconfig SERIAL_NUVOTON_MA35D1
1559930cbf92SJacky Huang	tristate "Nuvoton MA35D1 family UART support"
1560930cbf92SJacky Huang	depends on ARCH_MA35 || COMPILE_TEST
1561930cbf92SJacky Huang	select SERIAL_CORE
1562930cbf92SJacky Huang	help
1563930cbf92SJacky Huang	  This driver supports Nuvoton MA35D1 family UART ports. If you would
1564930cbf92SJacky Huang	  like to use them, you must answer Y or M to this option. Note that
1565930cbf92SJacky Huang	  for use as console, it must be included in kernel and not as a
1566930cbf92SJacky Huang	  module. If you enable this option, Ma35D1 serial ports in the system
1567930cbf92SJacky Huang	  will be registered as ttyNVTx.
1568930cbf92SJacky Huang
1569930cbf92SJacky Huangconfig SERIAL_NUVOTON_MA35D1_CONSOLE
1570930cbf92SJacky Huang	bool "Console on a Nuvotn MA35D1 family UART port"
1571930cbf92SJacky Huang	depends on SERIAL_NUVOTON_MA35D1=y
1572930cbf92SJacky Huang	select SERIAL_CORE_CONSOLE
1573930cbf92SJacky Huang	help
1574930cbf92SJacky Huang	  Select this options if you'd like to use the UART port0 of the
1575930cbf92SJacky Huang	  Nuvoton MA35D1 family as a console.
1576930cbf92SJacky Huang	  Even if you say Y here, the currently visible virtual console
1577930cbf92SJacky Huang	  (/dev/tty0) will still be used as the system console by default,
1578930cbf92SJacky Huang	  but you can alter that using a kernel command line option such as
1579930cbf92SJacky Huang	  "console=ttyNVTx".
1580930cbf92SJacky Huang
15818cc89a22SMax Filippovconfig SERIAL_ESP32
15828cc89a22SMax Filippov	tristate "Espressif ESP32 UART support"
15838cc89a22SMax Filippov	depends on XTENSA_PLATFORM_ESP32 || (COMPILE_TEST && OF)
15848cc89a22SMax Filippov	select SERIAL_CORE
15858cc89a22SMax Filippov	select SERIAL_CORE_CONSOLE
15868cc89a22SMax Filippov	select SERIAL_EARLYCON
15878cc89a22SMax Filippov	help
15888cc89a22SMax Filippov	  Driver for the UART controllers of the Espressif ESP32xx SoCs.
15898cc89a22SMax Filippov	  When earlycon option is enabled the following kernel command line
15908cc89a22SMax Filippov	  snippets may be used:
15918cc89a22SMax Filippov	    earlycon=esp32s3uart,mmio32,0x60000000,115200n8,40000000
15928cc89a22SMax Filippov	    earlycon=esp32uart,mmio32,0x3ff40000,115200n8
15938cc89a22SMax Filippov
1594b0c9a045SMax Filippovconfig SERIAL_ESP32_ACM
1595b0c9a045SMax Filippov	tristate "Espressif ESP32 USB ACM gadget support"
1596b0c9a045SMax Filippov	depends on XTENSA_PLATFORM_ESP32 || (COMPILE_TEST && OF)
1597b0c9a045SMax Filippov	select SERIAL_CORE
1598b0c9a045SMax Filippov	select SERIAL_CORE_CONSOLE
1599b0c9a045SMax Filippov	select SERIAL_EARLYCON
1600b0c9a045SMax Filippov	help
1601b0c9a045SMax Filippov	  Driver for the CDC ACM gadget controller of the Espressif ESP32S3
1602b0c9a045SMax Filippov	  SoCs that share separate USB controller with the JTAG adapter.
1603b0c9a045SMax Filippov	  When earlycon option is enabled the following kernel command line
1604b0c9a045SMax Filippov	  snippet may be used:
1605b0c9a045SMax Filippov	    earlycon=esp32s3acm,mmio32,0x60038000
1606b0c9a045SMax Filippov
1607ab4382d2SGreg Kroah-Hartmanendmenu
16084f73bc4dSJoe Millenbach
160984130aacSRichard Genoudconfig SERIAL_MCTRL_GPIO
161084130aacSRichard Genoud	tristate
1611