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

index ae5bce3cf46e682a0d16005adc2e4785fa6d54ed..decb8809fd36936a5d8f25c909b7b1e635ad26c7 100644 (file)
@@ -10,7 +10,6 @@
        thermal-zones {
                pm8450-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm8450_temp_alarm>;
 
index 71dc06db7736560c77e631efe4ca1f0b9344dba5..a754b8fe916756ac297258bb2c4c64b9a5e525ef 100644 (file)
        thermal-zones {
                camera-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 2>;
 
                        trips {
 
                rear-tof-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 5>;
 
                        trips {
 
                skin-msm-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 1>;
 
                        trips {
 
                therm1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 3>;
 
                        trips {
 
                therm2-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 6>;
 
                        trips {
 
                usb-conn-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 7>;
 
                        trips {
 
                wide-rfc-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 4>;
 
                        trips {
                };
 
                xo-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&pmk8350_adc_tm 0>;
 
                        trips {
index 216f4f703643391558f40edd8355b343424aae4b..04340a79404114275df7e821d25e3e4a1edf10c8 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 {
                };
 
                cpuss3-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 3>;
 
                        trips {
                };
 
                cpuss4-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 4>;
 
                        trips {
                };
 
                cpu4-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 5>;
 
                        trips {
                };
 
                cpu4-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 6>;
 
                        trips {
                };
 
                cpu5-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 7>;
 
                        trips {
                };
 
                cpu5-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 8>;
 
                        trips {
                };
 
                cpu6-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 9>;
 
                        trips {
                };
 
                cpu6-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 10>;
 
                        trips {
                };
 
                cpu7-top-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 11>;
 
                        trips {
                };
 
                cpu7-middle-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 12>;
 
                        trips {
                };
 
                cpu7-bottom-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 13>;
 
                        trips {
 
                gpu-top-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens0 14>;
 
                        cooling-maps {
 
                gpu-bottom-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens0 15>;
 
                        cooling-maps {
                };
 
                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 {
                };
 
                cpu3-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens1 4>;
 
                        trips {
 
                cdsp0-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens1 5>;
 
                        trips {
 
                cdsp1-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens1 6>;
 
                        trips {
 
                cdsp2-thermal {
                        polling-delay-passive = <10>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&tsens1 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 {