xref: /linux/drivers/tty/serial/Kconfig (revision 0b993fc1fec7b43a75b875763dc58c5940eea47a)
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
76d50d7269SRob Herringconfig SERIAL_EARLYCON_ARM_SEMIHOST
77d50d7269SRob Herring	bool "Early console using ARM semihosting"
78d50d7269SRob Herring	depends on ARM64 || ARM
79717e1cb2SArnd Bergmann	select SERIAL_CORE
80717e1cb2SArnd Bergmann	select SERIAL_CORE_CONSOLE
81d50d7269SRob Herring	select SERIAL_EARLYCON
82d50d7269SRob Herring	help
83d50d7269SRob Herring	  Support for early debug console using ARM semihosting. This enables
84d50d7269SRob Herring	  the console before standard serial driver is probed. This is enabled
85d50d7269SRob Herring	  with "earlycon=smh" on the kernel command line. The console is
86d50d7269SRob Herring	  enabled when early_param is processed.
87d50d7269SRob Herring
8827de1f54SAnup Patelconfig SERIAL_EARLYCON_RISCV_SBI
8927de1f54SAnup Patel	bool "Early console using RISC-V SBI"
90f9d89c94SKefeng Wang	depends on RISCV_SBI_V01
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"
13072ce5732SAndy Shevchenko	depends on ARCH_AT91 || COMPILE_TEST
131ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
132c8d1f022SUwe Kleine-König	select SERIAL_MCTRL_GPIO if GPIOLIB
133c24d2531SRadu Pirea	select MFD_AT91_USART
134ab4382d2SGreg Kroah-Hartman	help
135ab4382d2SGreg Kroah-Hartman	  This enables the driver for the on-chip UARTs of the Atmel
13672ce5732SAndy Shevchenko	  AT91 processors.
137ab4382d2SGreg Kroah-Hartman
138ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ATMEL_CONSOLE
13972ce5732SAndy Shevchenko	bool "Support for console on AT91 serial port"
140ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ATMEL=y
141ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
142ab4382d2SGreg Kroah-Hartman	help
143ab4382d2SGreg Kroah-Hartman	  Say Y here if you wish to use an on-chip UART on a Atmel
14472ce5732SAndy Shevchenko	  AT91 processor as the system console (the system
145ab4382d2SGreg Kroah-Hartman	  console is the device which receives all kernel messages and
146ab4382d2SGreg Kroah-Hartman	  warnings and which allows logins in single user mode).
147ab4382d2SGreg Kroah-Hartman
148ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ATMEL_PDC
14972ce5732SAndy Shevchenko	bool "Support DMA transfers on AT91 serial port"
150ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ATMEL
151ab4382d2SGreg Kroah-Hartman	default y
152ab4382d2SGreg Kroah-Hartman	help
153ab4382d2SGreg Kroah-Hartman	  Say Y here if you wish to use the PDC to do DMA transfers to
15472ce5732SAndy Shevchenko	  and from the Atmel AT91 serial port. In order to
155ab4382d2SGreg Kroah-Hartman	  actually use DMA transfers, make sure that the use_dma_tx
156ab4382d2SGreg Kroah-Hartman	  and use_dma_rx members in the atmel_uart_data struct is set
157ab4382d2SGreg Kroah-Hartman	  appropriately for each port.
158ab4382d2SGreg Kroah-Hartman
159ab4382d2SGreg Kroah-Hartman	  Note that break and error handling currently doesn't work
160ab4382d2SGreg Kroah-Hartman	  properly when DMA is enabled. Make sure that ports where
161ab4382d2SGreg Kroah-Hartman	  this matters don't use DMA.
162ab4382d2SGreg Kroah-Hartman
163ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ATMEL_TTYAT
164ab4382d2SGreg Kroah-Hartman	bool "Install as device ttyATn instead of ttySn"
165ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ATMEL=y
166ab4382d2SGreg Kroah-Hartman	help
16772ce5732SAndy Shevchenko	  Say Y here if you wish to have the internal AT91 UARTs
168ab4382d2SGreg Kroah-Hartman	  appear as /dev/ttyATn (major 204, minor starting at 154)
169ab4382d2SGreg Kroah-Hartman	  instead of the normal /dev/ttySn (major 4, minor starting at
170ab4382d2SGreg Kroah-Hartman	  64). This is necessary if you also want other UARTs, such as
171ab4382d2SGreg Kroah-Hartman	  external 8250/16C550 compatible UARTs.
172ab4382d2SGreg Kroah-Hartman	  The ttySn nodes are legally reserved for the 8250 serial driver
173ab4382d2SGreg Kroah-Hartman	  but are often misused by other serial drivers.
174ab4382d2SGreg Kroah-Hartman
175ab4382d2SGreg Kroah-Hartman	  To use this, you should create suitable ttyATn device nodes in
176ab4382d2SGreg Kroah-Hartman	  /dev/, and pass "console=ttyATn" to the kernel.
177ab4382d2SGreg Kroah-Hartman
178ab4382d2SGreg Kroah-Hartman	  Say Y if you have an external 8250/16C550 UART.  If unsure, say N.
179ab4382d2SGreg Kroah-Hartman
1800c57dfccSAnton Vorontsovconfig SERIAL_KGDB_NMI
1810c57dfccSAnton Vorontsov	bool "Serial console over KGDB NMI debugger port"
1820c57dfccSAnton Vorontsov	depends on KGDB_SERIAL_CONSOLE
1830c57dfccSAnton Vorontsov	help
1840c57dfccSAnton Vorontsov	  This special driver allows you to temporary use NMI debugger port
1850c57dfccSAnton Vorontsov	  as a normal console (assuming that the port is attached to KGDB).
1860c57dfccSAnton Vorontsov
1870c57dfccSAnton Vorontsov	  Unlike KDB's disable_nmi command, with this driver you are always
1880c57dfccSAnton Vorontsov	  able to go back to the debugger using KGDB escape sequence ($3#33).
1890c57dfccSAnton Vorontsov	  This is because this console driver processes the input in NMI
1900c57dfccSAnton Vorontsov	  context, and thus is able to intercept the magic sequence.
1910c57dfccSAnton Vorontsov
1920c57dfccSAnton Vorontsov	  Note that since the console interprets input and uses polling
1930c57dfccSAnton Vorontsov	  communication methods, for things like PPP you still must fully
1940c57dfccSAnton Vorontsov	  detach debugger port from the KGDB NMI (i.e. disable_nmi), and
1950c57dfccSAnton Vorontsov	  use raw console.
1960c57dfccSAnton Vorontsov
1970c57dfccSAnton Vorontsov	  If unsure, say N.
1980c57dfccSAnton Vorontsov
199ff7693d0SCarlo Caioneconfig SERIAL_MESON
200ff7693d0SCarlo Caione	tristate "Meson serial port support"
2018720037dSJohan Hovold	depends on ARCH_MESON || COMPILE_TEST
202ff7693d0SCarlo Caione	select SERIAL_CORE
203ff7693d0SCarlo Caione	help
204ff7693d0SCarlo Caione	  This enables the driver for the on-chip UARTs of the Amlogic
205ff7693d0SCarlo Caione	  MesonX processors.
206ff7693d0SCarlo Caione
207ff7693d0SCarlo Caioneconfig SERIAL_MESON_CONSOLE
208ff7693d0SCarlo Caione	bool "Support for console on meson"
20987a0b9f9SKevin Hilman	depends on SERIAL_MESON
210ff7693d0SCarlo Caione	select SERIAL_CORE_CONSOLE
211736d5538SAndreas Färber	select SERIAL_EARLYCON
212ff7693d0SCarlo Caione	help
213ff7693d0SCarlo Caione	  Say Y here if you wish to use a Amlogic MesonX UART as the
214ff7693d0SCarlo Caione	  system console (the system console is the device which
215ff7693d0SCarlo Caione	  receives all kernel messages and warnings and which allows
216ff7693d0SCarlo Caione	  logins in single user mode) as /dev/ttyAMLx.
217ff7693d0SCarlo Caione
218ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CLPS711X
219ab4382d2SGreg Kroah-Hartman	tristate "CLPS711X serial port support"
220093a9e2aSAlexander Shiyan	depends on ARCH_CLPS711X || COMPILE_TEST
221ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
222efb08951SAlexander Shiyan	select SERIAL_MCTRL_GPIO if GPIOLIB
223ab4382d2SGreg Kroah-Hartman	help
224b53cc0faSAlexander Shiyan	  This enables the driver for the on-chip UARTs of the Cirrus
225b53cc0faSAlexander Shiyan	  Logic EP711x/EP721x/EP731x processors.
226ab4382d2SGreg Kroah-Hartman
227ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CLPS711X_CONSOLE
228ab4382d2SGreg Kroah-Hartman	bool "Support for console on CLPS711X serial port"
229ab4382d2SGreg Kroah-Hartman	depends on SERIAL_CLPS711X=y
230ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
231ab4382d2SGreg Kroah-Hartman	help
232ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
233ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
234ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
235b53cc0faSAlexander Shiyan	  "console=ttyCL1".
236ab4382d2SGreg Kroah-Hartman
237ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SAMSUNG
238ab4382d2SGreg Kroah-Hartman	tristate "Samsung SoC serial support"
239fcbba344SHector Martin	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_APPLE || COMPILE_TEST
240ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
241ab4382d2SGreg Kroah-Hartman	help
242e01f9125SKrzysztof Kozlowski	  Support for the on-chip UARTs on the Samsung
243e01f9125SKrzysztof Kozlowski	  S3C24xx/S3C64xx/S5Pv210/Exynos and Apple M1 SoCs, providing
244e01f9125SKrzysztof Kozlowski	  /dev/ttySAC0, 1 and 2 (note, some machines may not provide all of
245e01f9125SKrzysztof Kozlowski	  these ports, depending on how the serial port pins are configured.
246e01f9125SKrzysztof Kozlowski	  Choose Y/M here only if you build for such SoC.
247ab4382d2SGreg Kroah-Hartman
248ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SAMSUNG_UARTS_4
249ab4382d2SGreg Kroah-Hartman	bool
250edeeec85SPankaj Dubey	depends on SERIAL_SAMSUNG
251c51d41a1SPaul Bolle	default y if !(CPU_S3C2410 || CPU_S3C2412 || CPU_S3C2440 || CPU_S3C2442)
252ab4382d2SGreg Kroah-Hartman	help
253ab4382d2SGreg Kroah-Hartman	  Internal node for the common case of 4 Samsung compatible UARTs
254ab4382d2SGreg Kroah-Hartman
255ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SAMSUNG_UARTS
256ab4382d2SGreg Kroah-Hartman	int
257edeeec85SPankaj Dubey	depends on SERIAL_SAMSUNG
258da121506SThomas Abraham	default 4 if SERIAL_SAMSUNG_UARTS_4 || CPU_S3C2416
259ab4382d2SGreg Kroah-Hartman	default 3
260ab4382d2SGreg Kroah-Hartman	help
261ab4382d2SGreg Kroah-Hartman	  Select the number of available UART ports for the Samsung S3C
262ab4382d2SGreg Kroah-Hartman	  serial driver
263ab4382d2SGreg Kroah-Hartman
264ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SAMSUNG_CONSOLE
265ab4382d2SGreg Kroah-Hartman	bool "Support for console on Samsung SoC serial port"
266ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SAMSUNG=y
267ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
268357d5615SArnd Bergmann	select SERIAL_EARLYCON
269ab4382d2SGreg Kroah-Hartman	help
270ab4382d2SGreg Kroah-Hartman	  Allow selection of the S3C24XX on-board serial ports for use as
271ab4382d2SGreg Kroah-Hartman	  an virtual console.
272ab4382d2SGreg Kroah-Hartman
273ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
274ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
275ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
276ab4382d2SGreg Kroah-Hartman	  "console=ttySACx". (Try "man bootparam" or see the documentation of
277ab4382d2SGreg Kroah-Hartman	  your boot loader about how to pass options to the kernel at
278ab4382d2SGreg Kroah-Hartman	  boot time.)
279ab4382d2SGreg Kroah-Hartman
280e9ea096dSLaxman Dewanganconfig SERIAL_TEGRA
281e9ea096dSLaxman Dewangan	tristate "NVIDIA Tegra20/30 SoC serial controller"
2828720037dSJohan Hovold	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
283e9ea096dSLaxman Dewangan	select SERIAL_CORE
284e9ea096dSLaxman Dewangan	help
285e9ea096dSLaxman Dewangan	  Support for the on-chip UARTs on the NVIDIA Tegra series SOCs
2863bf5d350SRichard Zhao	  providing /dev/ttyTHS0, 1, 2, 3 and 4 (note, some machines may not
287e9ea096dSLaxman Dewangan	  provide all of these ports, depending on how the serial port
288e9ea096dSLaxman Dewangan	  are enabled). This driver uses the APB DMA to achieve higher baudrate
289e9ea096dSLaxman Dewangan	  and better performance.
290e9ea096dSLaxman Dewangan
2912d908b38SThierry Redingconfig SERIAL_TEGRA_TCU
2922d908b38SThierry Reding	tristate "NVIDIA Tegra Combined UART"
2938720037dSJohan Hovold	depends on MAILBOX
2948720037dSJohan Hovold	depends on (ARCH_TEGRA && TEGRA_HSP_MBOX) || COMPILE_TEST
2952d908b38SThierry Reding	select SERIAL_CORE
2962d908b38SThierry Reding	help
2972d908b38SThierry Reding	  Support for the mailbox-based TCU (Tegra Combined UART) serial port.
2982d908b38SThierry Reding	  TCU is a virtual serial port that allows multiplexing multiple data
2992d908b38SThierry Reding	  streams into a single hardware serial port.
3002d908b38SThierry Reding
3012d908b38SThierry Redingconfig SERIAL_TEGRA_TCU_CONSOLE
3022d908b38SThierry Reding	bool "Support for console on a Tegra TCU serial port"
3032d908b38SThierry Reding	depends on SERIAL_TEGRA_TCU=y
3042d908b38SThierry Reding	select SERIAL_CORE_CONSOLE
3052d908b38SThierry Reding	default y
306a7f7f624SMasahiro Yamada	help
3072d908b38SThierry Reding	  If you say Y here, it will be possible to use a the Tegra TCU as the
3082d908b38SThierry Reding	  system console (the system console is the device which receives all
3092d908b38SThierry Reding	  kernel messages and warnings and which allows logins in single user
3102d908b38SThierry Reding	  mode).
3112d908b38SThierry Reding
3122d908b38SThierry Reding	  If unsure, say Y.
3132d908b38SThierry Reding
314ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MAX3100
315ab4382d2SGreg Kroah-Hartman	tristate "MAX3100 support"
316ab4382d2SGreg Kroah-Hartman	depends on SPI
317ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
318ab4382d2SGreg Kroah-Hartman	help
319ab4382d2SGreg Kroah-Hartman	  MAX3100 chip support
320ab4382d2SGreg Kroah-Hartman
321f6544418SAlexander Shiyanconfig SERIAL_MAX310X
322d0fd413cSAlexander Shiyan	tristate "MAX310X support"
32310d8b34aSAlexander Shiyan	depends on SPI_MASTER
324ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
32510d8b34aSAlexander Shiyan	select REGMAP_SPI if SPI_MASTER
326ab4382d2SGreg Kroah-Hartman	help
327f6544418SAlexander Shiyan	  This selects support for an advanced UART from Maxim (Dallas).
328003236d9SAlexander Shiyan	  Supported ICs are MAX3107, MAX3108, MAX3109, MAX14830.
329f6544418SAlexander Shiyan	  Each IC contains 128 words each of receive and transmit FIFO
330f6544418SAlexander Shiyan	  that can be controlled through I2C or high-speed SPI.
331f6544418SAlexander Shiyan
332f6544418SAlexander Shiyan	  Say Y here if you want to support this ICs.
333ab4382d2SGreg Kroah-Hartman
334ab4382d2SGreg Kroah-Hartmanconfig SERIAL_DZ
335ab4382d2SGreg Kroah-Hartman	bool "DECstation DZ serial driver"
336ab4382d2SGreg Kroah-Hartman	depends on MACH_DECSTATION && 32BIT
337ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
338ab4382d2SGreg Kroah-Hartman	default y
339a7f7f624SMasahiro Yamada	help
340ab4382d2SGreg Kroah-Hartman	  DZ11-family serial controllers for DECstations and VAXstations,
341ab4382d2SGreg Kroah-Hartman	  including the DC7085, M7814, and M7819.
342ab4382d2SGreg Kroah-Hartman
343ab4382d2SGreg Kroah-Hartmanconfig SERIAL_DZ_CONSOLE
344ab4382d2SGreg Kroah-Hartman	bool "Support console on DECstation DZ serial driver"
345ab4382d2SGreg Kroah-Hartman	depends on SERIAL_DZ=y
346ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
347ab4382d2SGreg Kroah-Hartman	default y
348a7f7f624SMasahiro Yamada	help
349ab4382d2SGreg Kroah-Hartman	  If you say Y here, it will be possible to use a serial port as the
350ab4382d2SGreg Kroah-Hartman	  system console (the system console is the device which receives all
351ab4382d2SGreg Kroah-Hartman	  kernel messages and warnings and which allows logins in single user
352ab4382d2SGreg Kroah-Hartman	  mode).
353ab4382d2SGreg Kroah-Hartman
354ab4382d2SGreg Kroah-Hartman	  Note that the firmware uses ttyS3 as the serial console on
355ab4382d2SGreg Kroah-Hartman	  DECstations that use this driver.
356ab4382d2SGreg Kroah-Hartman
357ab4382d2SGreg Kroah-Hartman	  If unsure, say Y.
358ab4382d2SGreg Kroah-Hartman
359ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ZS
360ab4382d2SGreg Kroah-Hartman	tristate "DECstation Z85C30 serial support"
361ab4382d2SGreg Kroah-Hartman	depends on MACH_DECSTATION
362ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
363ab4382d2SGreg Kroah-Hartman	default y
364a7f7f624SMasahiro Yamada	help
365ab4382d2SGreg Kroah-Hartman	  Support for the Zilog 85C350 serial communications controller used
366ab4382d2SGreg Kroah-Hartman	  for serial ports in newer DECstation systems.  These include the
367ab4382d2SGreg Kroah-Hartman	  DECsystem 5900 and all models of the DECstation and DECsystem 5000
368ab4382d2SGreg Kroah-Hartman	  systems except from model 200.
369ab4382d2SGreg Kroah-Hartman
370ab4382d2SGreg Kroah-Hartman	  If unsure, say Y.  To compile this driver as a module, choose M here:
371ab4382d2SGreg Kroah-Hartman	  the module will be called zs.
372ab4382d2SGreg Kroah-Hartman
373ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ZS_CONSOLE
374ab4382d2SGreg Kroah-Hartman	bool "Support for console on a DECstation Z85C30 serial port"
375ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ZS=y
376ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
377ab4382d2SGreg Kroah-Hartman	default y
378a7f7f624SMasahiro Yamada	help
379ab4382d2SGreg Kroah-Hartman	  If you say Y here, it will be possible to use a serial port as the
380ab4382d2SGreg Kroah-Hartman	  system console (the system console is the device which receives all
381ab4382d2SGreg Kroah-Hartman	  kernel messages and warnings and which allows logins in single user
382ab4382d2SGreg Kroah-Hartman	  mode).
383ab4382d2SGreg Kroah-Hartman
384ab4382d2SGreg Kroah-Hartman	  Note that the firmware uses ttyS1 as the serial console on the
385ab4382d2SGreg Kroah-Hartman	  Maxine and ttyS3 on the others using this driver.
386ab4382d2SGreg Kroah-Hartman
387ab4382d2SGreg Kroah-Hartman	  If unsure, say Y.
388ab4382d2SGreg Kroah-Hartman
389ab4382d2SGreg Kroah-Hartmanconfig SERIAL_21285
390ab4382d2SGreg Kroah-Hartman	tristate "DC21285 serial port support"
39118e0749aSAlexander Shiyan	depends on FOOTBRIDGE
392ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
393ab4382d2SGreg Kroah-Hartman	help
394ab4382d2SGreg Kroah-Hartman	  If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
395ab4382d2SGreg Kroah-Hartman	  PCI bridge you can enable its onboard serial port by enabling this
396ab4382d2SGreg Kroah-Hartman	  option.
397ab4382d2SGreg Kroah-Hartman
398ab4382d2SGreg Kroah-Hartmanconfig SERIAL_21285_CONSOLE
399ab4382d2SGreg Kroah-Hartman	bool "Console on DC21285 serial port"
400ab4382d2SGreg Kroah-Hartman	depends on SERIAL_21285=y
401ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
402ab4382d2SGreg Kroah-Hartman	help
403ab4382d2SGreg Kroah-Hartman	  If you have enabled the serial port on the 21285 footbridge you can
404ab4382d2SGreg Kroah-Hartman	  make it the console by answering Y to this option.
405ab4382d2SGreg Kroah-Hartman
406ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
407ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
408ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
409ab4382d2SGreg Kroah-Hartman	  "console=ttyFB". (Try "man bootparam" or see the documentation of
410ab4382d2SGreg Kroah-Hartman	  your boot loader (lilo or loadlin) about how to pass options to the
411ab4382d2SGreg Kroah-Hartman	  kernel at boot time.)
412ab4382d2SGreg Kroah-Hartman
413ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PXA
414ab28f51cSSergey Yanovich	bool "PXA serial port support (DEPRECATED)"
415ab4382d2SGreg Kroah-Hartman	depends on ARCH_PXA || ARCH_MMP
416ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
417ab28f51cSSergey Yanovich	select SERIAL_8250_PXA if SERIAL_8250=y
418ab28f51cSSergey Yanovich	select SERIAL_PXA_NON8250 if !SERIAL_8250=y
419ab4382d2SGreg Kroah-Hartman	help
420ab4382d2SGreg Kroah-Hartman	  If you have a machine based on an Intel XScale PXA2xx CPU you
421ab4382d2SGreg Kroah-Hartman	  can enable its onboard serial ports by enabling this option.
422ab4382d2SGreg Kroah-Hartman
423ab28f51cSSergey Yanovich	  Unless you have a specific need, you should use SERIAL_8250_PXA
424ab28f51cSSergey Yanovich	  instead of this.
425ab28f51cSSergey Yanovich
426ab28f51cSSergey Yanovichconfig SERIAL_PXA_NON8250
427ab28f51cSSergey Yanovich	bool
428ab28f51cSSergey Yanovich	depends on !SERIAL_8250
429ab28f51cSSergey Yanovich
430ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PXA_CONSOLE
431ab28f51cSSergey Yanovich	bool "Console on PXA serial port (DEPRECATED)"
432ab4382d2SGreg Kroah-Hartman	depends on SERIAL_PXA
433ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
434ab28f51cSSergey Yanovich	select SERIAL_8250_CONSOLE if SERIAL_8250=y
435ab4382d2SGreg Kroah-Hartman	help
436ab4382d2SGreg Kroah-Hartman	  If you have enabled the serial port on the Intel XScale PXA
437ab4382d2SGreg Kroah-Hartman	  CPU you can make it the console by answering Y to this option.
438ab4382d2SGreg Kroah-Hartman
439ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
440ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
441ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
442ab4382d2SGreg Kroah-Hartman	  "console=ttySA0". (Try "man bootparam" or see the documentation of
443ab4382d2SGreg Kroah-Hartman	  your boot loader (lilo or loadlin) about how to pass options to the
444ab4382d2SGreg Kroah-Hartman	  kernel at boot time.)
445ab4382d2SGreg Kroah-Hartman
446ab28f51cSSergey Yanovich	  Unless you have a specific need, you should use SERIAL_8250_PXA
447ab28f51cSSergey Yanovich	  and SERIAL_8250_CONSOLE instead of this.
448ab28f51cSSergey Yanovich
449ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SA1100
450ab4382d2SGreg Kroah-Hartman	bool "SA1100 serial port support"
45118e0749aSAlexander Shiyan	depends on ARCH_SA1100
452ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
453d9d03e2cSRussell King	select SERIAL_MCTRL_GPIO if GPIOLIB
454ab4382d2SGreg Kroah-Hartman	help
455ab4382d2SGreg Kroah-Hartman	  If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
456ab4382d2SGreg Kroah-Hartman	  can enable its onboard serial port by enabling this option.
457dc7a12bdSMauro Carvalho Chehab	  Please read <file:Documentation/arm/sa1100/serial_uart.rst> for further
458ab4382d2SGreg Kroah-Hartman	  info.
459ab4382d2SGreg Kroah-Hartman
460ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SA1100_CONSOLE
461ab4382d2SGreg Kroah-Hartman	bool "Console on SA1100 serial port"
462ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SA1100
463ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
464ab4382d2SGreg Kroah-Hartman	help
465ab4382d2SGreg Kroah-Hartman	  If you have enabled the serial port on the SA1100/SA1110 StrongARM
466ab4382d2SGreg Kroah-Hartman	  CPU you can make it the console by answering Y to this option.
467ab4382d2SGreg Kroah-Hartman
468ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
469ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
470ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
471ab4382d2SGreg Kroah-Hartman	  "console=ttySA0". (Try "man bootparam" or see the documentation of
472ab4382d2SGreg Kroah-Hartman	  your boot loader (lilo or loadlin) about how to pass options to the
473ab4382d2SGreg Kroah-Hartman	  kernel at boot time.)
474ab4382d2SGreg Kroah-Hartman
475ab4382d2SGreg Kroah-Hartmanconfig SERIAL_IMX
47637fb5b56SFabio Estevam	tristate "IMX serial port support"
477dc2454f7SUwe Kleine-König	depends on ARCH_MXC || COMPILE_TEST
478ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
479ab4382d2SGreg Kroah-Hartman	select RATIONAL
48058362d5bSUwe Kleine-König	select SERIAL_MCTRL_GPIO if GPIOLIB
481ab4382d2SGreg Kroah-Hartman	help
482ab4382d2SGreg Kroah-Hartman	  If you have a machine based on a Motorola IMX CPU you
483ab4382d2SGreg Kroah-Hartman	  can enable its onboard serial port by enabling this option.
484ab4382d2SGreg Kroah-Hartman
485ab4382d2SGreg Kroah-Hartmanconfig SERIAL_IMX_CONSOLE
4860db4f9b9SFugang Duan	tristate "Console on IMX serial port"
4870db4f9b9SFugang Duan	depends on SERIAL_IMX
488ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
489ab4382d2SGreg Kroah-Hartman	help
490f0f6b803SFabio Estevam	  If you have enabled the serial port on the Freescale IMX
4910db4f9b9SFugang Duan	  CPU you can make it the console by answering Y/M to this option.
492ab4382d2SGreg Kroah-Hartman
4930db4f9b9SFugang Duan	  Even if you say Y/M here, the currently visible virtual console
494ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
495ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
496f0f6b803SFabio Estevam	  "console=ttymxc0". (Try "man bootparam" or see the documentation of
497f0f6b803SFabio Estevam	  your bootloader about how to pass options to the kernel at boot time.)
498ab4382d2SGreg Kroah-Hartman
499699cc4dfSFugang Duanconfig SERIAL_IMX_EARLYCON
500699cc4dfSFugang Duan	bool "Earlycon on IMX serial port"
501ea1fc02eSFugang Duan	depends on ARCH_MXC || COMPILE_TEST
502699cc4dfSFugang Duan	depends on OF
503196ebe5cSJulian Braha	select SERIAL_CORE
504699cc4dfSFugang Duan	select SERIAL_EARLYCON
50524c79692SYang Yingliang	select SERIAL_CORE_CONSOLE
506427627a2SLucas Stach	default y if SERIAL_IMX_CONSOLE
507699cc4dfSFugang Duan	help
508699cc4dfSFugang Duan	  If you have enabled the earlycon on the Freescale IMX
509699cc4dfSFugang Duan	  CPU you can make it the earlycon by answering Y to this option.
510699cc4dfSFugang Duan
511ab4382d2SGreg Kroah-Hartmanconfig SERIAL_UARTLITE
512ab4382d2SGreg Kroah-Hartman	tristate "Xilinx uartlite serial port support"
5131eacbfb0SRicardo Ribalda Delgado	depends on HAS_IOMEM
514ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
515ab4382d2SGreg Kroah-Hartman	help
516ab4382d2SGreg Kroah-Hartman	  Say Y here if you want to use the Xilinx uartlite serial controller.
517ab4382d2SGreg Kroah-Hartman
518ab4382d2SGreg Kroah-Hartman	  To compile this driver as a module, choose M here: the
519ab4382d2SGreg Kroah-Hartman	  module will be called uartlite.
520ab4382d2SGreg Kroah-Hartman
521ab4382d2SGreg Kroah-Hartmanconfig SERIAL_UARTLITE_CONSOLE
522ab4382d2SGreg Kroah-Hartman	bool "Support for console on Xilinx uartlite serial port"
523ab4382d2SGreg Kroah-Hartman	depends on SERIAL_UARTLITE=y
524ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
5257cdcc29eSRich Felker	select SERIAL_EARLYCON
526ab4382d2SGreg Kroah-Hartman	help
527ab4382d2SGreg Kroah-Hartman	  Say Y here if you wish to use a Xilinx uartlite as the system
528ab4382d2SGreg Kroah-Hartman	  console (the system console is the device which receives all kernel
529ab4382d2SGreg Kroah-Hartman	  messages and warnings and which allows logins in single user mode).
530ab4382d2SGreg Kroah-Hartman
531b44b96a0SSam Povilusconfig SERIAL_UARTLITE_NR_UARTS
532b44b96a0SSam Povilus	int "Maximum number of uartlite serial ports"
533b44b96a0SSam Povilus	depends on SERIAL_UARTLITE
534b44b96a0SSam Povilus	range 1 256
535b44b96a0SSam Povilus	default 1
536b44b96a0SSam Povilus	help
537b44b96a0SSam Povilus	  Set this to the number of uartlites in your system, or the number
538b44b96a0SSam Povilus	  you think you might implement.
539b44b96a0SSam Povilus
540ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNCORE
541ab4382d2SGreg Kroah-Hartman	bool
542ab4382d2SGreg Kroah-Hartman	depends on SPARC
543ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
544ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
545ab4382d2SGreg Kroah-Hartman	default y
546ab4382d2SGreg Kroah-Hartman
547ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNZILOG
548ab4382d2SGreg Kroah-Hartman	tristate "Sun Zilog8530 serial support"
549ab4382d2SGreg Kroah-Hartman	depends on SPARC
550ab4382d2SGreg Kroah-Hartman	help
551ab4382d2SGreg Kroah-Hartman	  This driver supports the Zilog8530 serial ports found on many Sparc
552ab4382d2SGreg Kroah-Hartman	  systems.  Say Y or M if you want to be able to these serial ports.
553ab4382d2SGreg Kroah-Hartman
554ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNZILOG_CONSOLE
555ab4382d2SGreg Kroah-Hartman	bool "Console on Sun Zilog8530 serial port"
556ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SUNZILOG=y
557ab4382d2SGreg Kroah-Hartman	help
558ab4382d2SGreg Kroah-Hartman	  If you would like to be able to use the Zilog8530 serial port
559ab4382d2SGreg Kroah-Hartman	  on your Sparc system as the console, you can do so by answering
560ab4382d2SGreg Kroah-Hartman	  Y to this option.
561ab4382d2SGreg Kroah-Hartman
562ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNSU
563ab4382d2SGreg Kroah-Hartman	tristate "Sun SU serial support"
564ab4382d2SGreg Kroah-Hartman	depends on SPARC && PCI
565ab4382d2SGreg Kroah-Hartman	help
566ab4382d2SGreg Kroah-Hartman	  This driver supports the 8250 serial ports that run the keyboard and
567ab4382d2SGreg Kroah-Hartman	  mouse on (PCI) UltraSPARC systems.  Say Y or M if you want to be able
568ab4382d2SGreg Kroah-Hartman	  to these serial ports.
569ab4382d2SGreg Kroah-Hartman
570ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNSU_CONSOLE
571ab4382d2SGreg Kroah-Hartman	bool "Console on Sun SU serial port"
572ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SUNSU=y
573ab4382d2SGreg Kroah-Hartman	help
574ab4382d2SGreg Kroah-Hartman	  If you would like to be able to use the SU serial port
575ab4382d2SGreg Kroah-Hartman	  on your Sparc system as the console, you can do so by answering
576ab4382d2SGreg Kroah-Hartman	  Y to this option.
577ab4382d2SGreg Kroah-Hartman
578ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MUX
579ab4382d2SGreg Kroah-Hartman	tristate "Serial MUX support"
580ab4382d2SGreg Kroah-Hartman	depends on GSC
581ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
582ab4382d2SGreg Kroah-Hartman	default y
583a7f7f624SMasahiro Yamada	help
584ab4382d2SGreg Kroah-Hartman	  Saying Y here will enable the hardware MUX serial driver for
585ab4382d2SGreg Kroah-Hartman	  the Nova, K class systems and D class with a 'remote control card'.
586ab4382d2SGreg Kroah-Hartman	  The hardware MUX is not 8250/16550 compatible therefore the
587ab4382d2SGreg Kroah-Hartman	  /dev/ttyB0 device is shared between the Serial MUX and the PDC
588ab4382d2SGreg Kroah-Hartman	  software console. The following steps need to be completed to use
589ab4382d2SGreg Kroah-Hartman	  the Serial MUX:
590ab4382d2SGreg Kroah-Hartman
591ab4382d2SGreg Kroah-Hartman	    1. create the device entry (mknod /dev/ttyB0 c 11 0)
592ab4382d2SGreg Kroah-Hartman	    2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
593ab4382d2SGreg Kroah-Hartman	    3. Add device ttyB0 to /etc/securetty (if you want to log on as
594ab4382d2SGreg Kroah-Hartman		 root on this console.)
595ab4382d2SGreg Kroah-Hartman	    4. Change the kernel command console parameter to: console=ttyB0
596ab4382d2SGreg Kroah-Hartman
597ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MUX_CONSOLE
598ab4382d2SGreg Kroah-Hartman	bool "Support for console on serial MUX"
599ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MUX=y
600ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
601ab4382d2SGreg Kroah-Hartman	default y
602ab4382d2SGreg Kroah-Hartman
603ab4382d2SGreg Kroah-Hartmanconfig PDC_CONSOLE
604ab4382d2SGreg Kroah-Hartman	bool "PDC software console support"
605ab4382d2SGreg Kroah-Hartman	depends on PARISC && !SERIAL_MUX && VT
606ab4382d2SGreg Kroah-Hartman	help
607ab4382d2SGreg Kroah-Hartman	  Saying Y here will enable the software based PDC console to be
608ab4382d2SGreg Kroah-Hartman	  used as the system console.  This is useful for machines in
609ab4382d2SGreg Kroah-Hartman	  which the hardware based console has not been written yet.  The
6106774def6SMasanari Iida	  following steps must be completed to use the PDC console:
611ab4382d2SGreg Kroah-Hartman
612ab4382d2SGreg Kroah-Hartman	    1. create the device entry (mknod /dev/ttyB0 c 11 0)
613ab4382d2SGreg Kroah-Hartman	    2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
614ab4382d2SGreg Kroah-Hartman	    3. Add device ttyB0 to /etc/securetty (if you want to log on as
615ab4382d2SGreg Kroah-Hartman		 root on this console.)
616ab4382d2SGreg Kroah-Hartman	    4. Change the kernel command console parameter to: console=ttyB0
617ab4382d2SGreg Kroah-Hartman
618ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNSAB
619ab4382d2SGreg Kroah-Hartman	tristate "Sun Siemens SAB82532 serial support"
620ab4382d2SGreg Kroah-Hartman	depends on SPARC && PCI
621ab4382d2SGreg Kroah-Hartman	help
622ab4382d2SGreg Kroah-Hartman	  This driver supports the Siemens SAB82532 DUSCC serial ports on newer
623ab4382d2SGreg Kroah-Hartman	  (PCI) UltraSPARC systems.  Say Y or M if you want to be able to these
624ab4382d2SGreg Kroah-Hartman	  serial ports.
625ab4382d2SGreg Kroah-Hartman
626ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNSAB_CONSOLE
627ab4382d2SGreg Kroah-Hartman	bool "Console on Sun Siemens SAB82532 serial port"
628ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SUNSAB=y
629ab4382d2SGreg Kroah-Hartman	help
630ab4382d2SGreg Kroah-Hartman	  If you would like to be able to use the SAB82532 serial port
631ab4382d2SGreg Kroah-Hartman	  on your Sparc system as the console, you can do so by answering
632ab4382d2SGreg Kroah-Hartman	  Y to this option.
633ab4382d2SGreg Kroah-Hartman
634ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SUNHV
635ab4382d2SGreg Kroah-Hartman	bool "Sun4v Hypervisor Console support"
636ab4382d2SGreg Kroah-Hartman	depends on SPARC64
637ab4382d2SGreg Kroah-Hartman	help
638ab4382d2SGreg Kroah-Hartman	  This driver supports the console device found on SUN4V Sparc
639ab4382d2SGreg Kroah-Hartman	  systems.  Say Y if you want to be able to use this device.
640ab4382d2SGreg Kroah-Hartman
641ab4382d2SGreg Kroah-Hartmanconfig SERIAL_IP22_ZILOG
642ab4382d2SGreg Kroah-Hartman	tristate "SGI Zilog8530 serial support"
643ab4382d2SGreg Kroah-Hartman	depends on SGI_HAS_ZILOG
644ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
645ab4382d2SGreg Kroah-Hartman	help
646ab4382d2SGreg Kroah-Hartman	  This driver supports the Zilog8530 serial ports found on SGI
647ab4382d2SGreg Kroah-Hartman	  systems.  Say Y or M if you want to be able to these serial ports.
648ab4382d2SGreg Kroah-Hartman
649ab4382d2SGreg Kroah-Hartmanconfig SERIAL_IP22_ZILOG_CONSOLE
650ab4382d2SGreg Kroah-Hartman	bool "Console on SGI Zilog8530 serial port"
651ab4382d2SGreg Kroah-Hartman	depends on SERIAL_IP22_ZILOG=y
652ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
653ab4382d2SGreg Kroah-Hartman
654ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SH_SCI
655ab4382d2SGreg Kroah-Hartman	tristate "SuperH SCI(F) serial port support"
65627202f2fSSimon Horman	depends on SUPERH || ARCH_RENESAS || H8300 || COMPILE_TEST
657ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
658f907c9eaSGeert Uytterhoeven	select SERIAL_MCTRL_GPIO if GPIOLIB
659ab4382d2SGreg Kroah-Hartman
660ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SH_SCI_NR_UARTS
661f6731485SGeert Uytterhoeven	int "Maximum number of SCI(F) serial ports" if EXPERT
6627678f4c2SGeert Uytterhoeven	range 1 64 if 64BIT
6637678f4c2SGeert Uytterhoeven	range 1 32 if !64BIT
664ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SH_SCI
665f6731485SGeert Uytterhoeven	default "3" if H8300
666f6731485SGeert Uytterhoeven	default "10" if SUPERH
667f6731485SGeert Uytterhoeven	default "18" if ARCH_RENESAS
66819ac50f6SGeert Uytterhoeven	default "2"
669ab4382d2SGreg Kroah-Hartman
670ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SH_SCI_CONSOLE
671c5bb576dSGeert Uytterhoeven	bool "Support for console on SuperH SCI(F)" if EXPERT
672ab4382d2SGreg Kroah-Hartman	depends on SERIAL_SH_SCI=y
673ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
674c5bb576dSGeert Uytterhoeven	default y
675ab4382d2SGreg Kroah-Hartman
6760b0cced1SYoshinori Satoconfig SERIAL_SH_SCI_EARLYCON
6773a987e73SGeert Uytterhoeven	bool "Support for early console on SuperH SCI(F)" if EXPERT
6780b0cced1SYoshinori Sato	depends on SERIAL_SH_SCI=y
6790b0cced1SYoshinori Sato	select SERIAL_CORE_CONSOLE
6800b0cced1SYoshinori Sato	select SERIAL_EARLYCON
6813a987e73SGeert Uytterhoeven	default ARCH_RENESAS || H8300
6820b0cced1SYoshinori Sato
683ab4382d2SGreg Kroah-Hartmanconfig SERIAL_SH_SCI_DMA
684be7e251dSGeert Uytterhoeven	bool "DMA support" if EXPERT
685565dd11aSGeert Uytterhoeven	depends on SERIAL_SH_SCI && DMA_ENGINE
686be7e251dSGeert Uytterhoeven	default ARCH_RENESAS
687ab4382d2SGreg Kroah-Hartman
688596f93f5SRoland Stiggeconfig SERIAL_HS_LPC32XX
689596f93f5SRoland Stigge	tristate "LPC32XX high speed serial port support"
6905711e41bSArnd Bergmann	depends on ARCH_LPC32XX || COMPILE_TEST
6915711e41bSArnd Bergmann	depends on OF
692596f93f5SRoland Stigge	select SERIAL_CORE
693596f93f5SRoland Stigge	help
694596f93f5SRoland Stigge	  Support for the LPC32XX high speed serial ports (up to 900kbps).
695596f93f5SRoland Stigge	  Those are UARTs completely different from the Standard UARTs on the
696596f93f5SRoland Stigge	  LPC32XX SoC.
697596f93f5SRoland Stigge	  Choose M or Y here to build this driver.
698596f93f5SRoland Stigge
699596f93f5SRoland Stiggeconfig SERIAL_HS_LPC32XX_CONSOLE
700596f93f5SRoland Stigge	bool "Enable LPC32XX high speed UART serial console"
701080029b1SArnd Bergmann	depends on SERIAL_HS_LPC32XX=y
702596f93f5SRoland Stigge	select SERIAL_CORE_CONSOLE
703596f93f5SRoland Stigge	help
704596f93f5SRoland Stigge	  If you would like to be able to use one of the high speed serial
705596f93f5SRoland Stigge	  ports on the LPC32XX as the console, you can do so by answering
706596f93f5SRoland Stigge	  Y to this option.
707596f93f5SRoland Stigge
708ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CORE
709ab4382d2SGreg Kroah-Hartman	tristate
710ab4382d2SGreg Kroah-Hartman
711ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CORE_CONSOLE
712ab4382d2SGreg Kroah-Hartman	bool
713ab4382d2SGreg Kroah-Hartman
714ab4382d2SGreg Kroah-Hartmanconfig CONSOLE_POLL
715ab4382d2SGreg Kroah-Hartman	bool
716ab4382d2SGreg Kroah-Hartman
717ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MCF
718ab4382d2SGreg Kroah-Hartman	bool "Coldfire serial support"
719ab4382d2SGreg Kroah-Hartman	depends on COLDFIRE
720ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
721ab4382d2SGreg Kroah-Hartman	help
722ab4382d2SGreg Kroah-Hartman	  This serial driver supports the Freescale Coldfire serial ports.
723ab4382d2SGreg Kroah-Hartman
724ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MCF_BAUDRATE
725ab4382d2SGreg Kroah-Hartman	int "Default baudrate for Coldfire serial ports"
726ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MCF
727ab4382d2SGreg Kroah-Hartman	default 19200
728ab4382d2SGreg Kroah-Hartman	help
729ab4382d2SGreg Kroah-Hartman	  This setting lets you define what the default baudrate is for the
730ab4382d2SGreg Kroah-Hartman	  ColdFire serial ports. The usual default varies from board to board,
731ab4382d2SGreg Kroah-Hartman	  and this setting is a way of catering for that.
732ab4382d2SGreg Kroah-Hartman
733ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MCF_CONSOLE
734ab4382d2SGreg Kroah-Hartman	bool "Coldfire serial console support"
735ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MCF
736ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
737ab4382d2SGreg Kroah-Hartman	help
738ab4382d2SGreg Kroah-Hartman	  Enable a ColdFire internal serial port to be the system console.
739ab4382d2SGreg Kroah-Hartman
740ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PMACZILOG
741ab4382d2SGreg Kroah-Hartman	tristate "Mac or PowerMac z85c30 ESCC support"
742213dce3cSKevin Hao	depends on (M68K && MAC) || PPC_PMAC
743ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
744ab4382d2SGreg Kroah-Hartman	help
745ab4382d2SGreg Kroah-Hartman	  This driver supports the Zilog z85C30 serial ports found on
746ab4382d2SGreg Kroah-Hartman	  (Power)Mac machines.
747ab4382d2SGreg Kroah-Hartman	  Say Y or M if you want to be able to these serial ports.
748ab4382d2SGreg Kroah-Hartman
749ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PMACZILOG_TTYS
750ab4382d2SGreg Kroah-Hartman	bool "Use ttySn device nodes for Zilog z85c30"
751ab4382d2SGreg Kroah-Hartman	depends on SERIAL_PMACZILOG
752ab4382d2SGreg Kroah-Hartman	help
753ab4382d2SGreg Kroah-Hartman	  The pmac_zilog driver for the z85C30 chip on many powermacs
754ab4382d2SGreg Kroah-Hartman	  historically used the device numbers for /dev/ttySn.  The
755ab4382d2SGreg Kroah-Hartman	  8250 serial port driver also uses these numbers, which means
756ab4382d2SGreg Kroah-Hartman	  the two drivers being unable to coexist; you could not use
757ab4382d2SGreg Kroah-Hartman	  both z85C30 and 8250 type ports at the same time.
758ab4382d2SGreg Kroah-Hartman
759ab4382d2SGreg Kroah-Hartman	  If this option is not selected, the pmac_zilog driver will
760ab4382d2SGreg Kroah-Hartman	  use the device numbers allocated for /dev/ttyPZn.  This allows
761ab4382d2SGreg Kroah-Hartman	  the pmac_zilog and 8250 drivers to co-exist, but may cause
762ab4382d2SGreg Kroah-Hartman	  existing userspace setups to break.  Programs that need to
763ab4382d2SGreg Kroah-Hartman	  access the built-in serial ports on powermacs will need to
764ab4382d2SGreg Kroah-Hartman	  be reconfigured to use /dev/ttyPZn instead of /dev/ttySn.
765ab4382d2SGreg Kroah-Hartman
766ab4382d2SGreg Kroah-Hartman	  If you enable this option, any z85c30 ports in the system will
767ab4382d2SGreg Kroah-Hartman	  be registered as ttyS0 onwards as in the past, and you will be
768ab4382d2SGreg Kroah-Hartman	  unable to use the 8250 module for PCMCIA or other 16C550-style
769ab4382d2SGreg Kroah-Hartman	  UARTs.
770ab4382d2SGreg Kroah-Hartman
771ab4382d2SGreg Kroah-Hartman	  Say N unless you need the z85c30 ports on your (Power)Mac
772ab4382d2SGreg Kroah-Hartman	  to appear as /dev/ttySn.
773ab4382d2SGreg Kroah-Hartman
774ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PMACZILOG_CONSOLE
775ab4382d2SGreg Kroah-Hartman	bool "Console on Mac or PowerMac z85c30 serial port"
776ab4382d2SGreg Kroah-Hartman	depends on SERIAL_PMACZILOG=y
777ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
778ab4382d2SGreg Kroah-Hartman	help
779ab4382d2SGreg Kroah-Hartman	  If you would like to be able to use the z85c30 serial port
780ab4382d2SGreg Kroah-Hartman	  on your (Power)Mac as the console, you can do so by answering
781ab4382d2SGreg Kroah-Hartman	  Y to this option.
782ab4382d2SGreg Kroah-Hartman
783ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CPM
784ab4382d2SGreg Kroah-Hartman	tristate "CPM SCC/SMC serial port support"
78549708c9eSChristophe Leroy	depends on CPM2 || CPM1
786ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
787ab4382d2SGreg Kroah-Hartman	help
788ab4382d2SGreg Kroah-Hartman	  This driver supports the SCC and SMC serial ports on Motorola
789ab4382d2SGreg Kroah-Hartman	  embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)
790ab4382d2SGreg Kroah-Hartman
791ab4382d2SGreg Kroah-Hartmanconfig SERIAL_CPM_CONSOLE
792ab4382d2SGreg Kroah-Hartman	bool "Support for console on CPM SCC/SMC serial port"
793ab4382d2SGreg Kroah-Hartman	depends on SERIAL_CPM=y
794ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
795ab4382d2SGreg Kroah-Hartman	help
796ab4382d2SGreg Kroah-Hartman	  Say Y here if you wish to use a SCC or SMC CPM UART as the system
797ab4382d2SGreg Kroah-Hartman	  console (the system console is the device which receives all kernel
798ab4382d2SGreg Kroah-Hartman	  messages and warnings and which allows logins in single user mode).
799ab4382d2SGreg Kroah-Hartman
800ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible framebuffer console
801ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
802ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
803ab4382d2SGreg Kroah-Hartman	  "console=ttyCPM0". (Try "man bootparam" or see the documentation of
804ab4382d2SGreg Kroah-Hartman	  your boot loader (lilo or loadlin) about how to pass options to the
805ab4382d2SGreg Kroah-Hartman	  kernel at boot time.)
806ab4382d2SGreg Kroah-Hartman
807157b9394SAndrei Pistiricaconfig SERIAL_PIC32
808157b9394SAndrei Pistirica	tristate "Microchip PIC32 serial support"
809157b9394SAndrei Pistirica	depends on MACH_PIC32
810157b9394SAndrei Pistirica	select SERIAL_CORE
811157b9394SAndrei Pistirica	help
812157b9394SAndrei Pistirica	  If you have a PIC32, this driver supports the serial ports.
813157b9394SAndrei Pistirica
814157b9394SAndrei Pistirica	  Say Y or M to use PIC32 serial ports, otherwise say N. Note that
815157b9394SAndrei Pistirica	  to use a serial port as a console, this must be included in kernel and
816157b9394SAndrei Pistirica	  not as a module.
817157b9394SAndrei Pistirica
818157b9394SAndrei Pistiricaconfig SERIAL_PIC32_CONSOLE
819157b9394SAndrei Pistirica	bool "PIC32 serial console support"
820157b9394SAndrei Pistirica	depends on SERIAL_PIC32
821157b9394SAndrei Pistirica	select SERIAL_CORE_CONSOLE
822157b9394SAndrei Pistirica	help
823157b9394SAndrei Pistirica	  If you have a PIC32, this driver supports the putting a console on one
824157b9394SAndrei Pistirica	  of the serial ports.
825157b9394SAndrei Pistirica
826157b9394SAndrei Pistirica	  Say Y to use the PIC32 console, otherwise say N.
827157b9394SAndrei Pistirica
828ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MPC52xx
829ab4382d2SGreg Kroah-Hartman	tristate "Freescale MPC52xx/MPC512x family PSC serial support"
830ab4382d2SGreg Kroah-Hartman	depends on PPC_MPC52xx || PPC_MPC512x
831ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
832ab4382d2SGreg Kroah-Hartman	help
833ab4382d2SGreg Kroah-Hartman	  This driver supports MPC52xx and MPC512x PSC serial ports. If you would
834ab4382d2SGreg Kroah-Hartman	  like to use them, you must answer Y or M to this option. Note that
835ab4382d2SGreg Kroah-Hartman	  for use as console, it must be included in kernel and not as a
836ab4382d2SGreg Kroah-Hartman	  module.
837ab4382d2SGreg Kroah-Hartman
838ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MPC52xx_CONSOLE
839ab4382d2SGreg Kroah-Hartman	bool "Console on a Freescale MPC52xx/MPC512x family PSC serial port"
840ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MPC52xx=y
841ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
842ab4382d2SGreg Kroah-Hartman	help
843ab4382d2SGreg Kroah-Hartman	  Select this options if you'd like to use one of the PSC serial port
844ab4382d2SGreg Kroah-Hartman	  of the Freescale MPC52xx family as a console.
845ab4382d2SGreg Kroah-Hartman
846ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MPC52xx_CONSOLE_BAUD
847ab4382d2SGreg Kroah-Hartman	int "Freescale MPC52xx/MPC512x family PSC serial port baud"
848ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MPC52xx_CONSOLE=y
849ab4382d2SGreg Kroah-Hartman	default "9600"
850ab4382d2SGreg Kroah-Hartman	help
851ab4382d2SGreg Kroah-Hartman	  Select the MPC52xx console baud rate.
852ab4382d2SGreg Kroah-Hartman	  This value is only used if the bootloader doesn't pass in the
853ab4382d2SGreg Kroah-Hartman	  console baudrate
854ab4382d2SGreg Kroah-Hartman
855ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ICOM
856ab4382d2SGreg Kroah-Hartman	tristate "IBM Multiport Serial Adapter"
8578720037dSJohan Hovold	depends on PCI
8588720037dSJohan Hovold	depends on PPC_PSERIES || COMPILE_TEST
859ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
860ab4382d2SGreg Kroah-Hartman	select FW_LOADER
861ab4382d2SGreg Kroah-Hartman	help
862ab4382d2SGreg Kroah-Hartman	  This driver is for a family of multiport serial adapters
863ab4382d2SGreg Kroah-Hartman	  including 2 port RVX, 2 port internal modem, 4 port internal
864ab4382d2SGreg Kroah-Hartman	  modem and a split 1 port RVX and 1 port internal modem.
865ab4382d2SGreg Kroah-Hartman
866ab4382d2SGreg Kroah-Hartman	  This driver can also be built as a module.  If so, the module
867ab4382d2SGreg Kroah-Hartman	  will be called icom.
868ab4382d2SGreg Kroah-Hartman
869ab4382d2SGreg Kroah-Hartmanconfig SERIAL_TXX9
870ab4382d2SGreg Kroah-Hartman	bool "TMPTX39XX/49XX SIO support"
871ab4382d2SGreg Kroah-Hartman	depends on HAS_TXX9_SERIAL
872ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
873ab4382d2SGreg Kroah-Hartman	default y
874ab4382d2SGreg Kroah-Hartman
875ab4382d2SGreg Kroah-Hartmanconfig HAS_TXX9_SERIAL
876ab4382d2SGreg Kroah-Hartman	bool
877ab4382d2SGreg Kroah-Hartman
878ab4382d2SGreg Kroah-Hartmanconfig SERIAL_TXX9_NR_UARTS
879ab4382d2SGreg Kroah-Hartman	int "Maximum number of TMPTX39XX/49XX SIO ports"
880ab4382d2SGreg Kroah-Hartman	depends on SERIAL_TXX9
881ab4382d2SGreg Kroah-Hartman	default "6"
882ab4382d2SGreg Kroah-Hartman
883ab4382d2SGreg Kroah-Hartmanconfig SERIAL_TXX9_CONSOLE
884ab4382d2SGreg Kroah-Hartman	bool "TMPTX39XX/49XX SIO Console support"
885ab4382d2SGreg Kroah-Hartman	depends on SERIAL_TXX9=y
886ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
887ab4382d2SGreg Kroah-Hartman
888ab4382d2SGreg Kroah-Hartmanconfig SERIAL_TXX9_STDSERIAL
889ab4382d2SGreg Kroah-Hartman	bool "TX39XX/49XX SIO act as standard serial"
890ab4382d2SGreg Kroah-Hartman	depends on !SERIAL_8250 && SERIAL_TXX9
891ab4382d2SGreg Kroah-Hartman
892ab4382d2SGreg Kroah-Hartmanconfig SERIAL_VR41XX
893ab4382d2SGreg Kroah-Hartman	tristate "NEC VR4100 series Serial Interface Unit support"
894ab4382d2SGreg Kroah-Hartman	depends on CPU_VR41XX
895ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
896ab4382d2SGreg Kroah-Hartman	help
897ab4382d2SGreg Kroah-Hartman	  If you have a NEC VR4100 series processor and you want to use
898ab4382d2SGreg Kroah-Hartman	  Serial Interface Unit(SIU) or Debug Serial Interface Unit(DSIU)
899ab4382d2SGreg Kroah-Hartman	  (not include VR4111/VR4121 DSIU), say Y.  Otherwise, say N.
900ab4382d2SGreg Kroah-Hartman
901ab4382d2SGreg Kroah-Hartmanconfig SERIAL_VR41XX_CONSOLE
902ab4382d2SGreg Kroah-Hartman	bool "Enable NEC VR4100 series Serial Interface Unit console"
903ab4382d2SGreg Kroah-Hartman	depends on SERIAL_VR41XX=y
904ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
905ab4382d2SGreg Kroah-Hartman	help
906ab4382d2SGreg Kroah-Hartman	  If you have a NEC VR4100 series processor and you want to use
907ab4382d2SGreg Kroah-Hartman	  a console on a serial port, say Y.  Otherwise, say N.
908ab4382d2SGreg Kroah-Hartman
909ab4382d2SGreg Kroah-Hartmanconfig SERIAL_JSM
91003a8482cSKonrad Zapalowicz	tristate "Digi International NEO and Classic PCI Support"
911ab4382d2SGreg Kroah-Hartman	depends on PCI
912ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
913ab4382d2SGreg Kroah-Hartman	help
91403a8482cSKonrad Zapalowicz	  This is a driver for Digi International's Neo and Classic series
915ab4382d2SGreg Kroah-Hartman	  of cards which provide multiple serial ports. You would need
916ab4382d2SGreg Kroah-Hartman	  something like this to connect more than two modems to your Linux
917ab4382d2SGreg Kroah-Hartman	  box, for instance in order to become a dial-in server. This driver
918ab4382d2SGreg Kroah-Hartman	  supports PCI boards only.
919ab4382d2SGreg Kroah-Hartman
920ab4382d2SGreg Kroah-Hartman	  If you have a card like this, say Y here, otherwise say N.
921ab4382d2SGreg Kroah-Hartman
922ab4382d2SGreg Kroah-Hartman	  To compile this driver as a module, choose M here: the
923ab4382d2SGreg Kroah-Hartman	  module will be called jsm.
924ab4382d2SGreg Kroah-Hartman
925ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MSM
92623a88024SStephen Boyd	tristate "MSM on-chip serial port support"
9278720037dSJohan Hovold	depends on ARCH_QCOM || COMPILE_TEST
928ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
929ab4382d2SGreg Kroah-Hartman
930ab4382d2SGreg Kroah-Hartmanconfig SERIAL_MSM_CONSOLE
931ab4382d2SGreg Kroah-Hartman	bool "MSM serial console support"
932ab4382d2SGreg Kroah-Hartman	depends on SERIAL_MSM=y
933ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
9340efe7296SStephen Boyd	select SERIAL_EARLYCON
935ab4382d2SGreg Kroah-Hartman
936c4f52879SKarthikeyan Ramasubramanianconfig SERIAL_QCOM_GENI
937c4f52879SKarthikeyan Ramasubramanian	tristate "QCOM on-chip GENI based serial port support"
938c4f52879SKarthikeyan Ramasubramanian	depends on ARCH_QCOM || COMPILE_TEST
939c4f52879SKarthikeyan Ramasubramanian	depends on QCOM_GENI_SE
940c4f52879SKarthikeyan Ramasubramanian	select SERIAL_CORE
941c4f52879SKarthikeyan Ramasubramanian
942c4f52879SKarthikeyan Ramasubramanianconfig SERIAL_QCOM_GENI_CONSOLE
943c4f52879SKarthikeyan Ramasubramanian	bool "QCOM GENI Serial Console support"
944cdcc41a2SJohn Stultz	depends on SERIAL_QCOM_GENI
945c4f52879SKarthikeyan Ramasubramanian	select SERIAL_CORE_CONSOLE
946c4f52879SKarthikeyan Ramasubramanian	select SERIAL_EARLYCON
947c4f52879SKarthikeyan Ramasubramanian	help
948c4f52879SKarthikeyan Ramasubramanian	  Serial console driver for Qualcomm Technologies Inc's GENI based
949c4f52879SKarthikeyan Ramasubramanian	  QUP hardware.
950c4f52879SKarthikeyan Ramasubramanian
951ab4382d2SGreg Kroah-Hartmanconfig SERIAL_VT8500
952ab4382d2SGreg Kroah-Hartman	bool "VIA VT8500 on-chip serial port support"
9538720037dSJohan Hovold	depends on ARCH_VT8500 || COMPILE_TEST
954ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
955ab4382d2SGreg Kroah-Hartman
956ab4382d2SGreg Kroah-Hartmanconfig SERIAL_VT8500_CONSOLE
957ab4382d2SGreg Kroah-Hartman	bool "VIA VT8500 serial console support"
958ab4382d2SGreg Kroah-Hartman	depends on SERIAL_VT8500=y
959ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
960ab4382d2SGreg Kroah-Hartman
961ab4382d2SGreg Kroah-Hartmanconfig SERIAL_OMAP
962ab4382d2SGreg Kroah-Hartman	tristate "OMAP serial port support"
9636c44eb59STony Lindgren	depends on (ARCH_OMAP2PLUS && !SERIAL_8250_OMAP) || COMPILE_TEST
964ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
965ab4382d2SGreg Kroah-Hartman	help
966ab4382d2SGreg Kroah-Hartman	  If you have a machine based on an Texas Instruments OMAP CPU you
967ab4382d2SGreg Kroah-Hartman	  can enable its onboard serial ports by enabling this option.
968ab4382d2SGreg Kroah-Hartman
969ab4382d2SGreg Kroah-Hartman	  By enabling this option you take advantage of dma feature available
970ab4382d2SGreg Kroah-Hartman	  with the omap-serial driver. DMA support can be enabled from platform
971ab4382d2SGreg Kroah-Hartman	  data.
972ab4382d2SGreg Kroah-Hartman
973ab4382d2SGreg Kroah-Hartmanconfig SERIAL_OMAP_CONSOLE
974ab4382d2SGreg Kroah-Hartman	bool "Console on OMAP serial port"
975d8c4019bSArnd Bergmann	depends on SERIAL_OMAP=y
976ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
977ab4382d2SGreg Kroah-Hartman	help
978ab4382d2SGreg Kroah-Hartman	  Select this option if you would like to use omap serial port as
979ab4382d2SGreg Kroah-Hartman	  console.
980ab4382d2SGreg Kroah-Hartman
981ab4382d2SGreg Kroah-Hartman	  Even if you say Y here, the currently visible virtual console
982ab4382d2SGreg Kroah-Hartman	  (/dev/tty0) will still be used as the system console by default, but
983ab4382d2SGreg Kroah-Hartman	  you can alter that using a kernel command line option such as
984ab4382d2SGreg Kroah-Hartman	  "console=ttyOx". (Try "man bootparam" or see the documentation of
985ab4382d2SGreg Kroah-Hartman	  your boot loader about how to pass options to the kernel at
986ab4382d2SGreg Kroah-Hartman	  boot time.)
987ab4382d2SGreg Kroah-Hartman
98845c054d0SPaul Walmsleyconfig SERIAL_SIFIVE
98945c054d0SPaul Walmsley	tristate "SiFive UART support"
99045c054d0SPaul Walmsley	depends on OF
99145c054d0SPaul Walmsley	select SERIAL_CORE
99245c054d0SPaul Walmsley	help
99345c054d0SPaul Walmsley	  Select this option if you are building a kernel for a device that
99445c054d0SPaul Walmsley	  contains a SiFive UART IP block.  This type of UART is present on
99545c054d0SPaul Walmsley	  SiFive FU540 SoCs, among others.
99645c054d0SPaul Walmsley
99745c054d0SPaul Walmsleyconfig SERIAL_SIFIVE_CONSOLE
99845c054d0SPaul Walmsley	bool "Console on SiFive UART"
99945c054d0SPaul Walmsley	depends on SERIAL_SIFIVE=y
100045c054d0SPaul Walmsley	select SERIAL_CORE_CONSOLE
10017e2a165dSChristoph Hellwig	select SERIAL_EARLYCON
100245c054d0SPaul Walmsley	help
100345c054d0SPaul Walmsley	  Select this option if you would like to use a SiFive UART as the
100445c054d0SPaul Walmsley	  system console.
100545c054d0SPaul Walmsley
100645c054d0SPaul Walmsley	  Even if you say Y here, the currently visible virtual console
100745c054d0SPaul Walmsley	  (/dev/tty0) will still be used as the system console by default, but
100845c054d0SPaul Walmsley	  you can alter that using a kernel command line option such as
100945c054d0SPaul Walmsley	  "console=ttySIFx". (Try "man bootparam" or see the documentation of
101045c054d0SPaul Walmsley	  your boot loader about how to pass options to the kernel at
101145c054d0SPaul Walmsley	  boot time.)
101245c054d0SPaul Walmsley
10132f0fc415SJohn Crispinconfig SERIAL_LANTIQ
1014ad406341SRahul Tanwar	tristate "Lantiq serial driver"
1015c2880ec6SRahul Tanwar	depends on (LANTIQ || X86) || COMPILE_TEST
10162f0fc415SJohn Crispin	select SERIAL_CORE
1017ea7d3fd8SRahul Tanwar	help
1018ea7d3fd8SRahul Tanwar	  Support for UART on Lantiq and Intel SoCs.
1019ad406341SRahul Tanwar	  To compile this driver as a module, select M here. The
1020ad406341SRahul Tanwar	  module will be called lantiq.
1021ea7d3fd8SRahul Tanwar
1022ea7d3fd8SRahul Tanwarconfig SERIAL_LANTIQ_CONSOLE
1023ea7d3fd8SRahul Tanwar	bool "Console on Lantiq UART"
1024ea7d3fd8SRahul Tanwar	depends on SERIAL_LANTIQ=y
10252f0fc415SJohn Crispin	select SERIAL_CORE_CONSOLE
1026ec84aa0aSMartin Blumenstingl	select SERIAL_EARLYCON
10272f0fc415SJohn Crispin	help
1028ea7d3fd8SRahul Tanwar	  Select this option if you would like to use a Lantiq UART as the
1029ea7d3fd8SRahul Tanwar	  system console.
10302f0fc415SJohn Crispin
1031ab4382d2SGreg Kroah-Hartmanconfig SERIAL_QE
1032ab4382d2SGreg Kroah-Hartman	tristate "Freescale QUICC Engine serial port support"
1033ab4382d2SGreg Kroah-Hartman	depends on QUICC_ENGINE
1034ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
1035ab4382d2SGreg Kroah-Hartman	select FW_LOADER
1036ab4382d2SGreg Kroah-Hartman	help
1037ab4382d2SGreg Kroah-Hartman	  This driver supports the QE serial ports on Freescale embedded
1038ab4382d2SGreg Kroah-Hartman	  PowerPC that contain a QUICC Engine.
1039ab4382d2SGreg Kroah-Hartman
10401d65c0b1SAlexander Shiyanconfig SERIAL_SCCNXP
1041725dd00aSAlexander Shiyan	tristate "SCCNXP serial port support"
10421d65c0b1SAlexander Shiyan	select SERIAL_CORE
10431d65c0b1SAlexander Shiyan	help
10441d65c0b1SAlexander Shiyan	  This selects support for an advanced UART from NXP (Philips).
10451d65c0b1SAlexander Shiyan	  Supported ICs are SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,
10461d65c0b1SAlexander Shiyan	  SC28L202, SCC68681 and SCC68692.
10471d65c0b1SAlexander Shiyan
10481d65c0b1SAlexander Shiyanconfig SERIAL_SCCNXP_CONSOLE
10491d65c0b1SAlexander Shiyan	bool "Console on SCCNXP serial port"
1050725dd00aSAlexander Shiyan	depends on SERIAL_SCCNXP=y
10511d65c0b1SAlexander Shiyan	select SERIAL_CORE_CONSOLE
10521d65c0b1SAlexander Shiyan	help
10531d65c0b1SAlexander Shiyan	  Support for console on SCCNXP serial ports.
10541d65c0b1SAlexander Shiyan
10552c837a8aSRama Kiran Kumar Indrakanticonfig SERIAL_SC16IS7XX_CORE
10562c837a8aSRama Kiran Kumar Indrakanti	tristate
10572c837a8aSRama Kiran Kumar Indrakanti
1058dfeae619SJon Ringleconfig SERIAL_SC16IS7XX
1059dfeae619SJon Ringle	tristate "SC16IS7xx serial support"
1060dfeae619SJon Ringle	select SERIAL_CORE
106132aa6339SJakub Kicinski	depends on (SPI_MASTER && !I2C) || I2C
1062dfeae619SJon Ringle	help
1063dfeae619SJon Ringle	  This selects support for SC16IS7xx serial ports.
1064dfeae619SJon Ringle	  Supported ICs are SC16IS740, SC16IS741, SC16IS750, SC16IS752,
10652c837a8aSRama Kiran Kumar Indrakanti	  SC16IS760 and SC16IS762. Select supported buses using options below.
10662c837a8aSRama Kiran Kumar Indrakanti
10672c837a8aSRama Kiran Kumar Indrakanticonfig SERIAL_SC16IS7XX_I2C
10682c837a8aSRama Kiran Kumar Indrakanti	bool "SC16IS7xx for I2C interface"
10692c837a8aSRama Kiran Kumar Indrakanti	depends on SERIAL_SC16IS7XX
10702c837a8aSRama Kiran Kumar Indrakanti	depends on I2C
10712c837a8aSRama Kiran Kumar Indrakanti	select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
10722c837a8aSRama Kiran Kumar Indrakanti	select REGMAP_I2C if I2C
10732c837a8aSRama Kiran Kumar Indrakanti	default y
10742c837a8aSRama Kiran Kumar Indrakanti	help
10752c837a8aSRama Kiran Kumar Indrakanti	  Enable SC16IS7xx driver on I2C bus,
10762c837a8aSRama Kiran Kumar Indrakanti	  If required say y, and say n to i2c if not required,
10772c837a8aSRama Kiran Kumar Indrakanti	  Enabled by default to support oldconfig.
10782c837a8aSRama Kiran Kumar Indrakanti	  You must select at least one bus for the driver to be built.
10792c837a8aSRama Kiran Kumar Indrakanti
10802c837a8aSRama Kiran Kumar Indrakanticonfig SERIAL_SC16IS7XX_SPI
10812c837a8aSRama Kiran Kumar Indrakanti	bool "SC16IS7xx for spi interface"
10822c837a8aSRama Kiran Kumar Indrakanti	depends on SERIAL_SC16IS7XX
10832c837a8aSRama Kiran Kumar Indrakanti	depends on SPI_MASTER
10842c837a8aSRama Kiran Kumar Indrakanti	select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
10852c837a8aSRama Kiran Kumar Indrakanti	select REGMAP_SPI if SPI_MASTER
10862c837a8aSRama Kiran Kumar Indrakanti	help
10872c837a8aSRama Kiran Kumar Indrakanti	  Enable SC16IS7xx driver on SPI bus,
10882c837a8aSRama Kiran Kumar Indrakanti	  If required say y, and say n to spi if not required,
10899ff2f0f7SChristophe JAILLET	  This is additional support to existing driver.
10902c837a8aSRama Kiran Kumar Indrakanti	  You must select at least one bus for the driver to be built.
1091dfeae619SJon Ringle
1092ab4382d2SGreg Kroah-Hartmanconfig SERIAL_TIMBERDALE
1093ab4382d2SGreg Kroah-Hartman	tristate "Support for timberdale UART"
1094ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
1095e55c2a07SJean Delvare	depends on X86_32 || COMPILE_TEST
1096a7f7f624SMasahiro Yamada	help
1097ab4382d2SGreg Kroah-Hartman	Add support for UART controller on timberdale.
1098ab4382d2SGreg Kroah-Hartman
1099ab4382d2SGreg Kroah-Hartmanconfig SERIAL_BCM63XX
11004b65208fSKevin Cernekee	tristate "Broadcom BCM63xx/BCM33xx UART support"
1101ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
1102f35a07f9SRafał Miłecki	depends on COMMON_CLK
1103ab4382d2SGreg Kroah-Hartman	help
11044b65208fSKevin Cernekee	  This enables the driver for the onchip UART core found on
11054b65208fSKevin Cernekee	  the following chipsets:
1106ab4382d2SGreg Kroah-Hartman
11074b65208fSKevin Cernekee	    BCM33xx (cable modem)
11084b65208fSKevin Cernekee	    BCM63xx/BCM63xxx (DSL)
11094b65208fSKevin Cernekee	    BCM68xx (PON)
11104b65208fSKevin Cernekee	    BCM7xxx (STB) - DOCSIS console
1111ab4382d2SGreg Kroah-Hartman
1112ab4382d2SGreg Kroah-Hartmanconfig SERIAL_BCM63XX_CONSOLE
11134b65208fSKevin Cernekee	bool "Console on BCM63xx serial port"
1114ab4382d2SGreg Kroah-Hartman	depends on SERIAL_BCM63XX=y
1115ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
11161ab8e4b1SKevin Cernekee	select SERIAL_EARLYCON
1117ab4382d2SGreg Kroah-Hartman	help
11184b65208fSKevin Cernekee	  If you have enabled the serial port on the BCM63xx CPU
1119ab4382d2SGreg Kroah-Hartman	  you can make it the console by answering Y to this option.
1120ab4382d2SGreg Kroah-Hartman
1121ab4382d2SGreg Kroah-Hartmanconfig SERIAL_GRLIB_GAISLER_APBUART
1122ab4382d2SGreg Kroah-Hartman	tristate "GRLIB APBUART serial support"
11236cd7a637SDavid S. Miller	depends on OF && SPARC
1124fed7bb32SRandy Dunlap	select SERIAL_CORE
1125a7f7f624SMasahiro Yamada	help
1126ab4382d2SGreg Kroah-Hartman	Add support for the GRLIB APBUART serial port.
1127ab4382d2SGreg Kroah-Hartman
1128ab4382d2SGreg Kroah-Hartmanconfig SERIAL_GRLIB_GAISLER_APBUART_CONSOLE
1129ab4382d2SGreg Kroah-Hartman	bool "Console on GRLIB APBUART serial port"
1130ab4382d2SGreg Kroah-Hartman	depends on SERIAL_GRLIB_GAISLER_APBUART=y
1131ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
1132ab4382d2SGreg Kroah-Hartman	help
1133ab4382d2SGreg Kroah-Hartman	Support for running a console on the GRLIB APBUART
1134ab4382d2SGreg Kroah-Hartman
1135ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_JTAGUART
1136ab4382d2SGreg Kroah-Hartman	tristate "Altera JTAG UART support"
1137ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
1138ab4382d2SGreg Kroah-Hartman	help
1139ab4382d2SGreg Kroah-Hartman	  This driver supports the Altera JTAG UART port.
1140ab4382d2SGreg Kroah-Hartman
1141ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_JTAGUART_CONSOLE
1142ab4382d2SGreg Kroah-Hartman	bool "Altera JTAG UART console support"
1143ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ALTERA_JTAGUART=y
1144ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
11450dcc0542STobias Klauser	select SERIAL_EARLYCON
1146ab4382d2SGreg Kroah-Hartman	help
1147ab4382d2SGreg Kroah-Hartman	  Enable a Altera JTAG UART port to be the system console.
1148ab4382d2SGreg Kroah-Hartman
1149ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_JTAGUART_CONSOLE_BYPASS
1150ab4382d2SGreg Kroah-Hartman	bool "Bypass output when no connection"
1151ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ALTERA_JTAGUART_CONSOLE
1152ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
1153ab4382d2SGreg Kroah-Hartman	help
1154ab4382d2SGreg Kroah-Hartman	  Bypass console output and keep going even if there is no
1155ab4382d2SGreg Kroah-Hartman	  JTAG terminal connection with the host.
1156ab4382d2SGreg Kroah-Hartman
1157ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_UART
1158ab4382d2SGreg Kroah-Hartman	tristate "Altera UART support"
1159ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
1160ab4382d2SGreg Kroah-Hartman	help
1161ab4382d2SGreg Kroah-Hartman	  This driver supports the Altera softcore UART port.
1162ab4382d2SGreg Kroah-Hartman
1163ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_UART_MAXPORTS
1164ab4382d2SGreg Kroah-Hartman	int "Maximum number of Altera UART ports"
1165ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ALTERA_UART
1166ab4382d2SGreg Kroah-Hartman	default 4
1167ab4382d2SGreg Kroah-Hartman	help
1168ab4382d2SGreg Kroah-Hartman	  This setting lets you define the maximum number of the Altera
1169ab4382d2SGreg Kroah-Hartman	  UART ports. The usual default varies from board to board, and
1170ab4382d2SGreg Kroah-Hartman	  this setting is a way of catering for that.
1171ab4382d2SGreg Kroah-Hartman
1172ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_UART_BAUDRATE
1173ab4382d2SGreg Kroah-Hartman	int "Default baudrate for Altera UART ports"
1174ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ALTERA_UART
1175ab4382d2SGreg Kroah-Hartman	default 115200
1176ab4382d2SGreg Kroah-Hartman	help
1177ab4382d2SGreg Kroah-Hartman	  This setting lets you define what the default baudrate is for the
1178ab4382d2SGreg Kroah-Hartman	  Altera UART ports. The usual default varies from board to board,
1179ab4382d2SGreg Kroah-Hartman	  and this setting is a way of catering for that.
1180ab4382d2SGreg Kroah-Hartman
1181ab4382d2SGreg Kroah-Hartmanconfig SERIAL_ALTERA_UART_CONSOLE
1182ab4382d2SGreg Kroah-Hartman	bool "Altera UART console support"
1183ab4382d2SGreg Kroah-Hartman	depends on SERIAL_ALTERA_UART=y
1184ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE_CONSOLE
11854d9d7d89STobias Klauser	select SERIAL_EARLYCON
1186ab4382d2SGreg Kroah-Hartman	help
1187ab4382d2SGreg Kroah-Hartman	  Enable a Altera UART port to be the system console.
1188ab4382d2SGreg Kroah-Hartman
1189ab4382d2SGreg Kroah-Hartmanconfig SERIAL_PCH_UART
11908249f743STomoya MORINAGA	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) UART"
11917789e5a2SZubair Lutfullah Kakakhel	depends on PCI && (X86_32 || MIPS ||  COMPILE_TEST)
1192ab4382d2SGreg Kroah-Hartman	select SERIAL_CORE
1193ab4382d2SGreg Kroah-Hartman	help
1194ab4382d2SGreg Kroah-Hartman	  This driver is for PCH(Platform controller Hub) UART of Intel EG20T
1195ab4382d2SGreg Kroah-Hartman	  which is an IOH(Input/Output Hub) for x86 embedded processor.
1196ab4382d2SGreg Kroah-Hartman	  Enabling PCH_DMA, this PCH UART works as DMA mode.
11974564e1efSTomoya MORINAGA
11988249f743STomoya MORINAGA	  This driver also can be used for LAPIS Semiconductor IOH(Input/
11998249f743STomoya MORINAGA	  Output Hub), ML7213, ML7223 and ML7831.
12008249f743STomoya MORINAGA	  ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
12018249f743STomoya MORINAGA	  for MP(Media Phone) use and ML7831 IOH is for general purpose use.
12028249f743STomoya MORINAGA	  ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
12038249f743STomoya MORINAGA	  ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
1204daaf6ff4SNiranjana Vishwanathapura
1205e30f867dSAlexander Steinconfig SERIAL_PCH_UART_CONSOLE
1206e30f867dSAlexander Stein	bool "Support for console on Intel EG20T PCH UART/OKI SEMICONDUCTOR ML7213 IOH"
1207e30f867dSAlexander Stein	depends on SERIAL_PCH_UART=y
1208e30f867dSAlexander Stein	select SERIAL_CORE_CONSOLE
1209e30f867dSAlexander Stein	help
1210e30f867dSAlexander Stein	  Say Y here if you wish to use the PCH UART as the system console
1211e30f867dSAlexander Stein	  (the system  console is the device which receives all kernel messages and
1212e30f867dSAlexander Stein	  warnings and which allows logins in single user mode).
1213e30f867dSAlexander Stein
1214f19693a1SSascha Hauerconfig SERIAL_MXS_AUART
1215f19693a1SSascha Hauer	tristate "MXS AUART support"
1216254da0d7SOleksij Rempel	depends on ARCH_MXS || MACH_ASM9260 || COMPILE_TEST
1217f19693a1SSascha Hauer	select SERIAL_CORE
12187c573d7eSJanusz Uzycki	select SERIAL_MCTRL_GPIO if GPIOLIB
1219f19693a1SSascha Hauer	help
1220254da0d7SOleksij Rempel	  This driver supports the MXS and Alphascale ASM9260 Application
1221254da0d7SOleksij Rempel	  UART (AUART) port.
1222f19693a1SSascha Hauer
1223f19693a1SSascha Hauerconfig SERIAL_MXS_AUART_CONSOLE
1224f19693a1SSascha Hauer	bool "MXS AUART console support"
1225f19693a1SSascha Hauer	depends on SERIAL_MXS_AUART=y
1226f19693a1SSascha Hauer	select SERIAL_CORE_CONSOLE
1227f19693a1SSascha Hauer	help
1228f19693a1SSascha Hauer	  Enable a MXS AUART port to be the system console.
1229f19693a1SSascha Hauer
123061ec9016SJohn Linnconfig SERIAL_XILINX_PS_UART
1231d9bb3fb1SSoren Brinkmann	tristate "Cadence (Xilinx Zynq) UART support"
12324bb535d2SJosh Cartwright	depends on OF
123361ec9016SJohn Linn	select SERIAL_CORE
123461ec9016SJohn Linn	help
1235d9bb3fb1SSoren Brinkmann	  This driver supports the Cadence UART. It is found e.g. in Xilinx
1236d9bb3fb1SSoren Brinkmann	  Zynq.
123761ec9016SJohn Linn
123861ec9016SJohn Linnconfig SERIAL_XILINX_PS_UART_CONSOLE
1239d9bb3fb1SSoren Brinkmann	bool "Cadence UART console support"
124061ec9016SJohn Linn	depends on SERIAL_XILINX_PS_UART=y
124161ec9016SJohn Linn	select SERIAL_CORE_CONSOLE
12426fa62fc4SMichal Simek	select SERIAL_EARLYCON
124361ec9016SJohn Linn	help
1244d9bb3fb1SSoren Brinkmann	  Enable a Cadence UART port to be the system console.
124561ec9016SJohn Linn
1246d57f341bSGabor Juhosconfig SERIAL_AR933X
1247284301efSGabor Juhos	tristate "AR933X serial port support"
1248fffd7173SJohn Crispin	depends on HAVE_CLK && ATH79
1249d57f341bSGabor Juhos	select SERIAL_CORE
12509be1064fSDaniel Golle	select SERIAL_MCTRL_GPIO if GPIOLIB
1251d57f341bSGabor Juhos	help
1252d57f341bSGabor Juhos	  If you have an Atheros AR933X SOC based board and want to use the
1253d57f341bSGabor Juhos	  built-in UART of the SoC, say Y to this option.
1254d57f341bSGabor Juhos
1255284301efSGabor Juhos	  To compile this driver as a module, choose M here: the
1256284301efSGabor Juhos	  module will be called ar933x_uart.
1257284301efSGabor Juhos
1258d57f341bSGabor Juhosconfig SERIAL_AR933X_CONSOLE
1259d57f341bSGabor Juhos	bool "Console on AR933X serial port"
1260d57f341bSGabor Juhos	depends on SERIAL_AR933X=y
1261d57f341bSGabor Juhos	select SERIAL_CORE_CONSOLE
1262d57f341bSGabor Juhos	help
1263d57f341bSGabor Juhos	  Enable a built-in UART port of the AR933X to be the system console.
1264d57f341bSGabor Juhos
1265d57f341bSGabor Juhosconfig SERIAL_AR933X_NR_UARTS
1266d57f341bSGabor Juhos	int "Maximum number of AR933X serial ports"
1267d57f341bSGabor Juhos	depends on SERIAL_AR933X
1268d57f341bSGabor Juhos	default "2"
1269d57f341bSGabor Juhos	help
1270d57f341bSGabor Juhos	  Set this to the number of serial ports you want the driver
1271d57f341bSGabor Juhos	  to support.
1272d57f341bSGabor Juhos
1273041f031dSVladimir Murzinconfig SERIAL_MPS2_UART_CONSOLE
1274041f031dSVladimir Murzin	bool "MPS2 UART console support"
1275041f031dSVladimir Murzin	depends on SERIAL_MPS2_UART
1276041f031dSVladimir Murzin	select SERIAL_CORE_CONSOLE
1277bd8d257fSVladimir Murzin	select SERIAL_EARLYCON
1278041f031dSVladimir Murzin
1279041f031dSVladimir Murzinconfig SERIAL_MPS2_UART
1280041f031dSVladimir Murzin	bool "MPS2 UART port"
12813e5af8e0SGeert Uytterhoeven	depends on ARCH_MPS2 || COMPILE_TEST
1282041f031dSVladimir Murzin	select SERIAL_CORE
1283041f031dSVladimir Murzin	help
1284041f031dSVladimir Murzin	  This driver support the UART ports on ARM MPS2.
1285041f031dSVladimir Murzin
12862ac4ad2aSVineet Guptaconfig SERIAL_ARC
12872ac4ad2aSVineet Gupta	tristate "ARC UART driver support"
12882ac4ad2aSVineet Gupta	select SERIAL_CORE
12892ac4ad2aSVineet Gupta	help
12902ac4ad2aSVineet Gupta	  Driver for on-chip UART for ARC(Synopsys) for the legacy
12912ac4ad2aSVineet Gupta	  FPGA Boards (ML50x/ARCAngel4)
12922ac4ad2aSVineet Gupta
12932ac4ad2aSVineet Guptaconfig SERIAL_ARC_CONSOLE
12942ac4ad2aSVineet Gupta	bool "Console on ARC UART"
12952ac4ad2aSVineet Gupta	depends on SERIAL_ARC=y
12962ac4ad2aSVineet Gupta	select SERIAL_CORE_CONSOLE
129727cfe4ecSVineet Gupta	select SERIAL_EARLYCON
12982ac4ad2aSVineet Gupta	help
12992ac4ad2aSVineet Gupta	  Enable system Console on ARC UART
13002ac4ad2aSVineet Gupta
13012ac4ad2aSVineet Guptaconfig SERIAL_ARC_NR_PORTS
13022ac4ad2aSVineet Gupta	int "Number of ARC UART ports"
13032ac4ad2aSVineet Gupta	depends on SERIAL_ARC
13042ac4ad2aSVineet Gupta	range 1 3
13052ac4ad2aSVineet Gupta	default "1"
13062ac4ad2aSVineet Gupta	help
13072ac4ad2aSVineet Gupta	  Set this to the number of serial ports you want the driver
13082ac4ad2aSVineet Gupta	  to support.
13092ac4ad2aSVineet Gupta
13107d9f49afSKevin Cernekeeconfig SERIAL_RP2
13117d9f49afSKevin Cernekee	tristate "Comtrol RocketPort EXPRESS/INFINITY support"
13127d9f49afSKevin Cernekee	depends on PCI
13137d9f49afSKevin Cernekee	select SERIAL_CORE
13147d9f49afSKevin Cernekee	help
13157d9f49afSKevin Cernekee	  This driver supports the Comtrol RocketPort EXPRESS and
13167d9f49afSKevin Cernekee	  RocketPort INFINITY families of PCI/PCIe multiport serial adapters.
13177d9f49afSKevin Cernekee	  These adapters use a "RocketPort 2" ASIC that is not compatible
13187d9f49afSKevin Cernekee	  with the original RocketPort driver (CONFIG_ROCKETPORT).
13197d9f49afSKevin Cernekee
13207d9f49afSKevin Cernekee	  To compile this driver as a module, choose M here: the
13217d9f49afSKevin Cernekee	  module will be called rp2.
13227d9f49afSKevin Cernekee
13237d9f49afSKevin Cernekee	  If you want to compile this driver into the kernel, say Y here.  If
13247d9f49afSKevin Cernekee	  you don't have a suitable RocketPort card installed, say N.
13257d9f49afSKevin Cernekee
13267d9f49afSKevin Cernekeeconfig SERIAL_RP2_NR_UARTS
13277d9f49afSKevin Cernekee	int "Maximum number of RocketPort EXPRESS/INFINITY ports"
13287d9f49afSKevin Cernekee	depends on SERIAL_RP2
13297d9f49afSKevin Cernekee	default "32"
13307d9f49afSKevin Cernekee	help
13317d9f49afSKevin Cernekee	  If multiple cards are present, the default limit of 32 ports may
13327d9f49afSKevin Cernekee	  need to be increased.
13337d9f49afSKevin Cernekee
1334c9e2e946SJingchang Luconfig SERIAL_FSL_LPUART
1335c9e2e946SJingchang Lu	tristate "Freescale lpuart serial port support"
1336ac623914SGeert Uytterhoeven	depends on HAS_DMA
1337c9e2e946SJingchang Lu	select SERIAL_CORE
1338c9e2e946SJingchang Lu	help
1339c9e2e946SJingchang Lu	  Support for the on-chip lpuart on some Freescale SOCs.
1340c9e2e946SJingchang Lu
1341c9e2e946SJingchang Luconfig SERIAL_FSL_LPUART_CONSOLE
1342c9e2e946SJingchang Lu	bool "Console on Freescale lpuart serial port"
1343c9e2e946SJingchang Lu	depends on SERIAL_FSL_LPUART=y
1344c9e2e946SJingchang Lu	select SERIAL_CORE_CONSOLE
1345bec8bf61SPeter Hurley	select SERIAL_EARLYCON
1346c9e2e946SJingchang Lu	help
1347c9e2e946SJingchang Lu	  If you have enabled the lpuart serial port on the Freescale SoCs,
1348c9e2e946SJingchang Lu	  you can make it the console by answering Y to this option.
1349c9e2e946SJingchang Lu
135009864c1cSStefan-gabriel Mireaconfig SERIAL_FSL_LINFLEXUART
13519905f32aSStefan-Gabriel Mirea	tristate "Freescale LINFlexD UART serial port support"
1352c140e97fSMao Wenan	depends on PRINTK
135309864c1cSStefan-gabriel Mirea	select SERIAL_CORE
135409864c1cSStefan-gabriel Mirea	help
13559905f32aSStefan-Gabriel Mirea	  Support for the on-chip LINFlexD UART on some Freescale SOCs.
135609864c1cSStefan-gabriel Mirea
135709864c1cSStefan-gabriel Mireaconfig SERIAL_FSL_LINFLEXUART_CONSOLE
13589905f32aSStefan-Gabriel Mirea	bool "Console on Freescale LINFlexD UART serial port"
135909864c1cSStefan-gabriel Mirea	depends on SERIAL_FSL_LINFLEXUART=y
136009864c1cSStefan-gabriel Mirea	select SERIAL_CORE_CONSOLE
136109864c1cSStefan-gabriel Mirea	select SERIAL_EARLYCON
136209864c1cSStefan-gabriel Mirea	help
13639905f32aSStefan-Gabriel Mirea	  If you have enabled the LINFlexD UART serial port on the Freescale
136409864c1cSStefan-gabriel Mirea	  SoCs, you can make it the console by answering Y to this option.
136509864c1cSStefan-gabriel Mirea
13665930cb35SBaruch Siachconfig SERIAL_CONEXANT_DIGICOLOR
13675930cb35SBaruch Siach	tristate "Conexant Digicolor CX92xxx USART serial port support"
13685930cb35SBaruch Siach	depends on OF
13695930cb35SBaruch Siach	select SERIAL_CORE
13705930cb35SBaruch Siach	help
13715930cb35SBaruch Siach	  Support for the on-chip USART on Conexant Digicolor SoCs.
13725930cb35SBaruch Siach
13735930cb35SBaruch Siachconfig SERIAL_CONEXANT_DIGICOLOR_CONSOLE
13745930cb35SBaruch Siach	bool "Console on Conexant Digicolor serial port"
13755930cb35SBaruch Siach	depends on SERIAL_CONEXANT_DIGICOLOR=y
13765930cb35SBaruch Siach	select SERIAL_CORE_CONSOLE
13775930cb35SBaruch Siach	help
13785930cb35SBaruch Siach	  If you have enabled the USART serial port on Conexant Digicolor
13795930cb35SBaruch Siach	  SoCs, you can make it the console by answering Y to this option.
13805930cb35SBaruch Siach
1381c4b05856SSrinivas Kandagatlaconfig SERIAL_ST_ASC
1382c4b05856SSrinivas Kandagatla	tristate "ST ASC serial port support"
1383c4b05856SSrinivas Kandagatla	select SERIAL_CORE
1384965e260aSDave Jones	depends on ARM || COMPILE_TEST
1385c4b05856SSrinivas Kandagatla	help
1386e94159dfSColin Ian King	  This driver is for the on-chip Asynchronous Serial Controller on
1387c4b05856SSrinivas Kandagatla	  STMicroelectronics STi SoCs.
1388c4b05856SSrinivas Kandagatla	  ASC is embedded in ST COMMS IP block. It supports Rx & Tx functionality.
1389c4b05856SSrinivas Kandagatla	  It support all industry standard baud rates.
1390c4b05856SSrinivas Kandagatla
1391c4b05856SSrinivas Kandagatla	  If unsure, say N.
1392c4b05856SSrinivas Kandagatla
1393c4b05856SSrinivas Kandagatlaconfig SERIAL_ST_ASC_CONSOLE
1394c4b05856SSrinivas Kandagatla	bool "Support for console on ST ASC"
1395c4b05856SSrinivas Kandagatla	depends on SERIAL_ST_ASC=y
1396c4b05856SSrinivas Kandagatla	select SERIAL_CORE_CONSOLE
1397c4b05856SSrinivas Kandagatla
1398e264ebf4SJohannes Thumshirnconfig SERIAL_MEN_Z135
1399e264ebf4SJohannes Thumshirn	tristate "MEN 16z135 Support"
1400717e1cb2SArnd Bergmann	select SERIAL_CORE
1401e264ebf4SJohannes Thumshirn	depends on MCB
1402e264ebf4SJohannes Thumshirn	help
1403e264ebf4SJohannes Thumshirn	  Say yes here to enable support for the MEN 16z135 High Speed UART IP-Core
1404e264ebf4SJohannes Thumshirn	  on a MCB carrier.
1405e264ebf4SJohannes Thumshirn
1406e264ebf4SJohannes Thumshirn	  This driver can also be build as a module. If so, the module will be called
1407e264ebf4SJohannes Thumshirn	  men_z135_uart.ko
1408e264ebf4SJohannes Thumshirn
1409b7396a38SChunyan Zhangconfig SERIAL_SPRD
1410b7396a38SChunyan Zhang	tristate "Support for Spreadtrum serial"
1411b7396a38SChunyan Zhang	select SERIAL_CORE
14123b9c55efSChunyan Zhang	depends on COMMON_CLK
1413b7396a38SChunyan Zhang	help
1414b7396a38SChunyan Zhang	  This enables the driver for the Spreadtrum's serial.
1415b7396a38SChunyan Zhang
1416b7396a38SChunyan Zhangconfig SERIAL_SPRD_CONSOLE
1417b7396a38SChunyan Zhang	bool "Spreadtrum UART console support"
1418b7396a38SChunyan Zhang	depends on SERIAL_SPRD=y
1419b7396a38SChunyan Zhang	select SERIAL_CORE_CONSOLE
1420b7396a38SChunyan Zhang	select SERIAL_EARLYCON
1421b7396a38SChunyan Zhang	help
1422b7396a38SChunyan Zhang	  Support for early debug console using Spreadtrum's serial. This enables
1423b7396a38SChunyan Zhang	  the console before standard serial driver is probed. This is enabled
1424b7396a38SChunyan Zhang	  with "earlycon" on the kernel command line. The console is
1425b7396a38SChunyan Zhang	  enabled when early_param is processed.
1426b7396a38SChunyan Zhang
142748a6092fSMaxime Coquelinconfig SERIAL_STM32
142848a6092fSMaxime Coquelin	tristate "STMicroelectronics STM32 serial port support"
142948a6092fSMaxime Coquelin	select SERIAL_CORE
1430adcb05f0SPeter Robinson	depends on ARCH_STM32 || COMPILE_TEST
14316cf61b9bSManivannan Sadhasivam	select SERIAL_MCTRL_GPIO if GPIOLIB
143248a6092fSMaxime Coquelin	help
143348a6092fSMaxime Coquelin	  This driver is for the on-chip Serial Controller on
143448a6092fSMaxime Coquelin	  STMicroelectronics STM32 MCUs.
143548a6092fSMaxime Coquelin	  USART supports Rx & Tx functionality.
143648a6092fSMaxime Coquelin	  It support all industry standard baud rates.
143748a6092fSMaxime Coquelin
143848a6092fSMaxime Coquelin	  If unsure, say N.
143948a6092fSMaxime Coquelin
144048a6092fSMaxime Coquelinconfig SERIAL_STM32_CONSOLE
144148a6092fSMaxime Coquelin	bool "Support for console on STM32"
144248a6092fSMaxime Coquelin	depends on SERIAL_STM32=y
144348a6092fSMaxime Coquelin	select SERIAL_CORE_CONSOLE
144448a6092fSMaxime Coquelin
144530530791SWilson Dingconfig SERIAL_MVEBU_UART
144630530791SWilson Ding	bool "Marvell EBU serial port support"
14473d23b4c3SGeert Uytterhoeven	depends on ARCH_MVEBU || COMPILE_TEST
144830530791SWilson Ding	select SERIAL_CORE
144930530791SWilson Ding	help
145030530791SWilson Ding	  This driver is for Marvell EBU SoC's UART. If you have a machine
145130530791SWilson Ding	  based on the Armada-3700 SoC and wish to use the on-board serial
145230530791SWilson Ding	  port,
145330530791SWilson Ding	  say 'Y' here.
145430530791SWilson Ding	  Otherwise, say 'N'.
145530530791SWilson Ding
145630530791SWilson Dingconfig SERIAL_MVEBU_CONSOLE
145730530791SWilson Ding	bool "Console on Marvell EBU serial port"
145830530791SWilson Ding	depends on SERIAL_MVEBU_UART
145930530791SWilson Ding	select SERIAL_CORE_CONSOLE
146030530791SWilson Ding	select SERIAL_EARLYCON
146130530791SWilson Ding	default y
146230530791SWilson Ding	help
146330530791SWilson Ding	  Say 'Y' here if you wish to use Armada-3700 UART as the system console.
146430530791SWilson Ding	  (the system console is the device which receives all kernel messages
146530530791SWilson Ding	  and warnings and which allows logins in single user mode)
146630530791SWilson Ding	  Otherwise, say 'N'.
146730530791SWilson Ding
1468e36361d7SAndreas Färberconfig SERIAL_OWL
1469fc60a8b6SAndreas Färber	tristate "Actions Semi Owl serial port support"
1470e36361d7SAndreas Färber	depends on ARCH_ACTIONS || COMPILE_TEST
1471e36361d7SAndreas Färber	select SERIAL_CORE
1472e36361d7SAndreas Färber	help
1473e36361d7SAndreas Färber	  This driver is for Actions Semiconductor S500/S900 SoC's UART.
1474e36361d7SAndreas Färber	  Say 'Y' here if you wish to use the on-board serial port.
1475e36361d7SAndreas Färber	  Otherwise, say 'N'.
1476e36361d7SAndreas Färber
1477e36361d7SAndreas Färberconfig SERIAL_OWL_CONSOLE
1478e36361d7SAndreas Färber	bool "Console on Actions Semi Owl serial port"
1479e36361d7SAndreas Färber	depends on SERIAL_OWL=y
1480e36361d7SAndreas Färber	select SERIAL_CORE_CONSOLE
1481e36361d7SAndreas Färber	select SERIAL_EARLYCON
1482e36361d7SAndreas Färber	default y
1483e36361d7SAndreas Färber	help
1484e36361d7SAndreas Färber	  Say 'Y' here if you wish to use Actions Semiconductor S500/S900 UART
1485fc60a8b6SAndreas Färber	  as the system console.
1486e36361d7SAndreas Färber
1487c10b1332SManivannan Sadhasivamconfig SERIAL_RDA
1488c10b1332SManivannan Sadhasivam	bool "RDA Micro serial port support"
1489c10b1332SManivannan Sadhasivam	depends on ARCH_RDA || COMPILE_TEST
1490c10b1332SManivannan Sadhasivam	select SERIAL_CORE
1491c10b1332SManivannan Sadhasivam	help
1492c10b1332SManivannan Sadhasivam	  This driver is for RDA8810PL SoC's UART.
1493c10b1332SManivannan Sadhasivam	  Say 'Y' here if you wish to use the on-board serial port.
1494c10b1332SManivannan Sadhasivam	  Otherwise, say 'N'.
1495c10b1332SManivannan Sadhasivam
1496c10b1332SManivannan Sadhasivamconfig SERIAL_RDA_CONSOLE
1497c10b1332SManivannan Sadhasivam	bool "Console on RDA Micro serial port"
1498c10b1332SManivannan Sadhasivam	depends on SERIAL_RDA=y
1499c10b1332SManivannan Sadhasivam	select SERIAL_CORE_CONSOLE
1500c10b1332SManivannan Sadhasivam	select SERIAL_EARLYCON
1501c10b1332SManivannan Sadhasivam	default y
1502c10b1332SManivannan Sadhasivam	help
1503c10b1332SManivannan Sadhasivam	  Say 'Y' here if you wish to use the RDA8810PL UART as the system
1504c10b1332SManivannan Sadhasivam	  console. Only earlycon is implemented currently.
1505c10b1332SManivannan Sadhasivam
1506ba44dc04SSugaya Taichiconfig SERIAL_MILBEAUT_USIO
1507ba44dc04SSugaya Taichi	tristate "Milbeaut USIO/UART serial port support"
1508ba44dc04SSugaya Taichi	depends on ARCH_MILBEAUT || (COMPILE_TEST && OF)
1509ba44dc04SSugaya Taichi	default ARCH_MILBEAUT
1510ba44dc04SSugaya Taichi	select SERIAL_CORE
1511ba44dc04SSugaya Taichi	help
1512ba44dc04SSugaya Taichi	  This selects the USIO/UART IP found in Socionext Milbeaut SoCs.
1513ba44dc04SSugaya Taichi
1514ba44dc04SSugaya Taichiconfig SERIAL_MILBEAUT_USIO_PORTS
1515ba44dc04SSugaya Taichi	int "Maximum number of CSIO/UART ports (1-8)"
1516ba44dc04SSugaya Taichi	range 1 8
1517ba44dc04SSugaya Taichi	depends on SERIAL_MILBEAUT_USIO
1518ba44dc04SSugaya Taichi	default "4"
1519ba44dc04SSugaya Taichi
1520ba44dc04SSugaya Taichiconfig SERIAL_MILBEAUT_USIO_CONSOLE
1521ba44dc04SSugaya Taichi	bool "Support for console on MILBEAUT USIO/UART serial port"
1522ba44dc04SSugaya Taichi	depends on SERIAL_MILBEAUT_USIO=y
1523ba44dc04SSugaya Taichi	default y
1524ba44dc04SSugaya Taichi	select SERIAL_CORE_CONSOLE
1525ba44dc04SSugaya Taichi	select SERIAL_EARLYCON
1526ba44dc04SSugaya Taichi	help
1527ba44dc04SSugaya Taichi	  Say 'Y' here if you wish to use a USIO/UART of Socionext Milbeaut
1528ba44dc04SSugaya Taichi	  SoCs as the system console (the system console is the device which
1529ba44dc04SSugaya Taichi	  receives all kernel messages and warnings and which allows logins in
1530ba44dc04SSugaya Taichi	  single user mode).
1531ba44dc04SSugaya Taichi
15321da81e55SFilip Kokosinskiconfig SERIAL_LITEUART
15331da81e55SFilip Kokosinski	tristate "LiteUART serial port support"
15341da81e55SFilip Kokosinski	depends on HAS_IOMEM
15351da81e55SFilip Kokosinski	depends on OF || COMPILE_TEST
1536*0b993fc1SJohan Hovold	depends on LITEX || COMPILE_TEST
15371da81e55SFilip Kokosinski	select SERIAL_CORE
15381da81e55SFilip Kokosinski	help
15391da81e55SFilip Kokosinski	  This driver is for the FPGA-based LiteUART serial controller from LiteX
15401da81e55SFilip Kokosinski	  SoC builder.
15411da81e55SFilip Kokosinski
15421da81e55SFilip Kokosinski	  Say 'Y' or 'M' here if you wish to use the LiteUART serial controller.
15431da81e55SFilip Kokosinski	  Otherwise, say 'N'.
15441da81e55SFilip Kokosinski
15451da81e55SFilip Kokosinskiconfig SERIAL_LITEUART_MAX_PORTS
15461da81e55SFilip Kokosinski	int "Maximum number of LiteUART ports"
15471da81e55SFilip Kokosinski	depends on SERIAL_LITEUART
15481da81e55SFilip Kokosinski	default "1"
15491da81e55SFilip Kokosinski	help
15501da81e55SFilip Kokosinski	  Set this to the maximum number of serial ports you want the driver
15511da81e55SFilip Kokosinski	  to support.
15521da81e55SFilip Kokosinski
15531da81e55SFilip Kokosinskiconfig SERIAL_LITEUART_CONSOLE
15541da81e55SFilip Kokosinski	bool "LiteUART serial port console support"
15551da81e55SFilip Kokosinski	depends on SERIAL_LITEUART=y
15561da81e55SFilip Kokosinski	select SERIAL_CORE_CONSOLE
15574bc2bd5aSStafford Horne	select SERIAL_EARLYCON
15581da81e55SFilip Kokosinski	help
15591da81e55SFilip Kokosinski	  Say 'Y' or 'M' here if you wish to use the FPGA-based LiteUART serial
15601da81e55SFilip Kokosinski	  controller from LiteX SoC builder as the system console
15611da81e55SFilip Kokosinski	  (the system console is the device which receives all kernel messages
15621da81e55SFilip Kokosinski	  and warnings and which allows logins in single user mode).
15631da81e55SFilip Kokosinski	  Otherwise, say 'N'.
15641da81e55SFilip Kokosinski
1565ab4382d2SGreg Kroah-Hartmanendmenu
15664f73bc4dSJoe Millenbach
156784130aacSRichard Genoudconfig SERIAL_MCTRL_GPIO
156884130aacSRichard Genoud	tristate
1569