serial: 8250_ingenic: Enable FIFO for Ingenic UARTs
authorMatt Redfearn <matt.redfearn@imgtec.com>
Tue, 8 Sep 2015 15:55:35 +0000 (16:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:47:49 +0000 (17:47 +0100)
commitc74997bdfe0f81047fc9258af3625deb2f9aff27
tree3adab20edd43fc468d2fddf5b33da1f0f6693528
parent129a45b1a93b93b1c7f3a60ec6d7a276d6142da5
serial: 8250_ingenic: Enable FIFO for Ingenic UARTs

Enable the TX/RX FIFOs present on UARTs in Ingenic SoCs.
FIFO sizes vary per device so match these based on
the OF compatible string

Enabling the FIFOs permits much faster transfer with
lower CPU overhead.

Tested on Ingenic JZ4780 on the MIPS Ci20 Creator board

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_ingenic.c