public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 07/20] ARM: dts: sun4i: Remove skeleton and memory to avoid warnings
Date: Fri, 6 Oct 2017 10:47:40 +0200	[thread overview]
Message-ID: <20171006084740.5g7tavojdghn7cma@flea> (raw)
In-Reply-To: <CAGb2v66LnQB1jqU5BWNEYjws3YLVBndLf8-ofLE+6JgZ1GtnXA@mail.gmail.com>

On Thu, Oct 05, 2017 at 03:43:53PM +0000, Chen-Yu Tsai wrote:
> On Thu, Oct 5, 2017 at 6:49 PM, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
> > Using skeleton.dtsi will create a memory node that will generate a warning
> > in DTC. However, that node will be created by the bootloader, so we can
> > just remove it entirely in order to remove that warning.
> >
> > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> > ---
> >  arch/arm/boot/dts/sun4i-a10.dtsi | 8 ++------
> >  1 file changed, 2 insertions(+), 6 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
> > index 1876abb62ec7..f64544f615ea 100644
> > --- a/arch/arm/boot/dts/sun4i-a10.dtsi
> > +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
> > @@ -41,14 +41,14 @@
> >   *     OTHER DEALINGS IN THE SOFTWARE.
> >   */
> >
> > -#include "skeleton.dtsi"
> > -
> >  #include <dt-bindings/thermal/thermal.h>
> >  #include <dt-bindings/dma/sun4i-a10.h>
> >  #include <dt-bindings/clock/sun4i-a10-ccu.h>
> >  #include <dt-bindings/reset/sun4i-a10-ccu.h>
> >
> >  / {
> > +       #address-cells = <1>;
> > +       #size-cells = <1>;
> >         interrupt-parent = <&intc>;
> >
> >         aliases {
> > @@ -160,10 +160,6 @@
> >                 };
> >         };
> >
> > -       memory {
> > -               reg = <0x40000000 0x80000000>;
> > -       };
> > -
> 
> My only concern (I'm not sure if it's valid or not) is U-boot not being
> able to add nodes or properties due to lack of space within the DT
> blob. It seemed like a possibility in older versions.
> 
> Otherwise,
> 
> Acked-by: Chen-Yu Tsai <wens@csie.org>

I don't think we really have to worry about it. We've had a bunch of
nodes (like the PSCI nodes) created in the same way for quite some
time already without causing any issues.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171006/08188b7f/attachment-0001.sig>

  reply	other threads:[~2017-10-06  8:47 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-05 10:49 [PATCH 00/20] sunxi: Cleanup DT warnings for the A10 and A80 Maxime Ripard
2017-10-05 10:49 ` [PATCH 01/20] ARM: dts: sunxi: Remove leading zeros from unit-addresses Maxime Ripard
2017-10-05 15:22   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 02/20] ARM: dts: axp209: Rename usb_power_supply node to avoid warnings Maxime Ripard
2017-10-05 15:22   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 03/20] ARM: dts: sun4i: Change framebuffer node names " Maxime Ripard
2017-10-05 15:23   ` Chen-Yu Tsai
2017-10-05 15:24     ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 04/20] ARM: dts: sun4i: Change clock " Maxime Ripard
2017-10-05 15:23   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 05/20] ARM: dts: sun4i: Change pinctrl nodes to avoid warning Maxime Ripard
2017-10-05 15:29   ` Chen-Yu Tsai
2017-10-06  8:45     ` Maxime Ripard
2017-10-05 10:49 ` [PATCH 06/20] ARM: dts: sun4i: Provide default muxing for relevant controllers Maxime Ripard
2017-10-05 15:32   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 07/20] ARM: dts: sun4i: Remove skeleton and memory to avoid warnings Maxime Ripard
2017-10-05 15:43   ` Chen-Yu Tsai
2017-10-06  8:47     ` Maxime Ripard [this message]
2017-10-06 10:59       ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 08/20] ARM: dts: sun4i: Change LRADC node names " Maxime Ripard
2017-10-05 15:52   ` Chen-Yu Tsai
2017-10-06  9:26     ` Maxime Ripard
2017-10-05 10:49 ` [PATCH 09/20] ARM: dts: sun4i: Remove SoC node unit-name " Maxime Ripard
2017-10-05 15:44   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 10/20] ARM: dts: sun4i: Rename thermal nodes " Maxime Ripard
2017-10-05 15:44   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 11/20] ARM: dts: sun4i: Remove all useless pinctrl nodes Maxime Ripard
2017-10-05 15:48   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 12/20] ARM: dts: sun4i: Remove underscores from nodes names Maxime Ripard
2017-10-05 15:49   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 13/20] ARM: dts: sun4i: Remove gpio-keys warnings Maxime Ripard
2017-10-05 15:51   ` Chen-Yu Tsai
2017-10-06  9:27     ` Maxime Ripard
2017-10-06 10:25       ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 14/20] ARM: dts: sun9i: Remove skeleton to avoid warnings Maxime Ripard
2017-10-05 15:51   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 15/20] ARM: dts: sun9i: Rename pinctrl nodes " Maxime Ripard
2017-10-05 15:54   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 16/20] ARM: dts: sun9i: Remove GPIO " Maxime Ripard
2017-10-05 15:53   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 17/20] ARM: dts: sun9i: optimus: Remove card detect pull-up Maxime Ripard
2017-10-05 15:53   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 18/20] ARM: dts: sun9i: cubieboard4: " Maxime Ripard
2017-10-05 15:53   ` Chen-Yu Tsai
2017-10-05 10:49 ` [PATCH 19/20] ARM: dts: sun9i: Change node names to remove underscores Maxime Ripard
2017-10-05 15:56   ` Chen-Yu Tsai
2017-10-06  9:34     ` Maxime Ripard
2017-10-05 10:49 ` [PATCH 20/20] " Maxime Ripard
2017-10-05 15:59   ` Chen-Yu Tsai
2017-10-06  9:34     ` Maxime Ripard

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=20171006084740.5g7tavojdghn7cma@flea \
    --to=maxime.ripard@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.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