forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/tty/serial/Kconfig
....@@ -1,8 +1,7 @@
1
+# SPDX-License-Identifier: GPL-2.0
12 #
23 # Serial device configuration
34 #
4
-
5
-if TTY
65
76 menu "Serial drivers"
87 depends on HAS_IOMEM
....@@ -34,7 +33,7 @@
3433 bool "Support for console on AMBA serial port"
3534 depends on SERIAL_AMBA_PL010=y
3635 select SERIAL_CORE_CONSOLE
37
- ---help---
36
+ help
3837 Say Y here if you wish to use an AMBA PrimeCell UART as the system
3938 console (the system console is the device which receives all kernel
4039 messages and warnings and which allows logins in single user mode).
....@@ -62,7 +61,7 @@
6261 depends on SERIAL_AMBA_PL011=y
6362 select SERIAL_CORE_CONSOLE
6463 select SERIAL_EARLYCON
65
- ---help---
64
+ help
6665 Say Y here if you wish to use an AMBA PrimeCell UART as the system
6766 console (the system console is the device which receives all kernel
6867 messages and warnings and which allows logins in single user mode).
....@@ -86,12 +85,24 @@
8685 with "earlycon=smh" on the kernel command line. The console is
8786 enabled when early_param is processed.
8887
88
+config SERIAL_EARLYCON_RISCV_SBI
89
+ bool "Early console using RISC-V SBI"
90
+ depends on RISCV_SBI_V01
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
+
89100 config SERIAL_SB1250_DUART
90101 tristate "BCM1xxx on-chip DUART serial support"
91102 depends on SIBYTE_SB1xxx_SOC=y
92103 select SERIAL_CORE
93104 default y
94
- ---help---
105
+ help
95106 Support for the asynchronous serial interface (DUART) included in
96107 the BCM1250 and derived System-On-a-Chip (SOC) devices. Note that
97108 the letter D in DUART stands for "dual", which is how the device
....@@ -106,7 +117,7 @@
106117 depends on SERIAL_SB1250_DUART=y
107118 select SERIAL_CORE_CONSOLE
108119 default y
109
- ---help---
120
+ help
110121 If you say Y here, it will be possible to use a serial port as the
111122 system console (the system console is the device which receives all
112123 kernel messages and warnings and which allows logins in single user
....@@ -119,6 +130,7 @@
119130 depends on ARCH_AT91 || COMPILE_TEST
120131 select SERIAL_CORE
121132 select SERIAL_MCTRL_GPIO if GPIOLIB
133
+ select MFD_AT91_USART
122134 help
123135 This enables the driver for the on-chip UARTs of the Atmel
124136 AT91 processors.
....@@ -184,23 +196,6 @@
184196
185197 If unsure, say N.
186198
187
-config SERIAL_KS8695
188
- bool "Micrel KS8695 (Centaur) serial port support"
189
- depends on ARCH_KS8695
190
- select SERIAL_CORE
191
- help
192
- This selects the Micrel Centaur KS8695 UART. Say Y here.
193
-
194
-config SERIAL_KS8695_CONSOLE
195
- bool "Support for console on KS8695 (Centaur) serial port"
196
- depends on SERIAL_KS8695=y
197
- select SERIAL_CORE_CONSOLE
198
- help
199
- Say Y here if you wish to use a KS8695 (Centaur) UART as the
200
- system console (the system console is the device which
201
- receives all kernel messages and warnings and which allows
202
- logins in single user mode).
203
-
204199 config SERIAL_MESON
205200 tristate "Meson serial port support"
206201 depends on ARCH_MESON
....@@ -211,7 +206,7 @@
211206
212207 config SERIAL_MESON_CONSOLE
213208 bool "Support for console on meson"
214
- depends on SERIAL_MESON=y
209
+ depends on SERIAL_MESON
215210 select SERIAL_CORE_CONSOLE
216211 select SERIAL_EARLYCON
217212 help
....@@ -241,7 +236,6 @@
241236
242237 config SERIAL_SAMSUNG
243238 tristate "Samsung SoC serial support"
244
- depends on PLAT_SAMSUNG || ARCH_EXYNOS
245239 select SERIAL_CORE
246240 help
247241 Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
....@@ -264,15 +258,6 @@
264258 help
265259 Select the number of available UART ports for the Samsung S3C
266260 serial driver
267
-
268
-config SERIAL_SAMSUNG_DEBUG
269
- bool "Samsung SoC serial debug"
270
- depends on SERIAL_SAMSUNG && DEBUG_LL
271
- help
272
- Add support for debugging the serial driver. Since this is
273
- generally being used as a console, we use our own output
274
- routines that go via the low-level debug printascii()
275
- function.
276261
277262 config SERIAL_SAMSUNG_CONSOLE
278263 bool "Support for console on Samsung SoC serial port"
....@@ -291,26 +276,26 @@
291276 boot time.)
292277
293278 config SERIAL_SIRFSOC
294
- tristate "SiRF SoC Platform Serial port support"
295
- depends on ARCH_SIRF
296
- select SERIAL_CORE
297
- help
298
- Support for the on-chip UART on the CSR SiRFprimaII series,
299
- providing /dev/ttySiRF0, 1 and 2 (note, some machines may not
300
- provide all of these ports, depending on how the serial port
301
- pins are configured).
279
+ tristate "SiRF SoC Platform Serial port support"
280
+ depends on ARCH_SIRF
281
+ select SERIAL_CORE
282
+ help
283
+ Support for the on-chip UART on the CSR SiRFprimaII series,
284
+ providing /dev/ttySiRF0, 1 and 2 (note, some machines may not
285
+ provide all of these ports, depending on how the serial port
286
+ pins are configured).
302287
303288 config SERIAL_SIRFSOC_CONSOLE
304
- bool "Support for console on SiRF SoC serial port"
305
- depends on SERIAL_SIRFSOC=y
306
- select SERIAL_CORE_CONSOLE
307
- help
308
- Even if you say Y here, the currently visible virtual console
309
- (/dev/tty0) will still be used as the system console by default, but
310
- you can alter that using a kernel command line option such as
311
- "console=ttySiRFx". (Try "man bootparam" or see the documentation of
312
- your boot loader about how to pass options to the kernel at
313
- boot time.)
289
+ bool "Support for console on SiRF SoC serial port"
290
+ depends on SERIAL_SIRFSOC=y
291
+ select SERIAL_CORE_CONSOLE
292
+ help
293
+ Even if you say Y here, the currently visible virtual console
294
+ (/dev/tty0) will still be used as the system console by default, but
295
+ you can alter that using a kernel command line option such as
296
+ "console=ttySiRFx". (Try "man bootparam" or see the documentation of
297
+ your boot loader about how to pass options to the kernel at
298
+ boot time.)
314299
315300 config SERIAL_TEGRA
316301 tristate "NVIDIA Tegra20/30 SoC serial controller"
....@@ -322,6 +307,28 @@
322307 provide all of these ports, depending on how the serial port
323308 are enabled). This driver uses the APB DMA to achieve higher baudrate
324309 and better performance.
310
+
311
+config SERIAL_TEGRA_TCU
312
+ tristate "NVIDIA Tegra Combined UART"
313
+ depends on ARCH_TEGRA && TEGRA_HSP_MBOX
314
+ select SERIAL_CORE
315
+ help
316
+ Support for the mailbox-based TCU (Tegra Combined UART) serial port.
317
+ TCU is a virtual serial port that allows multiplexing multiple data
318
+ streams into a single hardware serial port.
319
+
320
+config SERIAL_TEGRA_TCU_CONSOLE
321
+ bool "Support for console on a Tegra TCU serial port"
322
+ depends on SERIAL_TEGRA_TCU=y
323
+ select SERIAL_CORE_CONSOLE
324
+ default y
325
+ help
326
+ If you say Y here, it will be possible to use a the Tegra TCU as the
327
+ system console (the system console is the device which receives all
328
+ kernel messages and warnings and which allows logins in single user
329
+ mode).
330
+
331
+ If unsure, say Y.
325332
326333 config SERIAL_MAX3100
327334 tristate "MAX3100 support"
....@@ -335,7 +342,6 @@
335342 depends on SPI_MASTER
336343 select SERIAL_CORE
337344 select REGMAP_SPI if SPI_MASTER
338
- default n
339345 help
340346 This selects support for an advanced UART from Maxim (Dallas).
341347 Supported ICs are MAX3107, MAX3108, MAX3109, MAX14830.
....@@ -349,7 +355,7 @@
349355 depends on MACH_DECSTATION && 32BIT
350356 select SERIAL_CORE
351357 default y
352
- ---help---
358
+ help
353359 DZ11-family serial controllers for DECstations and VAXstations,
354360 including the DC7085, M7814, and M7819.
355361
....@@ -358,7 +364,7 @@
358364 depends on SERIAL_DZ=y
359365 select SERIAL_CORE_CONSOLE
360366 default y
361
- ---help---
367
+ help
362368 If you say Y here, it will be possible to use a serial port as the
363369 system console (the system console is the device which receives all
364370 kernel messages and warnings and which allows logins in single user
....@@ -374,7 +380,7 @@
374380 depends on MACH_DECSTATION
375381 select SERIAL_CORE
376382 default y
377
- ---help---
383
+ help
378384 Support for the Zilog 85C350 serial communications controller used
379385 for serial ports in newer DECstation systems. These include the
380386 DECsystem 5900 and all models of the DECstation and DECsystem 5000
....@@ -388,7 +394,7 @@
388394 depends on SERIAL_ZS=y
389395 select SERIAL_CORE_CONSOLE
390396 default y
391
- ---help---
397
+ help
392398 If you say Y here, it will be possible to use a serial port as the
393399 system console (the system console is the device which receives all
394400 kernel messages and warnings and which allows logins in single user
....@@ -422,20 +428,6 @@
422428 "console=ttyFB". (Try "man bootparam" or see the documentation of
423429 your boot loader (lilo or loadlin) about how to pass options to the
424430 kernel at boot time.)
425
-
426
-config SERIAL_MPSC
427
- bool "Marvell MPSC serial port support"
428
- depends on MV64X60
429
- select SERIAL_CORE
430
- help
431
- Say Y here if you want to use the Marvell MPSC serial controller.
432
-
433
-config SERIAL_MPSC_CONSOLE
434
- bool "Support for console on Marvell MPSC serial port"
435
- depends on SERIAL_MPSC
436
- select SERIAL_CORE_CONSOLE
437
- help
438
- Say Y here if you want to support a serial console on a Marvell MPSC.
439431
440432 config SERIAL_PXA
441433 bool "PXA serial port support (DEPRECATED)"
....@@ -477,10 +469,11 @@
477469 bool "SA1100 serial port support"
478470 depends on ARCH_SA1100
479471 select SERIAL_CORE
472
+ select SERIAL_MCTRL_GPIO if GPIOLIB
480473 help
481474 If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
482475 can enable its onboard serial port by enabling this option.
483
- Please read <file:Documentation/arm/SA1100/serial_UART> for further
476
+ Please read <file:Documentation/arm/sa1100/serial_uart.rst> for further
484477 info.
485478
486479 config SERIAL_SA1100_CONSOLE
....@@ -509,19 +502,29 @@
509502 can enable its onboard serial port by enabling this option.
510503
511504 config SERIAL_IMX_CONSOLE
512
- bool "Console on IMX serial port"
513
- depends on SERIAL_IMX=y
505
+ tristate "Console on IMX serial port"
506
+ depends on SERIAL_IMX
514507 select SERIAL_CORE_CONSOLE
515
- select SERIAL_EARLYCON if OF
516508 help
517509 If you have enabled the serial port on the Freescale IMX
518
- CPU you can make it the console by answering Y to this option.
510
+ CPU you can make it the console by answering Y/M to this option.
519511
520
- Even if you say Y here, the currently visible virtual console
512
+ Even if you say Y/M here, the currently visible virtual console
521513 (/dev/tty0) will still be used as the system console by default, but
522514 you can alter that using a kernel command line option such as
523515 "console=ttymxc0". (Try "man bootparam" or see the documentation of
524516 your bootloader about how to pass options to the kernel at boot time.)
517
+
518
+config SERIAL_IMX_EARLYCON
519
+ bool "Earlycon on IMX serial port"
520
+ depends on ARCH_MXC || COMPILE_TEST
521
+ depends on OF
522
+ select SERIAL_EARLYCON
523
+ select SERIAL_CORE_CONSOLE
524
+ default y if SERIAL_IMX_CONSOLE
525
+ help
526
+ If you have enabled the earlycon on the Freescale IMX
527
+ CPU you can make it the earlycon by answering Y to this option.
525528
526529 config SERIAL_UARTLITE
527530 tristate "Xilinx uartlite serial port support"
....@@ -595,7 +598,7 @@
595598 depends on GSC
596599 select SERIAL_CORE
597600 default y
598
- ---help---
601
+ help
599602 Saying Y here will enable the hardware MUX serial driver for
600603 the Nova, K class systems and D class with a 'remote control card'.
601604 The hardware MUX is not 8250/16550 compatible therefore the
....@@ -618,7 +621,6 @@
618621 config PDC_CONSOLE
619622 bool "PDC software console support"
620623 depends on PARISC && !SERIAL_MUX && VT
621
- default n
622624 help
623625 Saying Y here will enable the software based PDC console to be
624626 used as the system console. This is useful for machines in
....@@ -719,7 +721,8 @@
719721
720722 config SERIAL_HS_LPC32XX
721723 tristate "LPC32XX high speed serial port support"
722
- depends on ARCH_LPC32XX && OF
724
+ depends on ARCH_LPC32XX || COMPILE_TEST
725
+ depends on OF
723726 select SERIAL_CORE
724727 help
725728 Support for the LPC32XX high speed serial ports (up to 900kbps).
....@@ -834,16 +837,6 @@
834837 "console=ttyCPM0". (Try "man bootparam" or see the documentation of
835838 your boot loader (lilo or loadlin) about how to pass options to the
836839 kernel at boot time.)
837
-
838
-config SERIAL_SGI_L1_CONSOLE
839
- bool "SGI Altix L1 serial console support"
840
- depends on IA64_GENERIC || IA64_SGI_SN2
841
- select SERIAL_CORE
842
- select SERIAL_CORE_CONSOLE
843
- help
844
- If you have an SGI Altix and you would like to use the system
845
- controller serial port as your console (you want this!),
846
- say Y. Otherwise, say N.
847840
848841 config SERIAL_PIC32
849842 tristate "Microchip PIC32 serial support"
....@@ -962,23 +955,6 @@
962955 To compile this driver as a module, choose M here: the
963956 module will be called jsm.
964957
965
-config SERIAL_SGI_IOC4
966
- tristate "SGI IOC4 controller serial support"
967
- depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC4
968
- select SERIAL_CORE
969
- help
970
- If you have an SGI Altix with an IOC4 based Base IO card
971
- and wish to use the serial ports on this card, say Y.
972
- Otherwise, say N.
973
-
974
-config SERIAL_SGI_IOC3
975
- tristate "SGI Altix IOC3 serial support"
976
- depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC3
977
- select SERIAL_CORE
978
- help
979
- If you have an SGI Altix with an IOC3 serial card,
980
- say Y or M. Otherwise, say N.
981
-
982958 config SERIAL_MSM
983959 tristate "MSM on-chip serial port support"
984960 depends on ARCH_QCOM
....@@ -990,17 +966,10 @@
990966 select SERIAL_CORE_CONSOLE
991967 select SERIAL_EARLYCON
992968
993
-config SERIAL_MSM_GENI_HALF_SAMPLING
994
- bool "Changes clock divider which impacts sampling rate for QUP HW ver greater than 2.5.0"
995
- help
996
- Clock divider value should be doubled for QUP hardware version
997
- greater than 2.5.0.
998
- As earlycon can't have HW version awareness, decision is taken
999
- based on the configuration.
1000
-
1001969 config SERIAL_MSM_GENI_EARLY_CONSOLE
1002970 bool "MSM on-chip GENI HW based early console support"
1003
- select SERIAL_MSM_GENI_HALF_SAMPLING
971
+ select SERIAL_CORE_CONSOLE
972
+ select SERIAL_EARLYCON
1004973 help
1005974 Serial early console driver for Qualcomm Technologies Inc's GENI
1006975 based QUP hardware.
....@@ -1013,7 +982,7 @@
1013982
1014983 config SERIAL_QCOM_GENI_CONSOLE
1015984 bool "QCOM GENI Serial Console support"
1016
- depends on SERIAL_QCOM_GENI=y
985
+ depends on SERIAL_QCOM_GENI
1017986 select SERIAL_CORE_CONSOLE
1018987 select SERIAL_EARLYCON
1019988 help
....@@ -1029,25 +998,6 @@
1029998 bool "VIA VT8500 serial console support"
1030999 depends on SERIAL_VT8500=y
10311000 select SERIAL_CORE_CONSOLE
1032
-
1033
-config SERIAL_NETX
1034
- tristate "NetX serial port support"
1035
- depends on ARCH_NETX
1036
- select SERIAL_CORE
1037
- help
1038
- If you have a machine based on a Hilscher NetX SoC you
1039
- can enable its onboard serial port by enabling this option.
1040
-
1041
- To compile this driver as a module, choose M here: the
1042
- module will be called netx-serial.
1043
-
1044
-config SERIAL_NETX_CONSOLE
1045
- bool "Console on NetX serial port"
1046
- depends on SERIAL_NETX=y
1047
- select SERIAL_CORE_CONSOLE
1048
- help
1049
- If you have enabled the serial port on the Hilscher NetX SoC
1050
- you can make it the console by answering Y to this option.
10511001
10521002 config SERIAL_OMAP
10531003 tristate "OMAP serial port support"
....@@ -1076,21 +1026,54 @@
10761026 your boot loader about how to pass options to the kernel at
10771027 boot time.)
10781028
1079
-config SERIAL_LANTIQ
1080
- bool "Lantiq serial driver"
1081
- depends on LANTIQ
1029
+config SERIAL_SIFIVE
1030
+ tristate "SiFive UART support"
1031
+ depends on OF
10821032 select SERIAL_CORE
1033
+ help
1034
+ Select this option if you are building a kernel for a device that
1035
+ contains a SiFive UART IP block. This type of UART is present on
1036
+ SiFive FU540 SoCs, among others.
1037
+
1038
+config SERIAL_SIFIVE_CONSOLE
1039
+ bool "Console on SiFive UART"
1040
+ depends on SERIAL_SIFIVE=y
10831041 select SERIAL_CORE_CONSOLE
10841042 select SERIAL_EARLYCON
10851043 help
1086
- Support for console and UART on Lantiq SoCs.
1044
+ Select this option if you would like to use a SiFive UART as the
1045
+ system console.
1046
+
1047
+ Even if you say Y here, the currently visible virtual console
1048
+ (/dev/tty0) will still be used as the system console by default, but
1049
+ you can alter that using a kernel command line option such as
1050
+ "console=ttySIFx". (Try "man bootparam" or see the documentation of
1051
+ your boot loader about how to pass options to the kernel at
1052
+ boot time.)
1053
+
1054
+config SERIAL_LANTIQ
1055
+ tristate "Lantiq serial driver"
1056
+ depends on (LANTIQ || X86) || COMPILE_TEST
1057
+ select SERIAL_CORE
1058
+ help
1059
+ Support for UART on Lantiq and Intel SoCs.
1060
+ To compile this driver as a module, select M here. The
1061
+ module will be called lantiq.
1062
+
1063
+config SERIAL_LANTIQ_CONSOLE
1064
+ bool "Console on Lantiq UART"
1065
+ depends on SERIAL_LANTIQ=y
1066
+ select SERIAL_CORE_CONSOLE
1067
+ select SERIAL_EARLYCON
1068
+ help
1069
+ Select this option if you would like to use a Lantiq UART as the
1070
+ system console.
10871071
10881072 config SERIAL_QE
10891073 tristate "Freescale QUICC Engine serial port support"
10901074 depends on QUICC_ENGINE
10911075 select SERIAL_CORE
10921076 select FW_LOADER
1093
- default n
10941077 help
10951078 This driver supports the QE serial ports on Freescale embedded
10961079 PowerPC that contain a QUICC Engine.
....@@ -1111,47 +1094,47 @@
11111094 Support for console on SCCNXP serial ports.
11121095
11131096 config SERIAL_SC16IS7XX_CORE
1114
- tristate
1097
+ tristate
11151098
11161099 config SERIAL_SC16IS7XX
1117
- tristate "SC16IS7xx serial support"
1118
- select SERIAL_CORE
1119
- depends on (SPI_MASTER && !I2C) || I2C
1120
- help
1121
- This selects support for SC16IS7xx serial ports.
1122
- Supported ICs are SC16IS740, SC16IS741, SC16IS750, SC16IS752,
1123
- SC16IS760 and SC16IS762. Select supported buses using options below.
1100
+ tristate "SC16IS7xx serial support"
1101
+ select SERIAL_CORE
1102
+ depends on (SPI_MASTER && !I2C) || I2C
1103
+ help
1104
+ This selects support for SC16IS7xx serial ports.
1105
+ Supported ICs are SC16IS740, SC16IS741, SC16IS750, SC16IS752,
1106
+ SC16IS760 and SC16IS762. Select supported buses using options below.
11241107
11251108 config SERIAL_SC16IS7XX_I2C
1126
- bool "SC16IS7xx for I2C interface"
1127
- depends on SERIAL_SC16IS7XX
1128
- depends on I2C
1129
- select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
1130
- select REGMAP_I2C if I2C
1131
- default y
1132
- help
1133
- Enable SC16IS7xx driver on I2C bus,
1134
- If required say y, and say n to i2c if not required,
1135
- Enabled by default to support oldconfig.
1136
- You must select at least one bus for the driver to be built.
1109
+ bool "SC16IS7xx for I2C interface"
1110
+ depends on SERIAL_SC16IS7XX
1111
+ depends on I2C
1112
+ select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
1113
+ select REGMAP_I2C if I2C
1114
+ default y
1115
+ help
1116
+ Enable SC16IS7xx driver on I2C bus,
1117
+ If required say y, and say n to i2c if not required,
1118
+ Enabled by default to support oldconfig.
1119
+ You must select at least one bus for the driver to be built.
11371120
11381121 config SERIAL_SC16IS7XX_SPI
1139
- bool "SC16IS7xx for spi interface"
1140
- depends on SERIAL_SC16IS7XX
1141
- depends on SPI_MASTER
1142
- select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
1143
- select REGMAP_SPI if SPI_MASTER
1144
- help
1145
- Enable SC16IS7xx driver on SPI bus,
1146
- If required say y, and say n to spi if not required,
1147
- This is additional support to exsisting driver.
1148
- You must select at least one bus for the driver to be built.
1122
+ bool "SC16IS7xx for spi interface"
1123
+ depends on SERIAL_SC16IS7XX
1124
+ depends on SPI_MASTER
1125
+ select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
1126
+ select REGMAP_SPI if SPI_MASTER
1127
+ help
1128
+ Enable SC16IS7xx driver on SPI bus,
1129
+ If required say y, and say n to spi if not required,
1130
+ This is additional support to existing driver.
1131
+ You must select at least one bus for the driver to be built.
11491132
11501133 config SERIAL_TIMBERDALE
11511134 tristate "Support for timberdale UART"
11521135 select SERIAL_CORE
11531136 depends on X86_32 || COMPILE_TEST
1154
- ---help---
1137
+ help
11551138 Add support for UART controller on timberdale.
11561139
11571140 config SERIAL_BCM63XX
....@@ -1180,7 +1163,7 @@
11801163 tristate "GRLIB APBUART serial support"
11811164 depends on OF && SPARC
11821165 select SERIAL_CORE
1183
- ---help---
1166
+ help
11841167 Add support for the GRLIB APBUART serial port.
11851168
11861169 config SERIAL_GRLIB_GAISLER_APBUART_CONSOLE
....@@ -1245,7 +1228,7 @@
12451228 Enable a Altera UART port to be the system console.
12461229
12471230 config SERIAL_IFX6X60
1248
- tristate "SPI protocol driver for Infineon 6x60 modem (EXPERIMENTAL)"
1231
+ tristate "SPI protocol driver for Infineon 6x60 modem (EXPERIMENTAL)"
12491232 depends on GPIOLIB || COMPILE_TEST
12501233 depends on SPI && HAS_DMA
12511234 help
....@@ -1312,6 +1295,7 @@
13121295 tristate "AR933X serial port support"
13131296 depends on HAVE_CLK && ATH79
13141297 select SERIAL_CORE
1298
+ select SERIAL_MCTRL_GPIO if GPIOLIB
13151299 help
13161300 If you have an Atheros AR933X SOC based board and want to use the
13171301 built-in UART of the SoC, say Y to this option.
....@@ -1424,6 +1408,22 @@
14241408 If you have enabled the lpuart serial port on the Freescale SoCs,
14251409 you can make it the console by answering Y to this option.
14261410
1411
+config SERIAL_FSL_LINFLEXUART
1412
+ tristate "Freescale LINFlexD UART serial port support"
1413
+ depends on PRINTK
1414
+ select SERIAL_CORE
1415
+ help
1416
+ Support for the on-chip LINFlexD UART on some Freescale SOCs.
1417
+
1418
+config SERIAL_FSL_LINFLEXUART_CONSOLE
1419
+ bool "Console on Freescale LINFlexD UART serial port"
1420
+ depends on SERIAL_FSL_LINFLEXUART=y
1421
+ select SERIAL_CORE_CONSOLE
1422
+ select SERIAL_EARLYCON
1423
+ help
1424
+ If you have enabled the LINFlexD UART serial port on the Freescale
1425
+ SoCs, you can make it the console by answering Y to this option.
1426
+
14271427 config SERIAL_CONEXANT_DIGICOLOR
14281428 tristate "Conexant Digicolor CX92xxx USART serial port support"
14291429 depends on OF
....@@ -1469,8 +1469,8 @@
14691469
14701470 config SERIAL_SPRD
14711471 tristate "Support for Spreadtrum serial"
1472
- depends on ARCH_SPRD
14731472 select SERIAL_CORE
1473
+ depends on COMMON_CLK
14741474 help
14751475 This enables the driver for the Spreadtrum's serial.
14761476
....@@ -1489,6 +1489,7 @@
14891489 tristate "STMicroelectronics STM32 serial port support"
14901490 select SERIAL_CORE
14911491 depends on ARCH_STM32 || COMPILE_TEST
1492
+ select SERIAL_MCTRL_GPIO if GPIOLIB
14921493 help
14931494 This driver is for the on-chip Serial Controller on
14941495 STMicroelectronics STM32 MCUs.
....@@ -1544,9 +1545,52 @@
15441545 Say 'Y' here if you wish to use Actions Semiconductor S500/S900 UART
15451546 as the system console.
15461547
1548
+config SERIAL_RDA
1549
+ bool "RDA Micro serial port support"
1550
+ depends on ARCH_RDA || COMPILE_TEST
1551
+ select SERIAL_CORE
1552
+ help
1553
+ This driver is for RDA8810PL SoC's UART.
1554
+ Say 'Y' here if you wish to use the on-board serial port.
1555
+ Otherwise, say 'N'.
1556
+
1557
+config SERIAL_RDA_CONSOLE
1558
+ bool "Console on RDA Micro serial port"
1559
+ depends on SERIAL_RDA=y
1560
+ select SERIAL_CORE_CONSOLE
1561
+ select SERIAL_EARLYCON
1562
+ default y
1563
+ help
1564
+ Say 'Y' here if you wish to use the RDA8810PL UART as the system
1565
+ console. Only earlycon is implemented currently.
1566
+
1567
+config SERIAL_MILBEAUT_USIO
1568
+ tristate "Milbeaut USIO/UART serial port support"
1569
+ depends on ARCH_MILBEAUT || (COMPILE_TEST && OF)
1570
+ default ARCH_MILBEAUT
1571
+ select SERIAL_CORE
1572
+ help
1573
+ This selects the USIO/UART IP found in Socionext Milbeaut SoCs.
1574
+
1575
+config SERIAL_MILBEAUT_USIO_PORTS
1576
+ int "Maximum number of CSIO/UART ports (1-8)"
1577
+ range 1 8
1578
+ depends on SERIAL_MILBEAUT_USIO
1579
+ default "4"
1580
+
1581
+config SERIAL_MILBEAUT_USIO_CONSOLE
1582
+ bool "Support for console on MILBEAUT USIO/UART serial port"
1583
+ depends on SERIAL_MILBEAUT_USIO=y
1584
+ default y
1585
+ select SERIAL_CORE_CONSOLE
1586
+ select SERIAL_EARLYCON
1587
+ help
1588
+ Say 'Y' here if you wish to use a USIO/UART of Socionext Milbeaut
1589
+ SoCs as the system console (the system console is the device which
1590
+ receives all kernel messages and warnings and which allows logins in
1591
+ single user mode).
1592
+
15471593 endmenu
15481594
15491595 config SERIAL_MCTRL_GPIO
15501596 tristate
1551
-
1552
-endif # TTY