]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: qcom: sa8775p-*: Remove thermal zone polling delays
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 10 May 2024 11:59:38 +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-15-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi
arch/arm64/boot/dts/qcom/sa8775p.dtsi

index eaa43f022a65493e86d46970bdddab95c30285b3..1369c3d43f866de9d8cd5cd4985241b99c0a0454 100644 (file)
@@ -10,7 +10,7 @@
        thermal-zones {
                pmm8654au_0_thermal: pm8775-0-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmm8654au_0_temp_alarm>;
 
                        trips {
@@ -30,7 +30,7 @@
 
                pmm8654au_1_thermal: pm8775-1-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmm8654au_1_temp_alarm>;
 
                        trips {
@@ -50,7 +50,7 @@
 
                pmm8654au_2_thermal: pm8775-2-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmm8654au_2_temp_alarm>;
 
                        trips {
@@ -70,7 +70,7 @@
 
                pmm8654au_3_thermal: pm8775-3-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmm8654au_3_temp_alarm>;
 
                        trips {
index efd588fa2abb44e3fb786a6555743ac104733d16..3808fafd6bec56e9825f5c7aaa3af4fa280ee8b8 100644 (file)
 
        thermal-zones {
                aoss-0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 0>;
 
                        trips {
 
                cpu-0-0-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 1>;
 
 
                cpu-0-1-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 2>;
 
 
                cpu-0-2-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 3>;
 
 
                cpu-0-3-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 4>;
 
 
                gpuss-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 5>;
 
 
                gpuss-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 6>;
 
 
                gpuss-2-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 7>;
 
                };
 
                audio-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 8>;
 
                        trips {
                };
 
                camss-0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 9>;
 
                        trips {
                };
 
                pcie-0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 10>;
 
                        trips {
                };
 
                cpuss-0-0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 11>;
 
                        trips {
                };
 
                aoss-1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 0>;
 
                        trips {
 
                cpu-0-0-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 1>;
 
 
                cpu-0-1-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 2>;
 
 
                cpu-0-2-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 3>;
 
 
                cpu-0-3-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 4>;
 
 
                gpuss-3-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 5>;
 
 
                gpuss-4-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 6>;
 
 
                gpuss-5-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 7>;
 
                };
 
                video-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 8>;
 
                        trips {
                };
 
                camss-1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 9>;
 
                        trips {
                };
 
                pcie-1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 10>;
 
                        trips {
                };
 
                cpuss-0-1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 11>;
 
                        trips {
                };
 
                aoss-2-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens2 0>;
 
                        trips {
 
                cpu-1-0-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens2 1>;
 
 
                cpu-1-1-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens2 2>;
 
 
                cpu-1-2-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens2 3>;
 
 
                cpu-1-3-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens2 4>;
 
 
                nsp-0-0-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens2 5>;
 
 
                nsp-0-1-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens2 6>;
 
 
                nsp-0-2-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens2 7>;
 
 
                nsp-1-0-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens2 8>;
 
 
                nsp-1-1-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens2 9>;
 
 
                nsp-1-2-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens2 10>;
 
                };
 
                ddrss-0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens2 11>;
 
                        trips {
                };
 
                cpuss-1-0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens2 12>;
 
                        trips {
                };
 
                aoss-3-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens3 0>;
 
                        trips {
 
                cpu-1-0-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens3 1>;
 
 
                cpu-1-1-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens3 2>;
 
 
                cpu-1-2-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens3 3>;
 
 
                cpu-1-3-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens3 4>;
 
 
                nsp-0-0-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens3 5>;
 
 
                nsp-0-1-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens3 6>;
 
 
                nsp-0-2-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens3 7>;
 
 
                nsp-1-0-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens3 8>;
 
 
                nsp-1-1-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens3 9>;
 
 
                nsp-1-2-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens3 10>;
 
                };
 
                ddrss-1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens3 11>;
 
                        trips {
                };
 
                cpuss-1-1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens3 12>;
 
                        trips {