Commit 38f5c8ba authored by Tero Kristo's avatar Tero Kristo Committed by Tony Lindgren

ARM: dts: OMAP5: fix polling intervals for thermal zones

OMAP4 has a finer counter granularity, which allows for a delay of 1000ms
in the thermal zone polling intervals. OMAP5 has a different counter
mechanism, which allows at maximum a 500ms timer. Adjust the cpu thermal
zone polling interval accordingly.

Without this patch, the polling interval information is simply ignored,
and the following thermal warnings are printed during boot (assuming
thermal is enabled);

[    1.545343] ti-soc-thermal 4a0021e0.bandgap: Delay 1000 ms is not supported
[    1.552691] ti-soc-thermal 4a0021e0.bandgap: Delay 1000 ms is not supported
[    1.560029] ti-soc-thermal 4a0021e0.bandgap: Delay 1000 ms is not supported
Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Acked-by: default avatarEduardo Valentin <edubezval@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 87be4891
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
core_thermal: core_thermal { core_thermal: core_thermal {
polling-delay-passive = <250>; /* milliseconds */ polling-delay-passive = <250>; /* milliseconds */
polling-delay = <1000>; /* milliseconds */ polling-delay = <500>; /* milliseconds */
/* sensor ID */ /* sensor ID */
thermal-sensors = <&bandgap 2>; thermal-sensors = <&bandgap 2>;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
gpu_thermal: gpu_thermal { gpu_thermal: gpu_thermal {
polling-delay-passive = <250>; /* milliseconds */ polling-delay-passive = <250>; /* milliseconds */
polling-delay = <1000>; /* milliseconds */ polling-delay = <500>; /* milliseconds */
/* sensor ID */ /* sensor ID */
thermal-sensors = <&bandgap 1>; thermal-sensors = <&bandgap 1>;
......
...@@ -1079,4 +1079,8 @@ abb_mm: regulator-abb-mm { ...@@ -1079,4 +1079,8 @@ abb_mm: regulator-abb-mm {
}; };
}; };
&cpu_thermal {
polling-delay = <500>; /* milliseconds */
};
/include/ "omap54xx-clocks.dtsi" /include/ "omap54xx-clocks.dtsi"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment