linux/drivers/dma/ti
Siddharth Vadapalli 7cbf7f4bf7 dmaengine: ti: k3-udma-glue: Add function to request TX chan for thread ID
The existing function k3_udma_glue_request_tx_chn() supports requesting
a TX DMA channel by its name. Add a new function to request TX DMA channel
for a given thread ID, named k3_udma_glue_request_tx_chn_for_thread_id().
Also, export it for use by drivers which are probed by alternate methods
(non device-tree) but still wish to make use of the existing DMA APIs. Such
drivers could be informed about the thread ID corresponding to the TX DMA
channel by RPMsg for example.

Since the new function k3_udma_glue_request_tx_chn_for_thread_id() reuses
most of the code in k3_udma_glue_request_tx_chn(), create a new function
for the common code, named k3_udma_glue_request_tx_chn_common().

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20240124124319.820002-4-s-vadapalli@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-01-30 22:13:51 +05:30
..
cppi41.c dmaengine: ti: cppi41: Convert to platform remove callback returning void 2023-09-28 13:10:57 +05:30
dma-crossbar.c dmaengine: Explicitly include correct DT includes 2023-08-01 23:51:27 +05:30
edma.c dmaengine: ti: edma: handle irq_of_parse_and_map() errors 2023-10-02 21:28:33 +05:30
k3-psil-am62.c dmaengine: ti: k3-psil-am62: Fix SPI PDMA data 2023-11-23 14:15:53 +05:30
k3-psil-am62a.c dmaengine: ti: k3-psil-am62a: Fix SPI PDMA data 2023-11-24 14:14:00 +05:30
k3-psil-am62p.c dmaengine: ti: k3-udma: Add PSIL threads for AM62P and J722S 2023-12-21 21:45:18 +05:30
k3-psil-am64.c
k3-psil-am654.c
k3-psil-j721e.c dmaengine: ti: k3-psil: add additional TX threads for j721e 2022-09-29 21:48:09 +05:30
k3-psil-j721s2.c dmaengine: ti: k3-psil-j721s2: Add PSI-L thread map for main CPSW2G 2023-05-16 23:21:29 +05:30
k3-psil-j784s4.c dmaengine: ti: k3-psil: Add PSI-L thread support for J784s4 2023-03-31 18:17:06 +05:30
k3-psil-j7200.c dmaengine: ti: k3-psil: add additional TX threads for j7200 2022-09-29 21:48:09 +05:30
k3-psil-priv.h dmaengine: ti: k3-udma: Add PSIL threads for AM62P and J722S 2023-12-21 21:45:18 +05:30
k3-psil.c dmaengine: ti: k3-udma: Add PSIL threads for AM62P and J722S 2023-12-21 21:45:18 +05:30
k3-udma-glue.c dmaengine: ti: k3-udma-glue: Add function to request TX chan for thread ID 2024-01-30 22:13:51 +05:30
k3-udma-private.c dmaengine: Explicitly include correct DT includes 2023-08-01 23:51:27 +05:30
k3-udma.c dmaengine: ti: k3-udma: Add PSIL threads for AM62P and J722S 2023-12-21 21:45:18 +05:30
k3-udma.h
Kconfig dmaengine: ti: convert PSIL to be buildable as module 2022-10-19 18:58:05 +05:30
Makefile dmaengine: ti: k3-udma: Add PSIL threads for AM62P and J722S 2023-12-21 21:45:18 +05:30
omap-dma.c dmaengine: ti: omap-dma: Annotate struct omap_desc with __counted_by 2023-09-28 16:42:15 +05:30