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

index f40509d91bbda8a73d9624ca78fcb3b03e2bf60c..ddea681b536db0f0fcb76cd8320edce0a50e40ad 100644 (file)
 
        thermal-zones {
                mapss0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 0>;
 
                        trips {
                };
 
                cpu0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 1>;
 
                        trips {
                };
 
                cpu1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 2>;
 
                        trips {
                };
 
                cpu2-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 3>;
 
                        trips {
                };
 
                cpu3-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 4>;
 
                        trips {
                };
 
                cpu4-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 5>;
 
                        trips {
                };
 
                cpu5-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 6>;
 
                        trips {
                };
 
                cluster0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 7>;
 
                        trips {
                };
 
                cluster1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 8>;
 
                        trips {
                };
 
                cpu6-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 9>;
 
                        trips {
                };
 
                cpu7-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 10>;
 
                        trips {
                };
 
                cpu-unk0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 11>;
 
                        trips {
                };
 
                cpu-unk1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 12>;
 
                        trips {
                };
 
                gpuss0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 13>;
 
                        trips {
                };
 
                gpuss1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens0 14>;
 
                        trips {
                };
 
                mapss1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 0>;
 
                        trips {
                };
 
                cwlan-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 1>;
 
                        trips {
                };
 
                audio-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 2>;
 
                        trips {
                };
 
                ddr-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 3>;
 
                        trips {
                };
 
                q6hvx-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 4>;
 
                        trips {
                };
 
                camera-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 5>;
 
                        trips {
                };
 
                mdm-core0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 6>;
 
                        trips {
                };
 
                mdm-core1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 7>;
 
                        trips {
                };
 
                mdm-vec-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 8>;
 
                        trips {
                };
 
                msm-scl-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 9>;
 
                        trips {
                };
 
                video-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens1 10>;
 
                        trips {