arm64: dts: qcom: sm8550-*: Remove thermal zone polling delays
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 10 May 2024 11:59:53 +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-30-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/pm8010.dtsi
arch/arm64/boot/dts/qcom/pm8550.dtsi
arch/arm64/boot/dts/qcom/pm8550b.dtsi
arch/arm64/boot/dts/qcom/pm8550ve.dtsi
arch/arm64/boot/dts/qcom/pm8550vs.dtsi
arch/arm64/boot/dts/qcom/pmr735d_a.dtsi
arch/arm64/boot/dts/qcom/pmr735d_b.dtsi
arch/arm64/boot/dts/qcom/sm8550.dtsi

index 0ea641e122099f5b1910caf1b611c29588373bae..ef330194946b6aad82eb017a6f51722679dd62ed 100644 (file)
@@ -10,7 +10,6 @@
        thermal-zones {
                pm8010-m-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm8010_m_temp_alarm>;
 
@@ -31,7 +30,6 @@
 
                pm8010-n-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm8010_n_temp_alarm>;
 
index 797a18c249a4a4b533c40e6b43736d4a7ded5bda..896bcacb6490257bf7b67715475c07dcce94c3c2 100644 (file)
@@ -10,7 +10,6 @@
        thermal-zones {
                pm8550-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm8550_temp_alarm>;
 
index 72609f31c890968fd865075777fcb2a6dbebcc3d..74d23b8970f4c107b6ef290619e81b10c7ff0579 100644 (file)
@@ -10,7 +10,6 @@
        thermal-zones {
                pm8550b-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm8550b_temp_alarm>;
 
index 4dc1f03ab2c7461e626bf9c44bb80490ca09b5ba..9d4734eabf5ae49245b6c8476a60a31ab642f10e 100644 (file)
@@ -10,7 +10,6 @@
        thermal-zones {
                pm8550ve-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm8550ve_temp_alarm>;
 
index 97b1c18aa7d89b698db8262da380512e427e07f2..6426b431616bde2d960780be2bed4c623af246c2 100644 (file)
@@ -10,7 +10,6 @@
        thermal-zones {
                pm8550vs-c-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm8550vs_c_temp_alarm>;
 
@@ -31,7 +30,6 @@
 
                pm8550vs-d-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm8550vs_d_temp_alarm>;
 
@@ -52,7 +50,6 @@
 
                pm8550vs-e-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm8550vs_e_temp_alarm>;
 
@@ -73,7 +70,6 @@
 
                pm8550vs-g-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm8550vs_g_temp_alarm>;
 
index 37daaefe3431192f6e0163f4e71ca183f509690e..f9f1793d310e3ec34f07df4c7cff313cfcbf55b4 100644 (file)
@@ -10,7 +10,6 @@
        thermal-zones {
                pmr735d-k-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pmr735d_k_temp_alarm>;
 
index 3b470f6ac46fd5ace5a94da25571d2b2e75db89a..d91fbd3bff10403a655e160db18cb7ff7a8b9018 100644 (file)
@@ -10,7 +10,6 @@
        thermal-zones {
                pmr735d-l-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pmr735d_l_temp_alarm>;
 
index c55a818af935a32e81308307620121575080c275..58b2c550b3ecec67f26ca4be6d55db8a7fcab03f 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 {
                };
 
                cpu3-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 5>;
 
                        trips {
                };
 
                cpu3-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 6>;
 
                        trips {
                };
 
                cpu4-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 7>;
 
                        trips {
                };
 
                cpu4-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 8>;
 
                        trips {
                };
 
                cpu5-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 9>;
 
                        trips {
                };
 
                cpu5-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 10>;
 
                        trips {
                };
 
                cpu6-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 11>;
 
                        trips {
                };
 
                cpu6-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 12>;
 
                        trips {
                };
 
                cpu7-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 13>;
 
                        trips {
                };
 
                cpu7-middle-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 14>;
 
                        trips {
                };
 
                cpu7-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 15>;
 
                        trips {
                };
 
                aoss1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 0>;
 
                        trips {
                };
 
                cpu0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 1>;
 
                        trips {
                };
 
                cpu1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 2>;
 
                        trips {
                };
 
                cpu2-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 3>;
 
                        trips {
 
                cdsp0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 4>;
 
                        trips {
 
                cdsp1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 5>;
 
                        trips {
 
                cdsp2-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 6>;
 
                        trips {
 
                cdsp3-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 7>;
 
                        trips {
                };
 
                video-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 8>;
 
                        trips {
 
                mem-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens1 9>;
 
                        trips {
                };
 
                modem0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 10>;
 
                        trips {
                };
 
                modem1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 11>;
 
                        trips {
                };
 
                modem2-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 12>;
 
                        trips {
                };
 
                modem3-thermal {
-                       polling-delay-passive = <0>;
-                       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 {
 
                gpuss-0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 1>;
 
                        cooling-maps {
 
                gpuss-1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 2>;
 
                        cooling-maps {
 
                gpuss-2-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 3>;
 
                        cooling-maps {
 
                gpuss-3-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 4>;
 
                        cooling-maps {
 
                gpuss-4-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 5>;
 
                        cooling-maps {
 
                gpuss-5-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 6>;
 
                        cooling-maps {
 
                gpuss-6-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 7>;
 
                        cooling-maps {
 
                gpuss-7-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens2 8>;
 
                        cooling-maps {