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

index b4313728f3e7c35561ccbf36b90c5eea9d445edd..8c899d148e461c4737c70f5d53f8568545b8b435 100644 (file)
@@ -11,7 +11,6 @@
        thermal-zones {
                pmi632-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pmi632_temp>;
 
index 5896868d9e6b2f457b75eb689e70fae5fc8dfea8..98782004257db140f54d4e4e10ec981a8fbc6c2e 100644 (file)
 
        thermal-zones {
                mapss-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 0>;
 
                        trips {
                };
 
                cdsp-hvx-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 1>;
 
                        trips {
                };
 
                wlan-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 2>;
 
                        trips {
                };
 
                camera-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 3>;
 
                        trips {
                };
 
                video-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 4>;
 
                        trips {
                };
 
                modem1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 5>;
 
                        trips {
                };
 
                cpu4-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 6>;
 
                        trips {
                };
 
                cpu5-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 7>;
 
                        trips {
                };
 
                cpu6-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 8>;
 
                        trips {
                };
 
                cpu7-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 9>;
 
                        trips {
                };
 
                cpu45-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 10>;
 
                        trips {
                };
 
                cpu67-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 11>;
 
                        trips {
                };
 
                cpu0123-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 12>;
 
                        trips {
                };
 
                modem0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 13>;
 
                        trips {
                };
 
                display-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 14>;
 
                        trips {
                };
 
                gpu-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&tsens0 15>;
 
                        cooling-maps {