Skip to content

fsl_lpuart: Add IDLE interrupt support for rx_dma on imx7ulp/imx8ulp/imx8qxp

Sherry Sun linux-serial lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tty: serial: fsl_lpuart: move the lpuart32_int() belowdrivers/tty/serial/fsl_lpuart.c+19 -200 replies
2/2tty: serial: fsl_lpuart: add IDLE interrupt support for rx_dma on imx7ulp/imx8ulp/imx8qxpdrivers/tty/serial/fsl_lpuart.c+42 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] fsl_lpuart: Add IDLE interrupt support for rx_dma on imx7ulp/imx8ulp/imx8qxp

Now in the lpuart driver, we use receive dma timer to simulate the hardware EOP event, but the timer latency is big which cause the Bluetooth Firmware download timeout on Android platform(it has a limited FW download time window).

So here we use IDLE interrupt support for receive dma on imx7ulp/imx8ulp/imx8qxp platforms to replace the receive dma timer, which can reduce the BT FW download time obviously and the performance close to hardware EOP.

Patch#1 move the lpuart32_int() below lpuart_copy_rx_to_tty() to avoid the function declaration in Patch#2.

Sherry Sun (2):
tty: serial: fsl_lpuart: move the lpuart32_int() below
tty: serial: fsl_lpuart: add IDLE interrupt support for rx_dma on
imx7ulp/imx8ulp/imx8qxp

 drivers/tty/serial/fsl_lpuart.c | 83 ++++++++++++++++++++++++---------
 1 file changed, 61 insertions(+), 22 deletions(-)
Signature · 1 line
2.17.1