Kconfig 49 KB

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