Kconfig 50 KB

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