All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] dmaengine: ti: k3-psil-j721s2: Add PSI-L thread map for main CPSW2G
@ 2023-04-26  8:39 ` Siddharth Vadapalli
  0 siblings, 0 replies; 4+ messages in thread
From: Siddharth Vadapalli @ 2023-04-26  8:39 UTC (permalink / raw
  To: peter.ujfalusi, vkoul
  Cc: dmaengine, linux-kernel, linux-arm-kernel, srk, vigneshr,
	s-vadapalli

From: Kishon Vijay Abraham I <kishon@ti.com>

Add PSI-L thread map for main CPSW2G.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---
 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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [RFC PATCH] dmaengine: ti: k3-psil-j721s2: Add PSI-L thread map for main CPSW2G
@ 2023-04-26  8:39 ` Siddharth Vadapalli
  0 siblings, 0 replies; 4+ messages in thread
From: Siddharth Vadapalli @ 2023-04-26  8:39 UTC (permalink / raw
  To: peter.ujfalusi, vkoul
  Cc: dmaengine, linux-kernel, linux-arm-kernel, srk, vigneshr,
	s-vadapalli

From: Kishon Vijay Abraham I <kishon@ti.com>

Add PSI-L thread map for main CPSW2G.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH] dmaengine: ti: k3-psil-j721s2: Add PSI-L thread map for main CPSW2G
  2023-04-26  8:39 ` Siddharth Vadapalli
@ 2023-04-27 19:01   ` Péter Ujfalusi
  -1 siblings, 0 replies; 4+ messages in thread
From: Péter Ujfalusi @ 2023-04-27 19:01 UTC (permalink / raw
  To: Siddharth Vadapalli, vkoul
  Cc: dmaengine, linux-kernel, linux-arm-kernel, srk, vigneshr



On 26/04/2023 11:39, Siddharth Vadapalli wrote:
> From: Kishon Vijay Abraham I <kishon@ti.com>
> 
> Add PSI-L thread map for main CPSW2G.

Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>

> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
> ---
>   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),

-- 
Péter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC PATCH] dmaengine: ti: k3-psil-j721s2: Add PSI-L thread map for main CPSW2G
@ 2023-04-27 19:01   ` Péter Ujfalusi
  0 siblings, 0 replies; 4+ messages in thread
From: Péter Ujfalusi @ 2023-04-27 19:01 UTC (permalink / raw
  To: Siddharth Vadapalli, vkoul
  Cc: dmaengine, linux-kernel, linux-arm-kernel, srk, vigneshr



On 26/04/2023 11:39, Siddharth Vadapalli wrote:
> From: Kishon Vijay Abraham I <kishon@ti.com>
> 
> Add PSI-L thread map for main CPSW2G.

Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>

> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
> ---
>   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),

-- 
Péter

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-27 19:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-26  8:39 [RFC PATCH] dmaengine: ti: k3-psil-j721s2: Add PSI-L thread map for main CPSW2G Siddharth Vadapalli
2023-04-26  8:39 ` Siddharth Vadapalli
2023-04-27 19:01 ` Péter Ujfalusi
2023-04-27 19:01   ` Péter Ujfalusi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.