Commit 2e58dbea authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

arm64: dts: qcom: sdm845-*: 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: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-21-436ca4218da2@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 82162bf5
...@@ -51,9 +51,6 @@ vreg_s4a_1p8: pm8998-smps4 { ...@@ -51,9 +51,6 @@ vreg_s4a_1p8: pm8998-smps4 {
thermal-zones { thermal-zones {
xo_thermal: xo-thermal { xo_thermal: xo-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm8998_adc_tm 1>; thermal-sensors = <&pm8998_adc_tm 1>;
trips { trips {
...@@ -66,9 +63,6 @@ trip-point { ...@@ -66,9 +63,6 @@ trip-point {
}; };
msm_thermal: msm-thermal { msm_thermal: msm-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm8998_adc_tm 2>; thermal-sensors = <&pm8998_adc_tm 2>;
trips { trips {
...@@ -81,9 +75,6 @@ trip-point { ...@@ -81,9 +75,6 @@ trip-point {
}; };
pa_thermal: pa-thermal { pa_thermal: pa-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm8998_adc_tm 3>; thermal-sensors = <&pm8998_adc_tm 3>;
trips { trips {
...@@ -96,9 +87,6 @@ trip-point { ...@@ -96,9 +87,6 @@ trip-point {
}; };
quiet_thermal: quiet-thermal { quiet_thermal: quiet-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm8998_adc_tm 4>; thermal-sensors = <&pm8998_adc_tm 4>;
trips { trips {
......
...@@ -5433,7 +5433,6 @@ sound: sound { ...@@ -5433,7 +5433,6 @@ sound: sound {
thermal-zones { thermal-zones {
cpu0-thermal { cpu0-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 1>; thermal-sensors = <&tsens0 1>;
...@@ -5460,7 +5459,6 @@ cpu0_crit: cpu-crit { ...@@ -5460,7 +5459,6 @@ cpu0_crit: cpu-crit {
cpu1-thermal { cpu1-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 2>; thermal-sensors = <&tsens0 2>;
...@@ -5487,7 +5485,6 @@ cpu1_crit: cpu-crit { ...@@ -5487,7 +5485,6 @@ cpu1_crit: cpu-crit {
cpu2-thermal { cpu2-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 3>; thermal-sensors = <&tsens0 3>;
...@@ -5514,7 +5511,6 @@ cpu2_crit: cpu-crit { ...@@ -5514,7 +5511,6 @@ cpu2_crit: cpu-crit {
cpu3-thermal { cpu3-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 4>; thermal-sensors = <&tsens0 4>;
...@@ -5541,7 +5537,6 @@ cpu3_crit: cpu-crit { ...@@ -5541,7 +5537,6 @@ cpu3_crit: cpu-crit {
cpu4-thermal { cpu4-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 7>; thermal-sensors = <&tsens0 7>;
...@@ -5568,7 +5563,6 @@ cpu4_crit: cpu-crit { ...@@ -5568,7 +5563,6 @@ cpu4_crit: cpu-crit {
cpu5-thermal { cpu5-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 8>; thermal-sensors = <&tsens0 8>;
...@@ -5595,7 +5589,6 @@ cpu5_crit: cpu-crit { ...@@ -5595,7 +5589,6 @@ cpu5_crit: cpu-crit {
cpu6-thermal { cpu6-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 9>; thermal-sensors = <&tsens0 9>;
...@@ -5622,7 +5615,6 @@ cpu6_crit: cpu-crit { ...@@ -5622,7 +5615,6 @@ cpu6_crit: cpu-crit {
cpu7-thermal { cpu7-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 10>; thermal-sensors = <&tsens0 10>;
...@@ -5649,7 +5641,6 @@ cpu7_crit: cpu-crit { ...@@ -5649,7 +5641,6 @@ cpu7_crit: cpu-crit {
aoss0-thermal { aoss0-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 0>; thermal-sensors = <&tsens0 0>;
...@@ -5664,7 +5655,6 @@ aoss0_alert0: trip-point0 { ...@@ -5664,7 +5655,6 @@ aoss0_alert0: trip-point0 {
cluster0-thermal { cluster0-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 5>; thermal-sensors = <&tsens0 5>;
...@@ -5684,7 +5674,6 @@ cluster0_crit: cluster0-crit { ...@@ -5684,7 +5674,6 @@ cluster0_crit: cluster0-crit {
cluster1-thermal { cluster1-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 6>; thermal-sensors = <&tsens0 6>;
...@@ -5704,7 +5693,6 @@ cluster1_crit: cluster1-crit { ...@@ -5704,7 +5693,6 @@ cluster1_crit: cluster1-crit {
gpu-top-thermal { gpu-top-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 11>; thermal-sensors = <&tsens0 11>;
...@@ -5726,7 +5714,6 @@ gpu_top_alert0: trip-point0 { ...@@ -5726,7 +5714,6 @@ gpu_top_alert0: trip-point0 {
gpu-bottom-thermal { gpu-bottom-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 12>; thermal-sensors = <&tsens0 12>;
...@@ -5748,7 +5735,6 @@ gpu_bottom_alert0: trip-point0 { ...@@ -5748,7 +5735,6 @@ gpu_bottom_alert0: trip-point0 {
aoss1-thermal { aoss1-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens1 0>; thermal-sensors = <&tsens1 0>;
...@@ -5763,7 +5749,6 @@ aoss1_alert0: trip-point0 { ...@@ -5763,7 +5749,6 @@ aoss1_alert0: trip-point0 {
q6-modem-thermal { q6-modem-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens1 1>; thermal-sensors = <&tsens1 1>;
...@@ -5778,7 +5763,6 @@ q6_modem_alert0: trip-point0 { ...@@ -5778,7 +5763,6 @@ q6_modem_alert0: trip-point0 {
mem-thermal { mem-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens1 2>; thermal-sensors = <&tsens1 2>;
...@@ -5793,7 +5777,6 @@ mem_alert0: trip-point0 { ...@@ -5793,7 +5777,6 @@ mem_alert0: trip-point0 {
wlan-thermal { wlan-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens1 3>; thermal-sensors = <&tsens1 3>;
...@@ -5808,7 +5791,6 @@ wlan_alert0: trip-point0 { ...@@ -5808,7 +5791,6 @@ wlan_alert0: trip-point0 {
q6-hvx-thermal { q6-hvx-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens1 4>; thermal-sensors = <&tsens1 4>;
...@@ -5823,7 +5805,6 @@ q6_hvx_alert0: trip-point0 { ...@@ -5823,7 +5805,6 @@ q6_hvx_alert0: trip-point0 {
camera-thermal { camera-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens1 5>; thermal-sensors = <&tsens1 5>;
...@@ -5838,7 +5819,6 @@ camera_alert0: trip-point0 { ...@@ -5838,7 +5819,6 @@ camera_alert0: trip-point0 {
video-thermal { video-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens1 6>; thermal-sensors = <&tsens1 6>;
...@@ -5853,7 +5833,6 @@ video_alert0: trip-point0 { ...@@ -5853,7 +5833,6 @@ video_alert0: trip-point0 {
modem-thermal { modem-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens1 7>; thermal-sensors = <&tsens1 7>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment