diff mbox series

[07/31] arm64: dts: qcom: msm8976-*: Remove thermal zone polling delays

Message ID 20240319-topic-msm-polling-cleanup-v1-7-e0aee1dbcd78@linaro.org (mailing list archive)
State Superseded
Headers show
Series Clean up thermal zone polling-delay | expand

Commit Message

Konrad Dybcio March 19, 2024, 4:13 p.m. UTC
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@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8976.dtsi | 26 --------------------------
 1 file changed, 26 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qcom/msm8976.dtsi
index d2bb1ada361a..09cb8cbceb6e 100644
--- a/arch/arm64/boot/dts/qcom/msm8976.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi
@@ -1123,9 +1123,6 @@  pil-reloc@94c {
 
 	thermal-zones {
 		aoss0-thermal {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
-
 			thermal-sensors = <&tsens 0>;
 
 			trips {
@@ -1138,9 +1135,6 @@  aoss0_alert0: trip-point0 {
 		};
 
 		modem-thermal {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
-
 			thermal-sensors = <&tsens 1>;
 			trips {
 				modem_alert0: trip-point0 {
@@ -1152,9 +1146,6 @@  modem_alert0: trip-point0 {
 		};
 
 		qdsp-thermal {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
-
 			thermal-sensors = <&tsens 2>;
 			trips {
 				qdsp_alert0: trip-point0 {
@@ -1166,9 +1157,6 @@  qdsp_alert0: trip-point0 {
 		};
 
 		cam-isp-thermal {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
-
 			thermal-sensors = <&tsens 3>;
 			trips {
 				cam_isp_alert0: trip-point0 {
@@ -1180,8 +1168,6 @@  cam_isp_alert0: trip-point0 {
 		};
 
 		cpu4-thermal {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
 			thermal-sensors = <&tsens 4>;
 
 			trips {
@@ -1204,8 +1190,6 @@  cpu4_crit: cpu-crit {
 		};
 
 		cpu5-thermal {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
 			thermal-sensors = <&tsens 5>;
 
 			trips {
@@ -1228,8 +1212,6 @@  cpu5_crit: cpu-crit {
 		};
 
 		cpu6-thermal {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
 			thermal-sensors = <&tsens 6>;
 
 			trips {
@@ -1252,8 +1234,6 @@  cpu6_crit: cpu-crit {
 		};
 
 		cpu7-thermal {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
 			thermal-sensors = <&tsens 7>;
 
 			trips {
@@ -1276,8 +1256,6 @@  cpu7_crit: cpu-crit {
 		};
 
 		big-l2-thermal {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
 			thermal-sensors = <&tsens 8>;
 
 			trips {
@@ -1300,8 +1278,6 @@  l2_crit: l2-crit {
 		};
 
 		cpu0-thermal {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
 			thermal-sensors = <&tsens 9>;
 
 			trips {
@@ -1324,8 +1300,6 @@  cpu0_crit: cpu-crit {
 		};
 
 		gpu-thermal {
-			polling-delay-passive = <250>;
-			polling-delay = <1000>;
 			thermal-sensors = <&tsens 10>;
 
 			trips {