Skip to content

Commit a3583e9

Browse files
committed
ARM: dts: exynos: correct TMU phandle in Odroid XU3 family
TMU node uses 0 as thermal-sensor-cells, thus thermal zone referencing it must not have an argument to phandle. This was not critical before, but since rework of thermal Devicetree initialization in the commit 3fd6d6e ("thermal/of: Rework the thermal device tree initialization"), this leads to errors registering thermal zones other than first one: thermal_sys: cpu0-thermal: Failed to read thermal-sensors cells: -2 thermal_sys: Failed to find thermal zone for tmu id=0 exynos-tmu 10064000.tmu: Failed to register sensor: -2 exynos-tmu: probe of 10064000.tmu failed with error -2 Fixes: f1722d7 ("ARM: dts: Define default thermal-zones for exynos5422") Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 2e3d0e2 commit a3583e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
thermal-zones {
5252
cpu0_thermal: cpu0-thermal {
53-
thermal-sensors = <&tmu_cpu0 0>;
53+
thermal-sensors = <&tmu_cpu0>;
5454
polling-delay-passive = <250>;
5555
polling-delay = <0>;
5656
trips {
@@ -139,7 +139,7 @@
139139
};
140140
};
141141
cpu1_thermal: cpu1-thermal {
142-
thermal-sensors = <&tmu_cpu1 0>;
142+
thermal-sensors = <&tmu_cpu1>;
143143
polling-delay-passive = <250>;
144144
polling-delay = <0>;
145145
trips {
@@ -212,7 +212,7 @@
212212
};
213213
};
214214
cpu2_thermal: cpu2-thermal {
215-
thermal-sensors = <&tmu_cpu2 0>;
215+
thermal-sensors = <&tmu_cpu2>;
216216
polling-delay-passive = <250>;
217217
polling-delay = <0>;
218218
trips {
@@ -285,7 +285,7 @@
285285
};
286286
};
287287
cpu3_thermal: cpu3-thermal {
288-
thermal-sensors = <&tmu_cpu3 0>;
288+
thermal-sensors = <&tmu_cpu3>;
289289
polling-delay-passive = <250>;
290290
polling-delay = <0>;
291291
trips {
@@ -358,7 +358,7 @@
358358
};
359359
};
360360
gpu_thermal: gpu-thermal {
361-
thermal-sensors = <&tmu_gpu 0>;
361+
thermal-sensors = <&tmu_gpu>;
362362
polling-delay-passive = <250>;
363363
polling-delay = <0>;
364364
trips {

0 commit comments

Comments
 (0)