[PATCH 20/31] arm64: dts: qcom: sdm660-*: Remove thermal zone polling delays
From: Konrad Dybcio
Date: Tue Mar 19 2024 - 12:19:19 EST
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@xxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/pm660.dtsi | 3 ---
arch/arm64/boot/dts/qcom/pm660l.dtsi | 3 ---
arch/arm64/boot/dts/qcom/sdm630.dtsi | 27 ---------------------------
3 files changed, 33 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/pm660.dtsi b/arch/arm64/boot/dts/qcom/pm660.dtsi
index 98dc04962fe3..24efd1bf271c 100644
--- a/arch/arm64/boot/dts/qcom/pm660.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm660.dtsi
@@ -12,9 +12,6 @@
/ {
thermal-zones {
pm660-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&pm660_temp>;
trips {
diff --git a/arch/arm64/boot/dts/qcom/pm660l.dtsi b/arch/arm64/boot/dts/qcom/pm660l.dtsi
index 6fdbf507c262..46165a2a3694 100644
--- a/arch/arm64/boot/dts/qcom/pm660l.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm660l.dtsi
@@ -12,9 +12,6 @@
/ {
thermal-zones {
pm660l-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&pm660l_temp>;
trips {
diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
index f5921b80ef94..9851bc73222b 100644
--- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
@@ -2421,9 +2421,6 @@ sound: sound {
thermal-zones {
aoss-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 0>;
trips {
@@ -2436,9 +2433,6 @@ aoss_alert0: trip-point0 {
};
cpuss0-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 1>;
trips {
@@ -2451,9 +2445,6 @@ cpuss0_alert0: trip-point0 {
};
cpuss1-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 2>;
trips {
@@ -2466,9 +2457,6 @@ cpuss1_alert0: trip-point0 {
};
cpu0-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 3>;
trips {
@@ -2487,9 +2475,6 @@ cpu0_crit: cpu-crit {
};
cpu1-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 4>;
trips {
@@ -2508,9 +2493,6 @@ cpu1_crit: cpu-crit {
};
cpu2-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 5>;
trips {
@@ -2529,9 +2511,6 @@ cpu2_crit: cpu-crit {
};
cpu3-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 6>;
trips {
@@ -2556,9 +2535,6 @@ cpu3_crit: cpu-crit {
*/
pwr-cluster-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 7>;
trips {
@@ -2577,9 +2553,6 @@ pwr_cluster_crit: cpu-crit {
};
gpu-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 8>;
cooling-maps {
--
2.40.1