Skip to contentSkip to conversation

dmaengine: ti: k3-udma: Add PSIL threads for AM62P

PATCH In review Bryan Brattlof 4 participants 5 messages Dec 12, 2023 – Dec 14, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dmaengine: ti: k3-udma: Add PSIL threads for AM62P

From: Vignesh Raghavendra <[email protected]>

Add PSIL and PDMA data for AM62P.

---
 drivers/dma/ti/Makefile        |   3 +-
 drivers/dma/ti/k3-psil-am62p.c | 196 +++++++++++++++++++++++++++++++++
 drivers/dma/ti/k3-psil-priv.h  |   1 +
 drivers/dma/ti/k3-psil.c       |   1 +
 drivers/dma/ti/k3-udma.c       |   1 +
 5 files changed, 201 insertions(+), 1 deletion(-)
 create mode 100644 drivers/dma/ti/k3-psil-am62p.c
drivers/dma/ti/Makefile +2 -1
index acc950bf609c3..d376c117cecf6 100644
@@ -12,6 +12,7 @@ k3-psil-lib-objs := k3-psil.o \
 		    k3-psil-j721s2.o \
 		    k3-psil-am62.o \
 		    k3-psil-am62a.o \
-		    k3-psil-j784s4.o
+		    k3-psil-j784s4.o \
+		    k3-psil-am62p.o
 obj-$(CONFIG_TI_K3_PSIL) += k3-psil-lib.o
 obj-$(CONFIG_TI_DMA_CROSSBAR) += dma-crossbar.o
drivers/dma/ti/k3-psil-am62p.c new file +196 -0

196 lines not on this page · raw message

drivers/dma/ti/k3-psil-priv.h +1 -0
index c383723d1c8f6..a577be97e3447 100644
@@ -45,5 +45,6 @@ extern struct psil_ep_map j721s2_ep_map;
 extern struct psil_ep_map am62_ep_map;
 extern struct psil_ep_map am62a_ep_map;
 extern struct psil_ep_map j784s4_ep_map;
+extern struct psil_ep_map am62p_ep_map;
 
 #endif /* K3_PSIL_PRIV_H_ */
drivers/dma/ti/k3-psil.c +1 -0
index c11389d67a3f0..5c5b367909902 100644
@@ -26,6 +26,7 @@ static const struct soc_device_attribute k3_soc_devices[] = {
 	{ .family = "AM62X", .data = &am62_ep_map },
 	{ .family = "AM62AX", .data = &am62a_ep_map },
 	{ .family = "J784S4", .data = &j784s4_ep_map },
+	{ .family = "AM62PX", .data = &am62p_ep_map },
 	{ /* sentinel */ }
 };
 
drivers/dma/ti/k3-udma.c +1 -0
index 30fd2f386f36a..59a8faf6150f8 100644
@@ -4441,6 +4441,7 @@ static const struct soc_device_attribute k3_soc_devices[] = {
 	{ .family = "AM62X", .data = &am64_soc_data },
 	{ .family = "AM62AX", .data = &am64_soc_data },
 	{ .family = "J784S4", .data = &j721e_soc_data },
+	{ .family = "AM62PX", .data = &am64_soc_data },
 	{ /* sentinel */ }
 };
 

base-commit: abb240f7a2bd14567ab53e602db562bb683391e6

Signature · 1 line
2.43.0
#1 lore raw
Quoted 9 lines · Bryan Brattlof

From: Vignesh Raghavendra <[email protected]>

Add PSIL and PDMA data for AM62P.

---
 drivers/dma/ti/Makefile        |   3 +-
 drivers/dma/ti/k3-psil-am62p.c | 196 +++++++++++++++++++++++++++++++++

Does this also include J722s data? I prefer if we could introduce both SoC support together as one is superset of the other. Vaishav?

Regards
Vignesh

[...]

#2 lore raw

Hi Vignesh,

Quoted 7 lines · Vignesh Raghavendra
Quoted 4 lines · Bryan Brattlof

From: Vignesh Raghavendra <[email protected]>

Add PSIL and PDMA data for AM62P.

Quoted 9 lines
Quoted 5 lines
---
 drivers/dma/ti/Makefile        |   3 +-
 drivers/dma/ti/k3-psil-am62p.c | 196 +++++++++++++++++++++++++++++++++

Does this also include J722s data? I prefer if we could introduce both SoC support together as one is superset of the other. Vaishav?

This did not include J722S data and also CSI2RX data for both devices, I have added those and sent a V2 for this patch:
https://lore.kernel.org/all/[email protected]/

Thanks and Regards,
Vaishnav

Quoted 4 lines

Regards
Vignesh

[...]

#3 lore raw

On December 13, 2023 thus sayeth Vaishnav Achath:

Quoted 16 lines

Hi Vignesh,

Quoted 13 lines · Vignesh Raghavendra
Quoted 9 lines · Bryan Brattlof

From: Vignesh Raghavendra <[email protected]>

Add PSIL and PDMA data for AM62P.

---
 drivers/dma/ti/Makefile        |   3 +-
 drivers/dma/ti/k3-psil-am62p.c | 196 +++++++++++++++++++++++++++++++++
Quoted 8 lines
Quoted 3 lines

Does this also include J722s data? I prefer if we could introduce both SoC support together as one is superset of the other. Vaishav?

This did not include J722S data and also CSI2RX data for both devices, I have added those and sent a V2 for this patch:
https://lore.kernel.org/all/[email protected]/

Ah yeah! I like doing this all in one shot.

Thanks Vaishnav and Vignesh.

~Bryan

#4 lore raw
In reply to Bryan Brattlof
Quoted 3 lines · Bryan Brattlof

From: Vignesh Raghavendra <[email protected]>

Add PSIL and PDMA data for AM62P.

I prefer separate patches for udma and psil, please.
The patch on top of adding the PSIL map, it also adds support for am62P in the UDMA driver.

Signature · 1 line
Péter
Quoted 12 lines
---
 drivers/dma/ti/Makefile        |   3 +-
 drivers/dma/ti/k3-psil-am62p.c | 196 +++++++++++++++++++++++++++++++++
 drivers/dma/ti/k3-psil-priv.h  |   1 +
 drivers/dma/ti/k3-psil.c       |   1 +
 drivers/dma/ti/k3-udma.c       |   1 +
 5 files changed, 201 insertions(+), 1 deletion(-)
 create mode 100644 drivers/dma/ti/k3-psil-am62p.c