Kconfig 52 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685
  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 (DEPRECATED)"
  380. depends on ARCH_PXA || ARCH_MMP
  381. select SERIAL_CORE
  382. select SERIAL_8250_PXA if SERIAL_8250=y
  383. select SERIAL_PXA_NON8250 if !SERIAL_8250=y
  384. help
  385. If you have a machine based on an Intel XScale PXA2xx CPU you
  386. can enable its onboard serial ports by enabling this option.
  387. Unless you have a specific need, you should use SERIAL_8250_PXA
  388. instead of this.
  389. config SERIAL_PXA_NON8250
  390. bool
  391. depends on !SERIAL_8250
  392. config SERIAL_PXA_CONSOLE
  393. bool "Console on PXA serial port (DEPRECATED)"
  394. depends on SERIAL_PXA
  395. select SERIAL_CORE_CONSOLE
  396. select SERIAL_8250_CONSOLE if SERIAL_8250=y
  397. help
  398. If you have enabled the serial port on the Intel XScale PXA
  399. CPU you can make it the console by answering Y to this option.
  400. Even if you say Y here, the currently visible virtual console
  401. (/dev/tty0) will still be used as the system console by default, but
  402. you can alter that using a kernel command line option such as
  403. "console=ttySA0". (Try "man bootparam" or see the documentation of
  404. your boot loader (lilo or loadlin) about how to pass options to the
  405. kernel at boot time.)
  406. Unless you have a specific need, you should use SERIAL_8250_PXA
  407. and SERIAL_8250_CONSOLE instead of this.
  408. config SERIAL_SA1100
  409. bool "SA1100 serial port support"
  410. depends on ARCH_SA1100
  411. select SERIAL_CORE
  412. help
  413. If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
  414. can enable its onboard serial port by enabling this option.
  415. Please read <file:Documentation/arm/SA1100/serial_UART> for further
  416. info.
  417. config SERIAL_SA1100_CONSOLE
  418. bool "Console on SA1100 serial port"
  419. depends on SERIAL_SA1100
  420. select SERIAL_CORE_CONSOLE
  421. help
  422. If you have enabled the serial port on the SA1100/SA1110 StrongARM
  423. CPU you can make it the console by answering Y to this option.
  424. Even if you say Y here, the currently visible virtual console
  425. (/dev/tty0) will still be used as the system console by default, but
  426. you can alter that using a kernel command line option such as
  427. "console=ttySA0". (Try "man bootparam" or see the documentation of
  428. your boot loader (lilo or loadlin) about how to pass options to the
  429. kernel at boot time.)
  430. config SERIAL_BFIN
  431. tristate "Blackfin serial port support"
  432. depends on BLACKFIN
  433. select SERIAL_CORE
  434. select SERIAL_BFIN_UART0 if (BF531 || BF532 || BF533 || BF561)
  435. help
  436. Add support for the built-in UARTs on the Blackfin.
  437. To compile this driver as a module, choose M here: the
  438. module is named bfin_uart.ko.
  439. config SERIAL_BFIN_CONSOLE
  440. bool "Console on Blackfin serial port"
  441. depends on SERIAL_BFIN=y
  442. select SERIAL_CORE_CONSOLE
  443. choice
  444. prompt "UART Mode"
  445. depends on SERIAL_BFIN
  446. default SERIAL_BFIN_DMA
  447. help
  448. This driver supports the built-in serial ports of the Blackfin family
  449. of CPUs
  450. config SERIAL_BFIN_DMA
  451. bool "DMA mode"
  452. depends on !DMA_UNCACHED_NONE && KGDB_SERIAL_CONSOLE=n
  453. help
  454. This driver works under DMA mode. If this option is selected, the
  455. blackfin simple dma driver is also enabled.
  456. config SERIAL_BFIN_PIO
  457. bool "PIO mode"
  458. help
  459. This driver works under PIO mode.
  460. endchoice
  461. config SERIAL_BFIN_UART0
  462. bool "Enable UART0"
  463. depends on SERIAL_BFIN
  464. help
  465. Enable UART0
  466. config BFIN_UART0_CTSRTS
  467. bool "Enable UART0 hardware flow control"
  468. depends on SERIAL_BFIN_UART0
  469. help
  470. Enable hardware flow control in the driver.
  471. config SERIAL_BFIN_UART1
  472. bool "Enable UART1"
  473. depends on SERIAL_BFIN && (!BF531 && !BF532 && !BF533 && !BF561)
  474. help
  475. Enable UART1
  476. config BFIN_UART1_CTSRTS
  477. bool "Enable UART1 hardware flow control"
  478. depends on SERIAL_BFIN_UART1
  479. help
  480. Enable hardware flow control in the driver.
  481. config SERIAL_BFIN_UART2
  482. bool "Enable UART2"
  483. depends on SERIAL_BFIN && (BF54x || BF538 || BF539)
  484. help
  485. Enable UART2
  486. config BFIN_UART2_CTSRTS
  487. bool "Enable UART2 hardware flow control"
  488. depends on SERIAL_BFIN_UART2
  489. help
  490. Enable hardware flow control in the driver.
  491. config SERIAL_BFIN_UART3
  492. bool "Enable UART3"
  493. depends on SERIAL_BFIN && (BF54x)
  494. help
  495. Enable UART3
  496. config BFIN_UART3_CTSRTS
  497. bool "Enable UART3 hardware flow control"
  498. depends on SERIAL_BFIN_UART3
  499. help
  500. Enable hardware flow control in the driver.
  501. config SERIAL_IMX
  502. tristate "IMX serial port support"
  503. depends on HAS_DMA
  504. depends on ARCH_MXC || COMPILE_TEST
  505. select SERIAL_CORE
  506. select RATIONAL
  507. select SERIAL_MCTRL_GPIO if GPIOLIB
  508. help
  509. If you have a machine based on a Motorola IMX CPU you
  510. can enable its onboard serial port by enabling this option.
  511. config SERIAL_IMX_CONSOLE
  512. bool "Console on IMX serial port"
  513. depends on SERIAL_IMX=y
  514. select SERIAL_CORE_CONSOLE
  515. select SERIAL_EARLYCON if OF
  516. help
  517. If you have enabled the serial port on the Freescale IMX
  518. CPU you can make it the console by answering Y to this option.
  519. Even if you say Y here, the currently visible virtual console
  520. (/dev/tty0) will still be used as the system console by default, but
  521. you can alter that using a kernel command line option such as
  522. "console=ttymxc0". (Try "man bootparam" or see the documentation of
  523. your bootloader about how to pass options to the kernel at boot time.)
  524. config SERIAL_UARTLITE
  525. tristate "Xilinx uartlite serial port support"
  526. depends on HAS_IOMEM
  527. select SERIAL_CORE
  528. help
  529. Say Y here if you want to use the Xilinx uartlite serial controller.
  530. To compile this driver as a module, choose M here: the
  531. module will be called uartlite.
  532. config SERIAL_UARTLITE_CONSOLE
  533. bool "Support for console on Xilinx uartlite serial port"
  534. depends on SERIAL_UARTLITE=y
  535. select SERIAL_CORE_CONSOLE
  536. select SERIAL_EARLYCON
  537. help
  538. Say Y here if you wish to use a Xilinx uartlite as the system
  539. console (the system console is the device which receives all kernel
  540. messages and warnings and which allows logins in single user mode).
  541. config SERIAL_SUNCORE
  542. bool
  543. depends on SPARC
  544. select SERIAL_CORE
  545. select SERIAL_CORE_CONSOLE
  546. default y
  547. config SERIAL_SUNZILOG
  548. tristate "Sun Zilog8530 serial support"
  549. depends on SPARC
  550. help
  551. This driver supports the Zilog8530 serial ports found on many Sparc
  552. systems. Say Y or M if you want to be able to these serial ports.
  553. config SERIAL_SUNZILOG_CONSOLE
  554. bool "Console on Sun Zilog8530 serial port"
  555. depends on SERIAL_SUNZILOG=y
  556. help
  557. If you would like to be able to use the Zilog8530 serial port
  558. on your Sparc system as the console, you can do so by answering
  559. Y to this option.
  560. config SERIAL_SUNSU
  561. tristate "Sun SU serial support"
  562. depends on SPARC && PCI
  563. help
  564. This driver supports the 8250 serial ports that run the keyboard and
  565. mouse on (PCI) UltraSPARC systems. Say Y or M if you want to be able
  566. to these serial ports.
  567. config SERIAL_SUNSU_CONSOLE
  568. bool "Console on Sun SU serial port"
  569. depends on SERIAL_SUNSU=y
  570. help
  571. If you would like to be able to use the SU serial port
  572. on your Sparc system as the console, you can do so by answering
  573. Y to this option.
  574. config SERIAL_MUX
  575. tristate "Serial MUX support"
  576. depends on GSC
  577. select SERIAL_CORE
  578. default y
  579. ---help---
  580. Saying Y here will enable the hardware MUX serial driver for
  581. the Nova, K class systems and D class with a 'remote control card'.
  582. The hardware MUX is not 8250/16550 compatible therefore the
  583. /dev/ttyB0 device is shared between the Serial MUX and the PDC
  584. software console. The following steps need to be completed to use
  585. the Serial MUX:
  586. 1. create the device entry (mknod /dev/ttyB0 c 11 0)
  587. 2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
  588. 3. Add device ttyB0 to /etc/securetty (if you want to log on as
  589. root on this console.)
  590. 4. Change the kernel command console parameter to: console=ttyB0
  591. config SERIAL_MUX_CONSOLE
  592. bool "Support for console on serial MUX"
  593. depends on SERIAL_MUX=y
  594. select SERIAL_CORE_CONSOLE
  595. default y
  596. config PDC_CONSOLE
  597. bool "PDC software console support"
  598. depends on PARISC && !SERIAL_MUX && VT
  599. default n
  600. help
  601. Saying Y here will enable the software based PDC console to be
  602. used as the system console. This is useful for machines in
  603. which the hardware based console has not been written yet. The
  604. following steps must be completed to use the PDC console:
  605. 1. create the device entry (mknod /dev/ttyB0 c 11 0)
  606. 2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
  607. 3. Add device ttyB0 to /etc/securetty (if you want to log on as
  608. root on this console.)
  609. 4. Change the kernel command console parameter to: console=ttyB0
  610. config SERIAL_SUNSAB
  611. tristate "Sun Siemens SAB82532 serial support"
  612. depends on SPARC && PCI
  613. help
  614. This driver supports the Siemens SAB82532 DUSCC serial ports on newer
  615. (PCI) UltraSPARC systems. Say Y or M if you want to be able to these
  616. serial ports.
  617. config SERIAL_SUNSAB_CONSOLE
  618. bool "Console on Sun Siemens SAB82532 serial port"
  619. depends on SERIAL_SUNSAB=y
  620. help
  621. If you would like to be able to use the SAB82532 serial port
  622. on your Sparc system as the console, you can do so by answering
  623. Y to this option.
  624. config SERIAL_SUNHV
  625. bool "Sun4v Hypervisor Console support"
  626. depends on SPARC64
  627. help
  628. This driver supports the console device found on SUN4V Sparc
  629. systems. Say Y if you want to be able to use this device.
  630. config SERIAL_IP22_ZILOG
  631. tristate "SGI Zilog8530 serial support"
  632. depends on SGI_HAS_ZILOG
  633. select SERIAL_CORE
  634. help
  635. This driver supports the Zilog8530 serial ports found on SGI
  636. systems. Say Y or M if you want to be able to these serial ports.
  637. config SERIAL_IP22_ZILOG_CONSOLE
  638. bool "Console on SGI Zilog8530 serial port"
  639. depends on SERIAL_IP22_ZILOG=y
  640. select SERIAL_CORE_CONSOLE
  641. config SERIAL_SH_SCI
  642. tristate "SuperH SCI(F) serial port support"
  643. depends on SUPERH || ARCH_RENESAS || H8300 || COMPILE_TEST
  644. select SERIAL_CORE
  645. select SERIAL_MCTRL_GPIO if GPIOLIB
  646. config SERIAL_SH_SCI_NR_UARTS
  647. int "Maximum number of SCI(F) serial ports"
  648. depends on SERIAL_SH_SCI
  649. default "2"
  650. config SERIAL_SH_SCI_CONSOLE
  651. bool "Support for console on SuperH SCI(F)"
  652. depends on SERIAL_SH_SCI=y
  653. select SERIAL_CORE_CONSOLE
  654. config SERIAL_SH_SCI_EARLYCON
  655. bool "Support for early console on SuperH SCI(F)"
  656. depends on SERIAL_SH_SCI=y
  657. select SERIAL_CORE_CONSOLE
  658. select SERIAL_EARLYCON
  659. config SERIAL_SH_SCI_DMA
  660. bool "DMA support"
  661. depends on SERIAL_SH_SCI && DMA_ENGINE
  662. config SERIAL_PNX8XXX
  663. bool "Enable PNX8XXX SoCs' UART Support"
  664. depends on SOC_PNX833X
  665. select SERIAL_CORE
  666. help
  667. If you have a MIPS-based Philips SoC such as PNX8330 and you want
  668. to use serial ports, say Y. Otherwise, say N.
  669. config SERIAL_PNX8XXX_CONSOLE
  670. bool "Enable PNX8XX0 serial console"
  671. depends on SERIAL_PNX8XXX
  672. select SERIAL_CORE_CONSOLE
  673. help
  674. If you have a MIPS-based Philips SoC such as PNX8330 and you want
  675. to use serial console, say Y. Otherwise, say N.
  676. config SERIAL_HS_LPC32XX
  677. tristate "LPC32XX high speed serial port support"
  678. depends on ARCH_LPC32XX && OF
  679. select SERIAL_CORE
  680. help
  681. Support for the LPC32XX high speed serial ports (up to 900kbps).
  682. Those are UARTs completely different from the Standard UARTs on the
  683. LPC32XX SoC.
  684. Choose M or Y here to build this driver.
  685. config SERIAL_HS_LPC32XX_CONSOLE
  686. bool "Enable LPC32XX high speed UART serial console"
  687. depends on SERIAL_HS_LPC32XX=y
  688. select SERIAL_CORE_CONSOLE
  689. help
  690. If you would like to be able to use one of the high speed serial
  691. ports on the LPC32XX as the console, you can do so by answering
  692. Y to this option.
  693. config SERIAL_CORE
  694. tristate
  695. config SERIAL_CORE_CONSOLE
  696. bool
  697. config CONSOLE_POLL
  698. bool
  699. config SERIAL_MCF
  700. bool "Coldfire serial support"
  701. depends on COLDFIRE
  702. select SERIAL_CORE
  703. help
  704. This serial driver supports the Freescale Coldfire serial ports.
  705. config SERIAL_MCF_BAUDRATE
  706. int "Default baudrate for Coldfire serial ports"
  707. depends on SERIAL_MCF
  708. default 19200
  709. help
  710. This setting lets you define what the default baudrate is for the
  711. ColdFire serial ports. The usual default varies from board to board,
  712. and this setting is a way of catering for that.
  713. config SERIAL_MCF_CONSOLE
  714. bool "Coldfire serial console support"
  715. depends on SERIAL_MCF
  716. select SERIAL_CORE_CONSOLE
  717. help
  718. Enable a ColdFire internal serial port to be the system console.
  719. config SERIAL_PMACZILOG
  720. tristate "Mac or PowerMac z85c30 ESCC support"
  721. depends on (M68K && MAC) || PPC_PMAC
  722. select SERIAL_CORE
  723. help
  724. This driver supports the Zilog z85C30 serial ports found on
  725. (Power)Mac machines.
  726. Say Y or M if you want to be able to these serial ports.
  727. config SERIAL_PMACZILOG_TTYS
  728. bool "Use ttySn device nodes for Zilog z85c30"
  729. depends on SERIAL_PMACZILOG
  730. help
  731. The pmac_zilog driver for the z85C30 chip on many powermacs
  732. historically used the device numbers for /dev/ttySn. The
  733. 8250 serial port driver also uses these numbers, which means
  734. the two drivers being unable to coexist; you could not use
  735. both z85C30 and 8250 type ports at the same time.
  736. If this option is not selected, the pmac_zilog driver will
  737. use the device numbers allocated for /dev/ttyPZn. This allows
  738. the pmac_zilog and 8250 drivers to co-exist, but may cause
  739. existing userspace setups to break. Programs that need to
  740. access the built-in serial ports on powermacs will need to
  741. be reconfigured to use /dev/ttyPZn instead of /dev/ttySn.
  742. If you enable this option, any z85c30 ports in the system will
  743. be registered as ttyS0 onwards as in the past, and you will be
  744. unable to use the 8250 module for PCMCIA or other 16C550-style
  745. UARTs.
  746. Say N unless you need the z85c30 ports on your (Power)Mac
  747. to appear as /dev/ttySn.
  748. config SERIAL_PMACZILOG_CONSOLE
  749. bool "Console on Mac or PowerMac z85c30 serial port"
  750. depends on SERIAL_PMACZILOG=y
  751. select SERIAL_CORE_CONSOLE
  752. help
  753. If you would like to be able to use the z85c30 serial port
  754. on your (Power)Mac as the console, you can do so by answering
  755. Y to this option.
  756. config SERIAL_CPM
  757. tristate "CPM SCC/SMC serial port support"
  758. depends on CPM2 || CPM1
  759. select SERIAL_CORE
  760. help
  761. This driver supports the SCC and SMC serial ports on Motorola
  762. embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)
  763. config SERIAL_CPM_CONSOLE
  764. bool "Support for console on CPM SCC/SMC serial port"
  765. depends on SERIAL_CPM=y
  766. select SERIAL_CORE_CONSOLE
  767. help
  768. Say Y here if you wish to use a SCC or SMC CPM UART as the system
  769. console (the system console is the device which receives all kernel
  770. messages and warnings and which allows logins in single user mode).
  771. Even if you say Y here, the currently visible framebuffer console
  772. (/dev/tty0) will still be used as the system console by default, but
  773. you can alter that using a kernel command line option such as
  774. "console=ttyCPM0". (Try "man bootparam" or see the documentation of
  775. your boot loader (lilo or loadlin) about how to pass options to the
  776. kernel at boot time.)
  777. config SERIAL_SGI_L1_CONSOLE
  778. bool "SGI Altix L1 serial console support"
  779. depends on IA64_GENERIC || IA64_SGI_SN2
  780. select SERIAL_CORE
  781. select SERIAL_CORE_CONSOLE
  782. help
  783. If you have an SGI Altix and you would like to use the system
  784. controller serial port as your console (you want this!),
  785. say Y. Otherwise, say N.
  786. config SERIAL_PIC32
  787. tristate "Microchip PIC32 serial support"
  788. depends on MACH_PIC32
  789. select SERIAL_CORE
  790. help
  791. If you have a PIC32, this driver supports the serial ports.
  792. Say Y or M to use PIC32 serial ports, otherwise say N. Note that
  793. to use a serial port as a console, this must be included in kernel and
  794. not as a module.
  795. config SERIAL_PIC32_CONSOLE
  796. bool "PIC32 serial console support"
  797. depends on SERIAL_PIC32
  798. select SERIAL_CORE_CONSOLE
  799. help
  800. If you have a PIC32, this driver supports the putting a console on one
  801. of the serial ports.
  802. Say Y to use the PIC32 console, otherwise say N.
  803. config SERIAL_MPC52xx
  804. tristate "Freescale MPC52xx/MPC512x family PSC serial support"
  805. depends on PPC_MPC52xx || PPC_MPC512x
  806. select SERIAL_CORE
  807. help
  808. This driver supports MPC52xx and MPC512x PSC serial ports. If you would
  809. like to use them, you must answer Y or M to this option. Note that
  810. for use as console, it must be included in kernel and not as a
  811. module.
  812. config SERIAL_MPC52xx_CONSOLE
  813. bool "Console on a Freescale MPC52xx/MPC512x family PSC serial port"
  814. depends on SERIAL_MPC52xx=y
  815. select SERIAL_CORE_CONSOLE
  816. help
  817. Select this options if you'd like to use one of the PSC serial port
  818. of the Freescale MPC52xx family as a console.
  819. config SERIAL_MPC52xx_CONSOLE_BAUD
  820. int "Freescale MPC52xx/MPC512x family PSC serial port baud"
  821. depends on SERIAL_MPC52xx_CONSOLE=y
  822. default "9600"
  823. help
  824. Select the MPC52xx console baud rate.
  825. This value is only used if the bootloader doesn't pass in the
  826. console baudrate
  827. config SERIAL_ICOM
  828. tristate "IBM Multiport Serial Adapter"
  829. depends on PCI && PPC_PSERIES
  830. select SERIAL_CORE
  831. select FW_LOADER
  832. help
  833. This driver is for a family of multiport serial adapters
  834. including 2 port RVX, 2 port internal modem, 4 port internal
  835. modem and a split 1 port RVX and 1 port internal modem.
  836. This driver can also be built as a module. If so, the module
  837. will be called icom.
  838. config SERIAL_M32R_SIO
  839. bool "M32R SIO I/F"
  840. depends on M32R
  841. default y
  842. select SERIAL_CORE
  843. help
  844. Say Y here if you want to use the M32R serial controller.
  845. config SERIAL_M32R_SIO_CONSOLE
  846. bool "use SIO console"
  847. depends on SERIAL_M32R_SIO=y
  848. select SERIAL_CORE_CONSOLE
  849. help
  850. Say Y here if you want to support a serial console.
  851. If you use an M3T-M32700UT or an OPSPUT platform,
  852. please say also y for SERIAL_M32R_PLDSIO.
  853. config SERIAL_M32R_PLDSIO
  854. bool "M32R SIO I/F on a PLD"
  855. depends on SERIAL_M32R_SIO=y && (PLAT_OPSPUT || PLAT_USRV || PLAT_M32700UT)
  856. default n
  857. help
  858. Say Y here if you want to use the M32R serial controller
  859. on a PLD (Programmable Logic Device).
  860. If you use an M3T-M32700UT or an OPSPUT platform,
  861. please say Y.
  862. config SERIAL_TXX9
  863. bool "TMPTX39XX/49XX SIO support"
  864. depends on HAS_TXX9_SERIAL
  865. select SERIAL_CORE
  866. default y
  867. config HAS_TXX9_SERIAL
  868. bool
  869. config SERIAL_TXX9_NR_UARTS
  870. int "Maximum number of TMPTX39XX/49XX SIO ports"
  871. depends on SERIAL_TXX9
  872. default "6"
  873. config SERIAL_TXX9_CONSOLE
  874. bool "TMPTX39XX/49XX SIO Console support"
  875. depends on SERIAL_TXX9=y
  876. select SERIAL_CORE_CONSOLE
  877. config SERIAL_TXX9_STDSERIAL
  878. bool "TX39XX/49XX SIO act as standard serial"
  879. depends on !SERIAL_8250 && SERIAL_TXX9
  880. config SERIAL_VR41XX
  881. tristate "NEC VR4100 series Serial Interface Unit support"
  882. depends on CPU_VR41XX
  883. select SERIAL_CORE
  884. help
  885. If you have a NEC VR4100 series processor and you want to use
  886. Serial Interface Unit(SIU) or Debug Serial Interface Unit(DSIU)
  887. (not include VR4111/VR4121 DSIU), say Y. Otherwise, say N.
  888. config SERIAL_VR41XX_CONSOLE
  889. bool "Enable NEC VR4100 series Serial Interface Unit console"
  890. depends on SERIAL_VR41XX=y
  891. select SERIAL_CORE_CONSOLE
  892. help
  893. If you have a NEC VR4100 series processor and you want to use
  894. a console on a serial port, say Y. Otherwise, say N.
  895. config SERIAL_JSM
  896. tristate "Digi International NEO and Classic PCI Support"
  897. depends on PCI
  898. select SERIAL_CORE
  899. help
  900. This is a driver for Digi International's Neo and Classic series
  901. of cards which provide multiple serial ports. You would need
  902. something like this to connect more than two modems to your Linux
  903. box, for instance in order to become a dial-in server. This driver
  904. supports PCI boards only.
  905. If you have a card like this, say Y here, otherwise say N.
  906. To compile this driver as a module, choose M here: the
  907. module will be called jsm.
  908. config SERIAL_SGI_IOC4
  909. tristate "SGI IOC4 controller serial support"
  910. depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC4
  911. select SERIAL_CORE
  912. help
  913. If you have an SGI Altix with an IOC4 based Base IO card
  914. and wish to use the serial ports on this card, say Y.
  915. Otherwise, say N.
  916. config SERIAL_SGI_IOC3
  917. tristate "SGI Altix IOC3 serial support"
  918. depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC3
  919. select SERIAL_CORE
  920. help
  921. If you have an SGI Altix with an IOC3 serial card,
  922. say Y or M. Otherwise, say N.
  923. config SERIAL_MSM
  924. tristate "MSM on-chip serial port support"
  925. depends on ARCH_QCOM
  926. select SERIAL_CORE
  927. config SERIAL_MSM_CONSOLE
  928. bool "MSM serial console support"
  929. depends on SERIAL_MSM=y
  930. select SERIAL_CORE_CONSOLE
  931. select SERIAL_EARLYCON
  932. config SERIAL_VT8500
  933. bool "VIA VT8500 on-chip serial port support"
  934. depends on ARCH_VT8500
  935. select SERIAL_CORE
  936. config SERIAL_VT8500_CONSOLE
  937. bool "VIA VT8500 serial console support"
  938. depends on SERIAL_VT8500=y
  939. select SERIAL_CORE_CONSOLE
  940. config SERIAL_ETRAXFS
  941. bool "ETRAX FS serial port support"
  942. depends on ETRAX_ARCH_V32 && OF
  943. select SERIAL_CORE
  944. select SERIAL_MCTRL_GPIO if GPIOLIB
  945. config SERIAL_ETRAXFS_CONSOLE
  946. bool "ETRAX FS serial console support"
  947. depends on SERIAL_ETRAXFS
  948. select SERIAL_CORE_CONSOLE
  949. config SERIAL_NETX
  950. tristate "NetX serial port support"
  951. depends on ARCH_NETX
  952. select SERIAL_CORE
  953. help
  954. If you have a machine based on a Hilscher NetX SoC you
  955. can enable its onboard serial port by enabling this option.
  956. To compile this driver as a module, choose M here: the
  957. module will be called netx-serial.
  958. config SERIAL_NETX_CONSOLE
  959. bool "Console on NetX serial port"
  960. depends on SERIAL_NETX=y
  961. select SERIAL_CORE_CONSOLE
  962. help
  963. If you have enabled the serial port on the Hilscher NetX SoC
  964. you can make it the console by answering Y to this option.
  965. config SERIAL_OMAP
  966. tristate "OMAP serial port support"
  967. depends on ARCH_OMAP2PLUS
  968. select SERIAL_CORE
  969. help
  970. If you have a machine based on an Texas Instruments OMAP CPU you
  971. can enable its onboard serial ports by enabling this option.
  972. By enabling this option you take advantage of dma feature available
  973. with the omap-serial driver. DMA support can be enabled from platform
  974. data.
  975. config SERIAL_OMAP_CONSOLE
  976. bool "Console on OMAP serial port"
  977. depends on SERIAL_OMAP=y
  978. select SERIAL_CORE_CONSOLE
  979. help
  980. Select this option if you would like to use omap serial port as
  981. console.
  982. Even if you say Y here, the currently visible virtual console
  983. (/dev/tty0) will still be used as the system console by default, but
  984. you can alter that using a kernel command line option such as
  985. "console=ttyOx". (Try "man bootparam" or see the documentation of
  986. your boot loader about how to pass options to the kernel at
  987. boot time.)
  988. config SERIAL_LANTIQ
  989. bool "Lantiq serial driver"
  990. depends on LANTIQ
  991. select SERIAL_CORE
  992. select SERIAL_CORE_CONSOLE
  993. select SERIAL_EARLYCON
  994. help
  995. Support for console and UART on Lantiq SoCs.
  996. config SERIAL_QE
  997. tristate "Freescale QUICC Engine serial port support"
  998. depends on QUICC_ENGINE
  999. select SERIAL_CORE
  1000. select FW_LOADER
  1001. default n
  1002. help
  1003. This driver supports the QE serial ports on Freescale embedded
  1004. PowerPC that contain a QUICC Engine.
  1005. config SERIAL_SCCNXP
  1006. tristate "SCCNXP serial port support"
  1007. select SERIAL_CORE
  1008. help
  1009. This selects support for an advanced UART from NXP (Philips).
  1010. Supported ICs are SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,
  1011. SC28L202, SCC68681 and SCC68692.
  1012. config SERIAL_SCCNXP_CONSOLE
  1013. bool "Console on SCCNXP serial port"
  1014. depends on SERIAL_SCCNXP=y
  1015. select SERIAL_CORE_CONSOLE
  1016. help
  1017. Support for console on SCCNXP serial ports.
  1018. config SERIAL_SC16IS7XX_CORE
  1019. tristate
  1020. config SERIAL_SC16IS7XX
  1021. tristate "SC16IS7xx serial support"
  1022. select SERIAL_CORE
  1023. depends on (SPI_MASTER && !I2C) || I2C
  1024. help
  1025. This selects support for SC16IS7xx serial ports.
  1026. Supported ICs are SC16IS740, SC16IS741, SC16IS750, SC16IS752,
  1027. SC16IS760 and SC16IS762. Select supported buses using options below.
  1028. config SERIAL_SC16IS7XX_I2C
  1029. bool "SC16IS7xx for I2C interface"
  1030. depends on SERIAL_SC16IS7XX
  1031. depends on I2C
  1032. select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
  1033. select REGMAP_I2C if I2C
  1034. default y
  1035. help
  1036. Enable SC16IS7xx driver on I2C bus,
  1037. If required say y, and say n to i2c if not required,
  1038. Enabled by default to support oldconfig.
  1039. You must select at least one bus for the driver to be built.
  1040. config SERIAL_SC16IS7XX_SPI
  1041. bool "SC16IS7xx for spi interface"
  1042. depends on SERIAL_SC16IS7XX
  1043. depends on SPI_MASTER
  1044. select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
  1045. select REGMAP_SPI if SPI_MASTER
  1046. help
  1047. Enable SC16IS7xx driver on SPI bus,
  1048. If required say y, and say n to spi if not required,
  1049. This is additional support to exsisting driver.
  1050. You must select at least one bus for the driver to be built.
  1051. config SERIAL_BFIN_SPORT
  1052. tristate "Blackfin SPORT emulate UART"
  1053. depends on BLACKFIN
  1054. select SERIAL_CORE
  1055. help
  1056. Enable SPORT emulate UART on Blackfin series.
  1057. To compile this driver as a module, choose M here: the
  1058. module will be called bfin_sport_uart.
  1059. config SERIAL_BFIN_SPORT_CONSOLE
  1060. bool "Console on Blackfin sport emulated uart"
  1061. depends on SERIAL_BFIN_SPORT=y
  1062. select SERIAL_CORE_CONSOLE
  1063. config SERIAL_BFIN_SPORT0_UART
  1064. bool "Enable UART over SPORT0"
  1065. depends on SERIAL_BFIN_SPORT && !(BF542 || BF544)
  1066. help
  1067. Enable UART over SPORT0
  1068. config SERIAL_BFIN_SPORT0_UART_CTSRTS
  1069. bool "Enable UART over SPORT0 hardware flow control"
  1070. depends on SERIAL_BFIN_SPORT0_UART
  1071. help
  1072. Enable hardware flow control in the driver.
  1073. config SERIAL_BFIN_SPORT1_UART
  1074. bool "Enable UART over SPORT1"
  1075. depends on SERIAL_BFIN_SPORT
  1076. help
  1077. Enable UART over SPORT1
  1078. config SERIAL_BFIN_SPORT1_UART_CTSRTS
  1079. bool "Enable UART over SPORT1 hardware flow control"
  1080. depends on SERIAL_BFIN_SPORT1_UART
  1081. help
  1082. Enable hardware flow control in the driver.
  1083. config SERIAL_BFIN_SPORT2_UART
  1084. bool "Enable UART over SPORT2"
  1085. depends on SERIAL_BFIN_SPORT && (BF54x || BF538 || BF539)
  1086. help
  1087. Enable UART over SPORT2
  1088. config SERIAL_BFIN_SPORT2_UART_CTSRTS
  1089. bool "Enable UART over SPORT2 hardware flow control"
  1090. depends on SERIAL_BFIN_SPORT2_UART
  1091. help
  1092. Enable hardware flow control in the driver.
  1093. config SERIAL_BFIN_SPORT3_UART
  1094. bool "Enable UART over SPORT3"
  1095. depends on SERIAL_BFIN_SPORT && (BF54x || BF538 || BF539)
  1096. help
  1097. Enable UART over SPORT3
  1098. config SERIAL_BFIN_SPORT3_UART_CTSRTS
  1099. bool "Enable UART over SPORT3 hardware flow control"
  1100. depends on SERIAL_BFIN_SPORT3_UART
  1101. help
  1102. Enable hardware flow control in the driver.
  1103. config SERIAL_TIMBERDALE
  1104. tristate "Support for timberdale UART"
  1105. select SERIAL_CORE
  1106. depends on X86_32 || COMPILE_TEST
  1107. ---help---
  1108. Add support for UART controller on timberdale.
  1109. config SERIAL_BCM63XX
  1110. tristate "Broadcom BCM63xx/BCM33xx UART support"
  1111. select SERIAL_CORE
  1112. depends on MIPS || ARM || COMPILE_TEST
  1113. help
  1114. This enables the driver for the onchip UART core found on
  1115. the following chipsets:
  1116. BCM33xx (cable modem)
  1117. BCM63xx/BCM63xxx (DSL)
  1118. BCM68xx (PON)
  1119. BCM7xxx (STB) - DOCSIS console
  1120. config SERIAL_BCM63XX_CONSOLE
  1121. bool "Console on BCM63xx serial port"
  1122. depends on SERIAL_BCM63XX=y
  1123. select SERIAL_CORE_CONSOLE
  1124. select SERIAL_EARLYCON
  1125. help
  1126. If you have enabled the serial port on the BCM63xx CPU
  1127. you can make it the console by answering Y to this option.
  1128. config SERIAL_GRLIB_GAISLER_APBUART
  1129. tristate "GRLIB APBUART serial support"
  1130. depends on OF && SPARC
  1131. select SERIAL_CORE
  1132. ---help---
  1133. Add support for the GRLIB APBUART serial port.
  1134. config SERIAL_GRLIB_GAISLER_APBUART_CONSOLE
  1135. bool "Console on GRLIB APBUART serial port"
  1136. depends on SERIAL_GRLIB_GAISLER_APBUART=y
  1137. select SERIAL_CORE_CONSOLE
  1138. help
  1139. Support for running a console on the GRLIB APBUART
  1140. config SERIAL_ALTERA_JTAGUART
  1141. tristate "Altera JTAG UART support"
  1142. select SERIAL_CORE
  1143. help
  1144. This driver supports the Altera JTAG UART port.
  1145. config SERIAL_ALTERA_JTAGUART_CONSOLE
  1146. bool "Altera JTAG UART console support"
  1147. depends on SERIAL_ALTERA_JTAGUART=y
  1148. select SERIAL_CORE_CONSOLE
  1149. help
  1150. Enable a Altera JTAG UART port to be the system console.
  1151. config SERIAL_ALTERA_JTAGUART_CONSOLE_BYPASS
  1152. bool "Bypass output when no connection"
  1153. depends on SERIAL_ALTERA_JTAGUART_CONSOLE
  1154. select SERIAL_CORE_CONSOLE
  1155. help
  1156. Bypass console output and keep going even if there is no
  1157. JTAG terminal connection with the host.
  1158. config SERIAL_ALTERA_UART
  1159. tristate "Altera UART support"
  1160. select SERIAL_CORE
  1161. help
  1162. This driver supports the Altera softcore UART port.
  1163. config SERIAL_ALTERA_UART_MAXPORTS
  1164. int "Maximum number of Altera UART ports"
  1165. depends on SERIAL_ALTERA_UART
  1166. default 4
  1167. help
  1168. This setting lets you define the maximum number of the Altera
  1169. UART ports. The usual default varies from board to board, and
  1170. this setting is a way of catering for that.
  1171. config SERIAL_ALTERA_UART_BAUDRATE
  1172. int "Default baudrate for Altera UART ports"
  1173. depends on SERIAL_ALTERA_UART
  1174. default 115200
  1175. help
  1176. This setting lets you define what the default baudrate is for the
  1177. Altera UART ports. The usual default varies from board to board,
  1178. and this setting is a way of catering for that.
  1179. config SERIAL_ALTERA_UART_CONSOLE
  1180. bool "Altera UART console support"
  1181. depends on SERIAL_ALTERA_UART=y
  1182. select SERIAL_CORE_CONSOLE
  1183. help
  1184. Enable a Altera UART port to be the system console.
  1185. config SERIAL_IFX6X60
  1186. tristate "SPI protocol driver for Infineon 6x60 modem (EXPERIMENTAL)"
  1187. depends on GPIOLIB || COMPILE_TEST
  1188. depends on SPI && HAS_DMA
  1189. help
  1190. Support for the IFX6x60 modem devices on Intel MID platforms.
  1191. config SERIAL_PCH_UART
  1192. tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) UART"
  1193. depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
  1194. select SERIAL_CORE
  1195. help
  1196. This driver is for PCH(Platform controller Hub) UART of Intel EG20T
  1197. which is an IOH(Input/Output Hub) for x86 embedded processor.
  1198. Enabling PCH_DMA, this PCH UART works as DMA mode.
  1199. This driver also can be used for LAPIS Semiconductor IOH(Input/
  1200. Output Hub), ML7213, ML7223 and ML7831.
  1201. ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
  1202. for MP(Media Phone) use and ML7831 IOH is for general purpose use.
  1203. ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
  1204. ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
  1205. config SERIAL_PCH_UART_CONSOLE
  1206. bool "Support for console on Intel EG20T PCH UART/OKI SEMICONDUCTOR ML7213 IOH"
  1207. depends on SERIAL_PCH_UART=y
  1208. select SERIAL_CORE_CONSOLE
  1209. help
  1210. Say Y here if you wish to use the PCH UART as the system console
  1211. (the system console is the device which receives all kernel messages and
  1212. warnings and which allows logins in single user mode).
  1213. config SERIAL_MXS_AUART
  1214. tristate "MXS AUART support"
  1215. depends on HAS_DMA
  1216. depends on ARCH_MXS || MACH_ASM9260 || COMPILE_TEST
  1217. select SERIAL_CORE
  1218. select SERIAL_MCTRL_GPIO if GPIOLIB
  1219. help
  1220. This driver supports the MXS and Alphascale ASM9260 Application
  1221. UART (AUART) port.
  1222. config SERIAL_MXS_AUART_CONSOLE
  1223. bool "MXS AUART console support"
  1224. depends on SERIAL_MXS_AUART=y
  1225. select SERIAL_CORE_CONSOLE
  1226. help
  1227. Enable a MXS AUART port to be the system console.
  1228. config SERIAL_XILINX_PS_UART
  1229. tristate "Cadence (Xilinx Zynq) UART support"
  1230. depends on OF
  1231. select SERIAL_CORE
  1232. help
  1233. This driver supports the Cadence UART. It is found e.g. in Xilinx
  1234. Zynq.
  1235. config SERIAL_XILINX_PS_UART_CONSOLE
  1236. bool "Cadence UART console support"
  1237. depends on SERIAL_XILINX_PS_UART=y
  1238. select SERIAL_CORE_CONSOLE
  1239. select SERIAL_EARLYCON
  1240. help
  1241. Enable a Cadence UART port to be the system console.
  1242. config SERIAL_AR933X
  1243. tristate "AR933X serial port support"
  1244. depends on HAVE_CLK && SOC_AR933X
  1245. select SERIAL_CORE
  1246. help
  1247. If you have an Atheros AR933X SOC based board and want to use the
  1248. built-in UART of the SoC, say Y to this option.
  1249. To compile this driver as a module, choose M here: the
  1250. module will be called ar933x_uart.
  1251. config SERIAL_AR933X_CONSOLE
  1252. bool "Console on AR933X serial port"
  1253. depends on SERIAL_AR933X=y
  1254. select SERIAL_CORE_CONSOLE
  1255. help
  1256. Enable a built-in UART port of the AR933X to be the system console.
  1257. config SERIAL_AR933X_NR_UARTS
  1258. int "Maximum number of AR933X serial ports"
  1259. depends on SERIAL_AR933X
  1260. default "2"
  1261. help
  1262. Set this to the number of serial ports you want the driver
  1263. to support.
  1264. config SERIAL_EFM32_UART
  1265. tristate "EFM32 UART/USART port"
  1266. depends on ARM && (ARCH_EFM32 || COMPILE_TEST)
  1267. select SERIAL_CORE
  1268. help
  1269. This driver support the USART and UART ports on
  1270. Energy Micro's efm32 SoCs.
  1271. config SERIAL_MPS2_UART_CONSOLE
  1272. bool "MPS2 UART console support"
  1273. depends on SERIAL_MPS2_UART
  1274. select SERIAL_CORE_CONSOLE
  1275. select SERIAL_EARLYCON
  1276. config SERIAL_MPS2_UART
  1277. bool "MPS2 UART port"
  1278. depends on ARCH_MPS2 || COMPILE_TEST
  1279. select SERIAL_CORE
  1280. help
  1281. This driver support the UART ports on ARM MPS2.
  1282. config SERIAL_EFM32_UART_CONSOLE
  1283. bool "EFM32 UART/USART console support"
  1284. depends on SERIAL_EFM32_UART=y
  1285. select SERIAL_CORE_CONSOLE
  1286. config SERIAL_TILEGX
  1287. tristate "TILE-Gx on-chip serial port support"
  1288. depends on TILEGX
  1289. select TILE_GXIO_UART
  1290. select SERIAL_CORE
  1291. ---help---
  1292. This device provides access to the on-chip UARTs on the TILE-Gx
  1293. processor.
  1294. config SERIAL_ARC
  1295. tristate "ARC UART driver support"
  1296. select SERIAL_CORE
  1297. help
  1298. Driver for on-chip UART for ARC(Synopsys) for the legacy
  1299. FPGA Boards (ML50x/ARCAngel4)
  1300. config SERIAL_ARC_CONSOLE
  1301. bool "Console on ARC UART"
  1302. depends on SERIAL_ARC=y
  1303. select SERIAL_CORE_CONSOLE
  1304. select SERIAL_EARLYCON
  1305. help
  1306. Enable system Console on ARC UART
  1307. config SERIAL_ARC_NR_PORTS
  1308. int "Number of ARC UART ports"
  1309. depends on SERIAL_ARC
  1310. range 1 3
  1311. default "1"
  1312. help
  1313. Set this to the number of serial ports you want the driver
  1314. to support.
  1315. config SERIAL_RP2
  1316. tristate "Comtrol RocketPort EXPRESS/INFINITY support"
  1317. depends on PCI
  1318. select SERIAL_CORE
  1319. help
  1320. This driver supports the Comtrol RocketPort EXPRESS and
  1321. RocketPort INFINITY families of PCI/PCIe multiport serial adapters.
  1322. These adapters use a "RocketPort 2" ASIC that is not compatible
  1323. with the original RocketPort driver (CONFIG_ROCKETPORT).
  1324. To compile this driver as a module, choose M here: the
  1325. module will be called rp2.
  1326. If you want to compile this driver into the kernel, say Y here. If
  1327. you don't have a suitable RocketPort card installed, say N.
  1328. config SERIAL_RP2_NR_UARTS
  1329. int "Maximum number of RocketPort EXPRESS/INFINITY ports"
  1330. depends on SERIAL_RP2
  1331. default "32"
  1332. help
  1333. If multiple cards are present, the default limit of 32 ports may
  1334. need to be increased.
  1335. config SERIAL_FSL_LPUART
  1336. tristate "Freescale lpuart serial port support"
  1337. depends on HAS_DMA
  1338. select SERIAL_CORE
  1339. help
  1340. Support for the on-chip lpuart on some Freescale SOCs.
  1341. config SERIAL_FSL_LPUART_CONSOLE
  1342. bool "Console on Freescale lpuart serial port"
  1343. depends on SERIAL_FSL_LPUART=y
  1344. select SERIAL_CORE_CONSOLE
  1345. select SERIAL_EARLYCON
  1346. help
  1347. If you have enabled the lpuart serial port on the Freescale SoCs,
  1348. you can make it the console by answering Y to this option.
  1349. config SERIAL_CONEXANT_DIGICOLOR
  1350. tristate "Conexant Digicolor CX92xxx USART serial port support"
  1351. depends on OF
  1352. select SERIAL_CORE
  1353. help
  1354. Support for the on-chip USART on Conexant Digicolor SoCs.
  1355. config SERIAL_CONEXANT_DIGICOLOR_CONSOLE
  1356. bool "Console on Conexant Digicolor serial port"
  1357. depends on SERIAL_CONEXANT_DIGICOLOR=y
  1358. select SERIAL_CORE_CONSOLE
  1359. help
  1360. If you have enabled the USART serial port on Conexant Digicolor
  1361. SoCs, you can make it the console by answering Y to this option.
  1362. config SERIAL_ST_ASC
  1363. tristate "ST ASC serial port support"
  1364. select SERIAL_CORE
  1365. depends on ARM || COMPILE_TEST
  1366. help
  1367. This driver is for the on-chip Asychronous Serial Controller on
  1368. STMicroelectronics STi SoCs.
  1369. ASC is embedded in ST COMMS IP block. It supports Rx & Tx functionality.
  1370. It support all industry standard baud rates.
  1371. If unsure, say N.
  1372. config SERIAL_ST_ASC_CONSOLE
  1373. bool "Support for console on ST ASC"
  1374. depends on SERIAL_ST_ASC=y
  1375. select SERIAL_CORE_CONSOLE
  1376. config SERIAL_MEN_Z135
  1377. tristate "MEN 16z135 Support"
  1378. select SERIAL_CORE
  1379. depends on MCB
  1380. help
  1381. Say yes here to enable support for the MEN 16z135 High Speed UART IP-Core
  1382. on a MCB carrier.
  1383. This driver can also be build as a module. If so, the module will be called
  1384. men_z135_uart.ko
  1385. config SERIAL_SPRD
  1386. tristate "Support for Spreadtrum serial"
  1387. depends on ARCH_SPRD
  1388. select SERIAL_CORE
  1389. help
  1390. This enables the driver for the Spreadtrum's serial.
  1391. config SERIAL_SPRD_CONSOLE
  1392. bool "Spreadtrum UART console support"
  1393. depends on SERIAL_SPRD=y
  1394. select SERIAL_CORE_CONSOLE
  1395. select SERIAL_EARLYCON
  1396. help
  1397. Support for early debug console using Spreadtrum's serial. This enables
  1398. the console before standard serial driver is probed. This is enabled
  1399. with "earlycon" on the kernel command line. The console is
  1400. enabled when early_param is processed.
  1401. config SERIAL_STM32
  1402. tristate "STMicroelectronics STM32 serial port support"
  1403. select SERIAL_CORE
  1404. depends on HAS_DMA
  1405. depends on ARCH_STM32 || COMPILE_TEST
  1406. help
  1407. This driver is for the on-chip Serial Controller on
  1408. STMicroelectronics STM32 MCUs.
  1409. USART supports Rx & Tx functionality.
  1410. It support all industry standard baud rates.
  1411. If unsure, say N.
  1412. config SERIAL_STM32_CONSOLE
  1413. bool "Support for console on STM32"
  1414. depends on SERIAL_STM32=y
  1415. select SERIAL_CORE_CONSOLE
  1416. config SERIAL_MVEBU_UART
  1417. bool "Marvell EBU serial port support"
  1418. depends on ARCH_MVEBU || COMPILE_TEST
  1419. select SERIAL_CORE
  1420. help
  1421. This driver is for Marvell EBU SoC's UART. If you have a machine
  1422. based on the Armada-3700 SoC and wish to use the on-board serial
  1423. port,
  1424. say 'Y' here.
  1425. Otherwise, say 'N'.
  1426. config SERIAL_MVEBU_CONSOLE
  1427. bool "Console on Marvell EBU serial port"
  1428. depends on SERIAL_MVEBU_UART
  1429. select SERIAL_CORE_CONSOLE
  1430. select SERIAL_EARLYCON
  1431. default y
  1432. help
  1433. Say 'Y' here if you wish to use Armada-3700 UART as the system console.
  1434. (the system console is the device which receives all kernel messages
  1435. and warnings and which allows logins in single user mode)
  1436. Otherwise, say 'N'.
  1437. endmenu
  1438. config SERIAL_MCTRL_GPIO
  1439. tristate
  1440. endif # TTY