[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240319-topic-msm-polling-cleanup-v1-5-e0aee1dbcd78@linaro.org>
Date: Tue, 19 Mar 2024 17:13:35 +0100
From: Konrad Dybcio <konrad.dybcio@...aro.org>
To: Bjorn Andersson <andersson@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>, cros-qcom-dts-watchers@...omium.org
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Konrad Dybcio <konrad.dybcio@...aro.org>
Subject: [PATCH 05/31] arm64: dts: qcom: msm8939-*: 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: Konrad Dybcio <konrad.dybcio@...aro.org>
---
arch/arm64/boot/dts/qcom/msm8939.dtsi | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi
index dd45975682b2..43c0335b2be2 100644
--- a/arch/arm64/boot/dts/qcom/msm8939.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi
@@ -2298,9 +2298,6 @@ apcs2: mailbox@...1000 {
thermal_zones: thermal-zones {
cpu0-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 5>;
trips {
@@ -2329,9 +2326,6 @@ map0 {
};
cpu1-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 6>;
trips {
@@ -2360,9 +2354,6 @@ map0 {
};
cpu2-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 7>;
trips {
@@ -2391,9 +2382,6 @@ map0 {
};
cpu3-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 8>;
trips {
@@ -2422,9 +2410,6 @@ map0 {
};
cpu4567-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 9>;
trips {
@@ -2453,9 +2438,6 @@ map0 {
};
gpu-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 3>;
cooling-maps {
@@ -2481,9 +2463,6 @@ gpu_crit: gpu-crit {
};
modem1-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 0>;
trips {
@@ -2496,9 +2475,6 @@ modem1_alert0: trip-point0 {
};
modem2-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 2>;
trips {
@@ -2511,9 +2487,6 @@ modem2_alert0: trip-point0 {
};
camera-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens 1>;
trips {
--
2.40.1
Powered by blists - more mailing lists