Skip to contentSkip to conversation

arch: arm: dts: k3-j7200-r5-evm: Enable AVS feature

PATCH In review Udit Kumar 3 participants 3 messages Sep 11, 2024 – Oct 9, 2024 Arm (32-bit)

lore
Share & tools
lore

Udit Kumar

author
#0 lore raw

PATCH 1/1 arch: arm: dts: k3-j7200-r5-evm: Enable AVS feature

During DT sync with kernel 6.6, AVS feature was removed by mistake. So adding back AVS feature.

Fixes df73e791ce09("arm: dts: j7200: dts sync with Linux 6.6-rc1")

---
Test logs with this patch
Added print in avs driver to see, voltage being set.

U-Boot SPL 2024.10-rc4-00436-ga252ef4f0842-dirty (Sep 11 2024 - 13:57:26 +0530) SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)') avs init
volt 800000
Trying to boot from MMC2

 arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/dts/k3-j7200-r5-common-proc-board.dts +5 -0
index 94760c78dd..fac108ce14 100644
@@ -102,3 +102,8 @@
 &mcu_udmap {
     ti,sci = <&dm_tifs>;
 };
+
+&wkup_vtm0 {
+	vdd-supply-2 = <&buckb1>;
+	bootph-pre-ram;
+};
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Udit Kumar

During DT sync with kernel 6.6, AVS feature was removed by mistake. So adding back AVS feature.

Fixes df73e791ce09("arm: dts: j7200: dts sync with Linux 6.6-rc1")
Quoted 27 lines

---
Test logs with this patch
Added print in avs driver to see, voltage being set.

U-Boot SPL 2024.10-rc4-00436-ga252ef4f0842-dirty (Sep 11 2024 - 13:57:26 +0530) SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)') avs init
volt 800000
Trying to boot from MMC2

  arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 5 +++++
  1 file changed, 5 insertions(+)
arch/arm/dts/k3-j7200-r5-common-proc-board.dts +5 -0
index 94760c78dd..fac108ce14 100644
@@ -102,3 +102,8 @@
  &mcu_udmap {
      ti,sci = <&dm_tifs>;
  };
+
+&wkup_vtm0 {
+	vdd-supply-2 = <&buckb1>;
+	bootph-pre-ram;
+};
#2 lore raw
In reply to Udit Kumar
Quoted 6 lines · Udit Kumar

During DT sync with kernel 6.6, AVS feature was removed by mistake. So adding back AVS feature.

Fixes df73e791ce09("arm: dts: j7200: dts sync with Linux 6.6-rc1")

Applied to u-boot/master, thanks!

Signature · 1 line
Tom