arm64: dts: qcom: sc7280-*: 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-17-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Konrad Dybcio 2024-05-10 13:59:40 +02:00 committed by Bjorn Andersson
parent 7cd2d9080a
commit 7747a49db7
4 changed files with 8 additions and 54 deletions

View File

@ -11,7 +11,6 @@ / {
thermal-zones {
pm7250b-thermal {
polling-delay-passive = <100>;
polling-delay = <0>;
thermal-sensors = <&pm7250b_temp>;

View File

@ -35,7 +35,7 @@ pm7325_gpios: gpio@8800 {
&thermal_zones {
pm7325_thermal: pm7325-thermal {
polling-delay-passive = <100>;
polling-delay = <0>;
thermal-sensors = <&pm7325_temp_alarm>;
trips {

View File

@ -167,7 +167,7 @@ afvdd_2p8: regulator-afvdd-2p8 {
thermal-zones {
camera-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 2>;
trips {
@ -181,7 +181,7 @@ active-config0 {
chg-skin-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm7250b_adc_tm 0>;
trips {
@ -195,7 +195,7 @@ active-config0 {
conn-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm7250b_adc_tm 1>;
trips {
@ -209,7 +209,7 @@ active-config0 {
quiet-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 1>;
trips {
@ -223,7 +223,7 @@ active-config0 {
rear-cam-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 4>;
trips {
@ -237,7 +237,7 @@ active-config0 {
sdm-skin-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 3>;
trips {
@ -251,7 +251,7 @@ active-config0 {
xo-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 0>;
trips {

View File

@ -6147,7 +6147,6 @@ sound: sound {
thermal_zones: thermal-zones {
cpu0-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 1>;
@ -6191,7 +6190,6 @@ map1 {
cpu1-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 2>;
@ -6235,7 +6233,6 @@ map1 {
cpu2-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 3>;
@ -6279,7 +6276,6 @@ map1 {
cpu3-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 4>;
@ -6323,7 +6319,6 @@ map1 {
cpu4-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 7>;
@ -6367,7 +6362,6 @@ map1 {
cpu5-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 8>;
@ -6411,7 +6405,6 @@ map1 {
cpu6-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 9>;
@ -6455,7 +6448,6 @@ map1 {
cpu7-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 10>;
@ -6499,7 +6491,6 @@ map1 {
cpu8-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 11>;
@ -6543,7 +6534,6 @@ map1 {
cpu9-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 12>;
@ -6587,7 +6577,6 @@ map1 {
cpu10-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 13>;
@ -6631,7 +6620,6 @@ map1 {
cpu11-thermal {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsens0 14>;
@ -6675,7 +6663,6 @@ map1 {
aoss0-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 0>;
@ -6696,7 +6683,6 @@ aoss0_crit: aoss0-crit {
aoss1-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 0>;
@ -6717,7 +6703,6 @@ aoss1_crit: aoss1-crit {
cpuss0-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 5>;
@ -6737,7 +6722,6 @@ cpuss0_crit: cluster0-crit {
cpuss1-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens0 6>;
@ -6757,7 +6741,6 @@ cpuss1_crit: cluster0-crit {
gpuss0-thermal {
polling-delay-passive = <100>;
polling-delay = <0>;
thermal-sensors = <&tsens1 1>;
@ -6785,7 +6768,6 @@ map0 {
gpuss1-thermal {
polling-delay-passive = <100>;
polling-delay = <0>;
thermal-sensors = <&tsens1 2>;
@ -6812,9 +6794,6 @@ map0 {
};
nspss0-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 3>;
trips {
@ -6833,9 +6812,6 @@ nspss0_crit: nspss0-crit {
};
nspss1-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 4>;
trips {
@ -6854,9 +6830,6 @@ nspss1_crit: nspss1-crit {
};
video-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 5>;
trips {
@ -6875,9 +6848,6 @@ video_crit: video-crit {
};
ddr-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 6>;
trips {
@ -6896,9 +6866,6 @@ ddr_crit: ddr-crit {
};
mdmss0-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 7>;
trips {
@ -6917,9 +6884,6 @@ mdmss0_crit: mdmss0-crit {
};
mdmss1-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 8>;
trips {
@ -6938,9 +6902,6 @@ mdmss1_crit: mdmss1-crit {
};
mdmss2-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 9>;
trips {
@ -6959,9 +6920,6 @@ mdmss2_crit: mdmss2-crit {
};
mdmss3-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 10>;
trips {
@ -6980,9 +6938,6 @@ mdmss3_crit: mdmss3-crit {
};
camera0-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 11>;
trips {