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

index 9ed9ba23e81e46d9764fdbfd500ace9a6bb330a9..cb55b23688d67f78976e91b8a9f7e9a19243d167 100644 (file)
@@ -10,7 +10,7 @@
        thermal-zones {
                pm8350_thermal: pm8350-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pm8350_temp_alarm>;
 
                        trips {
index 05c1058988927815bba8e312a37930856a031a1d..cf82f8a64a9b96087389f9f903de2511871492f1 100644 (file)
@@ -10,7 +10,7 @@
        thermal-zones {
                pm8350b_thermal: pm8350b-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pm8350b_temp_alarm>;
 
                        trips {
index aa74e21fe0dcd5d94443de1791686a67986a6825..1a24e6439e36da2f2e9cd5280e06cb7d4059f2f5 100644 (file)
@@ -48,7 +48,7 @@
        thermal-zones {
                pm8350c_thermal: pm8350c-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pm8350c_temp_alarm>;
 
                        trips {
index febda50779f98d42193d3115712f73a5bd5f385a..f8efd8e5e68f206a70c515f86b61f4c0db27e59a 100644 (file)
@@ -36,7 +36,7 @@
        thermal-zones {
                pmr735a_thermal: pmr735a-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmr735a_temp_alarm>;
 
                        trips {
index f7473e24732245a9126ec5fc19b26c9afa3a582d..09affc05b397c9096bf06eb1a293fce1f8f6a757 100644 (file)
@@ -10,7 +10,7 @@
        thermal-zones {
                pmr735b_thermal: pmr735b-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmr735b_temp_alarm>;
 
                        trips {
index e01b4d4c07f1f2f61e7157c4296ef48d9dd2f7e3..a3f7065ba02d51f6321fb0a3a4dc92495dcdcc8a 100644 (file)
        thermal_zones: thermal-zones {
                cpu0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 1>;
 
 
                cpu1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 2>;
 
 
                cpu2-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 3>;
 
 
                cpu3-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 4>;
 
 
                cpu4-top-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 7>;
 
 
                cpu5-top-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 8>;
 
 
                cpu6-top-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 9>;
 
 
                cpu7-top-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 10>;
 
 
                cpu4-bottom-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 11>;
 
 
                cpu5-bottom-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 12>;
 
 
                cpu6-bottom-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 13>;
 
 
                cpu7-bottom-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 14>;
 
 
                aoss0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 0>;
 
 
                cluster0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 5>;
 
 
                cluster1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 6>;
 
 
                aoss1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 0>;
 
 
                gpu-top-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 1>;
 
 
                gpu-bottom-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 2>;
 
 
                nspss1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 3>;
 
 
                nspss2-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 4>;
 
 
                nspss3-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 5>;
 
 
                video-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 6>;
 
 
                mem-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 7>;
 
 
                modem1-top-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 8>;
 
 
                modem2-top-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 9>;
 
 
                modem3-top-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 10>;
 
 
                modem4-top-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 11>;
 
 
                camera-top-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 12>;
 
 
                cam-bottom-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 13>;