summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/samsung
diff options
context:
space:
mode:
authorMateusz Majewski <m.majewski2@samsung.com>2023-09-11 16:34:14 +0300
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-09-14 11:05:21 +0300
commitef399736c3ba77fb82d778b1b7285baa65a7e079 (patch)
treedaa3a9fe206e4ef91cd863817e0bcda092ec20e6 /arch/arm/boot/dts/samsung
parent8edc16a1e27a941670907a94d15dbf7f68fbf8c7 (diff)
downloadlinux-ef399736c3ba77fb82d778b1b7285baa65a7e079.tar.xz
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 <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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/samsung')
-rw-r--r--arch/arm/boot/dts/samsung/exynos4210.dtsi12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/samsung/exynos4210.dtsi b/arch/arm/boot/dts/samsung/exynos4210.dtsi
index 0e27c3375e2e..510e8665d1a2 100644
--- a/arch/arm/boot/dts/samsung/exynos4210.dtsi
+++ b/arch/arm/boot/dts/samsung/exynos4210.dtsi
@@ -391,8 +391,16 @@
};
&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 {