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 28/31] arm64: dts: qcom: sm8350-*: Remove thermal zone polling delays
Date: Tue, 19 Mar 2024 17:13:58 +0100 [thread overview]
Message-ID: <20240319-topic-msm-polling-cleanup-v1-28-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/pm8350.dtsi | 2 -
arch/arm64/boot/dts/qcom/pm8350b.dtsi | 2 -
arch/arm64/boot/dts/qcom/pm8350c.dtsi | 2 -
arch/arm64/boot/dts/qcom/pmr735a.dtsi | 2 -
arch/arm64/boot/dts/qcom/pmr735b.dtsi | 2 -
arch/arm64/boot/dts/qcom/sm8350.dtsi | 87 -----------------------------------
6 files changed, 97 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/pm8350.dtsi b/arch/arm64/boot/dts/qcom/pm8350.dtsi
index 9ed9ba23e81e..20cd4d28b46b 100644
--- a/arch/arm64/boot/dts/qcom/pm8350.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8350.dtsi
@@ -9,8 +9,6 @@
/ {
thermal-zones {
pm8350_thermal: pm8350-thermal {
- polling-delay-passive = <100>;
- polling-delay = <0>;
thermal-sensors = <&pm8350_temp_alarm>;
trips {
diff --git a/arch/arm64/boot/dts/qcom/pm8350b.dtsi b/arch/arm64/boot/dts/qcom/pm8350b.dtsi
index 05c105898892..058f7421ea49 100644
--- a/arch/arm64/boot/dts/qcom/pm8350b.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8350b.dtsi
@@ -9,8 +9,6 @@
/ {
thermal-zones {
pm8350b_thermal: pm8350b-thermal {
- polling-delay-passive = <100>;
- polling-delay = <0>;
thermal-sensors = <&pm8350b_temp_alarm>;
trips {
diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qcom/pm8350c.dtsi
index aa74e21fe0dc..bc5555b14ca7 100644
--- a/arch/arm64/boot/dts/qcom/pm8350c.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi
@@ -47,8 +47,6 @@ pm8350c_pwm: pwm {
/ {
thermal-zones {
pm8350c_thermal: pm8350c-thermal {
- polling-delay-passive = <100>;
- polling-delay = <0>;
thermal-sensors = <&pm8350c_temp_alarm>;
trips {
diff --git a/arch/arm64/boot/dts/qcom/pmr735a.dtsi b/arch/arm64/boot/dts/qcom/pmr735a.dtsi
index febda50779f9..809bee0e164f 100644
--- a/arch/arm64/boot/dts/qcom/pmr735a.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmr735a.dtsi
@@ -35,8 +35,6 @@ pmr735a_gpios: gpio@8800 {
/ {
thermal-zones {
pmr735a_thermal: pmr735a-thermal {
- polling-delay-passive = <100>;
- polling-delay = <0>;
thermal-sensors = <&pmr735a_temp_alarm>;
trips {
diff --git a/arch/arm64/boot/dts/qcom/pmr735b.dtsi b/arch/arm64/boot/dts/qcom/pmr735b.dtsi
index f7473e247322..9a71b77c7fc4 100644
--- a/arch/arm64/boot/dts/qcom/pmr735b.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmr735b.dtsi
@@ -9,8 +9,6 @@
/ {
thermal-zones {
pmr735b_thermal: pmr735b-thermal {
- polling-delay-passive = <100>;
- polling-delay = <0>;
thermal-sensors = <&pmr735b_temp_alarm>;
trips {
diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi
index a5e7dbbd8c6c..cf9ed53a834c 100644
--- a/arch/arm64/boot/dts/qcom/sm8350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi
@@ -3638,9 +3638,6 @@ compute-cb@8 {
thermal_zones: thermal-zones {
cpu0-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 1>;
trips {
@@ -3682,9 +3679,6 @@ map1 {
};
cpu1-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 2>;
trips {
@@ -3726,9 +3720,6 @@ map1 {
};
cpu2-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 3>;
trips {
@@ -3770,9 +3761,6 @@ map1 {
};
cpu3-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 4>;
trips {
@@ -3814,9 +3802,6 @@ map1 {
};
cpu4-top-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 7>;
trips {
@@ -3858,9 +3843,6 @@ map1 {
};
cpu5-top-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 8>;
trips {
@@ -3902,9 +3884,6 @@ map1 {
};
cpu6-top-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 9>;
trips {
@@ -3946,9 +3925,6 @@ map1 {
};
cpu7-top-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 10>;
trips {
@@ -3990,9 +3966,6 @@ map1 {
};
cpu4-bottom-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 11>;
trips {
@@ -4034,9 +4007,6 @@ map1 {
};
cpu5-bottom-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 12>;
trips {
@@ -4078,9 +4048,6 @@ map1 {
};
cpu6-bottom-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 13>;
trips {
@@ -4122,9 +4089,6 @@ map1 {
};
cpu7-bottom-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 14>;
trips {
@@ -4166,9 +4130,6 @@ map1 {
};
aoss0-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 0>;
trips {
@@ -4181,9 +4142,6 @@ aoss0_alert0: trip-point0 {
};
cluster0-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 5>;
trips {
@@ -4201,9 +4159,6 @@ cluster0_crit: cluster0-crit {
};
cluster1-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens0 6>;
trips {
@@ -4221,9 +4176,6 @@ cluster1_crit: cluster1-crit {
};
aoss1-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 0>;
trips {
@@ -4236,9 +4188,6 @@ aoss1_alert0: trip-point0 {
};
gpu-top-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 1>;
cooling-maps {
@@ -4258,9 +4207,6 @@ gpu_top_alert0: trip-point0 {
};
gpu-bottom-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 2>;
cooling-maps {
@@ -4280,9 +4226,6 @@ gpu_bottom_alert0: trip-point0 {
};
nspss1-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 3>;
trips {
@@ -4295,9 +4238,6 @@ nspss1_alert0: trip-point0 {
};
nspss2-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 4>;
trips {
@@ -4310,9 +4250,6 @@ nspss2_alert0: trip-point0 {
};
nspss3-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 5>;
trips {
@@ -4325,9 +4262,6 @@ nspss3_alert0: trip-point0 {
};
video-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 6>;
trips {
@@ -4340,9 +4274,6 @@ video_alert0: trip-point0 {
};
mem-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 7>;
trips {
@@ -4355,9 +4286,6 @@ mem_alert0: trip-point0 {
};
modem1-top-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 8>;
trips {
@@ -4370,9 +4298,6 @@ modem1_alert0: trip-point0 {
};
modem2-top-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 9>;
trips {
@@ -4385,9 +4310,6 @@ modem2_alert0: trip-point0 {
};
modem3-top-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 10>;
trips {
@@ -4400,9 +4322,6 @@ modem3_alert0: trip-point0 {
};
modem4-top-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 11>;
trips {
@@ -4415,9 +4334,6 @@ modem4_alert0: trip-point0 {
};
camera-top-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 12>;
trips {
@@ -4430,9 +4346,6 @@ camera1_alert0: trip-point0 {
};
cam-bottom-thermal {
- polling-delay-passive = <250>;
- polling-delay = <1000>;
-
thermal-sensors = <&tsens1 13>;
trips {
--
2.40.1
next prev 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 ` [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 ` Konrad Dybcio [this message]
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-28-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®