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 17/31] arm64: dts: qcom: sc7280-*: Remove thermal zone polling delays
Date: Tue, 19 Mar 2024 17:13:47 +0100 [thread overview]
Message-ID: <20240319-topic-msm-polling-cleanup-v1-17-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/pm7250b.dtsi | 3 -
arch/arm64/boot/dts/qcom/pm7325.dtsi | 2 -
arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 14 ----
arch/arm64/boot/dts/qcom/sc7280.dtsi | 81 ----------------------
4 files changed, 100 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/pm7250b.dtsi b/arch/arm64/boot/dts/qcom/pm7250b.dtsi
index 3bf7cf5d1700..48eb8d9a5ac3 100644
--- a/arch/arm64/boot/dts/qcom/pm7250b.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm7250b.dtsi
@@ -10,9 +10,6 @@
/ {
thermal-zones {
pm7250b-thermal {
- polling-delay-passive = <100>;
- polling-delay = <0>;
-
thermal-sensors = <&pm7250b_temp>;
trips {
diff --git a/arch/arm64/boot/dts/qcom/pm7325.dtsi b/arch/arm64/boot/dts/qcom/pm7325.dtsi
index d1c5476af5ee..a25f6f65e416 100644
--- a/arch/arm64/boot/dts/qcom/pm7325.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm7325.dtsi
@@ -34,8 +34,6 @@ pm7325_gpios: gpio@8800 {
&thermal_zones {
pm7325_thermal: pm7325-thermal {
- polling-delay-passive = <100>;
- polling-delay = <0>;
thermal-sensors = <&pm7325_temp_alarm>;
trips {
diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
index 4ff9fc24e50e..e4882b94d103 100644
--- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
+++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
@@ -164,8 +164,6 @@ afvdd_2p8: regulator-afvdd-2p8 {
thermal-zones {
camera-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 2>;
trips {
@@ -178,8 +176,6 @@ active-config0 {
};
chg-skin-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
thermal-sensors = <&pm7250b_adc_tm 0>;
trips {
@@ -192,8 +188,6 @@ active-config0 {
};
conn-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
thermal-sensors = <&pm7250b_adc_tm 1>;
trips {
@@ -206,8 +200,6 @@ active-config0 {
};
quiet-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 1>;
trips {
@@ -220,8 +212,6 @@ active-config0 {
};
rear-cam-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 4>;
trips {
@@ -234,8 +224,6 @@ active-config0 {
};
sdm-skin-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 3>;
trips {
@@ -248,8 +236,6 @@ active-config0 {
};
xo-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm 0>;
trips {
diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 7e7f0f0fb41b..ef60a511a69f 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -5969,9 +5969,6 @@ cpufreq_hw: cpufreq@18591000 {
thermal_zones: thermal-zones {
cpu0-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 1>;
trips {
@@ -6013,9 +6010,6 @@ map1 {
};
cpu1-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 2>;
trips {
@@ -6057,9 +6051,6 @@ map1 {
};
cpu2-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 3>;
trips {
@@ -6101,9 +6092,6 @@ map1 {
};
cpu3-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 4>;
trips {
@@ -6145,9 +6133,6 @@ map1 {
};
cpu4-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 7>;
trips {
@@ -6189,9 +6174,6 @@ map1 {
};
cpu5-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 8>;
trips {
@@ -6233,9 +6215,6 @@ map1 {
};
cpu6-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 9>;
trips {
@@ -6277,9 +6256,6 @@ map1 {
};
cpu7-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 10>;
trips {
@@ -6321,9 +6297,6 @@ map1 {
};
cpu8-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 11>;
trips {
@@ -6365,9 +6338,6 @@ map1 {
};
cpu9-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 12>;
trips {
@@ -6409,9 +6379,6 @@ map1 {
};
cpu10-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 13>;
trips {
@@ -6453,9 +6420,6 @@ map1 {
};
cpu11-thermal {
- polling-delay-passive = <250>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 14>;
trips {
@@ -6497,9 +6461,6 @@ map1 {
};
aoss0-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 0>;
trips {
@@ -6518,9 +6479,6 @@ aoss0_crit: aoss0-crit {
};
aoss1-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 0>;
trips {
@@ -6539,9 +6497,6 @@ aoss1_crit: aoss1-crit {
};
cpuss0-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 5>;
trips {
@@ -6559,9 +6514,6 @@ cpuss0_crit: cluster0-crit {
};
cpuss1-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens0 6>;
trips {
@@ -6579,9 +6531,6 @@ cpuss1_crit: cluster0-crit {
};
gpuss0-thermal {
- polling-delay-passive = <100>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 1>;
trips {
@@ -6607,9 +6556,6 @@ map0 {
};
gpuss1-thermal {
- polling-delay-passive = <100>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 2>;
trips {
@@ -6635,9 +6581,6 @@ map0 {
};
nspss0-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 3>;
trips {
@@ -6656,9 +6599,6 @@ nspss0_crit: nspss0-crit {
};
nspss1-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 4>;
trips {
@@ -6677,9 +6617,6 @@ nspss1_crit: nspss1-crit {
};
video-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 5>;
trips {
@@ -6698,9 +6635,6 @@ video_crit: video-crit {
};
ddr-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 6>;
trips {
@@ -6719,9 +6653,6 @@ ddr_crit: ddr-crit {
};
mdmss0-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 7>;
trips {
@@ -6740,9 +6671,6 @@ mdmss0_crit: mdmss0-crit {
};
mdmss1-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 8>;
trips {
@@ -6761,9 +6689,6 @@ mdmss1_crit: mdmss1-crit {
};
mdmss2-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 9>;
trips {
@@ -6782,9 +6707,6 @@ mdmss2_crit: mdmss2-crit {
};
mdmss3-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 10>;
trips {
@@ -6803,9 +6725,6 @@ mdmss3_crit: mdmss3-crit {
};
camera0-thermal {
- polling-delay-passive = <0>;
- polling-delay = <0>;
-
thermal-sensors = <&tsens1 11>;
trips {
--
2.40.1
next prev parent reply other threads:[~2024-03-19 16:13 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 ` Konrad Dybcio [this message]
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 ` [PATCH 22/31] arm64: dts: qcom: sm6115-*: " Konrad Dybcio
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-17-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®