Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 1 | config DRIVERS_UART |
Kyösti Mälkki | 970ad70 | 2014-02-15 13:58:01 +0200 | [diff] [blame] | 2 | bool |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 3 | default y if CONSOLE_SERIAL |
| 4 | default n |
| 5 | |
| 6 | config DRIVERS_UART_8250IO |
| 7 | bool "Serial port on SuperIO" |
Gabe Black | 51edd54 | 2013-09-30 23:00:33 -0700 | [diff] [blame] | 8 | depends on !ARCH_ARM |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 9 | default n if NO_UART_ON_SUPERIO |
Kyösti Mälkki | 970ad70 | 2014-02-15 13:58:01 +0200 | [diff] [blame] | 10 | default y if ARCH_X86 |
| 11 | |
Nico Huber | bc97b4e | 2016-09-28 22:15:07 +0200 | [diff] [blame] | 12 | config DRIVERS_UART_8250IO_SKIP_INIT |
| 13 | def_bool n |
| 14 | depends on DRIVERS_UART_8250IO |
| 15 | |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 16 | # Select this for mainboard without SuperIO serial port. |
| 17 | config NO_UART_ON_SUPERIO |
| 18 | def_bool n |
| 19 | |
Lee Leahy | 1487621 | 2016-05-04 13:13:20 -0700 | [diff] [blame] | 20 | config UART_OVERRIDE_INPUT_CLOCK_DIVIDER |
| 21 | boolean |
| 22 | default n |
| 23 | help |
| 24 | Set to "y" when the platform overrides the uart_input_clock_divider |
| 25 | routine. |
| 26 | |
Lee Leahy | 6ec72c9 | 2016-05-07 09:04:46 -0700 | [diff] [blame] | 27 | config UART_OVERRIDE_REFCLK |
| 28 | boolean |
| 29 | default n |
| 30 | help |
| 31 | Set to "y" when the platform overrides the uart_platform_refclk |
| 32 | routine. |
| 33 | |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 34 | config DRIVERS_UART_8250MEM |
Kyösti Mälkki | 970ad70 | 2014-02-15 13:58:01 +0200 | [diff] [blame] | 35 | bool |
| 36 | default n |
| 37 | |
Naveen Krishna Chatradhi | a73408d | 2015-07-08 14:23:06 +0530 | [diff] [blame] | 38 | config DRIVERS_UART_8250MEM_32 |
| 39 | bool |
| 40 | default n |
Alexandru Gagniuc | 715a18e | 2015-10-02 17:01:22 -0700 | [diff] [blame] | 41 | select DRIVERS_UART_8250MEM |
Naveen Krishna Chatradhi | a73408d | 2015-07-08 14:23:06 +0530 | [diff] [blame] | 42 | |
Kyösti Mälkki | 970ad70 | 2014-02-15 13:58:01 +0200 | [diff] [blame] | 43 | config HAVE_UART_SPECIAL |
| 44 | bool |
| 45 | default n |
| 46 | |
Kyösti Mälkki | d53d96d | 2014-02-28 15:15:12 +0200 | [diff] [blame] | 47 | config DRIVERS_UART_OXPCIE |
| 48 | bool "Oxford OXPCIe952" |
| 49 | default n |
Martin Roth | 643236e | 2016-12-18 11:02:56 -0700 | [diff] [blame] | 50 | depends on PCI && !DRIVERS_UART_8250MEM_32 |
Kyösti Mälkki | d53d96d | 2014-02-28 15:15:12 +0200 | [diff] [blame] | 51 | select DRIVERS_UART_8250MEM |
| 52 | select EARLY_PCI_BRIDGE |
Lee Leahy | 6ec72c9 | 2016-05-07 09:04:46 -0700 | [diff] [blame] | 53 | select UART_OVERRIDE_REFCLK |
Kyösti Mälkki | d53d96d | 2014-02-28 15:15:12 +0200 | [diff] [blame] | 54 | help |
| 55 | Support for Oxford OXPCIe952 serial port PCIe cards. |
| 56 | Currently only devices with the vendor ID 0x1415 and device ID |
| 57 | 0xc158 or 0xc11b will work. |
| 58 | |
Kyösti Mälkki | 7e75f20 | 2014-02-10 23:21:14 +0200 | [diff] [blame] | 59 | config DRIVERS_UART_PL011 |
| 60 | bool |
| 61 | default n |
| 62 | select HAVE_UART_SPECIAL |
Lee Leahy | f92a98c | 2016-05-04 11:59:19 -0700 | [diff] [blame] | 63 | |
| 64 | config UART_USE_REFCLK_AS_INPUT_CLOCK |
| 65 | bool |
| 66 | default n |
| 67 | help |
| 68 | Use uart_platform_refclk to specify the input clock value. |
| 69 | |
| 70 | config UART_PCI_ADDR |
| 71 | hex "UART's PCI bus, device, function address" |
Martin Roth | 311fb69 | 2016-09-29 14:46:24 -0600 | [diff] [blame] | 72 | default 0x0 |
Lee Leahy | f92a98c | 2016-05-04 11:59:19 -0700 | [diff] [blame] | 73 | help |
| 74 | Specify zero if the UART is connected to another bus type. |
| 75 | For PCI based UARTs, build the value as: |
| 76 | * 1 << 31 - Valid bit, PCI UART in use |
| 77 | * Bus << 20 |
| 78 | * Device << 15 |
| 79 | * Function << 12 |