]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcda93fd5343cf9d1dc98d24636852c840a6d46c8
tree3adab20edd43fc468d2fddf5b33da1f0f6693528
parent4aa39c01c903273b22ed4edce11f5cbc0c8b1e31
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