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

index 785ba327f08c4b5c083911cf6d5c8a7bff5c7ada..2b20cedfe26cc478f618b27d430d13727284c298 100644 (file)
@@ -3729,7 +3729,6 @@ sound: sound {
        thermal-zones {
                cpu0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 3>;
 
@@ -3750,7 +3749,6 @@ cpu0_crit: cpu-crit {
 
                cpu1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 5>;
 
@@ -3771,7 +3769,6 @@ cpu1_crit: cpu-crit {
 
                cpu2-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 8>;
 
@@ -3792,7 +3789,6 @@ cpu2_crit: cpu-crit {
 
                cpu3-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 10>;
 
@@ -3813,7 +3809,6 @@ cpu3_crit: cpu-crit {
 
                gpu-top-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 6>;
 
@@ -3835,7 +3830,6 @@ map0 {
 
                gpu-bottom-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 7>;
 
@@ -3857,7 +3851,6 @@ map0 {
 
                m4m-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 1>;
 
@@ -3872,7 +3865,6 @@ m4m_alert0: trip-point0 {
 
                l3-or-venus-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 2>;
 
@@ -3887,7 +3879,6 @@ l3_or_venus_alert0: trip-point0 {
 
                cluster0-l2-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 7>;
 
@@ -3902,7 +3893,6 @@ cluster0_l2_alert0: trip-point0 {
 
                cluster1-l2-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 12>;
 
@@ -3917,7 +3907,6 @@ cluster1_l2_alert0: trip-point0 {
 
                camera-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 1>;
 
@@ -3932,7 +3921,6 @@ camera_alert0: trip-point0 {
 
                q6-dsp-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 2>;
 
@@ -3947,7 +3935,6 @@ q6_dsp_alert0: trip-point0 {
 
                mem-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 3>;
 
@@ -3962,7 +3949,6 @@ mem_alert0: trip-point0 {
 
                modemtx-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 4>;
 
index d44a95caf04aec80e79b2bdb8ed314005441176d..353e4a6bd088e20dd10ac1255a095e4c00407a96 100644 (file)
@@ -8,7 +8,6 @@ / {
        thermal-zones {
                pm8994-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&pm8994_temp>;