[PATCH V2 0/5] fsl_lpuart: improve Idle Line Interrupt and registers handle in .shutdown()

From: Sherry Sun
Date: Thu Nov 10 2022 - 03:19:25 EST


The patchset improve the Idle Line Interrupt for lpuart driver, also handle
the registers correctly for lpuart32 when closing the uart port.

Patches have been tested on imx8ulp-evk platform.

Sherry Sun (5):
tty: serial: fsl_lpuart: only enable Idle Line Interrupt for non-dma
case
tty: serial: fsl_lpuart: clear UARTCTRL_LOOPS in lpuart32_shutdown()
tty: serial: fsl_lpuart: clear UARTMODIR register in
lpuart32_shutdown()
tty: serial: fsl_lpuart: disable Rx/Tx DMA in lpuart32_shutdown()
tty: serial: fsl_lpuart: clear LPUART Status Register in
lpuart32_shutdown()

drivers/tty/serial/fsl_lpuart.c | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)

--
2.17.1