arm64: dts: qcom: sm8450-*: Remove thermal zone polling delays

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-29-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Konrad Dybcio 2024-05-10 13:59:52 +02:00 committed by Bjorn Andersson
parent 07fab48327
commit d0730a729f
3 changed files with 13 additions and 68 deletions

View File

@ -10,7 +10,6 @@
thermal-zones {
pm8450-thermal {
polling-delay-passive = <100>;
polling-delay = <0>;
thermal-sensors = <&pm8450_temp_alarm>;

View File

@ -138,7 +138,7 @@
thermal-zones {
camera-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 2>;
trips {
@ -152,7 +152,7 @@
rear-tof-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 5>;
trips {
@ -166,7 +166,7 @@
skin-msm-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 1>;
trips {
@ -180,7 +180,7 @@
therm1-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 3>;
trips {
@ -194,7 +194,7 @@
therm2-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 6>;
trips {
@ -208,7 +208,7 @@
usb-conn-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 7>;
trips {
@ -222,7 +222,7 @@
wide-rfc-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 4>;
trips {
@ -235,8 +235,6 @@
};
xo-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 0>;
trips {

View File

@ -4713,8 +4713,6 @@
thermal-zones {
aoss0-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 0>;
trips {
@ -4733,8 +4731,6 @@
};
cpuss0-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 1>;
trips {
@ -4753,8 +4749,6 @@
};
cpuss1-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 2>;
trips {
@ -4773,8 +4767,6 @@
};
cpuss3-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 3>;
trips {
@ -4793,8 +4785,6 @@
};
cpuss4-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 4>;
trips {
@ -4813,8 +4803,6 @@
};
cpu4-top-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 5>;
trips {
@ -4839,8 +4827,6 @@
};
cpu4-bottom-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 6>;
trips {
@ -4865,8 +4851,6 @@
};
cpu5-top-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 7>;
trips {
@ -4891,8 +4875,6 @@
};
cpu5-bottom-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 8>;
trips {
@ -4917,8 +4899,6 @@
};
cpu6-top-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 9>;
trips {
@ -4943,8 +4923,6 @@
};
cpu6-bottom-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 10>;
trips {
@ -4969,8 +4947,6 @@
};
cpu7-top-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 11>;
trips {
@ -4995,8 +4971,6 @@
};
cpu7-middle-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 12>;
trips {
@ -5021,8 +4995,6 @@
};
cpu7-bottom-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 13>;
trips {
@ -5048,7 +5020,7 @@
gpu-top-thermal {
polling-delay-passive = <10>;
polling-delay = <0>;
thermal-sensors = <&tsens0 14>;
cooling-maps {
@ -5087,7 +5059,7 @@
gpu-bottom-thermal {
polling-delay-passive = <10>;
polling-delay = <0>;
thermal-sensors = <&tsens0 15>;
cooling-maps {
@ -5125,8 +5097,6 @@
};
aoss1-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 0>;
trips {
@ -5145,8 +5115,6 @@
};
cpu0-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 1>;
trips {
@ -5171,8 +5139,6 @@
};
cpu1-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 2>;
trips {
@ -5197,8 +5163,6 @@
};
cpu2-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 3>;
trips {
@ -5223,8 +5187,6 @@
};
cpu3-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 4>;
trips {
@ -5250,7 +5212,7 @@
cdsp0-thermal {
polling-delay-passive = <10>;
polling-delay = <0>;
thermal-sensors = <&tsens1 5>;
trips {
@ -5282,7 +5244,7 @@
cdsp1-thermal {
polling-delay-passive = <10>;
polling-delay = <0>;
thermal-sensors = <&tsens1 6>;
trips {
@ -5314,7 +5276,7 @@
cdsp2-thermal {
polling-delay-passive = <10>;
polling-delay = <0>;
thermal-sensors = <&tsens1 7>;
trips {
@ -5345,8 +5307,6 @@
};
video-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 8>;
trips {
@ -5366,7 +5326,7 @@
mem-thermal {
polling-delay-passive = <10>;
polling-delay = <0>;
thermal-sensors = <&tsens1 9>;
trips {
@ -5391,8 +5351,6 @@
};
modem0-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 10>;
trips {
@ -5423,8 +5381,6 @@
};
modem1-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 11>;
trips {
@ -5455,8 +5411,6 @@
};
modem2-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 12>;
trips {
@ -5487,8 +5441,6 @@
};
modem3-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 13>;
trips {
@ -5519,8 +5471,6 @@
};
camera0-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 14>;
trips {
@ -5539,8 +5489,6 @@
};
camera1-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 15>;
trips {