diff options
author | Matthias Brugger <matthias.bgg@gmail.com> | 2014-09-09 17:31:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-10 06:59:41 -0700 |
commit | b4756f4f0d773c31e59f203e7f19fd3d5c490193 (patch) | |
tree | 097a8b917333644341b6f0722054aaf46ad1609a /drivers/tty/serial/8250/Kconfig | |
parent | 08177ece596ccc9b9c194542c095c863c101fd11 (diff) | |
download | linux-b4756f4f0d773c31e59f203e7f19fd3d5c490193.tar.gz linux-b4756f4f0d773c31e59f203e7f19fd3d5c490193.tar.bz2 linux-b4756f4f0d773c31e59f203e7f19fd3d5c490193.zip |
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>
Diffstat (limited to 'drivers/tty/serial/8250/Kconfig')
-rw-r--r-- | drivers/tty/serial/8250/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index 8b5c40a047aa..21eca79224e4 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -307,3 +307,9 @@ config SERIAL_8250_FINTEK LPC to 4 UART. This device has some RS485 functionality not available through the PNP driver. If unsure, say N. +config SERIAL_8250_MT6577 + bool "Mediatek serial port support" + depends on SERIAL_8250 && ARCH_MEDIATEK + help + If you have a Mediatek based board and want to use the + serial port, say Y to this option. If unsure, say N. |