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