linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: jason@lakedaemon.net (Jason Cooper)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] ARM: mvebu: sort DT nodes by reg address
Date: Thu, 12 Dec 2013 15:25:15 +0000	[thread overview]
Message-ID: <cover.1386861599.git.jason@lakedaemon.net> (raw)
In-Reply-To: <20130816061500.GE7035@quad.lixom.net>

Olof, all,

I love December!  I'm getting around to some of the items on my -onice folder.
Namely, this one:

On Thu, Aug 15, 2013 at 11:15:00PM -0700, Olof Johansson wrote:
> On Wed, Aug 14, 2013 at 02:59:45PM -0400, Jason Cooper wrote:
...
> > diff --cc arch/arm/boot/dts/kirkwood.dtsi
> > index 70f414d,1d6921d..6489b98
> > --- a/arch/arm/boot/dts/kirkwood.dtsi
> > +++ b/arch/arm/boot/dts/kirkwood.dtsi
> > @@@ -47,11 -30,30 +40,35 @@@
> >             #address-cells = <1>;
> >             #size-cells = <1>;
> >   
> > +           timer: timer at 20300 {
> > +                   compatible = "marvell,orion-timer";
> > +                   reg = <0x20300 0x20>;
> > +                   interrupt-parent = <&bridge_intc>;
> > +                   interrupts = <1>, <2>;
> > +                   clocks = <&core_clk 0>;
> > +           };
> > + 
> > +           intc: main-interrupt-ctrl at 20200 {
> > +                   compatible = "marvell,orion-intc";
> > +                   interrupt-controller;
> > +                   #interrupt-cells = <1>;
> > +                   reg = <0x20200 0x10>, <0x20210 0x10>;
> > +           };
> > + 
> > +           bridge_intc: bridge-interrupt-ctrl at 20110 {
> > +                   compatible = "marvell,orion-bridge-intc";
> > +                   interrupt-controller;
> > +                   #interrupt-cells = <1>;
> > +                   reg = <0x20110 0x8>;
> > +                   interrupts = <1>;
> > +                   marvell,#interrupts = <6>;
> > +           };
> > + 
> >  +          mbusc: mbus-controller at 20000 {
> >  +                  compatible = "marvell,mbus-controller";
> >  +                  reg = <0x20000 0x80>, <0x1500 0x20>;
> >  +          };
> >  +
> >             core_clk: core-clocks at 10030 {
> >                     compatible = "marvell,kirkwood-core-clock";
> >                     reg = <0x10030 0x4>;
> 
> This file is a real mess. :( Nothing is sorted properly under the ocp/ bus.
> It's common to sort by memory address. Or I'd even take alphabetically if
> there was a good reason to do so. Just some order of some kind.

Done.

thx,

Jason.

Jason Cooper (4):
  ARM: kirkwood: sort dt nodes by address
  ARM: dove: sort DT nodes by address
  ARM: orion5x: sort DT nodes by address
  ARM: mvebu: sort DT nodes by address

 arch/arm/boot/dts/armada-370-xp.dtsi | 176 ++++++-------
 arch/arm/boot/dts/armada-370.dtsi    |  74 +++---
 arch/arm/boot/dts/armada-xp.dtsi     | 100 +++----
 arch/arm/boot/dts/dove.dtsi          | 496 +++++++++++++++++------------------
 arch/arm/boot/dts/kirkwood.dtsi      | 140 +++++-----
 arch/arm/boot/dts/orion5x.dtsi       | 106 ++++----
 6 files changed, 546 insertions(+), 546 deletions(-)

-- 
1.8.5.1

  reply	other threads:[~2013-12-12 15:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14 18:59 [GIT PULL] ARM: mvebu: driver changes for v3.12 Jason Cooper
2013-08-16  6:15 ` Olof Johansson
2013-12-12 15:25   ` Jason Cooper [this message]
2013-12-12 15:25     ` [PATCH 1/4] ARM: kirkwood: sort dt nodes by address Jason Cooper
2013-12-12 15:25     ` [PATCH 2/4] ARM: dove: sort DT " Jason Cooper
2013-12-12 15:25     ` [PATCH 3/4] ARM: orion5x: " Jason Cooper
2013-12-12 15:25     ` [PATCH 4/4] ARM: mvebu: " Jason Cooper
2013-12-14 22:27     ` [PATCH 0/4] ARM: mvebu: sort DT nodes by reg address Jason Cooper
2013-12-22 17:28     ` [PATCH] ARM: kirkwood: 6282: sort DT nodes by address Jason Cooper

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=cover.1386861599.git.jason@lakedaemon.net \
    --to=jason@lakedaemon.net \
    --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;
as well as URLs for NNTP newsgroup(s).