mbox series

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

Message ID 20231111121555.2656760-1-s-vadapalli@ti.com (mailing list archive)
Headers show
Series Add APIs to request TX/RX DMA channels by ID | expand

Message

s-vadapalli Nov. 11, 2023, 12:15 p.m. UTC
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(-)