Skip to contentSkip to conversation

arm64: dts: imx8mp-verdin: add cpu-supply

PATCH Applied Max Krummenacher 5 participants 5 messages Aug 22, 2022 – Sep 3, 2022

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

PATCH 1/1 arm64: dts: imx8mp-verdin: add cpu-supply

From: Max Krummenacher <[email protected]>

Add the cpu-supply property to all CPU nodes to enable the cpufreq driver.

---

 .../boot/dts/freescale/imx8mp-verdin.dtsi      | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +17 -1
index f062fdbb2719..dbc22b672fb3 100644
@@ -146,6 +146,22 @@ reserved-memory {
 	};
 };
 
+&A53_0 {
+	cpu-supply = <&reg_vdd_arm>;
+};
+
+&A53_1 {
+	cpu-supply = <&reg_vdd_arm>;
+};
+
+&A53_2 {
+	cpu-supply = <&reg_vdd_arm>;
+};
+
+&A53_3 {
+	cpu-supply = <&reg_vdd_arm>;
+};
+
 &cpu_alert0 {
 	temperature = <95000>;
 };
@@ -453,7 +469,7 @@ BUCK1 {
 				regulator-ramp-delay = <3125>;
 			};
 
-			BUCK2 {
+			reg_vdd_arm: BUCK2 {
 				nxp,dvs-run-voltage = <950000>;
 				nxp,dvs-standby-voltage = <850000>;
 				regulator-always-on;
Signature · 1 line
2.35.3
Reviewed-by on v1 1/1
#1 lore raw

Hi Max,

Thank you for the patch.

Quoted 6 lines · Max Krummenacher

From: Max Krummenacher <[email protected]>

Add the cpu-supply property to all CPU nodes to enable the cpufreq driver.

Quoted 41 lines

---

 .../boot/dts/freescale/imx8mp-verdin.dtsi      | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +17 -1
index f062fdbb2719..dbc22b672fb3 100644
@@ -146,6 +146,22 @@ reserved-memory {
 	};
 };
 
+&A53_0 {
+	cpu-supply = <&reg_vdd_arm>;
+};
+
+&A53_1 {
+	cpu-supply = <&reg_vdd_arm>;
+};
+
+&A53_2 {
+	cpu-supply = <&reg_vdd_arm>;
+};
+
+&A53_3 {
+	cpu-supply = <&reg_vdd_arm>;
+};
+
 &cpu_alert0 {
 	temperature = <95000>;
 };
@@ -453,7 +469,7 @@ BUCK1 {
 				regulator-ramp-delay = <3125>;
 			};
 
-			BUCK2 {
+			reg_vdd_arm: BUCK2 {
 				nxp,dvs-run-voltage = <950000>;
 				nxp,dvs-standby-voltage = <850000>;
 				regulator-always-on;
Signature · 3 lines
Regards,

Laurent Pinchart
Acked-by on v1 1/1
#2 lore raw
In reply to Max Krummenacher
Quoted 6 lines · Max Krummenacher

From: Max Krummenacher <[email protected]>

Add the cpu-supply property to all CPU nodes to enable the cpufreq driver.

Quoted 42 lines

---

 .../boot/dts/freescale/imx8mp-verdin.dtsi      | 18 +++++++++++++++++-

 1 file changed, 17 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mp- renamed from arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +0 -0

verdin.dtsi
index f062fdbb2719..dbc22b672fb3 100644

arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +0 -0
@@ -146,6 +146,22 @@ reserved-memory {
         };
  };


+&A53_0 {
+       cpu-supply = <&reg_vdd_arm>;

arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +14 -0
+};
+
+&A53_1 {
+       cpu-supply = <&reg_vdd_arm>;
+};
+
+&A53_2 {
+       cpu-supply = <&reg_vdd_arm>;
+};
+
+&A53_3 {
+       cpu-supply = <&reg_vdd_arm>;
+};
+

 &cpu_alert0 {
        temperature = <95000>;
 };

arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +0 -0
@@ -453,7 +469,7 @@ BUCK1 {
                                 regulator-ramp-delay = <3125>;
                         };


-                       BUCK2 {
+                       reg_vdd_arm: BUCK2 { nxp,dvs-run-voltage = <950000>; nxp,dvs-standby-voltage = <850000>; regulator-always-on;