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

index 7dc7262f15374dcb5ca89d764afe5c527412e601..0761e6b5fd8d18fc48acd86f9b880e0939ce41d8 100644 (file)
@@ -11,7 +11,6 @@
        thermal-zones {
                pm7250b-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm7250b_temp>;
 
index d1c5476af5eec754d626a79d908779dc0f309b2f..6e29468505b2ac30e725ad7fb0a7eedc7b91f22b 100644 (file)
@@ -35,7 +35,7 @@
 &thermal_zones {
        pm7325_thermal: pm7325-thermal {
                polling-delay-passive = <100>;
-               polling-delay = <0>;
+
                thermal-sensors = <&pm7325_temp_alarm>;
 
                trips {
index 8cd2fe80dbb2cab5b0ffce03cec5a2d87a8a794b..db42ce917fb05cb80d13aaccd83276a88d86bc1d 100644 (file)
        thermal-zones {
                camera-thermal {
                        polling-delay-passive = <0>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 2>;
 
                        trips {
 
                chg-skin-thermal {
                        polling-delay-passive = <0>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pm7250b_adc_tm 0>;
 
                        trips {
 
                conn-thermal {
                        polling-delay-passive = <0>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pm7250b_adc_tm 1>;
 
                        trips {
 
                quiet-thermal {
                        polling-delay-passive = <0>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 1>;
 
                        trips {
 
                rear-cam-thermal {
                        polling-delay-passive = <0>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 4>;
 
                        trips {
 
                sdm-skin-thermal {
                        polling-delay-passive = <0>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 3>;
 
                        trips {
 
                xo-thermal {
                        polling-delay-passive = <0>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8350_adc_tm 0>;
 
                        trips {
index ba43fba2c55101b4dfaf648c624435acee9b7fa6..f8256d5a8f6b01ae025f8dadc8c92db3a8ba1cb9 100644 (file)
        thermal_zones: thermal-zones {
                cpu0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 1>;
 
 
                cpu1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 2>;
 
 
                cpu2-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 3>;
 
 
                cpu3-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 4>;
 
 
                cpu4-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 7>;
 
 
                cpu5-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 8>;
 
 
                cpu6-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 9>;
 
 
                cpu7-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 10>;
 
 
                cpu8-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 11>;
 
 
                cpu9-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 12>;
 
 
                cpu10-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 13>;
 
 
                cpu11-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 14>;
 
 
                aoss0-thermal {
                        polling-delay-passive = <0>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 0>;
 
 
                aoss1-thermal {
                        polling-delay-passive = <0>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 0>;
 
 
                cpuss0-thermal {
                        polling-delay-passive = <0>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 5>;
 
 
                cpuss1-thermal {
                        polling-delay-passive = <0>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 6>;
 
 
                gpuss0-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 1>;
 
 
                gpuss1-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 2>;
 
                };
 
                nspss0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 3>;
 
                        trips {
                };
 
                nspss1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 4>;
 
                        trips {
                };
 
                video-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 5>;
 
                        trips {
                };
 
                ddr-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 6>;
 
                        trips {
                };
 
                mdmss0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 7>;
 
                        trips {
                };
 
                mdmss1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 8>;
 
                        trips {
                };
 
                mdmss2-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 9>;
 
                        trips {
                };
 
                mdmss3-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 10>;
 
                        trips {
                };
 
                camera0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 11>;
 
                        trips {