]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: qcom: sc7180-*: Remove thermal zone polling delays
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 10 May 2024 11:59:39 +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-16-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/pm6150.dtsi
arch/arm64/boot/dts/qcom/pm6150l.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler.dtsi
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
arch/arm64/boot/dts/qcom/sc7180.dtsi

index 6de6ed562d97ce4174c54b2da8dfef7f96a00db1..b4f4d700800dc80f3ef4ca726fd32d8ef1417d30 100644 (file)
@@ -13,7 +13,7 @@
        thermal-zones {
                pm6150_thermal: pm6150-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pm6150_temp>;
 
                        trips {
index 0fce45276e5c23eca77de90c49e7a07e2a7ec620..334f976f115431368f4f508ad699cd527cf2bc25 100644 (file)
@@ -10,9 +10,6 @@
 / {
        thermal-zones {
                pm6150l-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&pm6150l_temp>;
 
                        trips {
index 6e6a4643c4dd6efdfc7e1a4447f86179aadbbf21..3c124bbe2f4c94989157aaa7de2a0dc78356f3e3 100644 (file)
@@ -26,7 +26,6 @@
        thermal-zones {
                skin_temp_thermal: skin-temp-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm6150_adc_tm 1>;
                        sustainable-power = <965>;
index 8846a7c4e636c551918b5b07ef04ee4ffe241c2f..b2df22faafe8890da1fc9f234e3c17474a453f28 100644 (file)
@@ -44,7 +44,6 @@
        thermal-zones {
                skin_temp_thermal: skin-temp-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm6150_adc_tm 1>;
                        sustainable-power = <965>;
index 8214a61276fe5f5d697ecaee285ac356c42a3fc1..ac8d4589e3fb74b9d9105a8ca2b0cce72de22d86 100644 (file)
@@ -13,9 +13,6 @@
 / {
        thermal-zones {
                5v-choke-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <250>;
-
                        thermal-sensors = <&pm6150_adc_tm 1>;
 
                        trips {
index 1d9fc61b65506c596ce447867a095504f687fb2c..af89d80426abbdcc702301ca84481202d0f2c60b 100644 (file)
@@ -51,7 +51,6 @@
        thermal-zones {
                skin_temp_thermal: skin-temp-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm6150_adc_tm 1>;
                        sustainable-power = <574>;
index 8513be29712013fdbaa9cb125350af992b8773a4..4d33c3fbedff79ada1aad94b42a7c513a9bba5c8 100644 (file)
@@ -21,9 +21,6 @@
 / {
        thermal-zones {
                charger_thermal: charger-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&pm6150_adc_tm 0>;
 
                        trips {
index 9ab0c98cac05470071863e84bca62cf09e791c22..b5ebf89803251203a8d38f6a4690aa052a9e8e61 100644 (file)
        thermal-zones {
                cpu0_thermal: cpu0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 1>;
                        sustainable-power = <1052>;
 
                cpu1_thermal: cpu1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 2>;
                        sustainable-power = <1052>;
 
                cpu2_thermal: cpu2-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 3>;
                        sustainable-power = <1052>;
 
                cpu3_thermal: cpu3-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 4>;
                        sustainable-power = <1052>;
 
                cpu4_thermal: cpu4-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 5>;
                        sustainable-power = <1052>;
 
                cpu5_thermal: cpu5-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 6>;
                        sustainable-power = <1052>;
 
                cpu6_thermal: cpu6-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 9>;
                        sustainable-power = <1425>;
 
                cpu7_thermal: cpu7-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 10>;
                        sustainable-power = <1425>;
 
                cpu8_thermal: cpu8-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 11>;
                        sustainable-power = <1425>;
 
                cpu9_thermal: cpu9-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 12>;
                        sustainable-power = <1425>;
 
                aoss0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 0>;
 
 
                cpuss0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 7>;
 
 
                cpuss1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 8>;
 
 
                gpuss0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 13>;
 
 
                gpuss1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens0 14>;
 
 
                aoss1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 0>;
 
 
                cwlan-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 1>;
 
 
                audio-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 2>;
 
 
                ddr-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 3>;
 
 
                q6-hvx-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 4>;
 
 
                camera-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 5>;
 
 
                mdm-core-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 6>;
 
 
                mdm-dsp-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 7>;
 
 
                npu-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 8>;
 
 
                video-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&tsens1 9>;