dmaengine: ti: k3-udma: Add PSIL threads for AM62P and J722S
Subsystems (2)
PATCH v2 1/1 dmaengine: ti: k3-udma: Add PSIL threads for AM62P and J722S
From: Vignesh Raghavendra <[email protected]>
Add PSIL thread information and enable UDMA support for AM62P and J722S SoC. J722S SoC family is a superset of AM62P, thus common PSIL thread ID map is reused for both devices.
For those interested, more details about the SoC can be found in the Technical Reference Manual here:
AM62P - https://www.ti.com/lit/pdf/spruj83 J722S - https://www.ti.com/lit/zip/sprujb3
---
V1: https://lore.kernel.org/all/[email protected]/
J722S Bootlog with DMA enabled : https://gist.github.com/vaishnavachath/46b56dab34dfea3a171d3ad266160780
V1->V2:
* Add J722S support and additional CSI2RX channels
* Update copyright year to 2023 and update commit message.
drivers/dma/ti/Makefile | 3 +- drivers/dma/ti/k3-psil-am62p.c | 325 +++++++++++++++++++++++++++++++++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers/dma/ti/k3-psil.c | 2 + drivers/dma/ti/k3-udma.c | 2 + 5 files changed, 332 insertions(+), 1 deletion(-) create mode 100644 drivers/dma/ti/k3-psil-am62p.c
drivers/dma/ti/Makefile +2 -1
@@ -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 +325 -0
325 lines not on this page · raw message
drivers/dma/ti/k3-psil-priv.h +1 -0
@@ -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 +2 -0
@@ -26,6 +26,8 @@ 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 }, + { .family = "J722S", .data = &am62p_ep_map }, {/* sentinel */ } };
drivers/dma/ti/k3-udma.c +2 -0
@@ -4441,6 +4441,8 @@ 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 }, + { .family = "J722S", .data = &am64_soc_data }, {/* sentinel */ } };
Signature · 1 line
2.17.1
Hi Vaishnav,
Thanks for the patch.
Quoted 6 lines · Vaishnav
From: Vignesh Raghavendra <[email protected]>
Add PSIL thread information and enable UDMA support for AM62P and J722S SoC. J722S SoC family is a superset of AM62P, thus common PSIL thread ID map is reused for both devices.
Quoted 8 lines
For those interested, more details about the SoC can be found in the Technical Reference Manual here:
AM62P - https://www.ti.com/lit/pdf/spruj83 J722S - https://www.ti.com/lit/zip/sprujb3Signed-off-by Vignesh Raghavendra <[email protected]>Signed-off-by Bryan Brattlof <[email protected]>Signed-off-by Vaishnav Achath <[email protected]>
Quoted 15 lines
---
V1: https://lore.kernel.org/all/[email protected]/
J722S Bootlog with DMA enabled : https://gist.github.com/vaishnavachath/46b56dab34dfea3a171d3ad266160780
V1->V2:
* Add J722S support and additional CSI2RX channels
* Update copyright year to 2023 and update commit message.drivers/dma/ti/Makefile | 3 +- drivers/dma/ti/k3-psil-am62p.c | 325 +++++++++++++++++++++++++++++++++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers/dma/ti/k3-psil.c | 2 + drivers/dma/ti/k3-udma.c | 2 + 5 files changed, 332 insertions(+), 1 deletion(-) create mode 100644 drivers/dma/ti/k3-psil-am62p.c
[...]
Quoted 1 line
Signature · 4 lines
Thanks, Jai GPG Fingerprint: 4DE0 D818 E5D5 75E8 D45A AFC5 43DE 91F9 249A 7145
Quoted 10 lines · Vaishnav Achath
Add PSIL thread information and enable UDMA support for AM62P and J722S SoC. J722S SoC family is a superset of AM62P, thus common PSIL thread ID map is reused for both devices.
For those interested, more details about the SoC can be found in the Technical Reference Manual here:
AM62P - https://www.ti.com/lit/pdf/spruj83 J722S - https://www.ti.com/lit/zip/sprujb3[...]
Applied, thanks!
[1/1] dmaengine: ti: k3-udma: Add PSIL threads for AM62P and J722S
commit: 3b08b3775593442be52cbb99efbccbd7fe4fa3fe
Best regards,
Signature · 1 line
~Vinod