From: David Gibson <david@gibson.dropbear.id.au>
To: Vitaly Bordug <vitb@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, linux-pcmcia@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] [POWERPC] dts: kill hardcoded phandles
Date: Tue, 8 May 2007 15:54:31 +1000 [thread overview]
Message-ID: <20070508055431.GA21009@localhost.localdomain> (raw)
In-Reply-To: <20070508054855.18428.29080.stgit@localhost.localdomain>
On Tue, May 08, 2007 at 09:48:56AM +0400, Vitaly Bordug wrote:
>
> Removed explicit linux,phandle usage. Using references and labels now in
> PQ and PQ2 boards currently supported in arch/powerpc.
> Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org>
>
> ---
>
> arch/powerpc/boot/dts/mpc8272ads.dts | 42 ++++++++++++----------------------
> arch/powerpc/boot/dts/mpc866ads.dts | 31 +++++++++----------------
> arch/powerpc/boot/dts/mpc885ads.dts | 2 +-
> 3 files changed, 27 insertions(+), 48 deletions(-)
>
> diff --git a/arch/powerpc/boot/dts/mpc8272ads.dts b/arch/powerpc/boot/dts/mpc8272ads.dts
> index 423eedc..83461fe 100644
> --- a/arch/powerpc/boot/dts/mpc8272ads.dts
> +++ b/arch/powerpc/boot/dts/mpc8272ads.dts
> @@ -14,12 +14,10 @@
> compatible = "MPC8260ADS";
> #address-cells = <1>;
> #size-cells = <1>;
> - linux,phandle = <100>;
>
> cpus {
> #address-cells = <1>;
> #size-cells = <0>;
> - linux,phandle = <200>;
>
> PowerPC,8272@0 {
> device_type = "cpu";
> @@ -32,12 +30,10 @@
> bus-frequency = <0>;
> clock-frequency = <0>;
> 32-bit;
> - linux,phandle = <201>;
> };
> };
>
> - interrupt-controller@f8200000 {
> - linux,phandle = <f8200000>;
> + pci_pic:interrupt-controller@f8200000 {
I'd like to establish a convention of putting a space after the : and
using capitals for labels unless there's a strong reason not to in a
particular case. It makes them easier to visually distinguish next to
the node name.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
WARNING: multiple messages have this Message-ID (diff)
From: David Gibson <david@gibson.dropbear.id.au>
To: Vitaly Bordug <vitb@kernel.crashing.org>
Cc: linux-pcmcia@lists.infradead.org, linuxppc-dev@ozlabs.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] [POWERPC] dts: kill hardcoded phandles
Date: Tue, 8 May 2007 15:54:31 +1000 [thread overview]
Message-ID: <20070508055431.GA21009@localhost.localdomain> (raw)
In-Reply-To: <20070508054855.18428.29080.stgit@localhost.localdomain>
On Tue, May 08, 2007 at 09:48:56AM +0400, Vitaly Bordug wrote:
>
> Removed explicit linux,phandle usage. Using references and labels now in
> PQ and PQ2 boards currently supported in arch/powerpc.
> Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org>
>
> ---
>
> arch/powerpc/boot/dts/mpc8272ads.dts | 42 ++++++++++++----------------------
> arch/powerpc/boot/dts/mpc866ads.dts | 31 +++++++++----------------
> arch/powerpc/boot/dts/mpc885ads.dts | 2 +-
> 3 files changed, 27 insertions(+), 48 deletions(-)
>
> diff --git a/arch/powerpc/boot/dts/mpc8272ads.dts b/arch/powerpc/boot/dts/mpc8272ads.dts
> index 423eedc..83461fe 100644
> --- a/arch/powerpc/boot/dts/mpc8272ads.dts
> +++ b/arch/powerpc/boot/dts/mpc8272ads.dts
> @@ -14,12 +14,10 @@
> compatible = "MPC8260ADS";
> #address-cells = <1>;
> #size-cells = <1>;
> - linux,phandle = <100>;
>
> cpus {
> #address-cells = <1>;
> #size-cells = <0>;
> - linux,phandle = <200>;
>
> PowerPC,8272@0 {
> device_type = "cpu";
> @@ -32,12 +30,10 @@
> bus-frequency = <0>;
> clock-frequency = <0>;
> 32-bit;
> - linux,phandle = <201>;
> };
> };
>
> - interrupt-controller@f8200000 {
> - linux,phandle = <f8200000>;
> + pci_pic:interrupt-controller@f8200000 {
I'd like to establish a convention of putting a space after the : and
using capitals for labels unless there's a strong reason not to in a
particular case. It makes them easier to visually distinguish next to
the node name.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
next prev parent reply other threads:[~2007-05-08 5:54 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070508053049.18428.50622.stgit@localhost.localdomain>
2007-05-08 5:48 ` [PATCH 1/3] [POWERPC] 8xx: mpc885ads pcmcia support Vitaly Bordug
2007-05-08 5:48 ` Vitaly Bordug
2007-05-08 6:02 ` Olof Johansson
2007-05-08 6:02 ` Olof Johansson
2007-05-08 5:48 ` [PATCH 2/3] [POWERPC] 8xx: fix whitespace and indentation Vitaly Bordug
2007-05-08 5:48 ` Vitaly Bordug
2007-05-08 5:48 ` [PATCH 3/3] [POWERPC] dts: kill hardcoded phandles Vitaly Bordug
2007-05-08 5:48 ` Vitaly Bordug
2007-05-08 5:54 ` David Gibson [this message]
2007-05-08 5:54 ` David Gibson
2007-05-08 14:29 ` Loeliger Jon-LOELIGER
2007-05-08 14:29 ` Loeliger Jon-LOELIGER
2007-05-08 16:26 ` Vitaly Bordug
2007-05-08 16:26 ` Vitaly Bordug
2007-05-08 23:31 ` David Gibson
2007-05-08 23:31 ` David Gibson
2007-05-08 23:30 ` David Gibson
2007-05-08 23:30 ` David Gibson
2007-05-08 22:31 [PATCH 0/3] 8xx PCMCIA stuff && cleanup: take 4 Vitaly Bordug
2007-05-08 22:31 ` [PATCH 3/3] [POWERPC] dts: kill hardcoded phandles Vitaly Bordug
2007-05-08 22:31 ` Vitaly Bordug
-- strict thread matches above, loose matches on Subject: below --
2007-05-08 9:50 [PATCH 0/3] 8xx PCMCIA stuff && cleanup: take 3 Vitaly Bordug
2007-05-08 9:50 ` [PATCH 3/3] [POWERPC] dts: kill hardcoded phandles Vitaly Bordug
2007-05-08 9:50 ` Vitaly Bordug
2007-05-08 0:36 [PATCH 1/3] [POWERPC] 8xx: mpc885ads pcmcia support Vitaly Bordug
2007-05-08 0:50 ` [PATCH 3/3] [POWERPC] dts: kill hardcoded phandles Vitaly Bordug
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=20070508055431.GA21009@localhost.localdomain \
--to=david@gibson.dropbear.id.au \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pcmcia@lists.infradead.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=vitb@kernel.crashing.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.