ARM: dts: samsung: exynos5422-odroidxu3: disable thermal polling
authorMateusz Majewski <m.majewski2@samsung.com>
Tue, 16 Jan 2024 14:08:39 +0000 (15:08 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 22 Jan 2024 10:54:56 +0000 (11:54 +0100)
After having switched to dynamic trip points, we no longer have a
hardware limit for trip point count and can support as many as we want
without polling.

Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com>
Link: https://lore.kernel.org/r/20240116140839.1029395-1-m.majewski2@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/boot/dts/samsung/exynos5422-odroidxu3-common.dtsi

index b4a851aa88814386c8969c2aa52843e6a7dbcdee..4a4c55a4beb369146f8c99aed457e14b7953ba78 100644 (file)
@@ -55,7 +55,7 @@
        thermal-zones {
                cpu0_thermal: cpu0-thermal {
                        thermal-sensors = <&tmu_cpu0>;
-                       polling-delay-passive = <250>;
+                       polling-delay-passive = <0>;
                        polling-delay = <0>;
                        trips {
                                cpu0_alert0: cpu-alert-0 {
                                        hysteresis = <0>; /* millicelsius */
                                        type = "critical";
                                };
-                               /*
-                                * Exynos542x supports only 4 trip-points
-                                * so for these polling mode is required.
-                                * Start polling at temperature level of last
-                                * interrupt-driven trip: cpu0_alert2
-                                */
                                cpu0_alert3: cpu-alert-3 {
                                        temperature = <70000>; /* millicelsius */
                                        hysteresis = <10000>; /* millicelsius */
                };
                cpu1_thermal: cpu1-thermal {
                        thermal-sensors = <&tmu_cpu1>;
-                       polling-delay-passive = <250>;
+                       polling-delay-passive = <0>;
                        polling-delay = <0>;
                        trips {
                                cpu1_alert0: cpu-alert-0 {
                };
                cpu2_thermal: cpu2-thermal {
                        thermal-sensors = <&tmu_cpu2>;
-                       polling-delay-passive = <250>;
+                       polling-delay-passive = <0>;
                        polling-delay = <0>;
                        trips {
                                cpu2_alert0: cpu-alert-0 {
                };
                cpu3_thermal: cpu3-thermal {
                        thermal-sensors = <&tmu_cpu3>;
-                       polling-delay-passive = <250>;
+                       polling-delay-passive = <0>;
                        polling-delay = <0>;
                        trips {
                                cpu3_alert0: cpu-alert-0 {
                };
                gpu_thermal: gpu-thermal {
                        thermal-sensors = <&tmu_gpu>;
-                       polling-delay-passive = <250>;
+                       polling-delay-passive = <0>;
                        polling-delay = <0>;
                        trips {
                                gpu_alert0: gpu-alert-0 {