From: sashiko-bot@kernel.org
To: "Varadarajan Narayanan" <varadarajan.narayanan@oss.qualcomm.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v3 3/3] arm64: dts: qcom: ipq5210: Introduce RDP504 variant specific DT file
Date: Thu, 23 Jul 2026 09:16:07 +0000 [thread overview]
Message-ID: <20260723091607.D81DD1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260723-08-dts-v3-3-074eb131f382@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The eMMC and NAND variants of the IPQ5210 RDP504 board use identical `model` and `compatible` strings, making them indistinguishable to the bootloader and userspace.
- [Low] The newly added device tree file `ipq5210-rdp504-nand.dts` is missing from the subsystem `Makefile`, meaning it will not be compiled.
--
--- Patch [3]: [PATCH v3 3/3] arm64: dts: qcom: ipq5210: Introduce RDP504 variant specific DT file ---
commit 063e69c2f98cf6d7bdbb548ab9f8b5c63c82cda2
Author: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
arm64: dts: qcom: ipq5210: Introduce RDP504 variant specific DT file
Add two DT files, one for the default eMMC variant and one for the NAND
variant.
> diff --git a/arch/arm64/boot/dts/qcom/ipq5210-rdp504-nand.dts b/arch/arm64/boot/dts/qcom/ipq5210-rdp504-nand.dts
> new file mode 100644
> index 0000000000000..0902681669b4b
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/ipq5210-rdp504-nand.dts
[Severity: Low]
Is a change to arch/arm64/boot/dts/qcom/Makefile missing from this patch?
Without adding this file to the Makefile (e.g., dtb-$(CONFIG_ARCH_QCOM) +=
ipq5210-rdp504-nand.dtb), the build system will silently ignore it and fail
to produce the DTB.
> @@ -0,0 +1,17 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + */
> +
> +/dts-v1/;
> +
> +#include "ipq5210-rdp504-common.dtsi"
> +
> +/ {
> + model = "Qualcomm Technologies, Inc. IPQ5210 RDP504";
> + compatible = "qcom,ipq5210-rdp504", "qcom,ipq5210";
[Severity: Medium]
Both the NAND and eMMC variants use identical model and compatible strings.
Will this make it impossible for a bootloader or userspace to dynamically
distinguish between the two distinct hardware configurations?
If a generic bootloader relies on the compatible or model strings to match
hardware to a DTB, could this ambiguity cause the wrong DTB to be selected?
[ ... ]
> diff --git a/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts b/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts
> new file mode 100644
> index 0000000000000..cd65826944e34
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts
> @@ -0,0 +1,17 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + */
> +
> +/dts-v1/;
> +
> +#include "ipq5210-rdp504-common.dtsi"
> +
> +/ {
> + model = "Qualcomm Technologies, Inc. IPQ5210 RDP504";
> + compatible = "qcom,ipq5210-rdp504", "qcom,ipq5210";
[Severity: Medium]
Does this eMMC variant also need distinct model and compatible strings to
safely differentiate it from the NAND variant above?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260723-08-dts-v3-0-074eb131f382@oss.qualcomm.com?part=3
prev parent reply other threads:[~2026-07-23 9:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 9:08 [PATCH v3 0/3] Enable mutliple peripherals in IPQ5210 Varadarajan Narayanan
2026-07-23 9:08 ` [PATCH v3 1/3] arm64: dts: qcom: ipq5210: Add nodes for multiple peripherals Varadarajan Narayanan
2026-07-23 9:26 ` sashiko-bot
2026-07-23 9:08 ` [PATCH v3 2/3] arm64: dts: qcom: ipq5210: Introduce RDP504 common DT file Varadarajan Narayanan
2026-07-23 9:17 ` sashiko-bot
2026-07-23 9:08 ` [PATCH v3 3/3] arm64: dts: qcom: ipq5210: Introduce RDP504 variant specific " Varadarajan Narayanan
2026-07-23 9:16 ` sashiko-bot [this message]
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=20260723091607.D81DD1F000E9@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=varadarajan.narayanan@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 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.