xref: /openbmc/linux/drivers/tty/serial/Kconfig (revision 2fa49589)
1#
2# Serial device configuration
3#
4
5if TTY
6
7menu "Serial drivers"
8	depends on HAS_IOMEM
9
10config SERIAL_EARLYCON
11	bool
12	help
13	  Support for early consoles with the earlycon parameter. This enables
14	  the console before standard serial driver is probed. The console is
15	  enabled when early_param is processed.
16
17source "drivers/tty/serial/8250/Kconfig"
18
19comment "Non-8250 serial port support"
20
21config SERIAL_AMBA_PL010
22	tristate "ARM AMBA PL010 serial port support"
23	depends on ARM_AMBA
24	select SERIAL_CORE
25	help
26	  This selects the ARM(R) AMBA(R) PrimeCell PL010 UART.  If you have
27	  an Integrator/AP or Integrator/PP2 platform, or if you have a
28	  Cirrus Logic EP93xx CPU, say Y or M here.
29
30	  If unsure, say N.
31
32config SERIAL_AMBA_PL010_CONSOLE
33	bool "Support for console on AMBA serial port"
34	depends on SERIAL_AMBA_PL010=y
35	select SERIAL_CORE_CONSOLE
36	---help---
37	  Say Y here if you wish to use an AMBA PrimeCell UART as the system
38	  console (the system console is the device which receives all kernel
39	  messages and warnings and which allows logins in single user mode).
40
41	  Even if you say Y here, the currently visible framebuffer console
42	  (/dev/tty0) will still be used as the system console by default, but
43	  you can alter that using a kernel command line option such as
44	  "console=ttyAM0". (Try "man bootparam" or see the documentation of
45	  your boot loader (lilo or loadlin) about how to pass options to the
46	  kernel at boot time.)
47
48config SERIAL_AMBA_PL011
49	tristate "ARM AMBA PL011 serial port support"
50	depends on ARM_AMBA
51	select SERIAL_CORE
52	help
53	  This selects the ARM(R) AMBA(R) PrimeCell PL011 UART.  If you have
54	  an Integrator/PP2, Integrator/CP or Versatile platform, say Y or M
55	  here.
56
57	  If unsure, say N.
58
59config SERIAL_AMBA_PL011_CONSOLE
60	bool "Support for console on AMBA serial port"
61	depends on SERIAL_AMBA_PL011=y
62	select SERIAL_CORE_CONSOLE
63	select SERIAL_EARLYCON
64	---help---
65	  Say Y here if you wish to use an AMBA PrimeCell UART as the system
66	  console (the system console is the device which receives all kernel
67	  messages and warnings and which allows logins in single user mode).
68
69	  Even if you say Y here, the currently visible framebuffer console
70	  (/dev/tty0) will still be used as the system console by default, but
71	  you can alter that using a kernel command line option such as
72	  "console=ttyAMA0". (Try "man bootparam" or see the documentation of
73	  your boot loader (lilo or loadlin) about how to pass options to the
74	  kernel at boot time.)
75
76config SERIAL_EARLYCON_ARM_SEMIHOST
77	bool "Early console using ARM semihosting"
78	depends on ARM64 || ARM
79	select SERIAL_CORE
80	select SERIAL_CORE_CONSOLE
81	select SERIAL_EARLYCON
82	help
83	  Support for early debug console using ARM semihosting. This enables
84	  the console before standard serial driver is probed. This is enabled
85	  with "earlycon=smh" on the kernel command line. The console is
86	  enabled when early_param is processed.
87
88config SERIAL_EARLYCON_RISCV_SBI
89	bool "Early console using RISC-V SBI"
90	depends on RISCV
91	select SERIAL_CORE
92	select SERIAL_CORE_CONSOLE
93	select SERIAL_EARLYCON
94	help
95	  Support for early debug console using RISC-V SBI. This enables
96	  the console before standard serial driver is probed. This is enabled
97	  with "earlycon=sbi" on the kernel command line. The console is
98	  enabled when early_param is processed.
99
100config SERIAL_SB1250_DUART
101	tristate "BCM1xxx on-chip DUART serial support"
102	depends on SIBYTE_SB1xxx_SOC=y
103	select SERIAL_CORE
104	default y
105	---help---
106	  Support for the asynchronous serial interface (DUART) included in
107	  the BCM1250 and derived System-On-a-Chip (SOC) devices.  Note that
108	  the letter D in DUART stands for "dual", which is how the device
109	  is implemented.  Depending on the SOC configuration there may be
110	  one or more DUARTs available of which all are handled.
111
112	  If unsure, say Y.  To compile this driver as a module, choose M here:
113	  the module will be called sb1250-duart.
114
115config SERIAL_SB1250_DUART_CONSOLE
116	bool "Support for console on a BCM1xxx DUART serial port"
117	depends on SERIAL_SB1250_DUART=y
118	select SERIAL_CORE_CONSOLE
119	default y
120	---help---
121	  If you say Y here, it will be possible to use a serial port as the
122	  system console (the system console is the device which receives all
123	  kernel messages and warnings and which allows logins in single user
124	  mode).
125
126	  If unsure, say Y.
127
128config SERIAL_ATMEL
129	bool "AT91 on-chip serial port support"
130	depends on ARCH_AT91 || COMPILE_TEST
131	select SERIAL_CORE
132	select SERIAL_MCTRL_GPIO if GPIOLIB
133	select MFD_AT91_USART
134	help
135	  This enables the driver for the on-chip UARTs of the Atmel
136	  AT91 processors.
137
138config SERIAL_ATMEL_CONSOLE
139	bool "Support for console on AT91 serial port"
140	depends on SERIAL_ATMEL=y
141	select SERIAL_CORE_CONSOLE
142	help
143	  Say Y here if you wish to use an on-chip UART on a Atmel
144	  AT91 processor as the system console (the system
145	  console is the device which receives all kernel messages and
146	  warnings and which allows logins in single user mode).
147
148config SERIAL_ATMEL_PDC
149	bool "Support DMA transfers on AT91 serial port"
150	depends on SERIAL_ATMEL
151	default y
152	help
153	  Say Y here if you wish to use the PDC to do DMA transfers to
154	  and from the Atmel AT91 serial port. In order to
155	  actually use DMA transfers, make sure that the use_dma_tx
156	  and use_dma_rx members in the atmel_uart_data struct is set
157	  appropriately for each port.
158
159	  Note that break and error handling currently doesn't work
160	  properly when DMA is enabled. Make sure that ports where
161	  this matters don't use DMA.
162
163config SERIAL_ATMEL_TTYAT
164	bool "Install as device ttyATn instead of ttySn"
165	depends on SERIAL_ATMEL=y
166	help
167	  Say Y here if you wish to have the internal AT91 UARTs
168	  appear as /dev/ttyATn (major 204, minor starting at 154)
169	  instead of the normal /dev/ttySn (major 4, minor starting at
170	  64). This is necessary if you also want other UARTs, such as
171	  external 8250/16C550 compatible UARTs.
172	  The ttySn nodes are legally reserved for the 8250 serial driver
173	  but are often misused by other serial drivers.
174
175	  To use this, you should create suitable ttyATn device nodes in
176	  /dev/, and pass "console=ttyATn" to the kernel.
177
178	  Say Y if you have an external 8250/16C550 UART.  If unsure, say N.
179
180config SERIAL_KGDB_NMI
181	bool "Serial console over KGDB NMI debugger port"
182	depends on KGDB_SERIAL_CONSOLE
183	help
184	  This special driver allows you to temporary use NMI debugger port
185	  as a normal console (assuming that the port is attached to KGDB).
186
187	  Unlike KDB's disable_nmi command, with this driver you are always
188	  able to go back to the debugger using KGDB escape sequence ($3#33).
189	  This is because this console driver processes the input in NMI
190	  context, and thus is able to intercept the magic sequence.
191
192	  Note that since the console interprets input and uses polling
193	  communication methods, for things like PPP you still must fully
194	  detach debugger port from the KGDB NMI (i.e. disable_nmi), and
195	  use raw console.
196
197	  If unsure, say N.
198
199config SERIAL_KS8695
200	bool "Micrel KS8695 (Centaur) serial port support"
201	depends on ARCH_KS8695
202	select SERIAL_CORE
203	help
204	  This selects the Micrel Centaur KS8695 UART.  Say Y here.
205
206config SERIAL_KS8695_CONSOLE
207	bool "Support for console on KS8695 (Centaur) serial port"
208	depends on SERIAL_KS8695=y
209	select SERIAL_CORE_CONSOLE
210	help
211	  Say Y here if you wish to use a KS8695 (Centaur) UART as the
212	  system console (the system console is the device which
213	  receives all kernel messages and warnings and which allows
214	  logins in single user mode).
215
216config SERIAL_MESON
217	tristate "Meson serial port support"
218	depends on ARCH_MESON
219	select SERIAL_CORE
220	help
221	  This enables the driver for the on-chip UARTs of the Amlogic
222	  MesonX processors.
223
224config SERIAL_MESON_CONSOLE
225	bool "Support for console on meson"
226	depends on SERIAL_MESON=y
227	select SERIAL_CORE_CONSOLE
228	select SERIAL_EARLYCON
229	help
230	  Say Y here if you wish to use a Amlogic MesonX UART as the
231	  system console (the system console is the device which
232	  receives all kernel messages and warnings and which allows
233	  logins in single user mode) as /dev/ttyAMLx.
234
235config SERIAL_CLPS711X
236	tristate "CLPS711X serial port support"
237	depends on ARCH_CLPS711X || COMPILE_TEST
238	select SERIAL_CORE
239	select SERIAL_MCTRL_GPIO if GPIOLIB
240	help
241	  This enables the driver for the on-chip UARTs of the Cirrus
242	  Logic EP711x/EP721x/EP731x processors.
243
244config SERIAL_CLPS711X_CONSOLE
245	bool "Support for console on CLPS711X serial port"
246	depends on SERIAL_CLPS711X=y
247	select SERIAL_CORE_CONSOLE
248	help
249	  Even if you say Y here, the currently visible virtual console
250	  (/dev/tty0) will still be used as the system console by default, but
251	  you can alter that using a kernel command line option such as
252	  "console=ttyCL1".
253
254config SERIAL_SAMSUNG
255	tristate "Samsung SoC serial support"
256	depends on PLAT_SAMSUNG || ARCH_EXYNOS
257	select SERIAL_CORE
258	help
259	  Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
260	  providing /dev/ttySAC0, 1 and 2 (note, some machines may not
261	  provide all of these ports, depending on how the serial port
262	  pins are configured.
263
264config SERIAL_SAMSUNG_UARTS_4
265	bool
266	depends on SERIAL_SAMSUNG
267	default y if !(CPU_S3C2410 || CPU_S3C2412 || CPU_S3C2440 || CPU_S3C2442)
268	help
269	  Internal node for the common case of 4 Samsung compatible UARTs
270
271config SERIAL_SAMSUNG_UARTS
272	int
273	depends on SERIAL_SAMSUNG
274	default 4 if SERIAL_SAMSUNG_UARTS_4 || CPU_S3C2416
275	default 3
276	help
277	  Select the number of available UART ports for the Samsung S3C
278	  serial driver
279
280config SERIAL_SAMSUNG_DEBUG
281	bool "Samsung SoC serial debug"
282	depends on SERIAL_SAMSUNG && DEBUG_LL
283	help
284	  Add support for debugging the serial driver. Since this is
285	  generally being used as a console, we use our own output
286	  routines that go via the low-level debug printascii()
287	  function.
288
289config SERIAL_SAMSUNG_CONSOLE
290	bool "Support for console on Samsung SoC serial port"
291	depends on SERIAL_SAMSUNG=y
292	select SERIAL_CORE_CONSOLE
293	select SERIAL_EARLYCON
294	help
295	  Allow selection of the S3C24XX on-board serial ports for use as
296	  an virtual console.
297
298	  Even if you say Y here, the currently visible virtual console
299	  (/dev/tty0) will still be used as the system console by default, but
300	  you can alter that using a kernel command line option such as
301	  "console=ttySACx". (Try "man bootparam" or see the documentation of
302	  your boot loader about how to pass options to the kernel at
303	  boot time.)
304
305config SERIAL_SIRFSOC
306        tristate "SiRF SoC Platform Serial port support"
307        depends on ARCH_SIRF
308        select SERIAL_CORE
309        help
310          Support for the on-chip UART on the CSR SiRFprimaII series,
311          providing /dev/ttySiRF0, 1 and 2 (note, some machines may not
312          provide all of these ports, depending on how the serial port
313          pins are configured).
314
315config SERIAL_SIRFSOC_CONSOLE
316        bool "Support for console on SiRF SoC serial port"
317        depends on SERIAL_SIRFSOC=y
318        select SERIAL_CORE_CONSOLE
319        help
320          Even if you say Y here, the currently visible virtual console
321          (/dev/tty0) will still be used as the system console by default, but
322          you can alter that using a kernel command line option such as
323          "console=ttySiRFx". (Try "man bootparam" or see the documentation of
324          your boot loader about how to pass options to the kernel at
325          boot time.)
326
327config SERIAL_TEGRA
328	tristate "NVIDIA Tegra20/30 SoC serial controller"
329	depends on ARCH_TEGRA && TEGRA20_APB_DMA
330	select SERIAL_CORE
331	help
332	  Support for the on-chip UARTs on the NVIDIA Tegra series SOCs
333	  providing /dev/ttyTHS0, 1, 2, 3 and 4 (note, some machines may not
334	  provide all of these ports, depending on how the serial port
335	  are enabled). This driver uses the APB DMA to achieve higher baudrate
336	  and better performance.
337
338config SERIAL_MAX3100
339	tristate "MAX3100 support"
340	depends on SPI
341	select SERIAL_CORE
342	help
343	  MAX3100 chip support
344
345config SERIAL_MAX310X
346	tristate "MAX310X support"
347	depends on SPI_MASTER
348	select SERIAL_CORE
349	select REGMAP_SPI if SPI_MASTER
350	default n
351	help
352	  This selects support for an advanced UART from Maxim (Dallas).
353	  Supported ICs are MAX3107, MAX3108, MAX3109, MAX14830.
354	  Each IC contains 128 words each of receive and transmit FIFO
355	  that can be controlled through I2C or high-speed SPI.
356
357	  Say Y here if you want to support this ICs.
358
359config SERIAL_DZ
360	bool "DECstation DZ serial driver"
361	depends on MACH_DECSTATION && 32BIT
362	select SERIAL_CORE
363	default y
364	---help---
365	  DZ11-family serial controllers for DECstations and VAXstations,
366	  including the DC7085, M7814, and M7819.
367
368config SERIAL_DZ_CONSOLE
369	bool "Support console on DECstation DZ serial driver"
370	depends on SERIAL_DZ=y
371	select SERIAL_CORE_CONSOLE
372	default y
373	---help---
374	  If you say Y here, it will be possible to use a serial port as the
375	  system console (the system console is the device which receives all
376	  kernel messages and warnings and which allows logins in single user
377	  mode).
378
379	  Note that the firmware uses ttyS3 as the serial console on
380	  DECstations that use this driver.
381
382	  If unsure, say Y.
383
384config SERIAL_ZS
385	tristate "DECstation Z85C30 serial support"
386	depends on MACH_DECSTATION
387	select SERIAL_CORE
388	default y
389	---help---
390	  Support for the Zilog 85C350 serial communications controller used
391	  for serial ports in newer DECstation systems.  These include the
392	  DECsystem 5900 and all models of the DECstation and DECsystem 5000
393	  systems except from model 200.
394
395	  If unsure, say Y.  To compile this driver as a module, choose M here:
396	  the module will be called zs.
397
398config SERIAL_ZS_CONSOLE
399	bool "Support for console on a DECstation Z85C30 serial port"
400	depends on SERIAL_ZS=y
401	select SERIAL_CORE_CONSOLE
402	default y
403	---help---
404	  If you say Y here, it will be possible to use a serial port as the
405	  system console (the system console is the device which receives all
406	  kernel messages and warnings and which allows logins in single user
407	  mode).
408
409	  Note that the firmware uses ttyS1 as the serial console on the
410	  Maxine and ttyS3 on the others using this driver.
411
412	  If unsure, say Y.
413
414config SERIAL_21285
415	tristate "DC21285 serial port support"
416	depends on FOOTBRIDGE
417	select SERIAL_CORE
418	help
419	  If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
420	  PCI bridge you can enable its onboard serial port by enabling this
421	  option.
422
423config SERIAL_21285_CONSOLE
424	bool "Console on DC21285 serial port"
425	depends on SERIAL_21285=y
426	select SERIAL_CORE_CONSOLE
427	help
428	  If you have enabled the serial port on the 21285 footbridge you can
429	  make it the console by answering Y to this option.
430
431	  Even if you say Y here, the currently visible virtual console
432	  (/dev/tty0) will still be used as the system console by default, but
433	  you can alter that using a kernel command line option such as
434	  "console=ttyFB". (Try "man bootparam" or see the documentation of
435	  your boot loader (lilo or loadlin) about how to pass options to the
436	  kernel at boot time.)
437
438config SERIAL_MPSC
439	bool "Marvell MPSC serial port support"
440	depends on MV64X60
441	select SERIAL_CORE
442	help
443	  Say Y here if you want to use the Marvell MPSC serial controller.
444
445config SERIAL_MPSC_CONSOLE
446	bool "Support for console on Marvell MPSC serial port"
447	depends on SERIAL_MPSC
448	select SERIAL_CORE_CONSOLE
449	help
450	  Say Y here if you want to support a serial console on a Marvell MPSC.
451
452config SERIAL_PXA
453	bool "PXA serial port support (DEPRECATED)"
454	depends on ARCH_PXA || ARCH_MMP
455	select SERIAL_CORE
456	select SERIAL_8250_PXA if SERIAL_8250=y
457	select SERIAL_PXA_NON8250 if !SERIAL_8250=y
458	help
459	  If you have a machine based on an Intel XScale PXA2xx CPU you
460	  can enable its onboard serial ports by enabling this option.
461
462	  Unless you have a specific need, you should use SERIAL_8250_PXA
463	  instead of this.
464
465config SERIAL_PXA_NON8250
466	bool
467	depends on !SERIAL_8250
468
469config SERIAL_PXA_CONSOLE
470	bool "Console on PXA serial port (DEPRECATED)"
471	depends on SERIAL_PXA
472	select SERIAL_CORE_CONSOLE
473	select SERIAL_8250_CONSOLE if SERIAL_8250=y
474	help
475	  If you have enabled the serial port on the Intel XScale PXA
476	  CPU you can make it the console by answering Y to this option.
477
478	  Even if you say Y here, the currently visible virtual console
479	  (/dev/tty0) will still be used as the system console by default, but
480	  you can alter that using a kernel command line option such as
481	  "console=ttySA0". (Try "man bootparam" or see the documentation of
482	  your boot loader (lilo or loadlin) about how to pass options to the
483	  kernel at boot time.)
484
485	  Unless you have a specific need, you should use SERIAL_8250_PXA
486	  and SERIAL_8250_CONSOLE instead of this.
487
488config SERIAL_SA1100
489	bool "SA1100 serial port support"
490	depends on ARCH_SA1100
491	select SERIAL_CORE
492	help
493	  If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
494	  can enable its onboard serial port by enabling this option.
495	  Please read <file:Documentation/arm/SA1100/serial_UART> for further
496	  info.
497
498config SERIAL_SA1100_CONSOLE
499	bool "Console on SA1100 serial port"
500	depends on SERIAL_SA1100
501	select SERIAL_CORE_CONSOLE
502	help
503	  If you have enabled the serial port on the SA1100/SA1110 StrongARM
504	  CPU you can make it the console by answering Y to this option.
505
506	  Even if you say Y here, the currently visible virtual console
507	  (/dev/tty0) will still be used as the system console by default, but
508	  you can alter that using a kernel command line option such as
509	  "console=ttySA0". (Try "man bootparam" or see the documentation of
510	  your boot loader (lilo or loadlin) about how to pass options to the
511	  kernel at boot time.)
512
513config SERIAL_IMX
514	tristate "IMX serial port support"
515	depends on ARCH_MXC || COMPILE_TEST
516	select SERIAL_CORE
517	select RATIONAL
518	select SERIAL_MCTRL_GPIO if GPIOLIB
519	help
520	  If you have a machine based on a Motorola IMX CPU you
521	  can enable its onboard serial port by enabling this option.
522
523config SERIAL_IMX_CONSOLE
524	bool "Console on IMX serial port"
525	depends on SERIAL_IMX=y
526	select SERIAL_CORE_CONSOLE
527	select SERIAL_EARLYCON if OF
528	help
529	  If you have enabled the serial port on the Freescale IMX
530	  CPU you can make it the console by answering Y to this option.
531
532	  Even if you say Y here, the currently visible virtual console
533	  (/dev/tty0) will still be used as the system console by default, but
534	  you can alter that using a kernel command line option such as
535	  "console=ttymxc0". (Try "man bootparam" or see the documentation of
536	  your bootloader about how to pass options to the kernel at boot time.)
537
538config SERIAL_UARTLITE
539	tristate "Xilinx uartlite serial port support"
540	depends on HAS_IOMEM
541	select SERIAL_CORE
542	help
543	  Say Y here if you want to use the Xilinx uartlite serial controller.
544
545	  To compile this driver as a module, choose M here: the
546	  module will be called uartlite.
547
548config SERIAL_UARTLITE_CONSOLE
549	bool "Support for console on Xilinx uartlite serial port"
550	depends on SERIAL_UARTLITE=y
551	select SERIAL_CORE_CONSOLE
552	select SERIAL_EARLYCON
553	help
554	  Say Y here if you wish to use a Xilinx uartlite as the system
555	  console (the system console is the device which receives all kernel
556	  messages and warnings and which allows logins in single user mode).
557
558config SERIAL_UARTLITE_NR_UARTS
559	int "Maximum number of uartlite serial ports"
560	depends on SERIAL_UARTLITE
561	range 1 256
562	default 1
563	help
564	  Set this to the number of uartlites in your system, or the number
565	  you think you might implement.
566
567config SERIAL_SUNCORE
568	bool
569	depends on SPARC
570	select SERIAL_CORE
571	select SERIAL_CORE_CONSOLE
572	default y
573
574config SERIAL_SUNZILOG
575	tristate "Sun Zilog8530 serial support"
576	depends on SPARC
577	help
578	  This driver supports the Zilog8530 serial ports found on many Sparc
579	  systems.  Say Y or M if you want to be able to these serial ports.
580
581config SERIAL_SUNZILOG_CONSOLE
582	bool "Console on Sun Zilog8530 serial port"
583	depends on SERIAL_SUNZILOG=y
584	help
585	  If you would like to be able to use the Zilog8530 serial port
586	  on your Sparc system as the console, you can do so by answering
587	  Y to this option.
588
589config SERIAL_SUNSU
590	tristate "Sun SU serial support"
591	depends on SPARC && PCI
592	help
593	  This driver supports the 8250 serial ports that run the keyboard and
594	  mouse on (PCI) UltraSPARC systems.  Say Y or M if you want to be able
595	  to these serial ports.
596
597config SERIAL_SUNSU_CONSOLE
598	bool "Console on Sun SU serial port"
599	depends on SERIAL_SUNSU=y
600	help
601	  If you would like to be able to use the SU serial port
602	  on your Sparc system as the console, you can do so by answering
603	  Y to this option.
604
605config SERIAL_MUX
606	tristate "Serial MUX support"
607	depends on GSC
608	select SERIAL_CORE
609	default y
610	---help---
611	  Saying Y here will enable the hardware MUX serial driver for
612	  the Nova, K class systems and D class with a 'remote control card'.
613	  The hardware MUX is not 8250/16550 compatible therefore the
614	  /dev/ttyB0 device is shared between the Serial MUX and the PDC
615	  software console. The following steps need to be completed to use
616	  the Serial MUX:
617
618	    1. create the device entry (mknod /dev/ttyB0 c 11 0)
619	    2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
620	    3. Add device ttyB0 to /etc/securetty (if you want to log on as
621		 root on this console.)
622	    4. Change the kernel command console parameter to: console=ttyB0
623
624config SERIAL_MUX_CONSOLE
625	bool "Support for console on serial MUX"
626	depends on SERIAL_MUX=y
627	select SERIAL_CORE_CONSOLE
628	default y
629
630config PDC_CONSOLE
631	bool "PDC software console support"
632	depends on PARISC && !SERIAL_MUX && VT
633	default n
634	help
635	  Saying Y here will enable the software based PDC console to be
636	  used as the system console.  This is useful for machines in
637	  which the hardware based console has not been written yet.  The
638	  following steps must be completed to use the PDC console:
639
640	    1. create the device entry (mknod /dev/ttyB0 c 11 0)
641	    2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
642	    3. Add device ttyB0 to /etc/securetty (if you want to log on as
643		 root on this console.)
644	    4. Change the kernel command console parameter to: console=ttyB0
645
646config SERIAL_SUNSAB
647	tristate "Sun Siemens SAB82532 serial support"
648	depends on SPARC && PCI
649	help
650	  This driver supports the Siemens SAB82532 DUSCC serial ports on newer
651	  (PCI) UltraSPARC systems.  Say Y or M if you want to be able to these
652	  serial ports.
653
654config SERIAL_SUNSAB_CONSOLE
655	bool "Console on Sun Siemens SAB82532 serial port"
656	depends on SERIAL_SUNSAB=y
657	help
658	  If you would like to be able to use the SAB82532 serial port
659	  on your Sparc system as the console, you can do so by answering
660	  Y to this option.
661
662config SERIAL_SUNHV
663	bool "Sun4v Hypervisor Console support"
664	depends on SPARC64
665	help
666	  This driver supports the console device found on SUN4V Sparc
667	  systems.  Say Y if you want to be able to use this device.
668
669config SERIAL_IP22_ZILOG
670	tristate "SGI Zilog8530 serial support"
671	depends on SGI_HAS_ZILOG
672	select SERIAL_CORE
673	help
674	  This driver supports the Zilog8530 serial ports found on SGI
675	  systems.  Say Y or M if you want to be able to these serial ports.
676
677config SERIAL_IP22_ZILOG_CONSOLE
678	bool "Console on SGI Zilog8530 serial port"
679	depends on SERIAL_IP22_ZILOG=y
680	select SERIAL_CORE_CONSOLE
681
682config SERIAL_SH_SCI
683	tristate "SuperH SCI(F) serial port support"
684	depends on SUPERH || ARCH_RENESAS || H8300 || COMPILE_TEST
685	select SERIAL_CORE
686	select SERIAL_MCTRL_GPIO if GPIOLIB
687
688config SERIAL_SH_SCI_NR_UARTS
689	int "Maximum number of SCI(F) serial ports" if EXPERT
690	range 1 64 if 64BIT
691	range 1 32 if !64BIT
692	depends on SERIAL_SH_SCI
693	default "3" if H8300
694	default "10" if SUPERH
695	default "18" if ARCH_RENESAS
696	default "2"
697
698config SERIAL_SH_SCI_CONSOLE
699	bool "Support for console on SuperH SCI(F)" if EXPERT
700	depends on SERIAL_SH_SCI=y
701	select SERIAL_CORE_CONSOLE
702	default y
703
704config SERIAL_SH_SCI_EARLYCON
705	bool "Support for early console on SuperH SCI(F)" if EXPERT
706	depends on SERIAL_SH_SCI=y
707	select SERIAL_CORE_CONSOLE
708	select SERIAL_EARLYCON
709	default ARCH_RENESAS || H8300
710
711config SERIAL_SH_SCI_DMA
712	bool "DMA support" if EXPERT
713	depends on SERIAL_SH_SCI && DMA_ENGINE
714	default ARCH_RENESAS
715
716config SERIAL_PNX8XXX
717	bool "Enable PNX8XXX SoCs' UART Support"
718	depends on SOC_PNX833X
719	select SERIAL_CORE
720	help
721	  If you have a MIPS-based Philips SoC such as PNX8330 and you want
722	  to use serial ports, say Y.  Otherwise, say N.
723
724config SERIAL_PNX8XXX_CONSOLE
725	bool "Enable PNX8XX0 serial console"
726	depends on SERIAL_PNX8XXX
727	select SERIAL_CORE_CONSOLE
728	help
729	  If you have a MIPS-based Philips SoC such as PNX8330 and you want
730	  to use serial console, say Y. Otherwise, say N.
731
732config SERIAL_HS_LPC32XX
733	tristate "LPC32XX high speed serial port support"
734	depends on ARCH_LPC32XX && OF
735	select SERIAL_CORE
736	help
737	  Support for the LPC32XX high speed serial ports (up to 900kbps).
738	  Those are UARTs completely different from the Standard UARTs on the
739	  LPC32XX SoC.
740	  Choose M or Y here to build this driver.
741
742config SERIAL_HS_LPC32XX_CONSOLE
743	bool "Enable LPC32XX high speed UART serial console"
744	depends on SERIAL_HS_LPC32XX=y
745	select SERIAL_CORE_CONSOLE
746	help
747	  If you would like to be able to use one of the high speed serial
748	  ports on the LPC32XX as the console, you can do so by answering
749	  Y to this option.
750
751config SERIAL_CORE
752	tristate
753
754config SERIAL_CORE_CONSOLE
755	bool
756
757config CONSOLE_POLL
758	bool
759
760config SERIAL_MCF
761	bool "Coldfire serial support"
762	depends on COLDFIRE
763	select SERIAL_CORE
764	help
765	  This serial driver supports the Freescale Coldfire serial ports.
766
767config SERIAL_MCF_BAUDRATE
768	int "Default baudrate for Coldfire serial ports"
769	depends on SERIAL_MCF
770	default 19200
771	help
772	  This setting lets you define what the default baudrate is for the
773	  ColdFire serial ports. The usual default varies from board to board,
774	  and this setting is a way of catering for that.
775
776config SERIAL_MCF_CONSOLE
777	bool "Coldfire serial console support"
778	depends on SERIAL_MCF
779	select SERIAL_CORE_CONSOLE
780	help
781	  Enable a ColdFire internal serial port to be the system console.
782
783config SERIAL_PMACZILOG
784	tristate "Mac or PowerMac z85c30 ESCC support"
785	depends on (M68K && MAC) || PPC_PMAC
786	select SERIAL_CORE
787	help
788	  This driver supports the Zilog z85C30 serial ports found on
789	  (Power)Mac machines.
790	  Say Y or M if you want to be able to these serial ports.
791
792config SERIAL_PMACZILOG_TTYS
793	bool "Use ttySn device nodes for Zilog z85c30"
794	depends on SERIAL_PMACZILOG
795	help
796	  The pmac_zilog driver for the z85C30 chip on many powermacs
797	  historically used the device numbers for /dev/ttySn.  The
798	  8250 serial port driver also uses these numbers, which means
799	  the two drivers being unable to coexist; you could not use
800	  both z85C30 and 8250 type ports at the same time.
801
802	  If this option is not selected, the pmac_zilog driver will
803	  use the device numbers allocated for /dev/ttyPZn.  This allows
804	  the pmac_zilog and 8250 drivers to co-exist, but may cause
805	  existing userspace setups to break.  Programs that need to
806	  access the built-in serial ports on powermacs will need to
807	  be reconfigured to use /dev/ttyPZn instead of /dev/ttySn.
808
809	  If you enable this option, any z85c30 ports in the system will
810	  be registered as ttyS0 onwards as in the past, and you will be
811	  unable to use the 8250 module for PCMCIA or other 16C550-style
812	  UARTs.
813
814	  Say N unless you need the z85c30 ports on your (Power)Mac
815	  to appear as /dev/ttySn.
816
817config SERIAL_PMACZILOG_CONSOLE
818	bool "Console on Mac or PowerMac z85c30 serial port"
819	depends on SERIAL_PMACZILOG=y
820	select SERIAL_CORE_CONSOLE
821	help
822	  If you would like to be able to use the z85c30 serial port
823	  on your (Power)Mac as the console, you can do so by answering
824	  Y to this option.
825
826config SERIAL_CPM
827	tristate "CPM SCC/SMC serial port support"
828	depends on CPM2 || CPM1
829	select SERIAL_CORE
830	help
831	  This driver supports the SCC and SMC serial ports on Motorola
832	  embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)
833
834config SERIAL_CPM_CONSOLE
835	bool "Support for console on CPM SCC/SMC serial port"
836	depends on SERIAL_CPM=y
837	select SERIAL_CORE_CONSOLE
838	help
839	  Say Y here if you wish to use a SCC or SMC CPM UART as the system
840	  console (the system console is the device which receives all kernel
841	  messages and warnings and which allows logins in single user mode).
842
843	  Even if you say Y here, the currently visible framebuffer console
844	  (/dev/tty0) will still be used as the system console by default, but
845	  you can alter that using a kernel command line option such as
846	  "console=ttyCPM0". (Try "man bootparam" or see the documentation of
847	  your boot loader (lilo or loadlin) about how to pass options to the
848	  kernel at boot time.)
849
850config SERIAL_SGI_L1_CONSOLE
851	bool "SGI Altix L1 serial console support"
852	depends on IA64_GENERIC || IA64_SGI_SN2
853	select SERIAL_CORE
854	select SERIAL_CORE_CONSOLE
855	help
856		If you have an SGI Altix and you would like to use the system
857		controller serial port as your console (you want this!),
858		say Y.  Otherwise, say N.
859
860config SERIAL_PIC32
861	tristate "Microchip PIC32 serial support"
862	depends on MACH_PIC32
863	select SERIAL_CORE
864	help
865	  If you have a PIC32, this driver supports the serial ports.
866
867	  Say Y or M to use PIC32 serial ports, otherwise say N. Note that
868	  to use a serial port as a console, this must be included in kernel and
869	  not as a module.
870
871config SERIAL_PIC32_CONSOLE
872	bool "PIC32 serial console support"
873	depends on SERIAL_PIC32
874	select SERIAL_CORE_CONSOLE
875	help
876	  If you have a PIC32, this driver supports the putting a console on one
877	  of the serial ports.
878
879	  Say Y to use the PIC32 console, otherwise say N.
880
881config SERIAL_MPC52xx
882	tristate "Freescale MPC52xx/MPC512x family PSC serial support"
883	depends on PPC_MPC52xx || PPC_MPC512x
884	select SERIAL_CORE
885	help
886	  This driver supports MPC52xx and MPC512x PSC serial ports. If you would
887	  like to use them, you must answer Y or M to this option. Note that
888	  for use as console, it must be included in kernel and not as a
889	  module.
890
891config SERIAL_MPC52xx_CONSOLE
892	bool "Console on a Freescale MPC52xx/MPC512x family PSC serial port"
893	depends on SERIAL_MPC52xx=y
894	select SERIAL_CORE_CONSOLE
895	help
896	  Select this options if you'd like to use one of the PSC serial port
897	  of the Freescale MPC52xx family as a console.
898
899config SERIAL_MPC52xx_CONSOLE_BAUD
900	int "Freescale MPC52xx/MPC512x family PSC serial port baud"
901	depends on SERIAL_MPC52xx_CONSOLE=y
902	default "9600"
903	help
904	  Select the MPC52xx console baud rate.
905	  This value is only used if the bootloader doesn't pass in the
906	  console baudrate
907
908config SERIAL_ICOM
909	tristate "IBM Multiport Serial Adapter"
910	depends on PCI && PPC_PSERIES
911	select SERIAL_CORE
912	select FW_LOADER
913	help
914	  This driver is for a family of multiport serial adapters
915	  including 2 port RVX, 2 port internal modem, 4 port internal
916	  modem and a split 1 port RVX and 1 port internal modem.
917
918	  This driver can also be built as a module.  If so, the module
919	  will be called icom.
920
921config SERIAL_TXX9
922	bool "TMPTX39XX/49XX SIO support"
923	depends on HAS_TXX9_SERIAL
924	select SERIAL_CORE
925	default y
926
927config HAS_TXX9_SERIAL
928	bool
929
930config SERIAL_TXX9_NR_UARTS
931	int "Maximum number of TMPTX39XX/49XX SIO ports"
932	depends on SERIAL_TXX9
933	default "6"
934
935config SERIAL_TXX9_CONSOLE
936	bool "TMPTX39XX/49XX SIO Console support"
937	depends on SERIAL_TXX9=y
938	select SERIAL_CORE_CONSOLE
939
940config SERIAL_TXX9_STDSERIAL
941	bool "TX39XX/49XX SIO act as standard serial"
942	depends on !SERIAL_8250 && SERIAL_TXX9
943
944config SERIAL_VR41XX
945	tristate "NEC VR4100 series Serial Interface Unit support"
946	depends on CPU_VR41XX
947	select SERIAL_CORE
948	help
949	  If you have a NEC VR4100 series processor and you want to use
950	  Serial Interface Unit(SIU) or Debug Serial Interface Unit(DSIU)
951	  (not include VR4111/VR4121 DSIU), say Y.  Otherwise, say N.
952
953config SERIAL_VR41XX_CONSOLE
954	bool "Enable NEC VR4100 series Serial Interface Unit console"
955	depends on SERIAL_VR41XX=y
956	select SERIAL_CORE_CONSOLE
957	help
958	  If you have a NEC VR4100 series processor and you want to use
959	  a console on a serial port, say Y.  Otherwise, say N.
960
961config SERIAL_JSM
962	tristate "Digi International NEO and Classic PCI Support"
963	depends on PCI
964	select SERIAL_CORE
965	help
966	  This is a driver for Digi International's Neo and Classic series
967	  of cards which provide multiple serial ports. You would need
968	  something like this to connect more than two modems to your Linux
969	  box, for instance in order to become a dial-in server. This driver
970	  supports PCI boards only.
971
972	  If you have a card like this, say Y here, otherwise say N.
973
974	  To compile this driver as a module, choose M here: the
975	  module will be called jsm.
976
977config SERIAL_SGI_IOC4
978	tristate "SGI IOC4 controller serial support"
979	depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC4
980	select SERIAL_CORE
981	help
982		If you have an SGI Altix with an IOC4 based Base IO card
983		and wish to use the serial ports on this card, say Y.
984		Otherwise, say N.
985
986config SERIAL_SGI_IOC3
987	tristate "SGI Altix IOC3 serial support"
988	depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC3
989	select SERIAL_CORE
990	help
991	  If you have an SGI Altix with an IOC3 serial card,
992	  say Y or M.  Otherwise, say N.
993
994config SERIAL_MSM
995	tristate "MSM on-chip serial port support"
996	depends on ARCH_QCOM
997	select SERIAL_CORE
998
999config SERIAL_MSM_CONSOLE
1000	bool "MSM serial console support"
1001	depends on SERIAL_MSM=y
1002	select SERIAL_CORE_CONSOLE
1003	select SERIAL_EARLYCON
1004
1005config SERIAL_QCOM_GENI
1006	tristate "QCOM on-chip GENI based serial port support"
1007	depends on ARCH_QCOM || COMPILE_TEST
1008	depends on QCOM_GENI_SE
1009	select SERIAL_CORE
1010
1011config SERIAL_QCOM_GENI_CONSOLE
1012	bool "QCOM GENI Serial Console support"
1013	depends on SERIAL_QCOM_GENI=y
1014	select SERIAL_CORE_CONSOLE
1015	select SERIAL_EARLYCON
1016	help
1017	  Serial console driver for Qualcomm Technologies Inc's GENI based
1018	  QUP hardware.
1019
1020config SERIAL_VT8500
1021	bool "VIA VT8500 on-chip serial port support"
1022	depends on ARCH_VT8500
1023	select SERIAL_CORE
1024
1025config SERIAL_VT8500_CONSOLE
1026	bool "VIA VT8500 serial console support"
1027	depends on SERIAL_VT8500=y
1028	select SERIAL_CORE_CONSOLE
1029
1030config SERIAL_NETX
1031	tristate "NetX serial port support"
1032	depends on ARCH_NETX
1033	select SERIAL_CORE
1034	help
1035	  If you have a machine based on a Hilscher NetX SoC you
1036	  can enable its onboard serial port by enabling this option.
1037
1038          To compile this driver as a module, choose M here: the
1039          module will be called netx-serial.
1040
1041config SERIAL_NETX_CONSOLE
1042	bool "Console on NetX serial port"
1043	depends on SERIAL_NETX=y
1044	select SERIAL_CORE_CONSOLE
1045	help
1046	  If you have enabled the serial port on the Hilscher NetX SoC
1047	  you can make it the console by answering Y to this option.
1048
1049config SERIAL_OMAP
1050	tristate "OMAP serial port support"
1051	depends on ARCH_OMAP2PLUS
1052	select SERIAL_CORE
1053	help
1054	  If you have a machine based on an Texas Instruments OMAP CPU you
1055	  can enable its onboard serial ports by enabling this option.
1056
1057	  By enabling this option you take advantage of dma feature available
1058	  with the omap-serial driver. DMA support can be enabled from platform
1059	  data.
1060
1061config SERIAL_OMAP_CONSOLE
1062	bool "Console on OMAP serial port"
1063	depends on SERIAL_OMAP=y
1064	select SERIAL_CORE_CONSOLE
1065	help
1066	  Select this option if you would like to use omap serial port as
1067	  console.
1068
1069	  Even if you say Y here, the currently visible virtual console
1070	  (/dev/tty0) will still be used as the system console by default, but
1071	  you can alter that using a kernel command line option such as
1072	  "console=ttyOx". (Try "man bootparam" or see the documentation of
1073	  your boot loader about how to pass options to the kernel at
1074	  boot time.)
1075
1076config SERIAL_LANTIQ
1077	bool "Lantiq serial driver"
1078	depends on LANTIQ
1079	select SERIAL_CORE
1080	select SERIAL_CORE_CONSOLE
1081	select SERIAL_EARLYCON
1082	help
1083	  Support for console and UART on Lantiq SoCs.
1084
1085config SERIAL_QE
1086	tristate "Freescale QUICC Engine serial port support"
1087	depends on QUICC_ENGINE
1088	select SERIAL_CORE
1089	select FW_LOADER
1090	default n
1091	help
1092	  This driver supports the QE serial ports on Freescale embedded
1093	  PowerPC that contain a QUICC Engine.
1094
1095config SERIAL_SCCNXP
1096	tristate "SCCNXP serial port support"
1097	select SERIAL_CORE
1098	help
1099	  This selects support for an advanced UART from NXP (Philips).
1100	  Supported ICs are SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,
1101	  SC28L202, SCC68681 and SCC68692.
1102
1103config SERIAL_SCCNXP_CONSOLE
1104	bool "Console on SCCNXP serial port"
1105	depends on SERIAL_SCCNXP=y
1106	select SERIAL_CORE_CONSOLE
1107	help
1108	  Support for console on SCCNXP serial ports.
1109
1110config SERIAL_SC16IS7XX_CORE
1111        tristate
1112
1113config SERIAL_SC16IS7XX
1114        tristate "SC16IS7xx serial support"
1115        select SERIAL_CORE
1116        depends on (SPI_MASTER && !I2C) || I2C
1117        help
1118          This selects support for SC16IS7xx serial ports.
1119          Supported ICs are SC16IS740, SC16IS741, SC16IS750, SC16IS752,
1120          SC16IS760 and SC16IS762. Select supported buses using options below.
1121
1122config SERIAL_SC16IS7XX_I2C
1123        bool "SC16IS7xx for I2C interface"
1124        depends on SERIAL_SC16IS7XX
1125        depends on I2C
1126        select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
1127        select REGMAP_I2C if I2C
1128        default y
1129        help
1130          Enable SC16IS7xx driver on I2C bus,
1131          If required say y, and say n to i2c if not required,
1132          Enabled by default to support oldconfig.
1133          You must select at least one bus for the driver to be built.
1134
1135config SERIAL_SC16IS7XX_SPI
1136        bool "SC16IS7xx for spi interface"
1137        depends on SERIAL_SC16IS7XX
1138        depends on SPI_MASTER
1139        select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
1140        select REGMAP_SPI if SPI_MASTER
1141        help
1142          Enable SC16IS7xx driver on SPI bus,
1143          If required say y, and say n to spi if not required,
1144          This is additional support to exsisting driver.
1145          You must select at least one bus for the driver to be built.
1146
1147config SERIAL_TIMBERDALE
1148	tristate "Support for timberdale UART"
1149	select SERIAL_CORE
1150	depends on X86_32 || COMPILE_TEST
1151	---help---
1152	Add support for UART controller on timberdale.
1153
1154config SERIAL_BCM63XX
1155	tristate "Broadcom BCM63xx/BCM33xx UART support"
1156	select SERIAL_CORE
1157	depends on MIPS || ARM || COMPILE_TEST
1158	help
1159	  This enables the driver for the onchip UART core found on
1160	  the following chipsets:
1161
1162	    BCM33xx (cable modem)
1163	    BCM63xx/BCM63xxx (DSL)
1164	    BCM68xx (PON)
1165	    BCM7xxx (STB) - DOCSIS console
1166
1167config SERIAL_BCM63XX_CONSOLE
1168	bool "Console on BCM63xx serial port"
1169	depends on SERIAL_BCM63XX=y
1170	select SERIAL_CORE_CONSOLE
1171	select SERIAL_EARLYCON
1172	help
1173	  If you have enabled the serial port on the BCM63xx CPU
1174	  you can make it the console by answering Y to this option.
1175
1176config SERIAL_GRLIB_GAISLER_APBUART
1177	tristate "GRLIB APBUART serial support"
1178	depends on OF && SPARC
1179	select SERIAL_CORE
1180	---help---
1181	Add support for the GRLIB APBUART serial port.
1182
1183config SERIAL_GRLIB_GAISLER_APBUART_CONSOLE
1184	bool "Console on GRLIB APBUART serial port"
1185	depends on SERIAL_GRLIB_GAISLER_APBUART=y
1186	select SERIAL_CORE_CONSOLE
1187	help
1188	Support for running a console on the GRLIB APBUART
1189
1190config SERIAL_ALTERA_JTAGUART
1191	tristate "Altera JTAG UART support"
1192	select SERIAL_CORE
1193	help
1194	  This driver supports the Altera JTAG UART port.
1195
1196config SERIAL_ALTERA_JTAGUART_CONSOLE
1197	bool "Altera JTAG UART console support"
1198	depends on SERIAL_ALTERA_JTAGUART=y
1199	select SERIAL_CORE_CONSOLE
1200	select SERIAL_EARLYCON
1201	help
1202	  Enable a Altera JTAG UART port to be the system console.
1203
1204config SERIAL_ALTERA_JTAGUART_CONSOLE_BYPASS
1205	bool "Bypass output when no connection"
1206	depends on SERIAL_ALTERA_JTAGUART_CONSOLE
1207	select SERIAL_CORE_CONSOLE
1208	help
1209	  Bypass console output and keep going even if there is no
1210	  JTAG terminal connection with the host.
1211
1212config SERIAL_ALTERA_UART
1213	tristate "Altera UART support"
1214	select SERIAL_CORE
1215	help
1216	  This driver supports the Altera softcore UART port.
1217
1218config SERIAL_ALTERA_UART_MAXPORTS
1219	int "Maximum number of Altera UART ports"
1220	depends on SERIAL_ALTERA_UART
1221	default 4
1222	help
1223	  This setting lets you define the maximum number of the Altera
1224	  UART ports. The usual default varies from board to board, and
1225	  this setting is a way of catering for that.
1226
1227config SERIAL_ALTERA_UART_BAUDRATE
1228	int "Default baudrate for Altera UART ports"
1229	depends on SERIAL_ALTERA_UART
1230	default 115200
1231	help
1232	  This setting lets you define what the default baudrate is for the
1233	  Altera UART ports. The usual default varies from board to board,
1234	  and this setting is a way of catering for that.
1235
1236config SERIAL_ALTERA_UART_CONSOLE
1237	bool "Altera UART console support"
1238	depends on SERIAL_ALTERA_UART=y
1239	select SERIAL_CORE_CONSOLE
1240	select SERIAL_EARLYCON
1241	help
1242	  Enable a Altera UART port to be the system console.
1243
1244config SERIAL_IFX6X60
1245        tristate "SPI protocol driver for Infineon 6x60 modem (EXPERIMENTAL)"
1246	depends on GPIOLIB || COMPILE_TEST
1247	depends on SPI && HAS_DMA
1248	help
1249	  Support for the IFX6x60 modem devices on Intel MID platforms.
1250
1251config SERIAL_PCH_UART
1252	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) UART"
1253	depends on PCI && (X86_32 || MIPS ||  COMPILE_TEST)
1254	select SERIAL_CORE
1255	help
1256	  This driver is for PCH(Platform controller Hub) UART of Intel EG20T
1257	  which is an IOH(Input/Output Hub) for x86 embedded processor.
1258	  Enabling PCH_DMA, this PCH UART works as DMA mode.
1259
1260	  This driver also can be used for LAPIS Semiconductor IOH(Input/
1261	  Output Hub), ML7213, ML7223 and ML7831.
1262	  ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
1263	  for MP(Media Phone) use and ML7831 IOH is for general purpose use.
1264	  ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
1265	  ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
1266
1267config SERIAL_PCH_UART_CONSOLE
1268	bool "Support for console on Intel EG20T PCH UART/OKI SEMICONDUCTOR ML7213 IOH"
1269	depends on SERIAL_PCH_UART=y
1270	select SERIAL_CORE_CONSOLE
1271	help
1272	  Say Y here if you wish to use the PCH UART as the system console
1273	  (the system  console is the device which receives all kernel messages and
1274	  warnings and which allows logins in single user mode).
1275
1276config SERIAL_MXS_AUART
1277	tristate "MXS AUART support"
1278	depends on ARCH_MXS || MACH_ASM9260 || COMPILE_TEST
1279	select SERIAL_CORE
1280	select SERIAL_MCTRL_GPIO if GPIOLIB
1281	help
1282	  This driver supports the MXS and Alphascale ASM9260 Application
1283	  UART (AUART) port.
1284
1285config SERIAL_MXS_AUART_CONSOLE
1286	bool "MXS AUART console support"
1287	depends on SERIAL_MXS_AUART=y
1288	select SERIAL_CORE_CONSOLE
1289	help
1290	  Enable a MXS AUART port to be the system console.
1291
1292config SERIAL_XILINX_PS_UART
1293	tristate "Cadence (Xilinx Zynq) UART support"
1294	depends on OF
1295	select SERIAL_CORE
1296	help
1297	  This driver supports the Cadence UART. It is found e.g. in Xilinx
1298	  Zynq.
1299
1300config SERIAL_XILINX_PS_UART_CONSOLE
1301	bool "Cadence UART console support"
1302	depends on SERIAL_XILINX_PS_UART=y
1303	select SERIAL_CORE_CONSOLE
1304	select SERIAL_EARLYCON
1305	help
1306	  Enable a Cadence UART port to be the system console.
1307
1308config SERIAL_AR933X
1309	tristate "AR933X serial port support"
1310	depends on HAVE_CLK && ATH79
1311	select SERIAL_CORE
1312	help
1313	  If you have an Atheros AR933X SOC based board and want to use the
1314	  built-in UART of the SoC, say Y to this option.
1315
1316	  To compile this driver as a module, choose M here: the
1317	  module will be called ar933x_uart.
1318
1319config SERIAL_AR933X_CONSOLE
1320	bool "Console on AR933X serial port"
1321	depends on SERIAL_AR933X=y
1322	select SERIAL_CORE_CONSOLE
1323	help
1324	  Enable a built-in UART port of the AR933X to be the system console.
1325
1326config SERIAL_AR933X_NR_UARTS
1327	int "Maximum number of AR933X serial ports"
1328	depends on SERIAL_AR933X
1329	default "2"
1330	help
1331	  Set this to the number of serial ports you want the driver
1332	  to support.
1333
1334config SERIAL_EFM32_UART
1335	tristate "EFM32 UART/USART port"
1336	depends on ARM && (ARCH_EFM32 || COMPILE_TEST)
1337	select SERIAL_CORE
1338	help
1339	  This driver support the USART and UART ports on
1340	  Energy Micro's efm32 SoCs.
1341
1342config SERIAL_MPS2_UART_CONSOLE
1343	bool "MPS2 UART console support"
1344	depends on SERIAL_MPS2_UART
1345	select SERIAL_CORE_CONSOLE
1346	select SERIAL_EARLYCON
1347
1348config SERIAL_MPS2_UART
1349	bool "MPS2 UART port"
1350	depends on ARCH_MPS2 || COMPILE_TEST
1351	select SERIAL_CORE
1352	help
1353	  This driver support the UART ports on ARM MPS2.
1354
1355config SERIAL_EFM32_UART_CONSOLE
1356	bool "EFM32 UART/USART console support"
1357	depends on SERIAL_EFM32_UART=y
1358	select SERIAL_CORE_CONSOLE
1359
1360config SERIAL_ARC
1361	tristate "ARC UART driver support"
1362	select SERIAL_CORE
1363	help
1364	  Driver for on-chip UART for ARC(Synopsys) for the legacy
1365	  FPGA Boards (ML50x/ARCAngel4)
1366
1367config SERIAL_ARC_CONSOLE
1368	bool "Console on ARC UART"
1369	depends on SERIAL_ARC=y
1370	select SERIAL_CORE_CONSOLE
1371	select SERIAL_EARLYCON
1372	help
1373	  Enable system Console on ARC UART
1374
1375config SERIAL_ARC_NR_PORTS
1376	int "Number of ARC UART ports"
1377	depends on SERIAL_ARC
1378	range 1 3
1379	default "1"
1380	help
1381	  Set this to the number of serial ports you want the driver
1382	  to support.
1383
1384config SERIAL_RP2
1385	tristate "Comtrol RocketPort EXPRESS/INFINITY support"
1386	depends on PCI
1387	select SERIAL_CORE
1388	help
1389	  This driver supports the Comtrol RocketPort EXPRESS and
1390	  RocketPort INFINITY families of PCI/PCIe multiport serial adapters.
1391	  These adapters use a "RocketPort 2" ASIC that is not compatible
1392	  with the original RocketPort driver (CONFIG_ROCKETPORT).
1393
1394	  To compile this driver as a module, choose M here: the
1395	  module will be called rp2.
1396
1397	  If you want to compile this driver into the kernel, say Y here.  If
1398	  you don't have a suitable RocketPort card installed, say N.
1399
1400config SERIAL_RP2_NR_UARTS
1401	int "Maximum number of RocketPort EXPRESS/INFINITY ports"
1402	depends on SERIAL_RP2
1403	default "32"
1404	help
1405	  If multiple cards are present, the default limit of 32 ports may
1406	  need to be increased.
1407
1408config SERIAL_FSL_LPUART
1409	tristate "Freescale lpuart serial port support"
1410	depends on HAS_DMA
1411	select SERIAL_CORE
1412	help
1413	  Support for the on-chip lpuart on some Freescale SOCs.
1414
1415config SERIAL_FSL_LPUART_CONSOLE
1416	bool "Console on Freescale lpuart serial port"
1417	depends on SERIAL_FSL_LPUART=y
1418	select SERIAL_CORE_CONSOLE
1419	select SERIAL_EARLYCON
1420	help
1421	  If you have enabled the lpuart serial port on the Freescale SoCs,
1422	  you can make it the console by answering Y to this option.
1423
1424config SERIAL_CONEXANT_DIGICOLOR
1425	tristate "Conexant Digicolor CX92xxx USART serial port support"
1426	depends on OF
1427	select SERIAL_CORE
1428	help
1429	  Support for the on-chip USART on Conexant Digicolor SoCs.
1430
1431config SERIAL_CONEXANT_DIGICOLOR_CONSOLE
1432	bool "Console on Conexant Digicolor serial port"
1433	depends on SERIAL_CONEXANT_DIGICOLOR=y
1434	select SERIAL_CORE_CONSOLE
1435	help
1436	  If you have enabled the USART serial port on Conexant Digicolor
1437	  SoCs, you can make it the console by answering Y to this option.
1438
1439config SERIAL_ST_ASC
1440	tristate "ST ASC serial port support"
1441	select SERIAL_CORE
1442	depends on ARM || COMPILE_TEST
1443	help
1444	  This driver is for the on-chip Asychronous Serial Controller on
1445	  STMicroelectronics STi SoCs.
1446	  ASC is embedded in ST COMMS IP block. It supports Rx & Tx functionality.
1447	  It support all industry standard baud rates.
1448
1449	  If unsure, say N.
1450
1451config SERIAL_ST_ASC_CONSOLE
1452	bool "Support for console on ST ASC"
1453	depends on SERIAL_ST_ASC=y
1454	select SERIAL_CORE_CONSOLE
1455
1456config SERIAL_MEN_Z135
1457	tristate "MEN 16z135 Support"
1458	select SERIAL_CORE
1459	depends on MCB
1460	help
1461	  Say yes here to enable support for the MEN 16z135 High Speed UART IP-Core
1462	  on a MCB carrier.
1463
1464	  This driver can also be build as a module. If so, the module will be called
1465	  men_z135_uart.ko
1466
1467config SERIAL_SPRD
1468	tristate "Support for Spreadtrum serial"
1469	depends on ARCH_SPRD
1470	select SERIAL_CORE
1471	help
1472	  This enables the driver for the Spreadtrum's serial.
1473
1474config SERIAL_SPRD_CONSOLE
1475	bool "Spreadtrum UART console support"
1476	depends on SERIAL_SPRD=y
1477	select SERIAL_CORE_CONSOLE
1478	select SERIAL_EARLYCON
1479	help
1480	  Support for early debug console using Spreadtrum's serial. This enables
1481	  the console before standard serial driver is probed. This is enabled
1482	  with "earlycon" on the kernel command line. The console is
1483	  enabled when early_param is processed.
1484
1485config SERIAL_STM32
1486	tristate "STMicroelectronics STM32 serial port support"
1487	select SERIAL_CORE
1488	depends on ARCH_STM32 || COMPILE_TEST
1489	help
1490	  This driver is for the on-chip Serial Controller on
1491	  STMicroelectronics STM32 MCUs.
1492	  USART supports Rx & Tx functionality.
1493	  It support all industry standard baud rates.
1494
1495	  If unsure, say N.
1496
1497config SERIAL_STM32_CONSOLE
1498	bool "Support for console on STM32"
1499	depends on SERIAL_STM32=y
1500	select SERIAL_CORE_CONSOLE
1501
1502config SERIAL_MVEBU_UART
1503	bool "Marvell EBU serial port support"
1504	depends on ARCH_MVEBU || COMPILE_TEST
1505	select SERIAL_CORE
1506	help
1507	  This driver is for Marvell EBU SoC's UART. If you have a machine
1508	  based on the Armada-3700 SoC and wish to use the on-board serial
1509	  port,
1510	  say 'Y' here.
1511	  Otherwise, say 'N'.
1512
1513config SERIAL_MVEBU_CONSOLE
1514	bool "Console on Marvell EBU serial port"
1515	depends on SERIAL_MVEBU_UART
1516	select SERIAL_CORE_CONSOLE
1517	select SERIAL_EARLYCON
1518	default y
1519	help
1520	  Say 'Y' here if you wish to use Armada-3700 UART as the system console.
1521	  (the system console is the device which receives all kernel messages
1522	  and warnings and which allows logins in single user mode)
1523	  Otherwise, say 'N'.
1524
1525config SERIAL_OWL
1526	tristate "Actions Semi Owl serial port support"
1527	depends on ARCH_ACTIONS || COMPILE_TEST
1528	select SERIAL_CORE
1529	help
1530	  This driver is for Actions Semiconductor S500/S900 SoC's UART.
1531	  Say 'Y' here if you wish to use the on-board serial port.
1532	  Otherwise, say 'N'.
1533
1534config SERIAL_OWL_CONSOLE
1535	bool "Console on Actions Semi Owl serial port"
1536	depends on SERIAL_OWL=y
1537	select SERIAL_CORE_CONSOLE
1538	select SERIAL_EARLYCON
1539	default y
1540	help
1541	  Say 'Y' here if you wish to use Actions Semiconductor S500/S900 UART
1542	  as the system console.
1543
1544config SERIAL_RDA
1545	bool "RDA Micro serial port support"
1546	depends on ARCH_RDA || COMPILE_TEST
1547	select SERIAL_CORE
1548	help
1549	  This driver is for RDA8810PL SoC's UART.
1550	  Say 'Y' here if you wish to use the on-board serial port.
1551	  Otherwise, say 'N'.
1552
1553config SERIAL_RDA_CONSOLE
1554	bool "Console on RDA Micro serial port"
1555	depends on SERIAL_RDA=y
1556	select SERIAL_CORE_CONSOLE
1557	select SERIAL_EARLYCON
1558	default y
1559	help
1560	  Say 'Y' here if you wish to use the RDA8810PL UART as the system
1561	  console. Only earlycon is implemented currently.
1562
1563endmenu
1564
1565config SERIAL_MCTRL_GPIO
1566	tristate
1567
1568endif # TTY
1569