[RFC PATCH 0/3] Add APIs to request TX/RX DMA channels by ID

From: Siddharth Vadapalli
Date: Sat Nov 11 2023 - 07:16:19 EST


The existing APIs for requesting TX and RX DMA channels rely on parsing
a device-tree node to obtain the Channel/Thread IDs from their names.
However, it is possible to know the thread IDs by alternative means such
as being informed by Firmware on a remote core regarding the allocated
TX/RX DMA channel IDs. Thus, add APIs to support such use cases.

Series is based on linux-next tagged next-20231110.

Regards,
Siddharth.

Siddharth Vadapalli (3):
dmaengine: ti: k3-udma-glue: Add function to parse channel by ID
dmaengine: ti: k3-udma-glue: Add function to request TX channel by ID
dmaengine: ti: k3-udma-glue: Add function to request RX channel by ID

drivers/dma/ti/k3-udma-glue.c | 322 ++++++++++++++++++++++---------
include/linux/dma/k3-udma-glue.h | 8 +
2 files changed, 236 insertions(+), 94 deletions(-)

--
2.34.1