Skip to contentSkip to conversation

ARM: dts: Some am43x fixes

PATCH New Dave Gerlach 2 participants 4 messages Dec 15, 2017 – Dec 21, 2017 Device tree bindings

lore
Share & tools
lore
#0 lore raw

cover ARM: dts: Some am43x fixes

Hi,
This series has two fixes for am43x based platforms. First patch disables OPP50 on am437x-idk-evm which the board supply does not support. Second patch is for am43x-epos-evm and adds dcdc2 regulator as the missing cpu0-supply which enables CPUFreq on this platform.

Regards,
Dave

Dave Gerlach (2):
ARM: dts: am437x-idk-evm: Disable OPP50 for MPU
ARM: dts: am43x-epos-evm: Hook dcdc2 as the cpu0-supply

 arch/arm/boot/dts/am437x-idk-evm.dts | 14 ++++++++++++++
 arch/arm/boot/dts/am43x-epos-evm.dts |  4 ++++
 2 files changed, 18 insertions(+)
Signature · 1 line
2.15.1
#1 lore raw

PATCH 1/2 ARM: dts: am437x-idk-evm: Disable OPP50 for MPU

AM437x IDK has a TPS386000 supply voltage supervisor on the VDD_MPU rail set to trigger undervoltage condition at 0.96V. Because of this, OPP50, which is normally configured to 300MHz at 0.95V, must be disabled to avoid triggering the undervoltage condition. Also mark OPP100 as the suspend-opp as it is now our lowest OPP.

---
 arch/arm/boot/dts/am437x-idk-evm.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm/boot/dts/am437x-idk-evm.dts +14 -0
index 5e364473067f..20132477a871 100644
@@ -519,3 +519,17 @@
 &cpu {
 	cpu0-supply = <&tps>;
 };
+
+&cpu0_opp_table {
+	/*
+	 * Supply voltage supervisor on board will not allow opp50 so
+	 * disable it and set opp100 as suspend OPP.
+	 */
+	opp50 at 300000000 {
+		status = "disabled";
+	};
+
+	opp100 at 600000000 {
+		opp-suspend;
+	};
+};
Signature · 1 line
2.15.1
#2 lore raw

PATCH 2/2 ARM: dts: am43x-epos-evm: Hook dcdc2 as the cpu0-supply

In reply to Dave Gerlach

Hook dcdc2 as the cpu0-supply.

---
 arch/arm/boot/dts/am43x-epos-evm.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/am43x-epos-evm.dts +4 -0
index a04d79ec212a..1c79c1f8ac07 100644
@@ -989,3 +989,7 @@
 	assigned-clocks = <&mux_synctimer32k_ck>;
 	assigned-clock-parents = <&clkdiv32k_ick>;
 };
+
+&cpu {
+	cpu0-supply = <&dcdc2>;
+};
Signature · 1 line
2.15.1
#3 lore raw

cover ARM: dts: Some am43x fixes

In reply to Dave Gerlach
Quoted 5 lines · Dave Gerlach

Hi,
This series has two fixes for am43x based platforms. First patch disables OPP50 on am437x-idk-evm which the board supply does not support. Second patch is for am43x-epos-evm and adds dcdc2 regulator as the missing cpu0-supply which enables CPUFreq on this platform.

Applying both into omap-for-v4.16/dt thanks.

Tony