All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Bjorn Andersson <andersson@kernel.org>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	cros-qcom-dts-watchers@chromium.org
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	Konrad Dybcio <konrad.dybcio@linaro.org>
Subject: [PATCH 22/31] arm64: dts: qcom: sm6115-*: Remove thermal zone polling delays
Date: Tue, 19 Mar 2024 17:13:52 +0100	[thread overview]
Message-ID: <20240319-topic-msm-polling-cleanup-v1-22-e0aee1dbcd78@linaro.org> (raw)
In-Reply-To: <20240319-topic-msm-polling-cleanup-v1-0-e0aee1dbcd78@linaro.org>

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/pmi632.dtsi |  3 ---
 arch/arm64/boot/dts/qcom/sm6115.dtsi | 32 --------------------------------
 2 files changed, 35 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/pmi632.dtsi b/arch/arm64/boot/dts/qcom/pmi632.dtsi
index 94d53b1cf6c8..e1658993d6c1 100644
--- a/arch/arm64/boot/dts/qcom/pmi632.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmi632.dtsi
@@ -10,9 +10,6 @@
 / {
 	thermal-zones {
 		pmi632-thermal {
-			polling-delay-passive = <100>;
-			polling-delay = <0>;
-
 			thermal-sensors = <&pmi632_temp>;
 
 			trips {
diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi
index aca0a87092e4..0a0bb5310849 100644
--- a/arch/arm64/boot/dts/qcom/sm6115.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi
@@ -3011,8 +3011,6 @@ cpufreq_hw: cpufreq@f521000 {
 
 	thermal-zones {
 		mapss-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 0>;
 
 			trips {
@@ -3031,8 +3029,6 @@ trip-point1 {
 		};
 
 		cdsp-hvx-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 1>;
 
 			trips {
@@ -3051,8 +3047,6 @@ trip-point1 {
 		};
 
 		wlan-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 2>;
 
 			trips {
@@ -3071,8 +3065,6 @@ trip-point1 {
 		};
 
 		camera-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 3>;
 
 			trips {
@@ -3091,8 +3083,6 @@ trip-point1 {
 		};
 
 		video-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 4>;
 
 			trips {
@@ -3111,8 +3101,6 @@ trip-point1 {
 		};
 
 		modem1-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 5>;
 
 			trips {
@@ -3131,8 +3119,6 @@ trip-point1 {
 		};
 
 		cpu4-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 6>;
 
 			trips {
@@ -3157,8 +3143,6 @@ cpu4_crit: cpu-crit {
 		};
 
 		cpu5-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 7>;
 
 			trips {
@@ -3183,8 +3167,6 @@ cpu5_crit: cpu-crit {
 		};
 
 		cpu6-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 8>;
 
 			trips {
@@ -3209,8 +3191,6 @@ cpu6_crit: cpu-crit {
 		};
 
 		cpu7-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 9>;
 
 			trips {
@@ -3235,8 +3215,6 @@ cpu7_crit: cpu-crit {
 		};
 
 		cpu45-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 10>;
 
 			trips {
@@ -3261,8 +3239,6 @@ cpu45_crit: cpu-crit {
 		};
 
 		cpu67-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 11>;
 
 			trips {
@@ -3287,8 +3263,6 @@ cpu67_crit: cpu-crit {
 		};
 
 		cpu0123-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 12>;
 
 			trips {
@@ -3313,8 +3287,6 @@ cpu0123_crit: cpu-crit {
 		};
 
 		modem0-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 13>;
 
 			trips {
@@ -3333,8 +3305,6 @@ trip-point1 {
 		};
 
 		display-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 14>;
 
 			trips {
@@ -3353,8 +3323,6 @@ trip-point1 {
 		};
 
 		gpu-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
 			thermal-sensors = <&tsens0 15>;
 
 			cooling-maps {

-- 
2.40.1


  parent reply	other threads:[~2024-03-19 16:14 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-19 16:13 [PATCH 00/31] Clean up thermal zone polling-delay Konrad Dybcio
2024-03-19 16:13 ` [PATCH 01/31] arm64: dts: qcom: ipq6018-*: Remove thermal zone polling delays Konrad Dybcio
2024-03-19 16:13 ` [PATCH 02/31] arm64: dts: qcom: ipq8074-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 03/31] arm64: dts: qcom: ipq9574-*: " Konrad Dybcio
2024-03-20 10:03   ` Varadarajan Narayanan
2024-03-19 16:13 ` [PATCH 04/31] arm64: dts: qcom: msm8916-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 05/31] arm64: dts: qcom: msm8939-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 06/31] arm64: dts: qcom: msm8953-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 07/31] arm64: dts: qcom: msm8976-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 08/31] arm64: dts: qcom: msm8996-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 09/31] arm64: dts: qcom: msm8998-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 10/31] arm64: dts: qcom: pm7550ba: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 11/31] arm64: dts: qcom: pms405: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 12/31] arm64: dts: qcom: pmx75: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 13/31] arm64: dts: qcom: qcm2290-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 14/31] arm64: dts: qcom: qcs404-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 15/31] arm64: dts: qcom: sa8775p-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 16/31] arm64: dts: qcom: sc7180-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 17/31] arm64: dts: qcom: sc7280-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 18/31] arm64: dts: qcom: sc8180x-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 19/31] arm64: dts: qcom: sc8280xp-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 20/31] arm64: dts: qcom: sdm660-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 21/31] arm64: dts: qcom: sdm845-*: " Konrad Dybcio
2024-03-19 16:13 ` Konrad Dybcio [this message]
2024-03-19 16:13 ` [PATCH 23/31] arm64: dts: qcom: sm6125-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 24/31] arm64: dts: qcom: sm6350-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 25/31] arm64: dts: qcom: sm6375-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 26/31] arm64: dts: qcom: sm8150-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 27/31] arm64: dts: qcom: sm8250-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 28/31] arm64: dts: qcom: sm8350-*: " Konrad Dybcio
2024-03-19 16:13 ` [PATCH 29/31] arm64: dts: qcom: sm8450-*: " Konrad Dybcio
2024-03-19 16:14 ` [PATCH 30/31] arm64: dts: qcom: sm8550-*: " Konrad Dybcio
2024-03-19 16:14 ` [PATCH 31/31] arm64: dts: qcom: sm8650-*: " Konrad Dybcio
2024-03-19 16:43 ` [PATCH 00/31] Clean up thermal zone polling-delay Johan Hovold
2024-03-21 17:25 ` Daniel Lezcano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240319-topic-msm-polling-cleanup-v1-22-e0aee1dbcd78@linaro.org \
    --to=konrad.dybcio@linaro.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cros-qcom-dts-watchers@chromium.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.