All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: dts: skeleton: fix unit name warning from dtc
@ 2017-03-13  7:53 Wenyou Yang
  2017-03-13  9:00 ` Masahiro Yamada
  2017-03-13 15:49 ` Stephen Warren
  0 siblings, 2 replies; 5+ messages in thread
From: Wenyou Yang @ 2017-03-13  7:53 UTC (permalink / raw)
  To: u-boot

Fix the following warning from dtc by adding the unit name for
the memory node.
---8<---
Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
---<8---

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
---

 arch/arm/dts/skeleton.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/skeleton.dtsi b/arch/arm/dts/skeleton.dtsi
index b41d241de2..a20da0a7a6 100644
--- a/arch/arm/dts/skeleton.dtsi
+++ b/arch/arm/dts/skeleton.dtsi
@@ -9,5 +9,5 @@
 	#size-cells = <1>;
 	chosen { };
 	aliases { };
-	memory { device_type = "memory"; reg = <0 0>; };
+	memory at 0 { device_type = "memory"; reg = <0 0>; };
 };
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] ARM: dts: skeleton: fix unit name warning from dtc
  2017-03-13  7:53 [U-Boot] [PATCH] ARM: dts: skeleton: fix unit name warning from dtc Wenyou Yang
@ 2017-03-13  9:00 ` Masahiro Yamada
  2017-03-13 13:24   ` Simon Glass
  2017-03-13 15:49 ` Stephen Warren
  1 sibling, 1 reply; 5+ messages in thread
From: Masahiro Yamada @ 2017-03-13  9:00 UTC (permalink / raw)
  To: u-boot

2017-03-13 16:53 GMT+09:00 Wenyou Yang <wenyou.yang@atmel.com>:
> Fix the following warning from dtc by adding the unit name for
> the memory node.
> ---8<---
> Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
> ---<8---
>
> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
> ---
>
>  arch/arm/dts/skeleton.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/dts/skeleton.dtsi b/arch/arm/dts/skeleton.dtsi
> index b41d241de2..a20da0a7a6 100644
> --- a/arch/arm/dts/skeleton.dtsi
> +++ b/arch/arm/dts/skeleton.dtsi
> @@ -9,5 +9,5 @@
>         #size-cells = <1>;
>         chosen { };
>         aliases { };
> -       memory { device_type = "memory"; reg = <0 0>; };
> +       memory at 0 { device_type = "memory"; reg = <0 0>; };
>  };
> --
> 2.11.0
>



As far as I can tell, the DT community decided to
deprecate skeleton.dtsi (and people are fixing DT files
to not include it).



commit 9c0da3cc61f1233c2782e2d3d91e3d0707dd4ba5
Author: Mark Rutland <mark.rutland@arm.com>
Date:   Fri Sep 2 17:34:50 2016 +0100

    ARM: dts: explicitly mark skeleton.dtsi as deprecated

    As noted in commit 3ebee5a2e141496b ("arm64: dts: kill skeleton.dtsi"),
    there are a number of problems with skeleton.dtsi, and it would be
    prefereable to remove it entirely. As there are a large number of
    existing users, fixing these up will take a while.

    This patch adds a note to arm's skeleton.dtsi noting that this is the
    case, to make this more obvious and hopefully minimize new uptake of
    skeleton.dtsi in the mean time.

    Signed-off-by: Mark Rutland <mark.rutland@arm.com>
    Acked-by: Rob Herring <robh@kernel.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Olof Johansson <olof@lixom.net>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>





-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] ARM: dts: skeleton: fix unit name warning from dtc
  2017-03-13  9:00 ` Masahiro Yamada
@ 2017-03-13 13:24   ` Simon Glass
  2017-03-17  1:07     ` Wenyou.Yang at microchip.com
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Glass @ 2017-03-13 13:24 UTC (permalink / raw)
  To: u-boot

Hi,

On 13 March 2017 at 03:00, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> 2017-03-13 16:53 GMT+09:00 Wenyou Yang <wenyou.yang@atmel.com>:
>> Fix the following warning from dtc by adding the unit name for
>> the memory node.
>> ---8<---
>> Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
>> ---<8---
>>
>> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
>> ---
>>
>>  arch/arm/dts/skeleton.dtsi | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/dts/skeleton.dtsi b/arch/arm/dts/skeleton.dtsi
>> index b41d241de2..a20da0a7a6 100644
>> --- a/arch/arm/dts/skeleton.dtsi
>> +++ b/arch/arm/dts/skeleton.dtsi
>> @@ -9,5 +9,5 @@
>>         #size-cells = <1>;
>>         chosen { };
>>         aliases { };
>> -       memory { device_type = "memory"; reg = <0 0>; };
>> +       memory at 0 { device_type = "memory"; reg = <0 0>; };
>>  };
>> --
>> 2.11.0
>>
>
>
>
> As far as I can tell, the DT community decided to
> deprecate skeleton.dtsi (and people are fixing DT files
> to not include it).
>
>
>
> commit 9c0da3cc61f1233c2782e2d3d91e3d0707dd4ba5
> Author: Mark Rutland <mark.rutland@arm.com>
> Date:   Fri Sep 2 17:34:50 2016 +0100
>
>     ARM: dts: explicitly mark skeleton.dtsi as deprecated
>
>     As noted in commit 3ebee5a2e141496b ("arm64: dts: kill skeleton.dtsi"),
>     there are a number of problems with skeleton.dtsi, and it would be
>     prefereable to remove it entirely. As there are a large number of
>     existing users, fixing these up will take a while.
>
>     This patch adds a note to arm's skeleton.dtsi noting that this is the
>     case, to make this more obvious and hopefully minimize new uptake of
>     skeleton.dtsi in the mean time.
>
>     Signed-off-by: Mark Rutland <mark.rutland@arm.com>
>     Acked-by: Rob Herring <robh@kernel.org>
>     Cc: Arnd Bergmann <arnd@arndb.de>
>     Cc: Olof Johansson <olof@lixom.net>
>     Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>
>

OK so perhaps a patch to mark it deprecated, and a patch to remove it
from the Atmel boards would be better?

Regards,
Simon

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] ARM: dts: skeleton: fix unit name warning from dtc
  2017-03-13  7:53 [U-Boot] [PATCH] ARM: dts: skeleton: fix unit name warning from dtc Wenyou Yang
  2017-03-13  9:00 ` Masahiro Yamada
@ 2017-03-13 15:49 ` Stephen Warren
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Warren @ 2017-03-13 15:49 UTC (permalink / raw)
  To: u-boot

On 03/13/2017 01:53 AM, Wenyou Yang wrote:
> Fix the following warning from dtc by adding the unit name for
> the memory node.
> ---8<---
> Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
> ---<8---

The /memory node is special; it must be named /memory so that it has a 
fixed well-known name. So NAK (whether applied to skeleton.dtsi, or the 
same logical change to any other DTS if skeleton.dtsi is removed).

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] ARM: dts: skeleton: fix unit name warning from dtc
  2017-03-13 13:24   ` Simon Glass
@ 2017-03-17  1:07     ` Wenyou.Yang at microchip.com
  0 siblings, 0 replies; 5+ messages in thread
From: Wenyou.Yang at microchip.com @ 2017-03-17  1:07 UTC (permalink / raw)
  To: u-boot

Hi Simon,

> -----Original Message-----
> From: sjg at google.com [mailto:sjg at google.com] On Behalf Of Simon Glass
> Sent: 2017年3月13日 21:24
> To: Masahiro Yamada <yamada.masahiro@socionext.com>
> Cc: Wenyou Yang - A41535 <Wenyou.Yang@microchip.com>; U-Boot Mailing
> List <u-boot@lists.denx.de>; Stephen Warren <swarren@nvidia.com>
> Subject: Re: [U-Boot] [PATCH] ARM: dts: skeleton: fix unit name warning from dtc
> 
> Hi,
> 
> On 13 March 2017 at 03:00, Masahiro Yamada
> <yamada.masahiro@socionext.com> wrote:
> > 2017-03-13 16:53 GMT+09:00 Wenyou Yang <wenyou.yang@atmel.com>:
> >> Fix the following warning from dtc by adding the unit name for the
> >> memory node.
> >> ---8<---
> >> Warning (unit_address_vs_reg): Node /memory has a reg or ranges
> >> property, but no unit name
> >> ---<8---
> >>
> >> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
> >> ---
> >>
> >>  arch/arm/dts/skeleton.dtsi | 2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/arch/arm/dts/skeleton.dtsi b/arch/arm/dts/skeleton.dtsi
> >> index b41d241de2..a20da0a7a6 100644
> >> --- a/arch/arm/dts/skeleton.dtsi
> >> +++ b/arch/arm/dts/skeleton.dtsi
> >> @@ -9,5 +9,5 @@
> >>         #size-cells = <1>;
> >>         chosen { };
> >>         aliases { };
> >> -       memory { device_type = "memory"; reg = <0 0>; };
> >> +       memory at 0 { device_type = "memory"; reg = <0 0>; };
> >>  };
> >> --
> >> 2.11.0
> >>
> >
> >
> >
> > As far as I can tell, the DT community decided to deprecate
> > skeleton.dtsi (and people are fixing DT files to not include it).
> >
> >
> >
> > commit 9c0da3cc61f1233c2782e2d3d91e3d0707dd4ba5
> > Author: Mark Rutland <mark.rutland@arm.com>
> > Date:   Fri Sep 2 17:34:50 2016 +0100
> >
> >     ARM: dts: explicitly mark skeleton.dtsi as deprecated
> >
> >     As noted in commit 3ebee5a2e141496b ("arm64: dts: kill skeleton.dtsi"),
> >     there are a number of problems with skeleton.dtsi, and it would be
> >     prefereable to remove it entirely. As there are a large number of
> >     existing users, fixing these up will take a while.
> >
> >     This patch adds a note to arm's skeleton.dtsi noting that this is the
> >     case, to make this more obvious and hopefully minimize new uptake of
> >     skeleton.dtsi in the mean time.
> >
> >     Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> >     Acked-by: Rob Herring <robh@kernel.org>
> >     Cc: Arnd Bergmann <arnd@arndb.de>
> >     Cc: Olof Johansson <olof@lixom.net>
> >     Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> >
> >
> 
> OK so perhaps a patch to mark it deprecated, and a patch to remove it from the
> Atmel boards would be better?

Thank you for your information.

I will send a patch to remove it from the Atmel boards.


Best Regards,
Wenyou Yang

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-17  1:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-13  7:53 [U-Boot] [PATCH] ARM: dts: skeleton: fix unit name warning from dtc Wenyou Yang
2017-03-13  9:00 ` Masahiro Yamada
2017-03-13 13:24   ` Simon Glass
2017-03-17  1:07     ` Wenyou.Yang at microchip.com
2017-03-13 15:49 ` Stephen Warren

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.