Skip to content

fsl_lpuart: improve Idle Line Interrupt and registers handle in .shutdown()

Sherry Sun linux-serial lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v25 patches 10 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tty: serial: fsl_lpuart: only enable Idle Line Interrupt for non-dma casedrivers/tty/serial/fsl_lpuart.c+8 -50 replies
2/3tty: serial: fsl_lpuart: disable Rx/Tx DMA in lpuart32_shutdown()drivers/tty/serial/fsl_lpuart.c+5 -00 replies
3/3tty: serial: fsl_lpuart: clear LPUART Status Register in lpuart32_shutdown()drivers/tty/serial/fsl_lpuart.c+4 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH V3 0/3] fsl_lpuart: improve Idle Line Interrupt and registers handle in .shutdown()

---
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(-)
Signature · 1 line
2.17.1