Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 144da324 authored by Pratyush Yadav's avatar Pratyush Yadav Committed by Vignesh Raghavendra
Browse files

dmaengine: ti: k3-psil-j721e: Add entry for CSI2RX


The CSI2RX subsystem uses PSI-L DMA to transfer frames to memory. It can
have up to 32 threads but the current driver only supports using one. So
add an entry for that one thread.

Signed-off-by: default avatarPratyush Yadav <p.yadav@ti.com>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent b1c7c51a
Branches
Tags
No related merge requests found
...@@ -58,6 +58,14 @@ ...@@ -58,6 +58,14 @@
}, \ }, \
} }
#define PSIL_CSI2RX(x) \
{ \
.thread_id = x, \
.ep_config = { \
.ep_type = PSIL_EP_NATIVE, \
}, \
}
/* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */ /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */
static struct psil_ep j721e_src_ep_map[] = { static struct psil_ep j721e_src_ep_map[] = {
/* SA2UL */ /* SA2UL */
...@@ -138,6 +146,8 @@ static struct psil_ep j721e_src_ep_map[] = { ...@@ -138,6 +146,8 @@ static struct psil_ep j721e_src_ep_map[] = {
PSIL_PDMA_XY_PKT(0x4707), PSIL_PDMA_XY_PKT(0x4707),
PSIL_PDMA_XY_PKT(0x4708), PSIL_PDMA_XY_PKT(0x4708),
PSIL_PDMA_XY_PKT(0x4709), PSIL_PDMA_XY_PKT(0x4709),
/* CSI2RX */
PSIL_CSI2RX(0x4940),
/* CPSW9 */ /* CPSW9 */
PSIL_ETHERNET(0x4a00), PSIL_ETHERNET(0x4a00),
/* CPSW0 */ /* CPSW0 */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment