Commit ef399736 authored by Mateusz Majewski's avatar Mateusz Majewski Committed by Krzysztof Kozlowski
Browse files

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: default avatarMateusz Majewski <m.majewski2@samsung.com>
Link: https://lore.kernel.org/r/20230911133417.14042-1-m.majewski2@samsung.com


[krzk: fix comment coding style and line wrapping]
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 8edc16a1
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -391,8 +391,16 @@ &cpu_alert2 {
};

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

&gic {