diff options
author | Chunyan Zhang <chunyan.zhang@spreadtrum.com> | 2015-01-28 06:08:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-02 13:11:28 -0500 |
commit | b7396a38fb28db4ebbbf35da1057eb5206b4ad6c (patch) | |
tree | a104e2bf3008ee6bf1e5f790d52dd4bf67c77a6e /drivers/tty/serial/Kconfig | |
parent | e570f6bca4a5d23a4cff4746257fb06666d1d8d4 (diff) |
tty/serial: Add Spreadtrum sc9836-uart driver support
Add a full sc9836-uart driver for SC9836 SoC which is based on the
spreadtrum sharkl64 platform.
This driver also support earlycon.
Originally-by: Lanqing Liu <lanqing.liu@spreadtrum.com>
Signed-off-by: Orson Zhai <orson.zhai@spreadtrum.com>
Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r-- | drivers/tty/serial/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index c63317e87c33..ddcc0a4c659c 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig | |||
@@ -1583,6 +1583,24 @@ config SERIAL_MEN_Z135 | |||
1583 | This driver can also be build as a module. If so, the module will be called | 1583 | This driver can also be build as a module. If so, the module will be called |
1584 | men_z135_uart.ko | 1584 | men_z135_uart.ko |
1585 | 1585 | ||
1586 | config SERIAL_SPRD | ||
1587 | tristate "Support for Spreadtrum serial" | ||
1588 | depends on ARCH_SPRD | ||
1589 | select SERIAL_CORE | ||
1590 | help | ||
1591 | This enables the driver for the Spreadtrum's serial. | ||
1592 | |||
1593 | config SERIAL_SPRD_CONSOLE | ||
1594 | bool "Spreadtrum UART console support" | ||
1595 | depends on SERIAL_SPRD=y | ||
1596 | select SERIAL_CORE_CONSOLE | ||
1597 | select SERIAL_EARLYCON | ||
1598 | help | ||
1599 | Support for early debug console using Spreadtrum's serial. This enables | ||
1600 | the console before standard serial driver is probed. This is enabled | ||
1601 | with "earlycon" on the kernel command line. The console is | ||
1602 | enabled when early_param is processed. | ||
1603 | |||
1586 | endmenu | 1604 | endmenu |
1587 | 1605 | ||
1588 | config SERIAL_MCTRL_GPIO | 1606 | config SERIAL_MCTRL_GPIO |