Kconfig 53 KB

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