Skip to contentSkip to conversation

arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA with BCDMA

PATCH In review Roger Quadros 4 participants 4 messages Nov 14, 2023 – Nov 22, 2023 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA with BCDMA

BCDMA can be used at SPL for OSPI boot and mem-to-mem DMA so add "bootph-all" to BCDMA node.

Fixes 9a3f2b6798b0 ("arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet")
---
 arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi +1 -0
index 75cb60b57d..588d9594a8 100644
@@ -53,6 +53,7 @@
 	      <0x00 0x484c2000 0x00 0x2000>;
 	reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt",
 		    "ringrt" , "cfg", "tchan", "rchan";
+	bootph-all;
 };
 
 &main_pktdma {

base-commit: 92b27528d777ce85362af45e7d2974a6c856219b

Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Roger Quadros

BCDMA can be used at SPL for OSPI boot and mem-to-mem DMA so add "bootph-all" to BCDMA node.

Fixes 9a3f2b6798b0 ("arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet")
---
 arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi +0 -0
index 75cb60b57d..588d9594a8 100644

arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi line 56

Quoted 4 lines
arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi +1 -0
@@ -53,6 +53,7 @@
 	      <0x00 0x484c2000 0x00 0x2000>;
 	reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt",
 		    "ringrt" , "cfg", "tchan", "rchan";
+	bootph-all;
Quoted 8 lines
arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi +0 -0
 };
 
 &main_pktdma {

base-commit: 92b27528d777ce85362af45e7d2974a6c856219b

Signature · 1 line
2.34.1
Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
Tested-by on v1 1/1
#2 lore raw
In reply to Roger Quadros

Hi Roger

Quoted 2 lines · Roger Quadros

BCDMA can be used at SPL for OSPI boot and mem-to-mem DMA so add "bootph-all" to BCDMA node.

Might not be strictly required (at least we do not support OSPI boot on our HW) but also does not hurt.

Quoted 3 lines
Fixes 9a3f2b6798b0 ("arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet")
Quoted 18 lines

---
 arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi | 1 +

 1 file changed, 1 insertion(+)
arch/arm/dts/k3-am625-verdin-wifi-dev-u- renamed from arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi +0 -0

boot.dtsi
index 75cb60b57d..588d9594a8 100644

arch/arm/dts/k3-am625-verdin-wifi-dev-u-boot.dtsi +1 -0
@@ -53,6 +53,7 @@
  	      <0x00 0x484c2000 0x00 0x2000>;
  	reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt",
  		    "ringrt" , "cfg", "tchan", "rchan";
+	bootph-all;
  };


 &main_pktdma {

Quoted 1 line

base-commit: 92b27528d777ce85362af45e7d2974a6c856219b

Thanks!

Cheers

Marcel

#3 lore raw
In reply to Roger Quadros
Quoted 9 lines · Roger Quadros

BCDMA can be used at SPL for OSPI boot and mem-to-mem DMA

so add "bootph-all" to BCDMA node.

Fixes 9a3f2b6798b0 ("arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet")

Applied to u-boot/next, thanks!

Signature · 1 line
Tom