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)
commitc3b9566de89f40557e3a3d041ca08b05978aeb12
treeabaf7ae9c47236131fa6e3e387bd369d6d27a485
parenteda0347bf8b449a42b3bf4e0b9754263d853982f
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]