From: David Gibson <david@gibson.dropbear.id.au>
To: Dave Jiang <djiang@mvista.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] powerpc: Add EDAC platform devices for 85xx
Date: Thu, 26 Apr 2007 10:08:52 +1000 [thread overview]
Message-ID: <20070426000852.GA2193@localhost.localdomain> (raw)
In-Reply-To: <20070425213700.GA8814@blade.az.mvista.com>
On Wed, Apr 25, 2007 at 02:37:00PM -0700, Dave Jiang wrote:
> Add memory controller and l2-cache controller entries in the dts files for 85xx
> platforms. Also adding code to create the platform devices used by EDAC drivers
> to claim the resources in order to access the error registers and interrupts.
>
> Signed-off-by: Dave Jiang <djiang@mvista.com>
>
> ---
>
> arch/powerpc/boot/dts/mpc8540ads.dts | 21 ++++++
> arch/powerpc/boot/dts/mpc8548cds.dts | 21 ++++++
> arch/powerpc/boot/dts/mpc8560ads.dts | 23 +++++++-
> arch/powerpc/sysdev/fsl_soc.c | 115 ++++++++++++++++++++++++++++++++++
> 4 files changed, 179 insertions(+), 1 deletions(-)
>
> diff --git a/arch/powerpc/boot/dts/mpc8540ads.dts b/arch/powerpc/boot/dts/mpc8540ads.dts
> index f261d64..8bb7593 100644
> --- a/arch/powerpc/boot/dts/mpc8540ads.dts
> +++ b/arch/powerpc/boot/dts/mpc8540ads.dts
> @@ -48,6 +48,27 @@
> reg = <e0000000 00100000>; // CCSRBAR 1M
> bus-frequency = <0>;
>
> + mem-ctrl@2000 {
> + device_type = "mem-ctrl";
> + compatible = "85xx";
> + reg = <2000 1000>;
> + linux,phandle = <2000>;
> + interrupt-parent = <40000>;
Please don't use explicit phandles. Use dtc's label feature where you
need to put phandles into properties.
--
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-04-26 0:08 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-25 21:37 [PATCH] powerpc: Add EDAC platform devices for 85xx Dave Jiang
2007-04-26 0:08 ` David Gibson [this message]
2007-04-26 0:37 ` Dave Jiang
2007-04-26 14:31 ` Kumar Gala
2007-04-26 16:56 ` Dave Jiang
2007-04-26 18:56 ` Segher Boessenkool
2007-05-01 15:11 ` RFC: new device types in the device tree (RE: [PATCH] powerpc: Add EDAC platform devices for 85xx) Yoder Stuart-B08248
2007-05-02 0:34 ` Segher Boessenkool
2007-05-02 1:19 ` David Gibson
2007-05-02 19:04 ` Yoder Stuart-B08248
2007-05-03 0:17 ` David Gibson
2007-05-03 0:55 ` Segher Boessenkool
2007-05-04 15:29 ` Yoder Stuart-B08248
2007-05-03 0:54 ` Segher Boessenkool
2007-05-02 18:50 ` Yoder Stuart-B08248
2007-05-03 0:48 ` Segher Boessenkool
2007-05-04 15:16 ` Yoder Stuart-B08248
2007-05-05 0:07 ` Segher Boessenkool
2007-04-30 17:37 ` [PATCH] powerpc: Add EDAC platform devices for 85xx Dave Jiang
2007-05-01 18:32 ` [PATCH] powerpc: publish 85xx soc devices as of_device on cds and ads Dave Jiang
2007-05-07 23:26 ` [PATCH] powerpc: add dts entries to 85xx for EDAC Dave Jiang
2007-05-08 3:42 ` Olof Johansson
2007-05-08 17:34 ` Dave Jiang
2007-05-08 13:16 ` Kumar Gala
2007-05-08 17:08 ` Dave Jiang
2007-05-09 14:40 ` Segher Boessenkool
2007-05-09 16:53 ` Dave Jiang
2007-05-10 5:25 ` Kumar Gala
2007-05-10 17:03 ` Dave Jiang
2007-05-15 18:20 ` Kumar Gala
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=20070426000852.GA2193@localhost.localdomain \
--to=david@gibson.dropbear.id.au \
--cc=djiang@mvista.com \
--cc=linuxppc-dev@ozlabs.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).