Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Shawn Guo" <shengchao.guo@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 3/7] arm64: dts: qcom: lemans: Move platform resources into lemans-embedded.dtsi
Date: Thu, 15 Oct 2026 02:48:44 +0000	[thread overview]
Message-ID: <sashiko-outbox-172177@kernel.org> (raw)
In-Reply-To: <20261015023711.721837-4-shengchao.guo@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dts: Incorrect removal of 'compatible' from base DTSI nodes
--

commit f8600c852f6da5600fb82650c04f9b466cb80549
Author: Shawn Guo <shengchao.guo@oss.qualcomm.com>

arm64: dts: qcom: lemans: Move platform resources into lemans-embedded.dtsi

This commit moves platform resources like clocks, regulators, and interconnects
from the base lemans.dtsi to the lemans-embedded.dtsi file. This isolates
these managed configurations so the base devicetree can be shared with the
GearVM variant.

> diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi
> index 7547042d8e851..821c86409c5da 100644
> --- a/arch/arm64/boot/dts/qcom/lemans.dtsi
> +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi
[ ... ]
> @@ -4662,49 +3089,9 @@ gpu: gpu@3d00000 {
[ ... ]
>  		gmu: gmu@3d6a000 {
> -			compatible = "qcom,adreno-gmu-663.0", "qcom,adreno-gmu";

[Severity: Medium]
Does this leave the GMU node structurally incomplete for other variants?

A compatible string is typically a fundamental description of the hardware IP
rather than a dynamically managed platform resource. Removing it from the base
lemans.dtsi means that any environment (like the incoming GearVM variant)
including this file will inherit a node that has "reg" and "interrupts" but
lacks a compatible string.

Will this break devicetree schema validation and prevent proper driver binding
for variants that do not include lemans-embedded.dtsi?

>  			reg = <0x0 0x03d6a000 0x0 0x34000>,
>  			      <0x0 0x03de0000 0x0 0x10000>,
>  			      <0x0 0x0b290000 0x0 0x10000>;
[ ... ]
> -		pmu@9091000 {
> -			compatible = "qcom,sa8775p-llcc-bwmon", "qcom,sc7280-llcc-bwmon";
> +		llcc_bwmon: pmu@9091000 {

[Severity: Medium]
Similarly, does removing the compatible string for the llcc_bwmon node here
leave it incomplete in the base devicetree?

>  			reg = <0x0 0x9091000 0x0 0x1000>;
>  			interrupts = <GIC_SPI 620 IRQ_TYPE_LEVEL_HIGH>;
[ ... ]
> -		pmu@90b5400 {
> -			compatible = "qcom,sa8775p-cpu-bwmon", "qcom,sdm845-bwmon";
> +		cpu_bwmon0: pmu@90b5400 {

[Severity: Medium]
Does this also incorrectly strip the hardware description from the cpu_bwmon0
node for environments relying only on lemans.dtsi?

>  			reg = <0x0 0x90b5400 0x0 0x600>;
>  			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
[ ... ]
> -		pmu@90b6400 {
> -			compatible = "qcom,sa8775p-cpu-bwmon", "qcom,sdm845-bwmon";
> +		cpu_bwmon1: pmu@90b6400 {

[Severity: Medium]
Does this also incorrectly strip the hardware description from the cpu_bwmon1
node for environments relying only on lemans.dtsi?

>  			reg = <0x0 0x90b6400 0x0 0x600>;
>  			interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261015023711.721837-1-shengchao.guo@oss.qualcomm.com?part=3

  reply	other threads:[~2026-10-15  2:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-15  2:37 [PATCH v2 0/7] arm64: dts: qcom: Introduce SA8255P as Lemans family SoC Shawn Guo
2026-10-15  2:37 ` [PATCH v2 1/7] arm64: dts: qcom: Introduce lemans-embedded.dtsi as a placeholder Shawn Guo
2026-10-15  2:37 ` [PATCH v2 2/7] arm64: dts: qcom: lemans: Move pinctrl states into lemans-embedded.dtsi Shawn Guo
2026-10-15  2:37 ` [PATCH v2 3/7] arm64: dts: qcom: lemans: Move platform resources " Shawn Guo
2026-10-15  2:48   ` sashiko-bot [this message]
2026-10-15  2:37 ` [PATCH v2 4/7] arm64: dts: qcom: lemans: Add label for firmware and reserved-memory Shawn Guo
2026-10-15  2:37 ` [PATCH v2 5/7] arm64: dts: qcom: Add device tree for Lemans GearVM variant Shawn Guo
2026-10-15  2:37 ` [PATCH v2 6/7] dt-bindings: arm: qcom: add SA8255p Ride board Shawn Guo
2026-10-15  2:37 ` [PATCH v2 7/7] arm64: dts: qcom: lemans: Enable lemans-sa8255p-ride board support Shawn Guo
2026-10-15  2:48   ` sashiko-bot

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=sashiko-outbox-172177@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=shengchao.guo@oss.qualcomm.com \
    /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