[PATCH 14/31] arm64: dts: qcom: qcs404-*: Remove thermal zone polling delays

From: Konrad Dybcio
Date: Tue Mar 19 2024 - 12:17:17 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/qcs404.dtsi | 30 ------------------------------
1 file changed, 30 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi
index a05d0234f7fc..ad109b38199e 100644
--- a/arch/arm64/boot/dts/qcom/qcs404.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi
@@ -1589,9 +1589,6 @@ wcss_smp2p_in: slave-kernel {

thermal-zones {
aoss-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 0>;

trips {
@@ -1604,9 +1601,6 @@ aoss_alert0: trip-point0 {
};

q6-hvx-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 1>;

trips {
@@ -1619,9 +1613,6 @@ q6_hvx_alert0: trip-point0 {
};

lpass-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 2>;

trips {
@@ -1634,9 +1625,6 @@ lpass_alert0: trip-point0 {
};

wlan-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 3>;

trips {
@@ -1649,9 +1637,6 @@ wlan_alert0: trip-point0 {
};

cluster-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 4>;

trips {
@@ -1683,9 +1668,6 @@ map0 {
};

cpu0-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 5>;

trips {
@@ -1717,9 +1699,6 @@ map0 {
};

cpu1-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 6>;

trips {
@@ -1751,9 +1730,6 @@ map0 {
};

cpu2-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 7>;

trips {
@@ -1785,9 +1761,6 @@ map0 {
};

cpu3-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 8>;

trips {
@@ -1819,9 +1792,6 @@ map0 {
};

gpu-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 9>;

trips {

--
2.40.1