From: sashiko-bot@kernel.org
To: "Shawn Guo" <shengchao.guo@oss.qualcomm.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v2 6/8] arm64: dts: qcom: Add device tree for Nord SA8797P SoC
Date: Tue, 19 May 2026 07:16:23 +0000 [thread overview]
Message-ID: <20260519071623.A452AC2BCB3@smtp.kernel.org> (raw)
In-Reply-To: <20260519063505.883379-7-shengchao.guo@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [High] SCMI providers are left disabled, leading to probe failures for dependent devices.
- [Medium] Missing GPU SMMU node claimed in the commit message.
- [Medium] Inconsistent and missing SCMI protocol sub-nodes compared to the commit message.
- [Low] Unresolved phandle dependency in shared `scmi-common.dtsi` breaks compilation for SoCs with fewer channels.
--
commit 360295b4c98c35977b904736f9ce01833171cfbb
Author: Deepti Jaggi <deepti.jaggi@oss.qualcomm.com>
arm64: dts: qcom: Add device tree for Nord SA8797P SoC
This commit adds the device tree include for the SA8797P automotive SoC.
It covers SCMI shared memory regions, GENI SE QUP blocks, and UFS
controllers, while introducing scmi-common.dtsi for shared SCMI
channel nodes.
> - GPU SMMU node with SCMI power domain via scmi15
Is this description accurate? There doesn't appear to be a GPU SMMU
node or any usage of the <&scmi15_pd> power domain in nord-sa8797p.dtsi.
> Also introduce scmi-common.dtsi providing the firmware-level SCMI
> channel nodes (scmi0, scmi3, scmi11, scmi15, scmi23) shared across
> SCMI based SoCs, each carrying clock, power domain, performance,
> and sensor protocol sub-nodes.
Are these sub-nodes correctly described?
Looking at the implementation in scmi-common.dtsi, the clock protocol
sub-node (protocol@14) is missing from all instances, and the sensor
protocol sub-node (protocol@15) is only present in scmi23.
Additionally, a reset protocol sub-node (protocol@16) is included in most
nodes but isn't mentioned here.
> diff --git a/arch/arm64/boot/dts/qcom/nord-sa8797p.dtsi b/arch/arm64/boot/dts/qcom/nord-sa8797p.dtsi
> index 0000000000000..343de75129282
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/nord-sa8797p.dtsi
[ ... ]
> +&ufs_mem_hc {
> + compatible = "qcom,sa8797p-ufshc",
> + "qcom,sa8255p-ufshc";
> + reg = <0x0 0x01d44000 0x0 0x3000>;
> + power-domains = <&scmi3_pd 0>;
> +};
Since scmi3 is defined with status = "disabled" in scmi-common.dtsi and
not overridden to "okay" here, will this prevent the SCMI provider from
probing?
If the SCMI providers remain disabled, won't this cause the power domain
core to perpetually defer probing for dependent devices like ufs_mem_hc,
uart0, and i2c0?
> diff --git a/arch/arm64/boot/dts/qcom/scmi-common.dtsi b/arch/arm64/boot/dts/qcom/scmi-common.dtsi
> index 0000000000000..0c7ffe9e415c4
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/scmi-common.dtsi
> @@ -0,0 +1,1918 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + */
> +
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +&firmware {
> + scmi0: scmi-0 {
> + compatible = "qcom,scmi-smc";
> + arm,smc-id = <0xc6008012>;
> + shmem = <&shmem0>;
Will this static reference to <&shmem0> through <&shmem63> break compilation
for other SoCs that include scmi-common.dtsi but have fewer than 64 channels?
Because the Device Tree Compiler validates phandles globally at compile time,
it seems any SoC including this file would be forced to define all 64 shmem
labels even if they are unused.
Should the shmem property assignments be moved to the SoC-specific .dtsi files
instead?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260519063505.883379-1-shengchao.guo@oss.qualcomm.com?part=6
next prev parent reply other threads:[~2026-05-19 7:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-19 6:34 [PATCH v2 0/8] Add initial device trees for Nord SA8797P Shawn Guo
2026-05-19 6:34 ` [PATCH v2 1/8] dt-bindings: arm: qcom,ids: Add SoC ID " Shawn Guo
2026-05-19 6:34 ` [PATCH v2 2/8] soc: qcom: socinfo: " Shawn Guo
2026-05-19 6:35 ` [PATCH v2 3/8] soc: qcom: socinfo: Add PMIC PMAU0102 Shawn Guo
2026-05-19 6:35 ` [PATCH v2 4/8] dt-bindings: crypto: qcom,inline-crypto-engine: Document Nord ICE Shawn Guo
2026-05-19 10:50 ` Harshal Dev
2026-05-19 6:35 ` [PATCH v2 5/8] arm64: dts: qcom: Add device tree for Nord SoC series Shawn Guo
2026-05-19 7:04 ` sashiko-bot
2026-05-19 6:35 ` [PATCH v2 6/8] arm64: dts: qcom: Add device tree for Nord SA8797P SoC Shawn Guo
2026-05-19 7:16 ` sashiko-bot [this message]
2026-05-19 6:35 ` [PATCH v2 7/8] dt-bindings: arm: qcom: Document SA8797P Ride board Shawn Guo
2026-05-19 7:28 ` sashiko-bot
2026-05-19 6:35 ` [PATCH v2 8/8] arm64: dts: qcom: Add device tree for " Shawn Guo
2026-05-19 7:35 ` 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=20260519071623.A452AC2BCB3@smtp.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