]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: qcom: msm8953-*: Remove thermal zone polling delays
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 10 May 2024 11:59:29 +0000 (13:59 +0200)
committerBjorn Andersson <andersson@kernel.org>
Fri, 7 Jun 2024 23:03:43 +0000 (18:03 -0500)
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-6-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/msm8953.dtsi
arch/arm64/boot/dts/qcom/pm8953.dtsi

index c322d630dd09db64eb7cb16a2420bec5b8be75e2..1b61a63710a64df1019f354e613ddd615672688f 100644 (file)
        thermal-zones {
                cpu0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
+
                        thermal-sensors = <&tsens0 9>;
+
                        trips {
                                cpu0_alert: trip-point0 {
                                        temperature = <80000>;
                };
                cpu1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
+
                        thermal-sensors = <&tsens0 10>;
+
                        trips {
                                cpu1_alert: trip-point0 {
                                        temperature = <80000>;
                };
                cpu2-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
+
                        thermal-sensors = <&tsens0 11>;
+
                        trips {
                                cpu2_alert: trip-point0 {
                                        temperature = <80000>;
                };
                cpu3-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
+
                        thermal-sensors = <&tsens0 12>;
+
                        trips {
                                cpu3_alert: trip-point0 {
                                        temperature = <80000>;
                };
                cpu4-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
                        thermal-sensors = <&tsens0 4>;
                        trips {
                                cpu4_alert: trip-point0 {
                };
                cpu5-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
                        thermal-sensors = <&tsens0 5>;
                        trips {
                                cpu5_alert: trip-point0 {
                };
                cpu6-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
                        thermal-sensors = <&tsens0 6>;
                        trips {
                                cpu6_alert: trip-point0 {
                };
                cpu7-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
                        thermal-sensors = <&tsens0 7>;
                        trips {
                                cpu7_alert: trip-point0 {
 
                gpu-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
                        thermal-sensors = <&tsens0 15>;
 
                        trips {
index 1067e141be6c470bb25feebff435c68e3a145d83..64258505f9babb9c3a8fb193e26552c2394ea76c 100644 (file)
@@ -9,9 +9,6 @@
 / {
        thermal-zones {
                pm8953-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&pm8953_temp>;
 
                        trips {