arm64: dts: amlogic: meson-g12: Fix thermal-zones indent
authorAlexander Stein <alexander.stein@mailbox.org>
Tue, 26 Oct 2021 18:28:11 +0000 (20:28 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 15 Nov 2021 09:23:36 +0000 (10:23 +0100)
This node is currently at /soc/thermal-zones, but the later introduced
bindings in commit 1202a442a31f ("dt-bindings: thermal: Add yaml bindings
for thermal zones") put this at /thermal-zones.
Fix dtb_check warning by moving the thermal-zones node to /

Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20211026182813.900775-1-alexander.stein@mailbox.org
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi

index 00c6f53..ff987e7 100644 (file)
                        status = "disabled";
                };
 
-               thermal-zones {
-                       cpu_thermal: cpu-thermal {
-                               polling-delay = <1000>;
-                               polling-delay-passive = <100>;
-                               thermal-sensors = <&cpu_temp>;
-
-                               trips {
-                                       cpu_passive: cpu-passive {
-                                               temperature = <85000>; /* millicelsius */
-                                               hysteresis = <2000>; /* millicelsius */
-                                               type = "passive";
-                                       };
-
-                                       cpu_hot: cpu-hot {
-                                               temperature = <95000>; /* millicelsius */
-                                               hysteresis = <2000>; /* millicelsius */
-                                               type = "hot";
-                                       };
-
-                                       cpu_critical: cpu-critical {
-                                               temperature = <110000>; /* millicelsius */
-                                               hysteresis = <2000>; /* millicelsius */
-                                               type = "critical";
-                                       };
-                               };
-                       };
-
-                       ddr_thermal: ddr-thermal {
-                               polling-delay = <1000>;
-                               polling-delay-passive = <100>;
-                               thermal-sensors = <&ddr_temp>;
-
-                               trips {
-                                       ddr_passive: ddr-passive {
-                                               temperature = <85000>; /* millicelsius */
-                                               hysteresis = <2000>; /* millicelsius */
-                                               type = "passive";
-                                       };
-
-                                       ddr_critical: ddr-critical {
-                                               temperature = <110000>; /* millicelsius */
-                                               hysteresis = <2000>; /* millicelsius */
-                                               type = "critical";
-                                       };
-                               };
-
-                               cooling-maps {
-                                       map {
-                                               trip = <&ddr_passive>;
-                                               cooling-device = <&mali THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
-                                       };
-                               };
-                       };
-               };
-
                ethmac: ethernet@ff3f0000 {
                        compatible = "amlogic,meson-g12a-dwmac",
                                     "snps,dwmac-3.70a",
                };
        };
 
+       thermal-zones {
+               cpu_thermal: cpu-thermal {
+                       polling-delay = <1000>;
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&cpu_temp>;
+
+                       trips {
+                               cpu_passive: cpu-passive {
+                                       temperature = <85000>; /* millicelsius */
+                                       hysteresis = <2000>; /* millicelsius */
+                                       type = "passive";
+                               };
+
+                               cpu_hot: cpu-hot {
+                                       temperature = <95000>; /* millicelsius */
+                                       hysteresis = <2000>; /* millicelsius */
+                                       type = "hot";
+                               };
+
+                               cpu_critical: cpu-critical {
+                                       temperature = <110000>; /* millicelsius */
+                                       hysteresis = <2000>; /* millicelsius */
+                                       type = "critical";
+                               };
+                       };
+               };
+
+               ddr_thermal: ddr-thermal {
+                       polling-delay = <1000>;
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&ddr_temp>;
+
+                       trips {
+                               ddr_passive: ddr-passive {
+                                       temperature = <85000>; /* millicelsius */
+                                       hysteresis = <2000>; /* millicelsius */
+                                       type = "passive";
+                               };
+
+                               ddr_critical: ddr-critical {
+                                       temperature = <110000>; /* millicelsius */
+                                       hysteresis = <2000>; /* millicelsius */
+                                       type = "critical";
+                               };
+                       };
+
+                       cooling-maps {
+                               map {
+                                       trip = <&ddr_passive>;
+                                       cooling-device = <&mali THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                               };
+                       };
+               };
+       };
+
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <GIC_PPI 13