From: sashiko-bot@kernel.org
To: "Raj Aryan" <raj.aryan@oss.qualcomm.com>
Cc: conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: Add PMIC thermal support for Agatti QRB2210-RB1 platform
Date: Mon, 24 Aug 2026 15:10:15 +0000 [thread overview]
Message-ID: <20260824151015.C12DC1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260824-pm4125-adc-thermal-v1-1-3b67ef2eccb2@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Missing `polling-delay` property in thermal zones prevents them from being polled, rendering thermal mitigation non-functional.
- [Low] The patch references a device tree label `pm4125_adc` that appears undefined, which will cause a fatal `dtc` compilation error.
--
--- Patch [1]: [PATCH] arm64: dts: qcom: Add PMIC thermal support for Agatti QRB2210-RB1 platform ---
commit 01dca3a5fb92132d1ae40d936842a155e5f13716
Author: Raj Aryan <raj.aryan@oss.qualcomm.com>
arm64: dts: qcom: Add PMIC thermal support for Agatti QRB2210-RB1 platform
Add ADC channels for msm, quiet and xo thermistors along with
their ADC thermal bridge nodes and thermal zones for PMIC
thermal mitigation.
> diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts
> --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts
> +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts
[ ... ]
> @@ -33,6 +34,68 @@ clk40m: can-clk {
> };
> };
>
> + msm_therm_bridge: msm-therm-bridge {
> + compatible = "generic-adc-thermal";
> + io-channels = <&pm4125_adc ADC5_AMUX_THM3_100K_PU>;
[Severity: Low]
Is the pm4125_adc label defined in any of the included files?
If not, will this cause a dtc compilation error due to an undefined phandle?
> + io-channel-names = "sensor-channel";
> + #thermal-sensor-cells = <0>;
> + };
[ ... ]
> + thermal-zones {
> + sys-1-thermal {
> + polling-delay-passive = <2000>;
[Severity: High]
Does this thermal zone also need a polling-delay property?
If polling-delay is omitted, it defaults to 0. Since there are only hot trips
defined, the zone will never enter passive cooling mode and therefore might
never be polled by the thermal core, rendering mitigation non-functional.
This missing property appears in sys-1-thermal, sys-2-thermal, and
sys-3-thermal.
> + thermal-sensors = <&msm_therm_bridge>;
[ ... ]
> @@ -333,6 +396,34 @@ vreg_l7p: ldo7 {
> };
> };
>
> +&pm4125_adc {
[Severity: Low]
Similar to the io-channels property above, will extending this pm4125_adc
label cause a build failure if it isn't defined?
> + status = "okay";
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260824-pm4125-adc-thermal-v1-1-3b67ef2eccb2@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-08-24 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-24 14:49 [PATCH] arm64: dts: qcom: Add PMIC thermal support for Agatti QRB2210-RB1 platform Raj Aryan
2026-08-24 15:10 ` sashiko-bot [this message]
2026-09-03 9:02 ` Konrad Dybcio
2026-09-03 9:04 ` Konrad Dybcio
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=20260824151015.C12DC1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=raj.aryan@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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