[PATCH 0/8] dmaengine: ti: Add support for BCDMA v2 and PKTDMA v2

Sai Sree Kartheek Adivi
2025-04-28T07:25:15Z

This series adds support for the BCDMA_V2 and PKTDMA_V2 which is
introduced in AM62L.

The key differences between the existing DMA and DMA V2 are:
- Absence of TISCI: Instead of configuring via TISCI calls, direct
register writes are required.
- Autopair: There is no longer a need for PSIL pair and instead AUTOPAIR
bit needs to set in the RT_CTL register.
- Static channel mapping: Each channel is mapped to a single peripheral.
- Direct IRQs: There is no INT-A and interrupt lines from DMA are
directly connected to GIC.
- Remote side configuration handled by DMA. So no need to write to PEER
registers to START / STOP / PAUSE / TEARDOWN.

Sai Sree Kartheek Adivi (8):
dt-bindings: dma: ti: Add document for K3 BCDMA V2
dt-bindings: dma: ti: Add document for K3 PKTDMA V2
drivers: dma: ti: Refactor TI K3 UDMA driver
dmaengine: ti: k3-psil-am62l: Add AM62Lx PSIL and PDMA data
drivers: soc: ti: k3-ringacc: handle absence of tisci
dmaengine: ti: New driver for K3 BCDMA_V2
dmaengine: ti: k3-udma-v2: Add support for PKTDMA V2
dmaengine: ti: k3-udma-v2: Update glue layer to support PKTDMA V2

.../bindings/dma/ti/k3-bcdma-v2.yaml | 97 +
.../bindings/dma/ti/k3-pktdma-v2.yaml | 73 +
drivers/dma/ti/Kconfig | 14 +-
drivers/dma/ti/Makefile | 4 +-
drivers/dma/ti/k3-psil-am62l.c | 132 +
drivers/dma/ti/k3-psil-priv.h | 1 +
drivers/dma/ti/k3-psil.c | 1 +
drivers/dma/ti/k3-udma-common.c | 2974 +++++++++++++
drivers/dma/ti/k3-udma-glue.c | 91 +-
drivers/dma/ti/k3-udma-private.c | 48 +-
drivers/dma/ti/k3-udma-v2.c | 1513 +++++++
drivers/dma/ti/k3-udma.c | 3751 ++---------------
drivers/dma/ti/k3-udma.h | 571 ++-
drivers/soc/ti/k3-ringacc.c | 162 +-
include/linux/soc/ti/k3-ringacc.h | 7 +
15 files changed, 5873 insertions(+), 3566 deletions(-)
create mode 100644 Documentation/devicetree/bindings/dma/ti/k3-bcdma-v2.yaml
create mode 100644 Documentation/devicetree/bindings/dma/ti/k3-pktdma-v2.yaml
create mode 100644 drivers/dma/ti/k3-psil-am62l.c
create mode 100644 drivers/dma/ti/k3-udma-common.c
create mode 100644 drivers/dma/ti/k3-udma-v2.c

--
2.34.1