[PATCH 0/4] tty: serial: qcom_geni_serial: Add GPI DMA support
From: Naresh Maramaina
Date: Fri Oct 09 2026 - 02:59:08 EST
QUP serial engines support FIFO, SE DMA and GPI DMA transfer modes.
The qcom_geni_serial driver currently supports FIFO and SE DMA modes.
Add support for serial engines configured to operate in GPI DMA mode.
The Qualcomm GPI DMA driver is extended with UART transfer support,
UART-specific TRE accounting and handling for transfer-completion
events generated during channel cancellation.
The qcom_geni_serial driver is updated to detect GPI DMA operation,
manage UART transfers through DMAengine and program UART parameters
through GPI peripheral configuration.
This series currently supports 2-wire UART operation (TX/RX) and has
been validated across multiple baud rates and transfer sizes.
4-wire UART operation with CTS/RTS flow control is not included in
this series. GPI DMA support for CTS/RTS will be added separately
after implementation and validation.
The series is organized as follows:
1. Add UART transfer support to the GPI DMA driver
2. Calculate UART TRE count per direction
3. Ignore cancelled transfer-completion events
4. Add GPI DMA support to qcom_geni_serial
Signed-off-by: Naresh Maramaina <naresh.maramaina@xxxxxxxxxxxxxxxx>
---
Naresh Maramaina (4):
dmaengine: qcom: gpi: Add UART transfer support
dmaengine: qcom: gpi: Calculate UART TRE count per direction
dmaengine: qcom: gpi: Ignore cancelled transfer-completion events
tty: serial: qcom_geni_serial: Add GPI DMA support
drivers/dma/qcom/gpi.c | 153 ++++++++-
drivers/soc/qcom/qcom-geni-se.c | 4 -
drivers/tty/serial/qcom_geni_serial.c | 576 ++++++++++++++++++++++++++++++++--
include/linux/dma/qcom-gpi-dma.h | 33 ++
4 files changed, 732 insertions(+), 34 deletions(-)
---
base-commit: aac26bee2287c88af5be5a5ff96d783b19a28790
change-id: 20261008-add-gpi-dma-support-for-uart-53f2500368d6
Best regards,
--
Naresh Maramaina <naresh.maramaina@xxxxxxxxxxxxxxxx>