Skip to content

Commit 5e70a09

Browse files
Pratyush Yadavvinodkoul
authored andcommitted
dmaengine: ti: k3-psil-j721e: Add entry for CSI2RX
The CSI2RX subsystem on J721E is serviced by UDMA via PSI-L to transfer frames to memory. It can have up to 32 threads per instance. J721E has two instances of the subsystem, so there are 64 threads total. Add them to the endpoint map. Signed-off-by: Pratyush Yadav <[email protected]> Acked-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 5000d37 commit 5e70a09

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

drivers/dma/ti/k3-psil-j721e.c

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@
5858
}, \
5959
}
6060

61+
#define PSIL_CSI2RX(x) \
62+
{ \
63+
.thread_id = x, \
64+
.ep_config = { \
65+
.ep_type = PSIL_EP_NATIVE, \
66+
}, \
67+
}
68+
6169
/* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */
6270
static struct psil_ep j721e_src_ep_map[] = {
6371
/* SA2UL */
@@ -138,6 +146,71 @@ static struct psil_ep j721e_src_ep_map[] = {
138146
PSIL_PDMA_XY_PKT(0x4707),
139147
PSIL_PDMA_XY_PKT(0x4708),
140148
PSIL_PDMA_XY_PKT(0x4709),
149+
/* CSI2RX */
150+
PSIL_CSI2RX(0x4940),
151+
PSIL_CSI2RX(0x4941),
152+
PSIL_CSI2RX(0x4942),
153+
PSIL_CSI2RX(0x4943),
154+
PSIL_CSI2RX(0x4944),
155+
PSIL_CSI2RX(0x4945),
156+
PSIL_CSI2RX(0x4946),
157+
PSIL_CSI2RX(0x4947),
158+
PSIL_CSI2RX(0x4948),
159+
PSIL_CSI2RX(0x4949),
160+
PSIL_CSI2RX(0x494a),
161+
PSIL_CSI2RX(0x494b),
162+
PSIL_CSI2RX(0x494c),
163+
PSIL_CSI2RX(0x494d),
164+
PSIL_CSI2RX(0x494e),
165+
PSIL_CSI2RX(0x494f),
166+
PSIL_CSI2RX(0x4950),
167+
PSIL_CSI2RX(0x4951),
168+
PSIL_CSI2RX(0x4952),
169+
PSIL_CSI2RX(0x4953),
170+
PSIL_CSI2RX(0x4954),
171+
PSIL_CSI2RX(0x4955),
172+
PSIL_CSI2RX(0x4956),
173+
PSIL_CSI2RX(0x4957),
174+
PSIL_CSI2RX(0x4958),
175+
PSIL_CSI2RX(0x4959),
176+
PSIL_CSI2RX(0x495a),
177+
PSIL_CSI2RX(0x495b),
178+
PSIL_CSI2RX(0x495c),
179+
PSIL_CSI2RX(0x495d),
180+
PSIL_CSI2RX(0x495e),
181+
PSIL_CSI2RX(0x495f),
182+
PSIL_CSI2RX(0x4960),
183+
PSIL_CSI2RX(0x4961),
184+
PSIL_CSI2RX(0x4962),
185+
PSIL_CSI2RX(0x4963),
186+
PSIL_CSI2RX(0x4964),
187+
PSIL_CSI2RX(0x4965),
188+
PSIL_CSI2RX(0x4966),
189+
PSIL_CSI2RX(0x4967),
190+
PSIL_CSI2RX(0x4968),
191+
PSIL_CSI2RX(0x4969),
192+
PSIL_CSI2RX(0x496a),
193+
PSIL_CSI2RX(0x496b),
194+
PSIL_CSI2RX(0x496c),
195+
PSIL_CSI2RX(0x496d),
196+
PSIL_CSI2RX(0x496e),
197+
PSIL_CSI2RX(0x496f),
198+
PSIL_CSI2RX(0x4970),
199+
PSIL_CSI2RX(0x4971),
200+
PSIL_CSI2RX(0x4972),
201+
PSIL_CSI2RX(0x4973),
202+
PSIL_CSI2RX(0x4974),
203+
PSIL_CSI2RX(0x4975),
204+
PSIL_CSI2RX(0x4976),
205+
PSIL_CSI2RX(0x4977),
206+
PSIL_CSI2RX(0x4978),
207+
PSIL_CSI2RX(0x4979),
208+
PSIL_CSI2RX(0x497a),
209+
PSIL_CSI2RX(0x497b),
210+
PSIL_CSI2RX(0x497c),
211+
PSIL_CSI2RX(0x497d),
212+
PSIL_CSI2RX(0x497e),
213+
PSIL_CSI2RX(0x497f),
141214
/* CPSW9 */
142215
PSIL_ETHERNET(0x4a00),
143216
/* CPSW0 */

0 commit comments

Comments
 (0)