tty: serial: 8250: Add Mediatek UART driver
authorMatthias Brugger <matthias.bgg@gmail.com>
Tue, 9 Sep 2014 15:31:42 +0000 (17:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Sep 2014 13:59:41 +0000 (06:59 -0700)
commitb4756f4f0d773c31e59f203e7f19fd3d5c490193
tree097a8b917333644341b6f0722054aaf46ad1609a
parent08177ece596ccc9b9c194542c095c863c101fd11
tty: serial: 8250: Add Mediatek UART driver

The device has a highspeed register which influences the calcualtion
of the divisor. The chip lacks support for some baudrates. When requested,
we set the divisor to the next smaller baudrate and adjust the c_cflag
accordingly.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_mtk.c [new file with mode: 0644]
drivers/tty/serial/8250/Kconfig
drivers/tty/serial/8250/Makefile