summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-05-29 15:04:31 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-01 06:55:13 +0900
commit1a8d2903cb6a92ce47cfc8841951b8227c09e505 (patch)
treeecc32f71bdbe14227ecc00272041c31566af4f03 /drivers/tty/serial/8250/Kconfig
parent0788c39b955151d92711800ce14f41154095bfa6 (diff)
downloadop-kernel-dev-1a8d2903cb6a92ce47cfc8841951b8227c09e505.zip
op-kernel-dev-1a8d2903cb6a92ce47cfc8841951b8227c09e505.tar.gz
serial: 8250_uniphier: add UniPhier serial driver
Add the driver for on-chip UART used on UniPhier SoCs. This hardware is similar to 8250, but the register mapping is slightly different: - The offset to FCR, MCR is different. - The divisor latch access bit does not exist. Instead, the divisor latch register is available at offset 9. This driver overrides serial_{in,out}, dl_{read,write} callbacks, but wants to borrow most of code from 8250_core.c. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/Kconfig')
-rw-r--r--drivers/tty/serial/8250/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index c350703..3e1ae446 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -342,3 +342,10 @@ config SERIAL_8250_MT6577
help
If you have a Mediatek based board and want to use the
serial port, say Y to this option. If unsure, say N.
+
+config SERIAL_8250_UNIPHIER
+ tristate "Support for UniPhier on-chip UART"
+ depends on SERIAL_8250 && ARCH_UNIPHIER
+ help
+ If you have a UniPhier based board and want to use the on-chip
+ serial ports, say Y to this option. If unsure, say N.
OpenPOWER on IntegriCloud