]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: qcom: sm6125-*: Remove thermal zone polling delays
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 10 May 2024 11:59:46 +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-23-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/pm6125.dtsi
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts
arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts

index 99369a0cdb6163ce827258f2ef2deeb2c888daff..d0db28336fa9bb976abd831ed92adece4317149f 100644 (file)
@@ -10,7 +10,6 @@
        thermal-zones {
                pm6125-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
 
                        thermal-sensors = <&pm6125_temp>;
 
index 08046f866f60f0bff88d2e7044f80d76a7068555..dcd05f303b785f281423760121b537fb4a5c6353 100644 (file)
@@ -90,8 +90,6 @@
 
        thermal-zones {
                rf-pa0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&pm6125_adc_tm 0>;
 
                        trips {
                };
 
                quiet-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <5000>;
                        thermal-sensors = <&pm6125_adc_tm 1>;
 
                        trips {
                };
 
                xo-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&pm6125_adc_tm 2>;
 
                        trips {
                };
 
                rf-pa1-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&pm6125_adc_tm 3>;
 
                        trips {
index a49d3ebb19315a0959a74742046507ba23e93266..994fb0412fcbdf5466f87a325c48b697a37b514b 100644 (file)
@@ -84,8 +84,6 @@
 
        thermal-zones {
                rf-pa0-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&pm6125_adc_tm 0>;
 
                        trips {
@@ -98,8 +96,6 @@
                };
 
                quiet-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <5000>;
                        thermal-sensors = <&pm6125_adc_tm 1>;
 
                        trips {
                };
 
                xo-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
                        thermal-sensors = <&pm6125_adc_tm 2>;
 
                        trips {