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 v5 1/7] arm64: dts: qcom: Add device tree for Nord SoC series
Date: Thu, 09 Jul 2026 13:38:32 +0000 [thread overview]
Message-ID: <20260709133832.82D731F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260709132013.4096850-2-shengchao.guo@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [High] The UFS host controller node specifies a unit address but is missing a `reg` property.
- [Low] The `watchdog@17826000` node references a `sleep_clk` clock label, but this label/phandle is not defined anywhere in the SoC `.dtsi`.
- [Low] The SPI controller nodes within the QUPv3 wrappers are missing the mandatory `#address-cells` and `#size-cells` properties.
- [Low] The QUPv3 wrapper and serial engine nodes (`i2c`, `spi`, `uart`) are missing mandatory `clocks` and `clock-names` properties.
--
--- Patch [1]: [PATCH v5 1/7] arm64: dts: qcom: Add device tree for Nord SoC series ---
commit 85da8a1968eae51c682bf41212bb6ddfbb6a4ee8
Author: Shawn Guo <shengchao.guo@oss.qualcomm.com>
arm64: dts: qcom: Add device tree for Nord SoC series
This commit adds the base device tree include (nord.dtsi) for the Nord SoC
series, describing core hardware components like Oryon cores, GICv3, TLMM,
SMMU, and QUP blocks.
> diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi
> new file mode 100644
> index 0000000000000..716297bcc9a63
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/nord.dtsi
[ ... ]
> + qupv3_2: geniqup@8c0000 {
> + compatible = "qcom,geni-se-qup";
> + reg = <0x0 0x008c0000 0x0 0x2000>;
> + #address-cells = <2>;
> + #size-cells = <2>;
> + iommus = <&apps_smmu_0 0x15a3 0x0>;
> + ranges;
[Severity: Low]
The QUPv3 wrapper and its child serial engine nodes (i2c, spi, uart) appear to
be missing the mandatory clocks and clock-names properties. Are dummy or fixed
clocks needed here to prevent dtbs_check validation errors if the clock
controller is not yet available?
[ ... ]
> + spi14: spi@880000 {
> + compatible = "qcom,geni-spi";
> + reg = <0x0 0x00880000 0x0 0x4000>;
> + interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
> +
> + status = "disabled";
> + };
[Severity: Low]
This spi node, and others throughout the file, seems to be missing the
#address-cells = <1> and #size-cells = <0> properties. Without these, won't
child peripheral nodes fail to specify their chip select addresses, causing
dtbs_check schema validation errors?
[ ... ]
> + ufs_mem_hc: ufshc@1d44000 {
> + compatible = "qcom,nord-ufshc",
> + "qcom,ufshc",
> + "jedec,ufs-2.0";
> + interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
> + lanes-per-direction = <2>;
> + iommus = <&apps_smmu_0 0x14c0 0x0>;
> + dma-coherent;
> + msi-parent = <&gic_its 0x14c0>;
> + };
[Severity: High]
Does this UFS host controller node need a reg property? Since it specifies a
unit address (ufshc@1d44000), omitting the reg property violates the device
tree specification.
Could this also cause the ufshc driver probe to fail when it attempts to
fetch the MMIO base?
[ ... ]
> + watchdog@17826000 {
> + compatible = "qcom,apss-wdt-nord",
> + "qcom,kpss-wdt";
> + reg = <0x0 0x17826000 0x0 0x1000>;
> + clocks = <&sleep_clk>;
> + interrupts = <GIC_ESPI 848 IRQ_TYPE_EDGE_RISING>;
> + };
[Severity: Low]
The clocks property references &sleep_clk, but this phandle does not appear
to be defined anywhere in this SoC .dtsi.
If a board file includes this file without explicitly declaring sleep_clk,
will it cause a dtc compilation error for a non-existent node or label?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260709132013.4096850-1-shengchao.guo@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-07-09 13:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 13:20 [PATCH v5 0/7] Add initial device trees for Nord platform Shawn Guo
2026-07-09 13:20 ` [PATCH v5 1/7] arm64: dts: qcom: Add device tree for Nord SoC series Shawn Guo
2026-07-09 13:38 ` sashiko-bot [this message]
2026-07-09 13:20 ` [PATCH v5 2/7] arm64: dts: qcom: Add device tree for Nord GearVM variant Shawn Guo
2026-07-09 13:51 ` sashiko-bot
2026-07-09 13:20 ` [PATCH v5 3/7] dt-bindings: arm: qcom: Document SA8797P Ride board Shawn Guo
2026-07-09 13:20 ` [PATCH v5 4/7] arm64: dts: qcom: Add device tree for " Shawn Guo
2026-07-09 13:20 ` [PATCH v5 5/7] arm64: dts: qcom: Add device tree for Nord Embedded variant Shawn Guo
2026-07-09 13:20 ` [PATCH v5 6/7] dt-bindings: arm: qcom: Document Nord IQ10 RRD board Shawn Guo
2026-07-10 7:04 ` Krzysztof Kozlowski
2026-07-10 7:07 ` Krzysztof Kozlowski
2026-07-09 13:20 ` [PATCH v5 7/7] arm64: dts: qcom: Add device tree for " Shawn Guo
2026-07-09 14:30 ` 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=20260709133832.82D731F000E9@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