mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Linus Walleij <linusw@kernel.org>,
	Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	kernel test robot <lkp@intel.com>,
	Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>
Subject: [PATCH] ARM: dts: qcom: kuno: Add unit address to memory node
Date: Wed, 11 Nov 2026 21:45:49 +0530	[thread overview]
Message-ID: <20261111-kuno-dts-memory-unit-addr-v1-1-89e965f2c3ac@oss.qualcomm.com> (raw)

The /memory node has no unit address. The dtschema root node schema
does not allow a bare "memory" node, and dtc warns about the missing
unit name with W=1:

  qcom-kuno.dtsi:89.9-93.4: Warning (unit_address_vs_reg): /memory:
    node has a reg or ranges property, but no unit name
  qcom-kuno-idp.dtb: / (qcom,kuno-idp): False schema does not allow
    {'device_type': ['memory'], 'reg': [[0, 0]]}

The bootloader fills in both the base and the size of the memory node,
so keep the reg = <0x0 0x0> placeholder and name the node memory@0 to
match it, as done on other 32-bit Qualcomm SoCs such as apq8064,
msm8226 and msm8974.

Fixes: 7f6a63bc5fc9 ("ARM: dts: qcom: Add initial device tree for Kuno SoC")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202611101833.G7LTXoJv-lkp@intel.com/
Signed-off-by: Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>
---
 arch/arm/boot/dts/qcom/qcom-kuno.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/qcom/qcom-kuno.dtsi b/arch/arm/boot/dts/qcom/qcom-kuno.dtsi
index 9b111525e12b..eb5c1f3630b9 100644
--- a/arch/arm/boot/dts/qcom/qcom-kuno.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-kuno.dtsi
@@ -86,7 +86,7 @@ scm {
 		};
 	};
 
-	memory {
+	memory@0 {
 		device_type = "memory";
 		/* Bootloader will fill base and size */
 		reg = <0x0 0x0>;

---
base-commit: ae2005cea2e4f84692268e54199bb03f5c6f4558
change-id: 20261111-kuno-dts-memory-unit-addr-7f9fb954bb93

Best regards,
--  
Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>


                 reply	other threads:[~2026-11-11 16:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20261111-kuno-dts-memory-unit-addr-v1-1-89e965f2c3ac@oss.qualcomm.com \
    --to=hardeep.sharma@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=robh@kernel.org \
    /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

all inboxes | Powered by JetHome®