Skip to content

Commit ef39973

Browse files
metiulekmkrzk
authored andcommitted
ARM: dts: samsung: exynos4210: enable polling
It seems that thermal in Exynos 4210 is broken without this, as it will never decrease cooling after increasing it. Signed-off-by: Mateusz Majewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] [krzk: fix comment coding style and line wrapping] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 8edc16a commit ef39973

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

arch/arm/boot/dts/samsung/exynos4210.dtsi

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,16 @@
391391
};
392392

393393
&cpu_thermal {
394-
polling-delay-passive = <0>;
395-
polling-delay = <0>;
394+
/*
395+
* Exynos 4210 supports thermal interrupts, but only for the rising
396+
* threshold. This means that polling is not needed for preventing
397+
* overheating, but only for decreasing cooling when possible. Hence we
398+
* poll with a high delay. Ideally, we would disable polling for the
399+
* first trip point, but this isn't really possible without outrageous
400+
* hacks.
401+
*/
402+
polling-delay-passive = <5000>;
403+
polling-delay = <5000>;
396404
};
397405

398406
&gic {

0 commit comments

Comments
 (0)