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

index cd914fffcf0686d9b70c36dbbb769d628edc3241..19efa49240ec87d01c9b3b490e55b2f0104fcc85 100644 (file)
        thermal-zones {
                skin-temp-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pmk8280_adc_tm 5>;
 
                        trips {
index 945de77911de1ce558c500a94de8f80b7ee05d20..1e3babf2e40d80dbe196f521b2de519354b0495f 100644 (file)
@@ -14,7 +14,7 @@
        thermal-zones {
                pm8280_1_thermal: pm8280-1-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pm8280_1_temp_alarm>;
 
                        trips {
@@ -34,7 +34,7 @@
 
                pm8280_2_thermal: pm8280-2-thermal {
                        polling-delay-passive = <100>;
-                       polling-delay = <0>;
+
                        thermal-sensors = <&pm8280_2_temp_alarm>;
 
                        trips {
index bdfe87b2539f48e3426b17103554c3003d5fb3bd..82c601ef33693de7d1501d3453878e217afb002f 100644 (file)
        thermal-zones {
                cpu0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 1>;
 
 
                cpu1-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 2>;
 
 
                cpu2-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 3>;
 
 
                cpu3-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 4>;
 
 
                cpu4-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 5>;
 
 
                cpu5-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 6>;
 
 
                cpu6-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 7>;
 
 
                cpu7-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 8>;
 
 
                cluster0-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens0 9>;
 
                };
 
                gpu-thermal {
-                       polling-delay-passive = <0>;
-                       polling-delay = <0>;
-
                        thermal-sensors = <&tsens2 2>;
 
                        trips {
 
                mem-thermal {
                        polling-delay-passive = <250>;
-                       polling-delay = <1000>;
 
                        thermal-sensors = <&tsens1 15>;