]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf1292a2108d700ff525152e89541929de68738e8
tree097a8b917333644341b6f0722054aaf46ad1609a
parent3083d2a31284e4771fe4fff535c632c20e71a1b5
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