Commit e3884213 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

arm64: dts: qcom: sc8280xp-*: 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-19-436ca4218da2@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 1f57b1cf
...@@ -299,7 +299,7 @@ linux,cma { ...@@ -299,7 +299,7 @@ linux,cma {
thermal-zones { thermal-zones {
skin-temp-thermal { skin-temp-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&pmk8280_adc_tm 5>; thermal-sensors = <&pmk8280_adc_tm 5>;
trips { trips {
......
...@@ -14,7 +14,7 @@ / { ...@@ -14,7 +14,7 @@ / {
thermal-zones { thermal-zones {
pm8280_1_thermal: pm8280-1-thermal { pm8280_1_thermal: pm8280-1-thermal {
polling-delay-passive = <100>; polling-delay-passive = <100>;
polling-delay = <0>;
thermal-sensors = <&pm8280_1_temp_alarm>; thermal-sensors = <&pm8280_1_temp_alarm>;
trips { trips {
...@@ -34,7 +34,7 @@ trip1 { ...@@ -34,7 +34,7 @@ trip1 {
pm8280_2_thermal: pm8280-2-thermal { pm8280_2_thermal: pm8280-2-thermal {
polling-delay-passive = <100>; polling-delay-passive = <100>;
polling-delay = <0>;
thermal-sensors = <&pm8280_2_temp_alarm>; thermal-sensors = <&pm8280_2_temp_alarm>;
trips { trips {
......
...@@ -5879,7 +5879,6 @@ sound: sound { ...@@ -5879,7 +5879,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>;
...@@ -5894,7 +5893,6 @@ cpu-crit { ...@@ -5894,7 +5893,6 @@ 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>;
...@@ -5909,7 +5907,6 @@ cpu-crit { ...@@ -5909,7 +5907,6 @@ 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>;
...@@ -5924,7 +5921,6 @@ cpu-crit { ...@@ -5924,7 +5921,6 @@ 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>;
...@@ -5939,7 +5935,6 @@ cpu-crit { ...@@ -5939,7 +5935,6 @@ cpu-crit {
cpu4-thermal { cpu4-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 5>; thermal-sensors = <&tsens0 5>;
...@@ -5954,7 +5949,6 @@ cpu-crit { ...@@ -5954,7 +5949,6 @@ cpu-crit {
cpu5-thermal { cpu5-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 6>; thermal-sensors = <&tsens0 6>;
...@@ -5969,7 +5963,6 @@ cpu-crit { ...@@ -5969,7 +5963,6 @@ cpu-crit {
cpu6-thermal { cpu6-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 7>; thermal-sensors = <&tsens0 7>;
...@@ -5984,7 +5977,6 @@ cpu-crit { ...@@ -5984,7 +5977,6 @@ cpu-crit {
cpu7-thermal { cpu7-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 8>; thermal-sensors = <&tsens0 8>;
...@@ -5999,7 +5991,6 @@ cpu-crit { ...@@ -5999,7 +5991,6 @@ cpu-crit {
cluster0-thermal { cluster0-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens0 9>; thermal-sensors = <&tsens0 9>;
...@@ -6013,9 +6004,6 @@ cpu-crit { ...@@ -6013,9 +6004,6 @@ cpu-crit {
}; };
gpu-thermal { gpu-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens2 2>; thermal-sensors = <&tsens2 2>;
trips { trips {
...@@ -6029,7 +6017,6 @@ gpu-crit { ...@@ -6029,7 +6017,6 @@ gpu-crit {
mem-thermal { mem-thermal {
polling-delay-passive = <250>; polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsens1 15>; thermal-sensors = <&tsens1 15>;
......
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