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: NLars-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: NRalf Baechle <ralf@linux-mips.org>
Showing
arch/mips/jz4740/serial.c
0 → 100644
arch/mips/jz4740/serial.h
0 → 100644
想要评论请 注册 或 登录