]> git.karo-electronics.de Git - linux-beck.git/commit
serial: 8250_uniphier: add UniPhier serial driver
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 29 May 2015 06:04:31 +0000 (15:04 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:55:13 +0000 (06:55 +0900)
commit1a8d2903cb6a92ce47cfc8841951b8227c09e505
treeecc32f71bdbe14227ecc00272041c31566af4f03
parent0788c39b955151d92711800ce14f41154095bfa6
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>
drivers/tty/serial/8250/8250_uniphier.c [new file with mode: 0644]
drivers/tty/serial/8250/Kconfig
drivers/tty/serial/8250/Makefile