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

Message ID 20221110081728.10172-1-sherry.sun@nxp.com
Headers
Series fsl_lpuart: improve Idle Line Interrupt and registers handle in .shutdown() |

Message

Sherry Sun Nov. 10, 2022, 8:17 a.m. UTC
  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(-)