arm64: dts: qcom: sm8650-*: Remove thermal zone polling delays
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 10 May 2024 11:59:54 +0000 (13:59 +0200)
committerBjorn Andersson <andersson@kernel.org>
Fri, 7 Jun 2024 23:03:44 +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-31-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8650.dtsi

index bb0b3c48ee4bd466fce775c3593d0fe129d4805f..9841d5cba4e0b96ed180c054bf94b69da2bd5540 100644 (file)
 
        thermal-zones {
                aoss0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 0>;
 
                        trips {
                };
 
                cpuss0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 1>;
 
                        trips {
                };
 
                cpuss1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 2>;
 
                        trips {
                };
 
                cpuss2-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 3>;
 
                        trips {
                };
 
                cpuss3-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 4>;
 
                        trips {
                };
 
                cpu2-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 5>;
 
                        trips {
                };
 
                cpu2-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 6>;
 
                        trips {
                };
 
                cpu3-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 7>;
 
                        trips {
                };
 
                cpu3-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 8>;
 
                        trips {
                };
 
                cpu4-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 9>;
 
                        trips {
                };
 
                cpu4-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 10>;
 
                        trips {
                };
 
                cpu5-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 11>;
 
                        trips {
                };
 
                cpu5-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 12>;
 
                        trips {
                };
 
                cpu6-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 13>;
 
                        trips {
                };
 
                cpu6-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 14>;
 
                        trips {
                };
 
                aoss1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 0>;
 
                        trips {
                };
 
                cpu7-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 1>;
 
                        trips {
                };
 
                cpu7-middle-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 2>;
 
                        trips {
                };
 
                cpu7-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 3>;
 
                        trips {
                };
 
                cpu0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 4>;
 
                        trips {
                };
 
                cpu1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 5>;
 
                        trips {
 
                nsphvx0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 6>;
 
                        trips {
 
                nsphvx1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 7>;
 
                        trips {
 
                nsphmx0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 8>;
 
                        trips {
 
                nsphmx1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 9>;
 
                        trips {
 
                nsphmx2-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 10>;
 
                        trips {
 
                nsphmx3-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 11>;
 
                        trips {
 
                video-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens1 12>;
 
                        trips {
 
                ddr-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens1 13>;
 
                        trips {
                };
 
                camera0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 14>;
 
                        trips {
                };
 
                camera1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 15>;
 
                        trips {
                };
 
                aoss2-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens2 0>;
 
                        trips {
 
                gpuss0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 1>;
 
                        trips {
 
                gpuss1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 2>;
 
                        trips {
 
                gpuss2-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 3>;
 
                        trips {
 
                gpuss3-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 4>;
 
                        trips {
 
                gpuss4-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 5>;
 
                        trips {
 
                gpuss5-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 6>;
 
                        trips {
 
                gpuss6-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 7>;
 
                        trips {
 
                gpuss7-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 8>;
 
                        trips {
                };
 
                modem0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens2 9>;
 
                        trips {
                };
 
                modem1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens2 10>;
 
                        trips {
                };
 
                modem2-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens2 11>;
 
                        trips {
                };
 
                modem3-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens2 12>;
 
                        trips {