]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: JZ4740: Add serial support
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 19 Jun 2010 04:08:16 +0000 (04:08 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:26:16 +0000 (13:26 +0100)
commit5e272a55b1f603ad9f03cd79733a04021db07efa
treeabaf7ae9c47236131fa6e3e387bd369d6d27a485
parent154696580237ac04fd337739c601d84923ca452b
MIPS: JZ4740: Add serial support

The JZ4740 UART interface is almost 16550 compatible.
The UART module needs to be enabled by setting a bit in the FCR register
and it has support for receive timeout interrupts.  Instead of adding yet
another machine specific quirk to the 8250 serial driver we provide a
serial_out implementation which sets the required additional flags.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1403/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/serial.c [new file with mode: 0644]
arch/mips/jz4740/serial.h [new file with mode: 0644]