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(-) -- 2.17.1