All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Neil Armstrong" <neil.armstrong@linaro.org>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v6 2/5] arm64: dts: qcom: sm8550-qrd: add SPMI ADC channels and thermal nodes
Date: Tue, 21 Jul 2026 15:49:42 +0000	[thread overview]
Message-ID: <20260721154942.DCD441F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260721-topic-sm8x50-adc5-gen3-v6-2-a507f4a1e537@linaro.org>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Missing device tree header `qcom-adc5-gen3.h` and undefined parameterized macros cause DT build failures.
--

--- Patch [2]: [PATCH v6 2/5] arm64: dts: qcom: sm8550-qrd: add SPMI ADC channels and thermal nodes ---
commit 10ac856253ee6a9bfd1b29cd5e0fd011493eaf4e
Author: Neil Armstrong <neil.armstrong@linaro.org>

arm64: dts: qcom: sm8550-qrd: add SPMI ADC channels and thermal nodes

Add the SPMI ADC channels on the PMK8550 SPMI5 ADC3 for the other PMICS on
the system. The thermal nodes are sorted by the sensor channel to be coherent
with the system thermal nodes ordering.

> diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts
> index 2fb2e0be5e4c6..f0cee98df35de 100644
> --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts
[ ... ]
> @@ -205,6 +205,92 @@ platform {
>  		};
>  	};
>  
> +	thermal-zones {
> +		skin-thermal {
> +			thermal-sensors = <&pmk8550_vadc ADC5_GEN3_AMUX1_THM_100K_PU(1)>;

[Severity: Low]
Does this device tree compile cleanly? It looks like the macro 
ADC5_GEN3_AMUX1_THM_100K_PU(1) is parameterized, but the necessary header
(qcom-adc5-gen3.h) doesn't appear to be included or added in this series.

Without the proper header definition, existing parameterless macros might
cause this to expand into invalid syntax like 0x44(1) during the device
tree compilation phase.

[ ... ]
> +	channel@144 {
> +		reg = <ADC5_GEN3_AMUX1_THM_100K_PU(1)>;

[Severity: Low]
Another instance of the parameterized macro usage here. Is there a missing
patch in this series that adds the qcom-adc5-gen3.h header and macro
definitions?

> +		label = "pm8550_msm_therm";
> +		qcom,ratiometric;
[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260721-topic-sm8x50-adc5-gen3-v6-0-a507f4a1e537@linaro.org?part=2

  reply	other threads:[~2026-07-21 15:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-21 15:31 [PATCH v6 0/5] arm64: dts: qcom: sm8[56]50: add PMIC5 Gen3 ADC channels Neil Armstrong
2026-07-21 15:31 ` [PATCH v6 1/5] arm64: dts: qcom: pmk8550: add VADC node Neil Armstrong
2026-07-21 15:40   ` sashiko-bot
2026-07-21 15:31 ` [PATCH v6 2/5] arm64: dts: qcom: sm8550-qrd: add SPMI ADC channels and thermal nodes Neil Armstrong
2026-07-21 15:49   ` sashiko-bot [this message]
2026-07-21 15:31 ` [PATCH v6 3/5] arm64: dts: qcom: sm8550-hdk: " Neil Armstrong
2026-07-21 15:37   ` Konrad Dybcio
2026-07-21 16:04   ` sashiko-bot
2026-07-21 15:31 ` [PATCH v6 4/5] arm64: dts: qcom: sm8650-qrd: " Neil Armstrong
2026-07-21 15:54   ` sashiko-bot
2026-07-21 17:02   ` Konrad Dybcio
2026-07-21 15:31 ` [PATCH v6 5/5] arm64: dts: qcom: sm8650-hdk: " Neil Armstrong
2026-07-21 15:47   ` sashiko-bot
2026-07-21 17:02   ` 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=20260721154942.DCD441F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=neil.armstrong@linaro.org \
    --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 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.