mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 08:20:40 -04:00
arm64: dts: qcom: sm8550-*: 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-30-436ca4218da2@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
d0730a729f
commit
fe5cb7d307
@@ -10,7 +10,6 @@ / {
|
||||
thermal-zones {
|
||||
pm8010-m-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm8010_m_temp_alarm>;
|
||||
|
||||
@@ -31,7 +30,6 @@ trip1 {
|
||||
|
||||
pm8010-n-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm8010_n_temp_alarm>;
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ / {
|
||||
thermal-zones {
|
||||
pm8550-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm8550_temp_alarm>;
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ / {
|
||||
thermal-zones {
|
||||
pm8550b-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm8550b_temp_alarm>;
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ / {
|
||||
thermal-zones {
|
||||
pm8550ve-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm8550ve_temp_alarm>;
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ / {
|
||||
thermal-zones {
|
||||
pm8550vs-c-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm8550vs_c_temp_alarm>;
|
||||
|
||||
@@ -31,7 +30,6 @@ trip1 {
|
||||
|
||||
pm8550vs-d-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm8550vs_d_temp_alarm>;
|
||||
|
||||
@@ -52,7 +50,6 @@ trip1 {
|
||||
|
||||
pm8550vs-e-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm8550vs_e_temp_alarm>;
|
||||
|
||||
@@ -73,7 +70,6 @@ trip1 {
|
||||
|
||||
pm8550vs-g-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm8550vs_g_temp_alarm>;
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ / {
|
||||
thermal-zones {
|
||||
pmr735d-k-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pmr735d_k_temp_alarm>;
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ / {
|
||||
thermal-zones {
|
||||
pmr735d-l-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pmr735d_l_temp_alarm>;
|
||||
|
||||
|
||||
@@ -4590,8 +4590,6 @@ compute-cb@8 {
|
||||
|
||||
thermal-zones {
|
||||
aoss0-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 0>;
|
||||
|
||||
trips {
|
||||
@@ -4610,8 +4608,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
cpuss0-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 1>;
|
||||
|
||||
trips {
|
||||
@@ -4630,8 +4626,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
cpuss1-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 2>;
|
||||
|
||||
trips {
|
||||
@@ -4650,8 +4644,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
cpuss2-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 3>;
|
||||
|
||||
trips {
|
||||
@@ -4670,8 +4662,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
cpuss3-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 4>;
|
||||
|
||||
trips {
|
||||
@@ -4690,8 +4680,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
cpu3-top-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 5>;
|
||||
|
||||
trips {
|
||||
@@ -4716,8 +4704,6 @@ cpu3_top_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu3-bottom-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 6>;
|
||||
|
||||
trips {
|
||||
@@ -4742,8 +4728,6 @@ cpu3_bottom_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu4-top-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 7>;
|
||||
|
||||
trips {
|
||||
@@ -4768,8 +4752,6 @@ cpu4_top_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu4-bottom-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 8>;
|
||||
|
||||
trips {
|
||||
@@ -4794,8 +4776,6 @@ cpu4_bottom_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu5-top-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 9>;
|
||||
|
||||
trips {
|
||||
@@ -4820,8 +4800,6 @@ cpu5_top_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu5-bottom-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 10>;
|
||||
|
||||
trips {
|
||||
@@ -4846,8 +4824,6 @@ cpu5_bottom_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu6-top-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 11>;
|
||||
|
||||
trips {
|
||||
@@ -4872,8 +4848,6 @@ cpu6_top_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu6-bottom-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 12>;
|
||||
|
||||
trips {
|
||||
@@ -4898,8 +4872,6 @@ cpu6_bottom_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu7-top-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 13>;
|
||||
|
||||
trips {
|
||||
@@ -4924,8 +4896,6 @@ cpu7_top_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu7-middle-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 14>;
|
||||
|
||||
trips {
|
||||
@@ -4950,8 +4920,6 @@ cpu7_middle_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu7-bottom-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 15>;
|
||||
|
||||
trips {
|
||||
@@ -4976,8 +4944,6 @@ cpu7_bottom_crit: cpu-critical {
|
||||
};
|
||||
|
||||
aoss1-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 0>;
|
||||
|
||||
trips {
|
||||
@@ -4996,8 +4962,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
cpu0-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 1>;
|
||||
|
||||
trips {
|
||||
@@ -5022,8 +4986,6 @@ cpu0_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu1-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 2>;
|
||||
|
||||
trips {
|
||||
@@ -5048,8 +5010,6 @@ cpu1_crit: cpu-critical {
|
||||
};
|
||||
|
||||
cpu2-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 3>;
|
||||
|
||||
trips {
|
||||
@@ -5075,7 +5035,7 @@ cpu2_crit: cpu-critical {
|
||||
|
||||
cdsp0-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 4>;
|
||||
|
||||
trips {
|
||||
@@ -5107,7 +5067,7 @@ cdsp0_junction_config: junction-config {
|
||||
|
||||
cdsp1-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 5>;
|
||||
|
||||
trips {
|
||||
@@ -5139,7 +5099,7 @@ cdsp1_junction_config: junction-config {
|
||||
|
||||
cdsp2-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 6>;
|
||||
|
||||
trips {
|
||||
@@ -5171,7 +5131,7 @@ cdsp2_junction_config: junction-config {
|
||||
|
||||
cdsp3-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 7>;
|
||||
|
||||
trips {
|
||||
@@ -5202,8 +5162,6 @@ cdsp3_junction_config: junction-config {
|
||||
};
|
||||
|
||||
video-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 8>;
|
||||
|
||||
trips {
|
||||
@@ -5223,7 +5181,7 @@ reset-mon-config {
|
||||
|
||||
mem-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens1 9>;
|
||||
|
||||
trips {
|
||||
@@ -5248,8 +5206,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
modem0-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 10>;
|
||||
|
||||
trips {
|
||||
@@ -5280,8 +5236,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
modem1-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 11>;
|
||||
|
||||
trips {
|
||||
@@ -5312,8 +5266,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
modem2-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 12>;
|
||||
|
||||
trips {
|
||||
@@ -5344,8 +5296,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
modem3-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 13>;
|
||||
|
||||
trips {
|
||||
@@ -5376,8 +5326,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
camera0-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 14>;
|
||||
|
||||
trips {
|
||||
@@ -5396,8 +5344,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
camera1-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 15>;
|
||||
|
||||
trips {
|
||||
@@ -5416,8 +5362,6 @@ reset-mon-config {
|
||||
};
|
||||
|
||||
aoss2-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens2 0>;
|
||||
|
||||
trips {
|
||||
@@ -5437,7 +5381,7 @@ reset-mon-config {
|
||||
|
||||
gpuss-0-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 1>;
|
||||
|
||||
cooling-maps {
|
||||
@@ -5476,7 +5420,7 @@ gpu0_junction_config: junction-config {
|
||||
|
||||
gpuss-1-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 2>;
|
||||
|
||||
cooling-maps {
|
||||
@@ -5515,7 +5459,7 @@ gpu1_junction_config: junction-config {
|
||||
|
||||
gpuss-2-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 3>;
|
||||
|
||||
cooling-maps {
|
||||
@@ -5554,7 +5498,7 @@ gpu2_junction_config: junction-config {
|
||||
|
||||
gpuss-3-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 4>;
|
||||
|
||||
cooling-maps {
|
||||
@@ -5593,7 +5537,7 @@ gpu3_junction_config: junction-config {
|
||||
|
||||
gpuss-4-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 5>;
|
||||
|
||||
cooling-maps {
|
||||
@@ -5632,7 +5576,7 @@ gpu4_junction_config: junction-config {
|
||||
|
||||
gpuss-5-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 6>;
|
||||
|
||||
cooling-maps {
|
||||
@@ -5671,7 +5615,7 @@ gpu5_junction_config: junction-config {
|
||||
|
||||
gpuss-6-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 7>;
|
||||
|
||||
cooling-maps {
|
||||
@@ -5710,7 +5654,7 @@ gpu6_junction_config: junction-config {
|
||||
|
||||
gpuss-7-thermal {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&tsens2 8>;
|
||||
|
||||
cooling-maps {
|
||||
|
||||
Reference in New Issue
Block a user