Messages in this thread | | | From | Sherry Sun <> | Subject | [PATCH V3 0/3] fsl_lpuart: improve Idle Line Interrupt and registers handle in .shutdown() | Date | Fri, 25 Nov 2022 18:19:50 +0800 |
| |
--- Changes in V3: 1. Add the corresponding head files for GENMASK and FIELD_PREP to avoid build break. 2. Remove the patch 2 and patch 3 in the original patch set, as the loopback and RTS/CTS flags may not need to be cleared in .shutdown(). ---
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 (3): tty: serial: fsl_lpuart: only enable Idle Line Interrupt for non-dma case 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 | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-)
-- 2.17.1
| |