Skip to content

Commit 2e3d0e2

Browse files
committed
ARM: dts: exynos: correct TMU phandle in Odroid HC1
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: 1ac4942 ("ARM: dts: exynos: Add support for Hardkernel's Odroid HC1 board") Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 9372eca commit 2e3d0e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arch/arm/boot/dts/exynos5422-odroidhc1.dts

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

3232
thermal-zones {
3333
cpu0_thermal: cpu0-thermal {
34-
thermal-sensors = <&tmu_cpu0 0>;
34+
thermal-sensors = <&tmu_cpu0>;
3535
trips {
3636
cpu0_alert0: cpu-alert-0 {
3737
temperature = <70000>; /* millicelsius */
@@ -86,7 +86,7 @@
8686
};
8787
};
8888
cpu1_thermal: cpu1-thermal {
89-
thermal-sensors = <&tmu_cpu1 0>;
89+
thermal-sensors = <&tmu_cpu1>;
9090
trips {
9191
cpu1_alert0: cpu-alert-0 {
9292
temperature = <70000>;
@@ -130,7 +130,7 @@
130130
};
131131
};
132132
cpu2_thermal: cpu2-thermal {
133-
thermal-sensors = <&tmu_cpu2 0>;
133+
thermal-sensors = <&tmu_cpu2>;
134134
trips {
135135
cpu2_alert0: cpu-alert-0 {
136136
temperature = <70000>;
@@ -174,7 +174,7 @@
174174
};
175175
};
176176
cpu3_thermal: cpu3-thermal {
177-
thermal-sensors = <&tmu_cpu3 0>;
177+
thermal-sensors = <&tmu_cpu3>;
178178
trips {
179179
cpu3_alert0: cpu-alert-0 {
180180
temperature = <70000>;
@@ -218,7 +218,7 @@
218218
};
219219
};
220220
gpu_thermal: gpu-thermal {
221-
thermal-sensors = <&tmu_gpu 0>;
221+
thermal-sensors = <&tmu_gpu>;
222222
trips {
223223
gpu_alert0: gpu-alert-0 {
224224
temperature = <70000>;

0 commit comments

Comments
 (0)