2023-05-11 04:03:45

by Siddharth Vadapalli

[permalink] [raw]
Subject: [PATCH] dmaengine: ti: k3-psil-j721s2: Add PSI-L thread map for main CPSW2G

From: Kishon Vijay Abraham I <[email protected]>

Add PSI-L thread map for main CPSW2G.

Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Signed-off-by: Siddharth Vadapalli <[email protected]>
Acked-by: Peter Ujfalusi <[email protected]>
---

This patch is based on linux-next tagged next-20230511.

RFC patch at:
https://lore.kernel.org/r/[email protected]

Changes since RFC patch:
- Collect Acked-by tag from Peter Ujfalusi.

drivers/dma/ti/k3-psil-j721s2.c | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/drivers/dma/ti/k3-psil-j721s2.c b/drivers/dma/ti/k3-psil-j721s2.c
index a488c2250623..1d5430fc5724 100644
--- a/drivers/dma/ti/k3-psil-j721s2.c
+++ b/drivers/dma/ti/k3-psil-j721s2.c
@@ -99,6 +99,8 @@ static struct psil_ep j721s2_src_ep_map[] = {
PSIL_PDMA_XY_PKT(0x461d),
PSIL_PDMA_XY_PKT(0x461e),
PSIL_PDMA_XY_PKT(0x461f),
+ /* MAIN_CPSW2G */
+ PSIL_ETHERNET(0x4640),
/* PDMA_USART_G0 - UART0-1 */
PSIL_PDMA_XY_PKT(0x4700),
PSIL_PDMA_XY_PKT(0x4701),
@@ -161,6 +163,15 @@ static struct psil_ep j721s2_dst_ep_map[] = {
PSIL_ETHERNET(0xf005),
PSIL_ETHERNET(0xf006),
PSIL_ETHERNET(0xf007),
+ /* MAIN_CPSW2G */
+ PSIL_ETHERNET(0xc640),
+ PSIL_ETHERNET(0xc641),
+ PSIL_ETHERNET(0xc642),
+ PSIL_ETHERNET(0xc643),
+ PSIL_ETHERNET(0xc644),
+ PSIL_ETHERNET(0xc645),
+ PSIL_ETHERNET(0xc646),
+ PSIL_ETHERNET(0xc647),
/* SA2UL */
PSIL_SA2UL(0xf500, 1),
PSIL_SA2UL(0xf501, 1),
--
2.25.1



2023-05-16 17:57:27

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] dmaengine: ti: k3-psil-j721s2: Add PSI-L thread map for main CPSW2G

On 11-05-23, 09:17, Siddharth Vadapalli wrote:
> From: Kishon Vijay Abraham I <[email protected]>
>
> Add PSI-L thread map for main CPSW2G.

Applied, thanks

--
~Vinod