138c91d1dSGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 29bef3d41SPaul Gortmaker# 39bef3d41SPaul Gortmaker# The 8250/16550 serial drivers. You shouldn't be in this list unless 49bef3d41SPaul Gortmaker# you somehow have an implicit or explicit dependency on SERIAL_8250. 59bef3d41SPaul Gortmaker# 69bef3d41SPaul Gortmaker 79bef3d41SPaul Gortmakerconfig SERIAL_8250 89bef3d41SPaul Gortmaker tristate "8250/16550 and compatible serial support" 91598e38cSChristian Borntraeger depends on !S390 109bef3d41SPaul Gortmaker select SERIAL_CORE 114a96895fSYegor Yefremov select SERIAL_MCTRL_GPIO if GPIOLIB 12a7f7f624SMasahiro Yamada help 139bef3d41SPaul Gortmaker This selects whether you want to include the driver for the standard 149bef3d41SPaul Gortmaker serial ports. The standard answer is Y. People who might say N 159bef3d41SPaul Gortmaker here are those that are setting up dedicated Ethernet WWW/FTP 169bef3d41SPaul Gortmaker servers, or users that have one of the various bus mice instead of a 179bef3d41SPaul Gortmaker serial mouse and don't intend to use their machine's standard serial 18f76edd8fSJiri Slaby port for anything. 199bef3d41SPaul Gortmaker 209bef3d41SPaul Gortmaker To compile this driver as a module, choose M here: the 219bef3d41SPaul Gortmaker module will be called 8250. 229bef3d41SPaul Gortmaker [WARNING: Do not compile this driver as a module if you are using 239bef3d41SPaul Gortmaker non-standard serial ports, since the configuration information will 249bef3d41SPaul Gortmaker be lost when the driver is unloaded. This limitation may be lifted 259bef3d41SPaul Gortmaker in the future.] 269bef3d41SPaul Gortmaker 279bef3d41SPaul Gortmaker BTW1: If you have a mouseman serial mouse which is not recognized by 289bef3d41SPaul Gortmaker the X window system, try running gpm first. 299bef3d41SPaul Gortmaker 309bef3d41SPaul Gortmaker BTW2: If you intend to use a software modem (also called Winmodem) 319bef3d41SPaul Gortmaker under Linux, forget it. These modems are crippled and require 329bef3d41SPaul Gortmaker proprietary drivers which are only available under Windows. 339bef3d41SPaul Gortmaker 349bef3d41SPaul Gortmaker Most people will say Y or M here, so that they can use serial mice, 359bef3d41SPaul Gortmaker modems and similar devices connecting to the standard serial ports. 369bef3d41SPaul Gortmaker 379326b047SJiri Slabyconfig SERIAL_8250_DEPRECATED_OPTIONS 389326b047SJiri Slaby bool "Support 8250_core.* kernel options (DEPRECATED)" 399326b047SJiri Slaby depends on SERIAL_8250 409326b047SJiri Slaby default y 41a7f7f624SMasahiro Yamada help 429326b047SJiri Slaby In 3.7 we renamed 8250 to 8250_core by mistake, so now we have to 439326b047SJiri Slaby accept kernel parameters in both forms like 8250_core.nr_uarts=4 and 449326b047SJiri Slaby 8250.nr_uarts=4. We now renamed the module back to 8250, but if 459326b047SJiri Slaby anybody noticed in 3.7 and changed their userspace we still have to 46f3014127SRandy Dunlap keep the 8250_core.* options around until they revert the changes 479326b047SJiri Slaby they already did. 489326b047SJiri Slaby 499326b047SJiri Slaby If 8250 is built as a module, this adds 8250_core alias instead. 509326b047SJiri Slaby 519326b047SJiri Slaby If you did not notice yet and/or you have userspace from pre-3.7, it 529326b047SJiri Slaby is safe (and recommended) to say N here. 539326b047SJiri Slaby 54835d844dSSean Youngconfig SERIAL_8250_PNP 55835d844dSSean Young bool "8250/16550 PNP device support" if EXPERT 56835d844dSSean Young depends on SERIAL_8250 && PNP 57835d844dSSean Young default y 58a7f7f624SMasahiro Yamada help 59835d844dSSean Young This builds standard PNP serial support. You may be able to 60835d844dSSean Young disable this feature if you only need legacy serial support. 61835d844dSSean Young 62dc56ecb8SJosh Triplettconfig SERIAL_8250_16550A_VARIANTS 63dc56ecb8SJosh Triplett bool "Support for variants of the 16550A serial port" 64dc56ecb8SJosh Triplett depends on SERIAL_8250 6515a3f03dSJosh Triplett default !X86 66dc56ecb8SJosh Triplett help 67dc56ecb8SJosh Triplett The 8250 driver can probe for many variants of the venerable 16550A 68dc56ecb8SJosh Triplett serial port. Doing so takes additional time at boot. 69dc56ecb8SJosh Triplett 70dc56ecb8SJosh Triplett On modern systems, especially those using serial only for a simple 71dc56ecb8SJosh Triplett console, you can say N here. 72dc56ecb8SJosh Triplett 73fa01e2caSRicardo Ribalda Delgadoconfig SERIAL_8250_FINTEK 74fa01e2caSRicardo Ribalda Delgado bool "Support for Fintek variants" 75fa01e2caSRicardo Ribalda Delgado depends on SERIAL_8250 76a7f7f624SMasahiro Yamada help 77fa01e2caSRicardo Ribalda Delgado Selecting this option will add support for the RS232 and RS485 78fa01e2caSRicardo Ribalda Delgado capabilities of the Fintek F81216A LPC to 4 UART as well similar 79fa01e2caSRicardo Ribalda Delgado variants. 80fa01e2caSRicardo Ribalda Delgado 81fa01e2caSRicardo Ribalda Delgado If this option is not selected the device will be configured as a 82fa01e2caSRicardo Ribalda Delgado standard 16550A serial port, however the device may not function 83fa01e2caSRicardo Ribalda Delgado correctly without this option enabled. 84fa01e2caSRicardo Ribalda Delgado 859bef3d41SPaul Gortmaker If unsure, say N. 869bef3d41SPaul Gortmaker 879bef3d41SPaul Gortmakerconfig SERIAL_8250_CONSOLE 889bef3d41SPaul Gortmaker bool "Console on 8250/16550 and compatible serial port" 89d2fd6810SRob Herring depends on SERIAL_8250=y 90a7f7f624SMasahiro Yamada select SERIAL_CORE_CONSOLE 919bef3d41SPaul Gortmaker select SERIAL_EARLYCON 929bef3d41SPaul Gortmaker help 939bef3d41SPaul Gortmaker If you say Y here, it will be possible to use a serial port as the 949bef3d41SPaul Gortmaker system console (the system console is the device which receives all 959bef3d41SPaul Gortmaker kernel messages and warnings and which allows logins in single user 969bef3d41SPaul Gortmaker mode). This could be useful if some terminal or printer is connected 979bef3d41SPaul Gortmaker to that serial port. 989bef3d41SPaul Gortmaker 999bef3d41SPaul Gortmaker Even if you say Y here, the currently visible virtual console 1009bef3d41SPaul Gortmaker (/dev/tty0) will still be used as the system console by default, but 1019bef3d41SPaul Gortmaker you can alter that using a kernel command line option such as 1029bef3d41SPaul Gortmaker "console=ttyS1". (Try "man bootparam" or see the documentation of 1039bef3d41SPaul Gortmaker your boot loader (grub or lilo or loadlin) about how to pass options 1049bef3d41SPaul Gortmaker to the kernel at boot time.) 1059bef3d41SPaul Gortmaker 1069bef3d41SPaul Gortmaker If you don't have a VGA card installed and you say Y here, the 1079bef3d41SPaul Gortmaker kernel will automatically use the first serial line, /dev/ttyS0, as 1089bef3d41SPaul Gortmaker system console. 1099bef3d41SPaul Gortmaker 1109bef3d41SPaul Gortmaker You can set that using a kernel command line option such as 1119bef3d41SPaul Gortmaker "console=uart8250,io,0x3f8,9600n8" 1129bef3d41SPaul Gortmaker "console=uart8250,mmio,0xff5e0000,115200n8". 1139bef3d41SPaul Gortmaker and it will switch to normal serial console when the corresponding 1149bef3d41SPaul Gortmaker port is ready. 1159bef3d41SPaul Gortmaker "earlycon=uart8250,io,0x3f8,9600n8" 1169bef3d41SPaul Gortmaker "earlycon=uart8250,mmio,0xff5e0000,115200n8". 1179bef3d41SPaul Gortmaker it will not only setup early console. 1189bef3d41SPaul Gortmaker 1199e4e2ce1SHelge Deller If unsure, say N. 1209bef3d41SPaul Gortmaker 121e8a18e3fSHelge Dellerconfig SERIAL_8250_PARISC 1229bef3d41SPaul Gortmaker tristate 1239bef3d41SPaul Gortmaker depends on SERIAL_8250 && PARISC 1249ee4b83eSHeikki Krogerus default SERIAL_8250 1259ee4b83eSHeikki Krogerus 1269ee4b83eSHeikki Krogerusconfig SERIAL_8250_DMA 1279ee4b83eSHeikki Krogerus bool "DMA support for 16550 compatible UART controllers" if EXPERT 1289ee4b83eSHeikki Krogerus depends on SERIAL_8250 && DMADEVICES=y 1299ee4b83eSHeikki Krogerus default SERIAL_8250 1309ee4b83eSHeikki Krogerus help 1319ee4b83eSHeikki Krogerus This builds DMA support that can be used with 8250/16650 1320348386dSKumaravel Thiagarajan compatible UART controllers that support DMA signaling. 1330348386dSKumaravel Thiagarajan 1340348386dSKumaravel Thiagarajanconfig SERIAL_8250_PCILIB 1359bef3d41SPaul Gortmaker bool 136f1e8c710SJean Delvare 1379bef3d41SPaul Gortmakerconfig SERIAL_8250_PCI 1380348386dSKumaravel Thiagarajan tristate "8250/16550 PCI device support" 1399bef3d41SPaul Gortmaker depends on SERIAL_8250 && PCI 1409bef3d41SPaul Gortmaker select SERIAL_8250_PCILIB 1419bef3d41SPaul Gortmaker default SERIAL_8250 1429bef3d41SPaul Gortmaker help 1439bef3d41SPaul Gortmaker This builds standard PCI serial support. You may be able to 144972ce085SStefan Seyfried disable this feature if you only need legacy serial support. 145972ce085SStefan Seyfried Saves about 9K. 1469bef3d41SPaul Gortmaker Note that serial ports on NetMos 9835 Multi-I/O cards are handled 147d0aeaa83SSudip Mukherjee by the parport_serial driver, enabled with CONFIG_PARPORT_SERIAL. 14849e1590cSPaul Gortmaker 149d0aeaa83SSudip Mukherjeeconfig SERIAL_8250_EXAR 1505d1a2388SSudip Mukherjee tristate "8250/16550 Exar/Commtech PCI/PCIe device support" 15149e1590cSPaul Gortmaker depends on SERIAL_8250_PCI 15249e1590cSPaul Gortmaker default SERIAL_8250 15349e1590cSPaul Gortmaker help 15449e1590cSPaul Gortmaker This builds support for XR17C1xx, XR17V3xx and some Commtech 155d0aeaa83SSudip Mukherjee 422x PCIe serial cards that are not covered by the more generic 1569bef3d41SPaul Gortmaker SERIAL_8250_PCI option. 1579bef3d41SPaul Gortmaker 1589bef3d41SPaul Gortmakerconfig SERIAL_8250_HP300 1599bef3d41SPaul Gortmaker tristate 1609bef3d41SPaul Gortmaker depends on SERIAL_8250 && HP300 1619bef3d41SPaul Gortmaker default SERIAL_8250 1629bef3d41SPaul Gortmaker 1639bef3d41SPaul Gortmakerconfig SERIAL_8250_CS 164a7f7f624SMasahiro Yamada tristate "8250/16550 PCMCIA device support" 1659bef3d41SPaul Gortmaker depends on PCMCIA && SERIAL_8250 1669bef3d41SPaul Gortmaker help 1679bef3d41SPaul Gortmaker Say Y here to enable support for 16-bit PCMCIA serial devices, 1689bef3d41SPaul Gortmaker including serial port cards, modems, and the modem functions of 1699bef3d41SPaul Gortmaker multi-function Ethernet/modem cards. (PCMCIA- or PC-cards are 1709bef3d41SPaul Gortmaker credit-card size devices often used with laptops.) 1719bef3d41SPaul Gortmaker 1729bef3d41SPaul Gortmaker To compile this driver as a module, choose M here: the 1739bef3d41SPaul Gortmaker module will be called serial_cs. 1749bef3d41SPaul Gortmaker 175562e6ef8SMichael Moese If unsure, say N. 176e2fea54eSMichael Moese 177562e6ef8SMichael Moeseconfig SERIAL_8250_MEN_MCB 178562e6ef8SMichael Moese tristate "MEN MCB UART device support" 179562e6ef8SMichael Moese depends on MCB && SERIAL_8250 180e2fea54eSMichael Moese help 181e2fea54eSMichael Moese This enables support for FPGA based UARTs found on many MEN 182562e6ef8SMichael Moese boards. This driver enables support for the 16z025, 16z057 183562e6ef8SMichael Moese and 16z125 UARTs. 184562e6ef8SMichael Moese 185562e6ef8SMichael Moese To compile this driver as a module, chose M here: the 186562e6ef8SMichael Moese module will be called 8250_men_mcb. 1879bef3d41SPaul Gortmaker 1889bef3d41SPaul Gortmaker 1899bef3d41SPaul Gortmakerconfig SERIAL_8250_NR_UARTS 1909bef3d41SPaul Gortmaker int "Maximum number of 8250/16550 serial ports" 1919bef3d41SPaul Gortmaker depends on SERIAL_8250 1929bef3d41SPaul Gortmaker default "4" 1939bef3d41SPaul Gortmaker help 1949bef3d41SPaul Gortmaker Set this to the number of serial ports you want the driver 1959bef3d41SPaul Gortmaker to support. This includes any ports discovered via ACPI or 1969bef3d41SPaul Gortmaker PCI enumeration and any ports that may be added at run-time 1979bef3d41SPaul Gortmaker via hot-plug, or any ISA multi-port serial cards. 1989bef3d41SPaul Gortmaker 1999bef3d41SPaul Gortmakerconfig SERIAL_8250_RUNTIME_UARTS 2009bef3d41SPaul Gortmaker int "Number of 8250/16550 serial ports to register at runtime" 2019bef3d41SPaul Gortmaker depends on SERIAL_8250 2029bef3d41SPaul Gortmaker range 0 SERIAL_8250_NR_UARTS 2039bef3d41SPaul Gortmaker default "4" 2049bef3d41SPaul Gortmaker help 2059bef3d41SPaul Gortmaker Set this to the maximum number of serial ports you want 2069bef3d41SPaul Gortmaker the kernel to register at boot time. This can be overridden 2079bef3d41SPaul Gortmaker with the module parameter "nr_uarts", or boot-time parameter 2089bef3d41SPaul Gortmaker 8250.nr_uarts 2099bef3d41SPaul Gortmaker 2109bef3d41SPaul Gortmakerconfig SERIAL_8250_EXTENDED 2119bef3d41SPaul Gortmaker bool "Extended 8250/16550 serial driver options" 2129bef3d41SPaul Gortmaker depends on SERIAL_8250 2139bef3d41SPaul Gortmaker help 2149bef3d41SPaul Gortmaker If you wish to use any non-standard features of the standard "dumb" 2159bef3d41SPaul Gortmaker driver, say Y here. This includes HUB6 support, shared serial 2169bef3d41SPaul Gortmaker interrupts, special multiport support, support for more than the 2179bef3d41SPaul Gortmaker four COM 1/2/3/4 boards, etc. 2189bef3d41SPaul Gortmaker 2199bef3d41SPaul Gortmaker Note that the answer to this question won't directly affect the 2209bef3d41SPaul Gortmaker kernel: saying N will just cause the configurator to skip all 2219bef3d41SPaul Gortmaker the questions about serial driver options. If unsure, say N. 2229bef3d41SPaul Gortmaker 2239bef3d41SPaul Gortmakerconfig SERIAL_8250_MANY_PORTS 2249bef3d41SPaul Gortmaker bool "Support more than 4 legacy serial ports" 2259bef3d41SPaul Gortmaker depends on SERIAL_8250_EXTENDED && !IA64 2269bef3d41SPaul Gortmaker help 2279bef3d41SPaul Gortmaker Say Y here if you have dumb serial boards other than the four 228d4c2b4e7SAlexander A. Klimov standard COM 1/2/3/4 ports. This may happen if you have an AST 2299bef3d41SPaul Gortmaker FourPort, Accent Async, Boca (read the Boca mini-HOWTO, available 2309bef3d41SPaul Gortmaker from <https://www.tldp.org/docs.html#howto>), or other custom 2319bef3d41SPaul Gortmaker serial port hardware which acts similar to standard serial port 232f76edd8fSJiri Slaby hardware. If you only use the standard COM 1/2/3/4 ports, you can 2339bef3d41SPaul Gortmaker say N here to save some memory. You can also say Y if you have an 2349bef3d41SPaul Gortmaker "intelligent" multiport card such as Digiboards, etc. 2359bef3d41SPaul Gortmaker 2369bef3d41SPaul Gortmaker# 2379bef3d41SPaul Gortmaker# Multi-port serial cards 2389bef3d41SPaul Gortmaker# 2399bef3d41SPaul Gortmaker 2409bef3d41SPaul Gortmakerconfig SERIAL_8250_FOURPORT 2419bef3d41SPaul Gortmaker tristate "Support Fourport cards" 2429bef3d41SPaul Gortmaker depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS 2439bef3d41SPaul Gortmaker help 2449bef3d41SPaul Gortmaker Say Y here if you have an AST FourPort serial board. 2459bef3d41SPaul Gortmaker 2469bef3d41SPaul Gortmaker To compile this driver as a module, choose M here: the module 2479bef3d41SPaul Gortmaker will be called 8250_fourport. 2489bef3d41SPaul Gortmaker 2499bef3d41SPaul Gortmakerconfig SERIAL_8250_ACCENT 2509bef3d41SPaul Gortmaker tristate "Support Accent cards" 2519bef3d41SPaul Gortmaker depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS 2529bef3d41SPaul Gortmaker help 2539bef3d41SPaul Gortmaker Say Y here if you have an Accent Async serial board. 2549bef3d41SPaul Gortmaker 2559bef3d41SPaul Gortmaker To compile this driver as a module, choose M here: the module 2567fbcf3afSJeremy Kerr will be called 8250_accent. 2577fbcf3afSJeremy Kerr 2587fbcf3afSJeremy Kerrconfig SERIAL_8250_ASPEED_VUART 2597fbcf3afSJeremy Kerr tristate "Aspeed Virtual UART" 260*f8086d1aSRandy Dunlap depends on SERIAL_8250 261806a4497SGeert Uytterhoeven depends on OF 262*f8086d1aSRandy Dunlap depends on MFD_SYSCON 2637fbcf3afSJeremy Kerr depends on ARCH_ASPEED || COMPILE_TEST 2647fbcf3afSJeremy Kerr select REGMAP 2657fbcf3afSJeremy Kerr help 2667fbcf3afSJeremy Kerr If you want to use the virtual UART (VUART) device on Aspeed 2677fbcf3afSJeremy Kerr BMC platforms, enable this option. This enables the 16550A- 2687fbcf3afSJeremy Kerr compatible device on the local LPC bus, giving a UART device 2699bef3d41SPaul Gortmaker with no physical RS232 connections. 2709bef3d41SPaul Gortmaker 2719bef3d41SPaul Gortmakerconfig SERIAL_8250_BOCA 2729bef3d41SPaul Gortmaker tristate "Support Boca cards" 2739bef3d41SPaul Gortmaker depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS 274d4c2b4e7SAlexander A. Klimov help 2759bef3d41SPaul Gortmaker Say Y here if you have a Boca serial board. Please read the Boca 2769bef3d41SPaul Gortmaker mini-HOWTO, available from <https://www.tldp.org/docs.html#howto> 2779bef3d41SPaul Gortmaker 2789bef3d41SPaul Gortmaker To compile this driver as a module, choose M here: the module 2799bef3d41SPaul Gortmaker will be called 8250_boca. 2809bef3d41SPaul Gortmaker 2819bef3d41SPaul Gortmakerconfig SERIAL_8250_EXAR_ST16C554 2829bef3d41SPaul Gortmaker tristate "Support Exar ST16C554/554D Quad UART" 2839bef3d41SPaul Gortmaker depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS 2849bef3d41SPaul Gortmaker help 2859bef3d41SPaul Gortmaker The Uplogix Envoy TU301 uses this Exar Quad UART. If you are 2869bef3d41SPaul Gortmaker tinkering with your Envoy TU301, or have a machine with this UART, 2879bef3d41SPaul Gortmaker say Y here. 2889bef3d41SPaul Gortmaker 2899bef3d41SPaul Gortmaker To compile this driver as a module, choose M here: the module 2909bef3d41SPaul Gortmaker will be called 8250_exar_st16c554. 2919bef3d41SPaul Gortmaker 2929bef3d41SPaul Gortmakerconfig SERIAL_8250_HUB6 2939bef3d41SPaul Gortmaker tristate "Support Hub6 cards" 2949bef3d41SPaul Gortmaker depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS 2959bef3d41SPaul Gortmaker help 2969bef3d41SPaul Gortmaker Say Y here if you have a HUB6 serial board. 2979bef3d41SPaul Gortmaker 2989bef3d41SPaul Gortmaker To compile this driver as a module, choose M here: the module 29932bb477fSKumaravel Thiagarajan will be called 8250_hub6. 30032bb477fSKumaravel Thiagarajan 30132bb477fSKumaravel Thiagarajanconfig SERIAL_8250_PCI1XXXX 30232bb477fSKumaravel Thiagarajan tristate "Microchip 8250 based serial port" 30332bb477fSKumaravel Thiagarajan depends on SERIAL_8250 && PCI 30432bb477fSKumaravel Thiagarajan select SERIAL_8250_PCILIB 30532bb477fSKumaravel Thiagarajan help 30632bb477fSKumaravel Thiagarajan Select this option if you have a setup with Microchip PCIe 30732bb477fSKumaravel Thiagarajan Switch with serial port enabled and wish to enable 8250 30832bb477fSKumaravel Thiagarajan serial driver for the serial interface. This driver support 3099bef3d41SPaul Gortmaker will ensure to support baud rates upto 1.5Mpbs. 3109bef3d41SPaul Gortmaker 3119bef3d41SPaul Gortmaker# 3129bef3d41SPaul Gortmaker# Misc. options/drivers. 3139bef3d41SPaul Gortmaker# 3149bef3d41SPaul Gortmaker 3159bef3d41SPaul Gortmakerconfig SERIAL_8250_SHARE_IRQ 3169bef3d41SPaul Gortmaker bool "Support for sharing serial interrupts" 3179bef3d41SPaul Gortmaker depends on SERIAL_8250_EXTENDED 3189bef3d41SPaul Gortmaker help 3199bef3d41SPaul Gortmaker Some serial boards have hardware support which allows multiple dumb 3209bef3d41SPaul Gortmaker serial ports on the same board to share a single IRQ. To enable 3219bef3d41SPaul Gortmaker support for this in the serial driver, say Y here. 3229bef3d41SPaul Gortmaker 3239bef3d41SPaul Gortmakerconfig SERIAL_8250_DETECT_IRQ 3249bef3d41SPaul Gortmaker bool "Autodetect IRQ on standard ports (unsafe)" 3259bef3d41SPaul Gortmaker depends on SERIAL_8250_EXTENDED 3269bef3d41SPaul Gortmaker help 3279bef3d41SPaul Gortmaker Say Y here if you want the kernel to try to guess which IRQ 3289bef3d41SPaul Gortmaker to use for your serial port. 3299bef3d41SPaul Gortmaker 3309bef3d41SPaul Gortmaker This is considered unsafe; it is far better to configure the IRQ in 3319bef3d41SPaul Gortmaker a boot script using the setserial command. 3329bef3d41SPaul Gortmaker 3339bef3d41SPaul Gortmaker If unsure, say N. 3349bef3d41SPaul Gortmaker 3359bef3d41SPaul Gortmakerconfig SERIAL_8250_RSA 3369bef3d41SPaul Gortmaker bool "Support RSA serial ports" 337a95fc9c8SMaciej S. Szmigiero depends on SERIAL_8250_EXTENDED 338a95fc9c8SMaciej S. Szmigiero help 339a95fc9c8SMaciej S. Szmigiero Say Y here if you have a IODATA RSA-DV II/S ISA card and 340a95fc9c8SMaciej S. Szmigiero would like to use its >115kbps speeds. 341a95fc9c8SMaciej S. Szmigiero You will need to provide module parameter "probe_rsa", or boot-time 342a95fc9c8SMaciej S. Szmigiero parameter 8250.probe_rsa with I/O addresses of this card then. 3439bef3d41SPaul Gortmaker 344136e0ab9SAndy Shevchenko If you don't have such card, or if unsure, say N. 345136e0ab9SAndy Shevchenko 346136e0ab9SAndy Shevchenkoconfig SERIAL_8250_DWLIB 3479bef3d41SPaul Gortmaker bool 3489bef3d41SPaul Gortmaker 3499bef3d41SPaul Gortmakerconfig SERIAL_8250_ACORN 3509bef3d41SPaul Gortmaker tristate "Acorn expansion card serial port support" 3519bef3d41SPaul Gortmaker depends on ARCH_ACORN && SERIAL_8250 3529bef3d41SPaul Gortmaker help 3539bef3d41SPaul Gortmaker If you have an Atomwide Serial card or Serial Port card for an Acorn 3549bef3d41SPaul Gortmaker system, say Y to this option. The driver can handle 1, 2, or 3 port 355bdc5f300SMartin Sperl cards. If unsure, say N. 356bdc5f300SMartin Sperl 357bdc5f300SMartin Sperlconfig SERIAL_8250_BCM2835AUX 358bdc5f300SMartin Sperl tristate "BCM2835 auxiliar mini UART support" 359bdc5f300SMartin Sperl depends on ARCH_BCM2835 || COMPILE_TEST 360bdc5f300SMartin Sperl depends on SERIAL_8250 && SERIAL_8250_SHARE_IRQ 361bdc5f300SMartin Sperl help 362bdc5f300SMartin Sperl Support for the BCM2835 auxiliar mini UART. 363bdc5f300SMartin Sperl 364bdc5f300SMartin Sperl Features and limitations of the UART are 365bdc5f300SMartin Sperl Registers are similar to 16650 registers, 366bdc5f300SMartin Sperl set bits in the control registers that are unsupported 367bdc5f300SMartin Sperl are ignored and read back as 0 368bdc5f300SMartin Sperl 7/8 bit operation with 1 start and 1 stop bit 369bdc5f300SMartin Sperl 8 symbols deep fifo for rx and tx 370bdc5f300SMartin Sperl SW controlled RTS and SW readable CTS 371bdc5f300SMartin Sperl Clock rate derived from system clock 372bdc5f300SMartin Sperl Uses 8 times oversampling (compared to 16 times for 16650) 373bdc5f300SMartin Sperl Missing break detection (but break generation) 374bdc5f300SMartin Sperl Missing framing error detection 375bdc5f300SMartin Sperl Missing parity bit 376bdc5f300SMartin Sperl Missing receive time-out interrupt 377bdc5f300SMartin Sperl Missing DCD, DSR, DTR and RI signals 378bdc5f300SMartin Sperl 3799bef3d41SPaul Gortmaker If unsure, say N. 380cb228221SJohan Hovold 381d43b54d2SScott Woodconfig SERIAL_8250_FSL 382cb228221SJohan Hovold tristate "Freescale 16550 UART support" if COMPILE_TEST && !(PPC || ARM || ARM64) 383cb228221SJohan Hovold depends on SERIAL_8250 384cb228221SJohan Hovold default SERIAL_8250 if PPC || ARM || ARM64 385cb228221SJohan Hovold help 386cb228221SJohan Hovold Selecting this option enables a workaround for a break-detection 3879bef3d41SPaul Gortmaker erratum for Freescale 16550 UARTs in the 8250 driver. It also 388e34a79d0SMatthew Gerlach enables support for ACPI enumeration. 389e34a79d0SMatthew Gerlach 390e34a79d0SMatthew Gerlachconfig SERIAL_8250_DFL 391e34a79d0SMatthew Gerlach tristate "DFL bus driver for Altera 16550 UART" 392e34a79d0SMatthew Gerlach depends on SERIAL_8250 && FPGA_DFL 393e34a79d0SMatthew Gerlach help 394e34a79d0SMatthew Gerlach This option enables support for a Device Feature List (DFL) bus 395e34a79d0SMatthew Gerlach driver for the Altera 16550 UART. One or more Altera 16550 UARTs 396e34a79d0SMatthew Gerlach can be instantiated in a FPGA and then be discovered during 397e34a79d0SMatthew Gerlach enumeration of the DFL bus. 398e34a79d0SMatthew Gerlach 399e34a79d0SMatthew Gerlach To compile this driver as a module, chose M here: the 4009bef3d41SPaul Gortmaker module will be called 8250_dfl. 4019bef3d41SPaul Gortmaker 4026a7320c4SHeikki Krogerusconfig SERIAL_8250_DW 4034d5675c3SAndy Shevchenko tristate "Support for Synopsys DesignWare 8250 quirks" 4049bef3d41SPaul Gortmaker depends on SERIAL_8250 4059bef3d41SPaul Gortmaker select SERIAL_8250_DWLIB 4069bef3d41SPaul Gortmaker help 40722886ee9SMagnus Damm Selecting this option will enable handling of the extra features 40822886ee9SMagnus Damm present in the Synopsys DesignWare APB UART. 40946e99c4aSMasanari Iida 410b1442c55SJohan Hovoldconfig SERIAL_8250_EM 411857f9713SPhil Edworthy tristate "Support for Emma Mobile integrated serial port" 41222886ee9SMagnus Damm depends on SERIAL_8250 && HAVE_CLK 41322886ee9SMagnus Damm depends on ARCH_RENESAS || COMPILE_TEST 41422886ee9SMagnus Damm help 41522886ee9SMagnus Damm Selecting this option will add support for the integrated serial 416c420811fSJohn Crispin port hardware found on the Emma Mobile line of processors. 4170ce5ebd2SThomas Bogendoerfer If unsure, say N. 4180ce5ebd2SThomas Bogendoerfer 419b1442c55SJohan Hovoldconfig SERIAL_8250_IOC3 420b1442c55SJohan Hovold tristate "SGI IOC3 8250 UART support" 4210ce5ebd2SThomas Bogendoerfer depends on SERIAL_8250 4220ce5ebd2SThomas Bogendoerfer depends on SGI_MFD_IOC3 || COMPILE_TEST 4230ce5ebd2SThomas Bogendoerfer select SERIAL_8250_EXTENDED 4240ce5ebd2SThomas Bogendoerfer select SERIAL_8250_SHARE_IRQ 4250ce5ebd2SThomas Bogendoerfer help 4260ce5ebd2SThomas Bogendoerfer Enable this if you have a SGI Origin or Octane machine. This module 4270ce5ebd2SThomas Bogendoerfer provides basic serial support by directly driving the UART chip 4280ce5ebd2SThomas Bogendoerfer behind the IOC3 device on those systems. Maximum baud speed is 429c420811fSJohn Crispin 38400bps using this driver. 430c420811fSJohn Crispin 4319b2256c8SMans Rullgardconfig SERIAL_8250_RT288X 4329b2256c8SMans Rullgard bool "Ralink RT288x/RT305x/RT3662/RT3883 serial port support" 433c420811fSJohn Crispin depends on SERIAL_8250 4349b2256c8SMans Rullgard default y if MIPS_ALCHEMY || SOC_RT288X || SOC_RT305X || SOC_RT3883 || SOC_MT7620 4359b2256c8SMans Rullgard help 4369b2256c8SMans Rullgard Selecting this option will add support for the alternate register 43728e3fb6cSRicardo Ribalda Delgado layout used by Ralink RT288x/RT305x, Alchemy Au1xxx, and some others. 43861929cf0SSebastian Andrzej Siewior If unsure, say N. 43961929cf0SSebastian Andrzej Siewior 4408720037dSJohan Hovoldconfig SERIAL_8250_OMAP 4418720037dSJohan Hovold tristate "Support for OMAP internal UART (8250 based driver)" 44261929cf0SSebastian Andrzej Siewior depends on SERIAL_8250 44361929cf0SSebastian Andrzej Siewior depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST 44461929cf0SSebastian Andrzej Siewior help 44561929cf0SSebastian Andrzej Siewior If you have a machine based on an Texas Instruments OMAP CPU you 44661929cf0SSebastian Andrzej Siewior can enable its onboard serial ports by enabling this option. 44761929cf0SSebastian Andrzej Siewior 44800648d02SSebastian Andrzej Siewior This driver uses ttyS instead of ttyO. 44900648d02SSebastian Andrzej Siewior 45000648d02SSebastian Andrzej Siewiorconfig SERIAL_8250_OMAP_TTYO_FIXUP 45100648d02SSebastian Andrzej Siewior bool "Replace ttyO with ttyS" 45200648d02SSebastian Andrzej Siewior depends on SERIAL_8250_OMAP=y && SERIAL_8250_CONSOLE 45300648d02SSebastian Andrzej Siewior default y 45400648d02SSebastian Andrzej Siewior help 45500648d02SSebastian Andrzej Siewior This option replaces the "console=ttyO" argument with the matching 45600648d02SSebastian Andrzej Siewior ttyS argument if the user did not specified it on the command line. 45700648d02SSebastian Andrzej Siewior This ensures that the user can see the kernel output during boot 45800648d02SSebastian Andrzej Siewior which he wouldn't see otherwise. The getty has still to be configured 45900648d02SSebastian Andrzej Siewior for ttyS instead of ttyO regardless of this option. 46000648d02SSebastian Andrzej Siewior This option is intended for people who "automatically" enable this 46100648d02SSebastian Andrzej Siewior driver without knowing that this driver requires a different console= 46200648d02SSebastian Andrzej Siewior argument. If you read this, please keep this option disabled and 46300648d02SSebastian Andrzej Siewior instead update your kernel command line. If you prepare a kernel for a 46400648d02SSebastian Andrzej Siewior distribution or other kind of larger user base then you probably want 46500648d02SSebastian Andrzej Siewior to keep this option enabled. Otherwise people might complain about a 46600648d02SSebastian Andrzej Siewior not booting kernel because the serial console remains silent in case 467d2aef35aSJoachim Eastwood they forgot to update the command line. 4680b1dd999SPaul Gortmaker 469d2aef35aSJoachim Eastwoodconfig SERIAL_8250_LPC18XX 470d2aef35aSJoachim Eastwood tristate "NXP LPC18xx/43xx serial port support" 471d2aef35aSJoachim Eastwood depends on SERIAL_8250 && OF && (ARCH_LPC18XX || COMPILE_TEST) 472d2aef35aSJoachim Eastwood default ARCH_LPC18XX 473d2aef35aSJoachim Eastwood help 474d2aef35aSJoachim Eastwood If you have a LPC18xx/43xx based board and want to use the 475b4756f4fSMatthias Brugger serial port, say Y to this option. If unsure, say Y. 4763f5921a6SArnd Bergmann 4778720037dSJohan Hovoldconfig SERIAL_8250_MT6577 4788720037dSJohan Hovold tristate "Mediatek serial port support" 479b4756f4fSMatthias Brugger depends on SERIAL_8250 480b4756f4fSMatthias Brugger depends on ARCH_MEDIATEK || COMPILE_TEST 481b4756f4fSMatthias Brugger help 4821a8d2903SMasahiro Yamada If you have a Mediatek based board and want to use the 4831a8d2903SMasahiro Yamada serial port, say Y to this option. If unsure, say N. 4841a8d2903SMasahiro Yamada 4858d6d544cSMasahiro Yamadaconfig SERIAL_8250_UNIPHIER 4868d6d544cSMasahiro Yamada tristate "Support for UniPhier on-chip UART" 4871a8d2903SMasahiro Yamada depends on SERIAL_8250 4881a8d2903SMasahiro Yamada depends on ARCH_UNIPHIER || COMPILE_TEST 4891a8d2903SMasahiro Yamada help 49078c10e55SLinus Torvalds If you have a UniPhier based board and want to use the on-chip 4910cf985f4SPaul Burton serial ports, say Y to this option. If unsure, say N. 4927d774fb8SArnd Bergmann 4937d774fb8SArnd Bergmannconfig SERIAL_8250_INGENIC 494755dd8aaSMasahiro Yamada tristate "Support for Ingenic SoC serial ports" 4957d774fb8SArnd Bergmann depends on SERIAL_8250 4960cf985f4SPaul Burton depends on OF_FLATTREE 4970cf985f4SPaul Burton depends on MIPS || COMPILE_TEST 4980cf985f4SPaul Burton help 499d9eda9baSHeikki Krogerus If you have a system using an Ingenic SoC and wish to make use of 500a13e19cfSAndy Shevchenko its UARTs, say Y to this option. If unsure, say N. 501dce22df1SJean Delvare 502a13e19cfSAndy Shevchenkoconfig SERIAL_8250_LPSS 503a13e19cfSAndy Shevchenko tristate "Support for serial ports on Intel LPSS platforms" 504a13e19cfSAndy Shevchenko default SERIAL_8250 505bf414f55SAndy Shevchenko depends on SERIAL_8250 && PCI 506a13e19cfSAndy Shevchenko depends on X86 || COMPILE_TEST 507a13e19cfSAndy Shevchenko select SERIAL_8250_DWLIB 508a13e19cfSAndy Shevchenko select DW_DMAC_CORE if SERIAL_8250_DMA 509a13e19cfSAndy Shevchenko select DW_DMAC_PCI if (SERIAL_8250_DMA && X86_INTEL_LPSS) 5106ba6351bSMaciej W. Rozycki select RATIONAL 5116ba6351bSMaciej W. Rozycki help 512a13e19cfSAndy Shevchenko Selecting this option will enable handling of the UART found on 513a13e19cfSAndy Shevchenko various Intel platforms such as: 5146bb5d75eSAndy Shevchenko - Intel Baytrail SoC 5156ba6351bSMaciej W. Rozycki - Intel Braswell SoC 516a13e19cfSAndy Shevchenko - Intel Quark X1000 SoC 517d9eda9baSHeikki Krogerus that are not covered by the more generic SERIAL_8250_PCI option. 51819458893SJean Delvare 5191fc969c7SAndy Shevchenkoconfig SERIAL_8250_MID 520d9eda9baSHeikki Krogerus tristate "Support for serial ports on Intel MID platforms" 5211fc969c7SAndy Shevchenko default SERIAL_8250 522ec2f1b67SHeikki Krogerus depends on SERIAL_8250 && PCI 5230ff42305SHeikki Krogerus depends on X86 || COMPILE_TEST 524fa70045eSHeikki Krogerus select HSU_DMA if SERIAL_8250_DMA 525d9eda9baSHeikki Krogerus select HSU_DMA_PCI if (HSU_DMA && X86_INTEL_MID) 5266ba6351bSMaciej W. Rozycki select RATIONAL 5276ba6351bSMaciej W. Rozycki help 5286ba6351bSMaciej W. Rozycki Selecting this option will enable handling of the UART found on 529afd7f88fSArnd Bergmann Intel Medfield SOC and various other Intel platforms that is not 530fcfd3c09SAndy Shevchenko covered by the more generic SERIAL_8250_PCI option. 531fcfd3c09SAndy Shevchenko 532fcfd3c09SAndy Shevchenkoconfig SERIAL_8250_PERICOM 533fcfd3c09SAndy Shevchenko tristate "Support for Pericom and Acces I/O serial ports" 534fcfd3c09SAndy Shevchenko default SERIAL_8250 5356ba6351bSMaciej W. Rozycki depends on SERIAL_8250 && PCI 5366ba6351bSMaciej W. Rozycki help 5376ba6351bSMaciej W. Rozycki Selecting this option will enable handling of the Pericom and Acces 538fcfd3c09SAndy Shevchenko I/O UARTs that are not covered by the more generic SERIAL_8250_PCI 539ab28f51cSSergey Yanovich option. 540ab28f51cSSergey Yanovich 541ab28f51cSSergey Yanovichconfig SERIAL_8250_PXA 542b1442c55SJohan Hovold tristate "PXA serial port support" 543ab28f51cSSergey Yanovich depends on SERIAL_8250 544ab28f51cSSergey Yanovich depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST 545ab28f51cSSergey Yanovich help 546ab28f51cSSergey Yanovich If you have a machine based on an Intel XScale PXA2xx CPU you can 547ab28f51cSSergey Yanovich enable its onboard serial ports by enabling this option. The option is 548ab28f51cSSergey Yanovich applicable to both devicetree and legacy boards, and early console is 549c6825c63SJeff Brasen part of its support. 550c6825c63SJeff Brasen 551c6825c63SJeff Brasenconfig SERIAL_8250_TEGRA 552c6825c63SJeff Brasen tristate "8250 support for Tegra serial ports" 553c6825c63SJeff Brasen default SERIAL_8250 554c6825c63SJeff Brasen depends on SERIAL_8250 555c6825c63SJeff Brasen depends on ARCH_TEGRA || COMPILE_TEST 556c6825c63SJeff Brasen help 557c6825c63SJeff Brasen Select this option if you have machine with an NVIDIA Tegra SoC and 55841a46948SAl Cooper wish to enable 8250 serial driver for the Tegra serial interfaces. 55941a46948SAl Cooper 56041a46948SAl Cooperconfig SERIAL_8250_BCM7271 56141a46948SAl Cooper tristate "Broadcom 8250 based serial port" 56241a46948SAl Cooper depends on SERIAL_8250 && (ARCH_BRCMSTB || COMPILE_TEST) 56341a46948SAl Cooper default ARCH_BRCMSTB 56441a46948SAl Cooper help 56541a46948SAl Cooper If you have a Broadcom STB based board and want to use the 56641a46948SAl Cooper enhanced features of the Broadcom 8250 based serial port, 56741a46948SAl Cooper including DMA support and high accuracy BAUD rates, say 568afd7f88fSArnd Bergmann Y to this option. If unsure, say N. 569afd7f88fSArnd Bergmann 570afd7f88fSArnd Bergmannconfig SERIAL_OF_PLATFORM 571afd7f88fSArnd Bergmann tristate "Devicetree based probing for 8250 ports" 572afd7f88fSArnd Bergmann depends on SERIAL_8250 && OF 573afd7f88fSArnd Bergmann help 574afd7f88fSArnd Bergmann This option is used for all 8250 compatible serial ports that 575afd7f88fSArnd Bergmann are probed through devicetree, including Open Firmware based 576 PowerPC systems and embedded systems on architectures using the 577 flattened device tree format. 578