From 7a8bd16b49226436be56753eb20c7486ab72c2b3 Mon Sep 17 00:00:00 2001
From: Yann Gautier <yann.gautier@st.com>
Date: Fri, 25 Sep 2020 14:12:57 +0200
Subject: [PATCH] sort regulators low power nodes alphabetically

Change-Id: I56d12ae9347e5b67cff2cfd0dff3f365f82316a6
---
 fdts/stm32mp15xx-dkx.dtsi | 72 +++++++++++++++++++--------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

diff --git a/fdts/stm32mp15xx-dkx.dtsi b/fdts/stm32mp15xx-dkx.dtsi
index d75c620ef..60e4a9133 100644
--- a/fdts/stm32mp15xx-dkx.dtsi
+++ b/fdts/stm32mp15xx-dkx.dtsi
@@ -379,11 +379,7 @@
 };
 
 /* Low-power states of regulators */
-&vddcore {
-	lp-stop {
-		regulator-on-in-suspend;
-		regulator-suspend-microvolt = <1200000>;
-	};
+&v1v2_hdmi {
 	standby-ddr-sr {
 		regulator-off-in-suspend;
 	};
@@ -392,40 +388,29 @@
 	};
 };
 
-&vdd_ddr {
-	lp-stop {
-		regulator-suspend-microvolt = <1350000>;
-		regulator-on-in-suspend;
-	};
+&v1v8_audio {
 	standby-ddr-sr {
-		regulator-suspend-microvolt = <1350000>;
-		regulator-on-in-suspend;
+		regulator-off-in-suspend;
 	};
 	standby-ddr-off {
 		regulator-off-in-suspend;
 	};
 };
 
-&vdd {
+&v3v3 {
 	lp-stop {
 		regulator-suspend-microvolt = <3300000>;
 		regulator-on-in-suspend;
 	};
 	standby-ddr-sr {
-		regulator-suspend-microvolt = <3300000>;
-		regulator-on-in-suspend;
+		regulator-off-in-suspend;
 	};
 	standby-ddr-off {
-		regulator-suspend-microvolt = <3300000>;
-		regulator-on-in-suspend;
+		regulator-off-in-suspend;
 	};
 };
 
-&v3v3 {
-	lp-stop {
-		regulator-suspend-microvolt = <3300000>;
-		regulator-on-in-suspend;
-	};
+&v3v3_hdmi {
 	standby-ddr-sr {
 		regulator-off-in-suspend;
 	};
@@ -434,16 +419,22 @@
 	};
 };
 
-&v1v8_audio {
+&vdd {
+	lp-stop {
+		regulator-suspend-microvolt = <3300000>;
+		regulator-on-in-suspend;
+	};
 	standby-ddr-sr {
-		regulator-off-in-suspend;
+		regulator-suspend-microvolt = <3300000>;
+		regulator-on-in-suspend;
 	};
 	standby-ddr-off {
-		regulator-off-in-suspend;
+		regulator-suspend-microvolt = <3300000>;
+		regulator-on-in-suspend;
 	};
 };
 
-&v3v3_hdmi {
+&vdda {
 	standby-ddr-sr {
 		regulator-off-in-suspend;
 	};
@@ -452,9 +443,10 @@
 	};
 };
 
-&vtt_ddr {
+&vddcore {
 	lp-stop {
-		regulator-off-in-suspend;
+		regulator-on-in-suspend;
+		regulator-suspend-microvolt = <1200000>;
 	};
 	standby-ddr-sr {
 		regulator-off-in-suspend;
@@ -464,8 +456,13 @@
 	};
 };
 
-&vdd_usb {
+&vdd_ddr {
+	lp-stop {
+		regulator-suspend-microvolt = <1350000>;
+		regulator-on-in-suspend;
+	};
 	standby-ddr-sr {
+		regulator-suspend-microvolt = <1350000>;
 		regulator-on-in-suspend;
 	};
 	standby-ddr-off {
@@ -473,30 +470,33 @@
 	};
 };
 
-&vdda {
+&vdd_usb {
 	standby-ddr-sr {
-		regulator-off-in-suspend;
+		regulator-on-in-suspend;
 	};
 	standby-ddr-off {
 		regulator-off-in-suspend;
 	};
 };
 
-&v1v2_hdmi {
+&vref_ddr {
+	lp-stop {
+		regulator-on-in-suspend;
+	};
 	standby-ddr-sr {
-		regulator-off-in-suspend;
+		regulator-on-in-suspend;
 	};
 	standby-ddr-off {
 		regulator-off-in-suspend;
 	};
 };
 
-&vref_ddr {
+&vtt_ddr {
 	lp-stop {
-		regulator-on-in-suspend;
+		regulator-off-in-suspend;
 	};
 	standby-ddr-sr {
-		regulator-on-in-suspend;
+		regulator-off-in-suspend;
 	};
 	standby-ddr-off {
 		regulator-off-in-suspend;
-- 
GitLab