Add DMA support for LINFlexD UART driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 18 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | serial: linflexuart: Fix locking in set_termiosdrivers/ | +2 | 2 replies | |
| 2/13 | serial: linflexuart: Clean SLEEP bit in LINCR1 after suspenddrivers/ | +1 | 2 replies | |
| 3/13 | serial: linflexuart: Check FIFO full before writingdrivers/ | +8 | 0 replies | |
| 4/13 | serial: linflexuart: Correctly clear UARTSR in buffer modedrivers/ | +4 | 0 replies | |
| 5/13 | serial: linflexuart: Update RXEN/TXEN outside INITM modedrivers/ | +4 | 0 replies | |
| 6/13 | serial: linflexuart: Ensure FIFO is empty when entering INITMdrivers/ | +42 | 0 replies | |
| 7/13 | serial: linflexuart: Revert earlycon workarounddrivers/ | +1 | 0 replies | |
| 8/13 | dt-bindings: serial: fsl-linflexuart: add clock input propertiesDocumentation/ | +18 | 5 replies | |
| 9/13 | dt-bindings: serial: fsl-linflexuart: add dma propertiesDocumentation/ | +13 | 6 replies | |
| 10/13 | serial: linflexuart: Add support for changing baudratedrivers/ | +116 | 0 replies | |
| 11/13 | serial: linflexuart: Add support for configurable stop bitsdrivers/ | +28 | 0 replies | |
| 12/13 | serial: linflexuart: Add DMA supportdrivers/ | +597 | 1 reply | |
| 13/13 | serial: linflexuart: Avoid stopping DMA during receive operationsdrivers/ | +68 | 0 replies |
Reviews trailers per patch
None of the 13 patches has a Reviewed-by or Acked-by.
| Patch | Jared Kangas | Enric Balletbo i Serra |
|---|---|---|
| Series | T-b | T-b |
| 1/13 | ||
| 2/13 | ||
| 3/13 | ||
| 4/13 | ||
| 5/13 | ||
| 6/13 | ||
| 7/13 | ||
| 8/13 | ||
| 9/13 | ||
| 10/13 | ||
| 11/13 | ||
| 12/13 | ||
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] Add DMA support for LINFlexD UART driver
This patchset enhances the LINFlexD UART driver and its device tree bindings to support DMA transfers, configurable clock inputs, dynamic baudrate changes, and termios features. It also includes a series of fixes and improvements to ensure reliable operation across various modes and configurations.
The changes added can be summarized as follows:
1. Fixes with respect to FIFO handling, locking, interrupt related registers and INITM mode transition.
2. Removal of the earlycon workaround, as proper FIFO handling and INITM transitions now ensure stable behavior.
3. Support for configurable stop bits and dynamic baudrate changes based on clock inputs and termios settings.
4. Optional DMA support for RX and TX paths, preventing character loss during high-throughput operations like copy-paste. Cyclic DMA is used for RX to avoid gaps between transactions.
Larisa Grigore (8):
serial: linflexuart: Clean SLEEP bit in LINCR1 after suspend
serial: linflexuart: Check FIFO full before writing
serial: linflexuart: Correctly clear UARTSR in buffer mode
serial: linflexuart: Update RXEN/TXEN outside INITM mode
serial: linflexuart: Ensure FIFO is empty when entering INITM
serial: linflexuart: Revert earlycon workaround
serial: linflexuart: Add support for configurable stop bits
serial: linflexuart: Add DMA support
Radu Pirea (5):
serial: linflexuart: Fix locking in set_termios
dt-bindings: serial: fsl-linflexuart: add clock input properties
dt-bindings: serial: fsl-linflexuart: add dma properties
serial: linflexuart: Add support for changing baudrate
serial: linflexuart: Avoid stopping DMA during receive operations
.../bindings/serial/fsl,s32-linflexuart.yaml | 31 + drivers/tty/serial/fsl_linflexuart.c | 972 +++++++++++++++--- 2 files changed, 846 insertions(+), 157 deletions(-)
Signature · 1 line
2.47.0