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

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

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index cedff4166bfb..e95800f8258f 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -2625,9 +2625,6 @@ cpu3_saw: power-manager@b0b9000 {

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

trips {
@@ -2655,9 +2652,6 @@ map0 {
};

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

trips {
@@ -2685,9 +2679,6 @@ map0 {
};

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

cooling-maps {
@@ -2712,9 +2703,6 @@ gpu_crit: gpu-crit {
};

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

trips {
@@ -2727,9 +2715,6 @@ cam_alert0: trip-point0 {
};

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

trips {

--
2.40.1