mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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:
committed by
Bjorn Andersson
parent
7cd2d9080a
commit
7747a49db7
@@ -11,7 +11,6 @@
|
|||||||
thermal-zones {
|
thermal-zones {
|
||||||
pm7250b-thermal {
|
pm7250b-thermal {
|
||||||
polling-delay-passive = <100>;
|
polling-delay-passive = <100>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&pm7250b_temp>;
|
thermal-sensors = <&pm7250b_temp>;
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
&thermal_zones {
|
&thermal_zones {
|
||||||
pm7325_thermal: pm7325-thermal {
|
pm7325_thermal: pm7325-thermal {
|
||||||
polling-delay-passive = <100>;
|
polling-delay-passive = <100>;
|
||||||
polling-delay = <0>;
|
|
||||||
thermal-sensors = <&pm7325_temp_alarm>;
|
thermal-sensors = <&pm7325_temp_alarm>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
|
|||||||
@@ -167,7 +167,7 @@
|
|||||||
thermal-zones {
|
thermal-zones {
|
||||||
camera-thermal {
|
camera-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
polling-delay = <0>;
|
|
||||||
thermal-sensors = <&pmk8350_adc_tm 2>;
|
thermal-sensors = <&pmk8350_adc_tm 2>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -181,7 +181,7 @@
|
|||||||
|
|
||||||
chg-skin-thermal {
|
chg-skin-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
polling-delay = <0>;
|
|
||||||
thermal-sensors = <&pm7250b_adc_tm 0>;
|
thermal-sensors = <&pm7250b_adc_tm 0>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -195,7 +195,7 @@
|
|||||||
|
|
||||||
conn-thermal {
|
conn-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
polling-delay = <0>;
|
|
||||||
thermal-sensors = <&pm7250b_adc_tm 1>;
|
thermal-sensors = <&pm7250b_adc_tm 1>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -209,7 +209,7 @@
|
|||||||
|
|
||||||
quiet-thermal {
|
quiet-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
polling-delay = <0>;
|
|
||||||
thermal-sensors = <&pmk8350_adc_tm 1>;
|
thermal-sensors = <&pmk8350_adc_tm 1>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -223,7 +223,7 @@
|
|||||||
|
|
||||||
rear-cam-thermal {
|
rear-cam-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
polling-delay = <0>;
|
|
||||||
thermal-sensors = <&pmk8350_adc_tm 4>;
|
thermal-sensors = <&pmk8350_adc_tm 4>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -237,7 +237,7 @@
|
|||||||
|
|
||||||
sdm-skin-thermal {
|
sdm-skin-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
polling-delay = <0>;
|
|
||||||
thermal-sensors = <&pmk8350_adc_tm 3>;
|
thermal-sensors = <&pmk8350_adc_tm 3>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -251,7 +251,7 @@
|
|||||||
|
|
||||||
xo-thermal {
|
xo-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
polling-delay = <0>;
|
|
||||||
thermal-sensors = <&pmk8350_adc_tm 0>;
|
thermal-sensors = <&pmk8350_adc_tm 0>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
|
|||||||
@@ -6147,7 +6147,6 @@
|
|||||||
thermal_zones: thermal-zones {
|
thermal_zones: thermal-zones {
|
||||||
cpu0-thermal {
|
cpu0-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 1>;
|
thermal-sensors = <&tsens0 1>;
|
||||||
|
|
||||||
@@ -6191,7 +6190,6 @@
|
|||||||
|
|
||||||
cpu1-thermal {
|
cpu1-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 2>;
|
thermal-sensors = <&tsens0 2>;
|
||||||
|
|
||||||
@@ -6235,7 +6233,6 @@
|
|||||||
|
|
||||||
cpu2-thermal {
|
cpu2-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 3>;
|
thermal-sensors = <&tsens0 3>;
|
||||||
|
|
||||||
@@ -6279,7 +6276,6 @@
|
|||||||
|
|
||||||
cpu3-thermal {
|
cpu3-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 4>;
|
thermal-sensors = <&tsens0 4>;
|
||||||
|
|
||||||
@@ -6323,7 +6319,6 @@
|
|||||||
|
|
||||||
cpu4-thermal {
|
cpu4-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 7>;
|
thermal-sensors = <&tsens0 7>;
|
||||||
|
|
||||||
@@ -6367,7 +6362,6 @@
|
|||||||
|
|
||||||
cpu5-thermal {
|
cpu5-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 8>;
|
thermal-sensors = <&tsens0 8>;
|
||||||
|
|
||||||
@@ -6411,7 +6405,6 @@
|
|||||||
|
|
||||||
cpu6-thermal {
|
cpu6-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 9>;
|
thermal-sensors = <&tsens0 9>;
|
||||||
|
|
||||||
@@ -6455,7 +6448,6 @@
|
|||||||
|
|
||||||
cpu7-thermal {
|
cpu7-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 10>;
|
thermal-sensors = <&tsens0 10>;
|
||||||
|
|
||||||
@@ -6499,7 +6491,6 @@
|
|||||||
|
|
||||||
cpu8-thermal {
|
cpu8-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 11>;
|
thermal-sensors = <&tsens0 11>;
|
||||||
|
|
||||||
@@ -6543,7 +6534,6 @@
|
|||||||
|
|
||||||
cpu9-thermal {
|
cpu9-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 12>;
|
thermal-sensors = <&tsens0 12>;
|
||||||
|
|
||||||
@@ -6587,7 +6577,6 @@
|
|||||||
|
|
||||||
cpu10-thermal {
|
cpu10-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 13>;
|
thermal-sensors = <&tsens0 13>;
|
||||||
|
|
||||||
@@ -6631,7 +6620,6 @@
|
|||||||
|
|
||||||
cpu11-thermal {
|
cpu11-thermal {
|
||||||
polling-delay-passive = <250>;
|
polling-delay-passive = <250>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 14>;
|
thermal-sensors = <&tsens0 14>;
|
||||||
|
|
||||||
@@ -6675,7 +6663,6 @@
|
|||||||
|
|
||||||
aoss0-thermal {
|
aoss0-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 0>;
|
thermal-sensors = <&tsens0 0>;
|
||||||
|
|
||||||
@@ -6696,7 +6683,6 @@
|
|||||||
|
|
||||||
aoss1-thermal {
|
aoss1-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 0>;
|
thermal-sensors = <&tsens1 0>;
|
||||||
|
|
||||||
@@ -6717,7 +6703,6 @@
|
|||||||
|
|
||||||
cpuss0-thermal {
|
cpuss0-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 5>;
|
thermal-sensors = <&tsens0 5>;
|
||||||
|
|
||||||
@@ -6737,7 +6722,6 @@
|
|||||||
|
|
||||||
cpuss1-thermal {
|
cpuss1-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 6>;
|
thermal-sensors = <&tsens0 6>;
|
||||||
|
|
||||||
@@ -6757,7 +6741,6 @@
|
|||||||
|
|
||||||
gpuss0-thermal {
|
gpuss0-thermal {
|
||||||
polling-delay-passive = <100>;
|
polling-delay-passive = <100>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 1>;
|
thermal-sensors = <&tsens1 1>;
|
||||||
|
|
||||||
@@ -6785,7 +6768,6 @@
|
|||||||
|
|
||||||
gpuss1-thermal {
|
gpuss1-thermal {
|
||||||
polling-delay-passive = <100>;
|
polling-delay-passive = <100>;
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 2>;
|
thermal-sensors = <&tsens1 2>;
|
||||||
|
|
||||||
@@ -6812,9 +6794,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
nspss0-thermal {
|
nspss0-thermal {
|
||||||
polling-delay-passive = <0>;
|
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 3>;
|
thermal-sensors = <&tsens1 3>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -6833,9 +6812,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
nspss1-thermal {
|
nspss1-thermal {
|
||||||
polling-delay-passive = <0>;
|
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 4>;
|
thermal-sensors = <&tsens1 4>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -6854,9 +6830,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
video-thermal {
|
video-thermal {
|
||||||
polling-delay-passive = <0>;
|
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 5>;
|
thermal-sensors = <&tsens1 5>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -6875,9 +6848,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
ddr-thermal {
|
ddr-thermal {
|
||||||
polling-delay-passive = <0>;
|
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 6>;
|
thermal-sensors = <&tsens1 6>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -6896,9 +6866,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
mdmss0-thermal {
|
mdmss0-thermal {
|
||||||
polling-delay-passive = <0>;
|
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 7>;
|
thermal-sensors = <&tsens1 7>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -6917,9 +6884,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
mdmss1-thermal {
|
mdmss1-thermal {
|
||||||
polling-delay-passive = <0>;
|
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 8>;
|
thermal-sensors = <&tsens1 8>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -6938,9 +6902,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
mdmss2-thermal {
|
mdmss2-thermal {
|
||||||
polling-delay-passive = <0>;
|
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 9>;
|
thermal-sensors = <&tsens1 9>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -6959,9 +6920,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
mdmss3-thermal {
|
mdmss3-thermal {
|
||||||
polling-delay-passive = <0>;
|
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 10>;
|
thermal-sensors = <&tsens1 10>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
@@ -6980,9 +6938,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
camera0-thermal {
|
camera0-thermal {
|
||||||
polling-delay-passive = <0>;
|
|
||||||
polling-delay = <0>;
|
|
||||||
|
|
||||||
thermal-sensors = <&tsens1 11>;
|
thermal-sensors = <&tsens1 11>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
|
|||||||
Reference in New Issue
Block a user