serial: 8250: 8250_omap: Extend driver data to pass FIFO trigger info
authorVignesh Raghavendra <vigneshr@ti.com>
Thu, 19 Mar 2020 11:03:42 +0000 (16:33 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Mar 2020 11:25:10 +0000 (12:25 +0100)
commit7229b84c20d200853a827b4a807ad4954158cf12
tree1cefdd339aff843916d58c8fb0fd86e28b245f85
parent789898416749c8f3f081ce731c834c61eeac04fa
serial: 8250: 8250_omap: Extend driver data to pass FIFO trigger info

Although same 8250 compliant UART IP is reused across different SoC,
their integration wrt DMA varies greatly across SoCs. Therefore,
different SoC may need to use different FIFO trigger level for DMA
event and DMA configuration parameters. Provide a way to pass this
information via driver data. This is required to support UART DMA on
AM654/J721e SoCs.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20200319110344.21348-5-vigneshr@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c