From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Joachim Eastwood <manabian@gmail.com>
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>, Kukjin Kim <kgene@kernel.org>,
devicetree <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
linux-samsung-soc@vger.kernel.org
Subject: Re: [PATCH] ARM: dts: s3c: Fix DTC unit name warnings in S3C2416 and S3C6410
Date: Sun, 3 Apr 2016 12:53:02 +0900 [thread overview]
Message-ID: <20160403035302.GD4919@kozik-lap> (raw)
In-Reply-To: <CAGhQ9VwJVz0riwx=DWY=giaL=Jo6R=HYZg4hm2FQ6X2_g5hi5Q@mail.gmail.com>
On Fri, Apr 01, 2016 at 04:22:59PM +0200, Joachim Eastwood wrote:
> On 1 April 2016 at 09:11, Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote:
> > Fix following DTC warnings in S3C2416 and S3C6410 boards:
> >
> > Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
> >
> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> > ---
> > arch/arm/boot/dts/s3c2416-smdk2416.dts | 2 +-
> > arch/arm/boot/dts/s3c6410-mini6410.dts | 2 +-
> > arch/arm/boot/dts/s3c6410-smdk6410.dts | 2 +-
> > 3 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/s3c2416-smdk2416.dts b/arch/arm/boot/dts/s3c2416-smdk2416.dts
> > index f257926c13b7..15f3d1c1bb80 100644
> > --- a/arch/arm/boot/dts/s3c2416-smdk2416.dts
> > +++ b/arch/arm/boot/dts/s3c2416-smdk2416.dts
> > @@ -15,7 +15,7 @@
> > model = "SMDK2416";
> > compatible = "samsung,s3c2416";
> >
> > - memory {
> > + memory@30000000 {
> > reg = <0x30000000 0x4000000>;
> > };
>
> This change will cause duplicated memory node entries in the DT as
> noted by Vladimir Zapolskiy [1]. Same goes for all the other patch
> where you make this change.
>
> $ scripts/dtc/dtc -I dtb -O dts arch/arm/boot/dts/s3c2416-smdk2416.dtb
> | grep -A2 memory
> memory {
> device_type = "memory";
> reg = <0x0 0x0>;
> };
> --
> memory@30000000 {
> reg = <0x30000000 0x4000000>;
> };
Yeah, I also spotted this later after running scripts/dtx_diff. I will
leave the memory node untouched.
Thanks for feedback!
Krzysztof
WARNING: multiple messages have this Message-ID (diff)
From: k.kozlowski@samsung.com (Krzysztof Kozlowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: s3c: Fix DTC unit name warnings in S3C2416 and S3C6410
Date: Sun, 3 Apr 2016 12:53:02 +0900 [thread overview]
Message-ID: <20160403035302.GD4919@kozik-lap> (raw)
In-Reply-To: <CAGhQ9VwJVz0riwx=DWY=giaL=Jo6R=HYZg4hm2FQ6X2_g5hi5Q@mail.gmail.com>
On Fri, Apr 01, 2016 at 04:22:59PM +0200, Joachim Eastwood wrote:
> On 1 April 2016 at 09:11, Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote:
> > Fix following DTC warnings in S3C2416 and S3C6410 boards:
> >
> > Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
> >
> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> > ---
> > arch/arm/boot/dts/s3c2416-smdk2416.dts | 2 +-
> > arch/arm/boot/dts/s3c6410-mini6410.dts | 2 +-
> > arch/arm/boot/dts/s3c6410-smdk6410.dts | 2 +-
> > 3 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/s3c2416-smdk2416.dts b/arch/arm/boot/dts/s3c2416-smdk2416.dts
> > index f257926c13b7..15f3d1c1bb80 100644
> > --- a/arch/arm/boot/dts/s3c2416-smdk2416.dts
> > +++ b/arch/arm/boot/dts/s3c2416-smdk2416.dts
> > @@ -15,7 +15,7 @@
> > model = "SMDK2416";
> > compatible = "samsung,s3c2416";
> >
> > - memory {
> > + memory at 30000000 {
> > reg = <0x30000000 0x4000000>;
> > };
>
> This change will cause duplicated memory node entries in the DT as
> noted by Vladimir Zapolskiy [1]. Same goes for all the other patch
> where you make this change.
>
> $ scripts/dtc/dtc -I dtb -O dts arch/arm/boot/dts/s3c2416-smdk2416.dtb
> | grep -A2 memory
> memory {
> device_type = "memory";
> reg = <0x0 0x0>;
> };
> --
> memory at 30000000 {
> reg = <0x30000000 0x4000000>;
> };
Yeah, I also spotted this later after running scripts/dtx_diff. I will
leave the memory node untouched.
Thanks for feedback!
Krzysztof
next prev parent reply other threads:[~2016-04-03 3:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-01 7:11 [PATCH] ARM: dts: s3c: Fix DTC unit name warnings in S3C2416 and S3C6410 Krzysztof Kozlowski
2016-04-01 7:11 ` Krzysztof Kozlowski
2016-04-01 7:11 ` Krzysztof Kozlowski
2016-04-01 14:22 ` Joachim Eastwood
2016-04-01 14:22 ` Joachim Eastwood
2016-04-01 14:22 ` Joachim Eastwood
2016-04-03 3:53 ` Krzysztof Kozlowski [this message]
2016-04-03 3:53 ` Krzysztof Kozlowski
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=20160403035302.GD4919@kozik-lap \
--to=k.kozlowski@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=kgene@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=manabian@gmail.com \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@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 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.