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

index 9b0f6d1f08be939ed273c6dfeda39ec1f5797793..e299d42c5d98a018935d325a0cfbb3de15a37c83 100644 (file)
@@ -1659,7 +1659,6 @@ pil-reloc@94c {
        thermal-zones {
                aoss0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens 0>;
 
@@ -1674,7 +1673,6 @@ aoss0_alert0: trip-point0 {
 
                modem-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens 1>;
                        trips {
@@ -1688,7 +1686,6 @@ modem_alert0: trip-point0 {
 
                qdsp-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens 2>;
                        trips {
@@ -1702,7 +1699,6 @@ qdsp_alert0: trip-point0 {
 
                cam-isp-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens 3>;
                        trips {
@@ -1716,7 +1712,7 @@ cam_isp_alert0: trip-point0 {
 
                cpu4-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
+
                        thermal-sensors = <&tsens 4>;
 
                        trips {
@@ -1740,7 +1736,7 @@ cpu4_crit: cpu-crit {
 
                cpu5-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
+
                        thermal-sensors = <&tsens 5>;
 
                        trips {
@@ -1764,7 +1760,7 @@ cpu5_crit: cpu-crit {
 
                cpu6-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
+
                        thermal-sensors = <&tsens 6>;
 
                        trips {
@@ -1788,7 +1784,7 @@ cpu6_crit: cpu-crit {
 
                cpu7-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
+
                        thermal-sensors = <&tsens 7>;
 
                        trips {
@@ -1812,7 +1808,7 @@ cpu7_crit: cpu-crit {
 
                big-l2-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
+
                        thermal-sensors = <&tsens 8>;
 
                        trips {
@@ -1836,7 +1832,7 @@ l2_crit: l2-crit {
 
                cpu0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
+
                        thermal-sensors = <&tsens 9>;
 
                        trips {
@@ -1860,7 +1856,7 @@ cpu0_crit: cpu-crit {
 
                gpu-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
+
                        thermal-sensors = <&tsens 10>;
 
                        trips {