[PATCH v2 04/17] ARM: dts: samsung: exynos4-cpu-thermal: fix indentation and sort
From: Henrik Grimler
Date: Tue Oct 06 2026 - 08:00:11 EST
Add missing indentation level, sort child nodes alphabetically and add
newlines before every child. Fixed partially with the help of
dtfmt (Devicetree Source formatter).
Fixes warnings from dt-check-style in strict mode like:
samsung/exynos4-cpu-thermal.dtsi:32: [required-blank-lines] child node must be preceded by a blank line
samsung/exynos4-cpu-thermal.dtsi:38: [child-name-order] child node 'cooling-maps' out of name order
Signed-off-by: Henrik Grimler <henrik.grimler@xxxxxxxx>
---
arch/arm/boot/dts/samsung/exynos4-cpu-thermal.dtsi | 72 ++++++++++++----------
1 file changed, 39 insertions(+), 33 deletions(-)
diff --git a/arch/arm/boot/dts/samsung/exynos4-cpu-thermal.dtsi b/arch/arm/boot/dts/samsung/exynos4-cpu-thermal.dtsi
index 27a1a8952665..48bac2fe6172 100644
--- a/arch/arm/boot/dts/samsung/exynos4-cpu-thermal.dtsi
+++ b/arch/arm/boot/dts/samsung/exynos4-cpu-thermal.dtsi
@@ -8,41 +8,47 @@
#include <dt-bindings/thermal/thermal.h>
/ {
-thermal-zones {
- cpu_thermal: cpu-thermal {
- thermal-sensors = <&tmu>;
- polling-delay-passive = <0>;
- polling-delay = <0>;
- trips {
- cpu_alert0: cpu-alert-0 {
- temperature = <70000>; /* millicelsius */
- hysteresis = <10000>; /* millicelsius */
- type = "active";
- };
- cpu_alert1: cpu-alert-1 {
- temperature = <95000>; /* millicelsius */
- hysteresis = <10000>; /* millicelsius */
- type = "active";
- };
- cpu_alert2: cpu-alert-2 {
- temperature = <110000>; /* millicelsius */
- hysteresis = <10000>; /* millicelsius */
- type = "active";
- };
- cpu_crit0: cpu-crit-0 {
- temperature = <120000>; /* millicelsius */
- hysteresis = <0>; /* millicelsius */
- type = "critical";
- };
- };
- cooling-maps {
- map0 {
- trip = <&cpu_alert0>;
+ thermal-zones {
+ cpu_thermal: cpu-thermal {
+ thermal-sensors = <&tmu>;
+ polling-delay-passive = <0>;
+ polling-delay = <0>;
+
+ cooling-maps {
+ map0 {
+ trip = <&cpu_alert0>;
+ };
+
+ map1 {
+ trip = <&cpu_alert1>;
+ };
};
- map1 {
- trip = <&cpu_alert1>;
+
+ trips {
+ cpu_alert0: cpu-alert-0 {
+ temperature = <70000>; /* millicelsius */
+ hysteresis = <10000>; /* millicelsius */
+ type = "active";
+ };
+
+ cpu_alert1: cpu-alert-1 {
+ temperature = <95000>; /* millicelsius */
+ hysteresis = <10000>; /* millicelsius */
+ type = "active";
+ };
+
+ cpu_alert2: cpu-alert-2 {
+ temperature = <110000>; /* millicelsius */
+ hysteresis = <10000>; /* millicelsius */
+ type = "active";
+ };
+
+ cpu_crit0: cpu-crit-0 {
+ temperature = <120000>; /* millicelsius */
+ hysteresis = <0>; /* millicelsius */
+ type = "critical";
+ };
};
};
};
};
-};
--
2.43.0