From: Segher Boessenkool <segher@kernel.crashing.org>
To: pterry@micromemory.com
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Porting RapidIO from ppc arch to powerpc arch in support of MPC8641D
Date: Tue, 22 May 2007 22:08:17 +0200 [thread overview]
Message-ID: <c893fd7a08d9f2a8250a44045ce469bf@kernel.crashing.org> (raw)
In-Reply-To: <1179862732.25914.40.camel@pterry-fc6.micromemory.com>
> srio@c0000 {
Isn't there a nicer name, like "rapidio"?
> device_type = "srio";
No device_type please.
> compatible = "86xx,85xx";
compatible = "fsl,8641d-rapidio", "fsl,8540-rapidio";
and the latter only if the 8641d can actually be driven
as-if it were a 8540.
> reg = <c0000 20000>;
> law = <400000000 e00000000>;
What does "law" mean? Please use a better name. And
you write this as <4 0 e 0>.
> dbells = <0 ffff>;
"doorbells"
> mboxs = <0 4>;
"mailboxes"
> I'm
> assuming we are supposed to do away with all the CONFIG_RAPIDIO,
You still need config options to enable support for
rapidio etc. The DTB is used at runtime to detect
what devices are actually there.
> btw how to I get the dtc to accept 36-bit numbers as above for laws?
The numbers inside < > are 32-bit integers. 64-bit
numbers are encoded as a pair of these.
> and am I allowed to invent properties like this or is there some keeper
> of the property names who I should genuflect before?
It would be nice to have a proper device binding for
rapidio, just like for PCI etc. Since there isn't one
yet, try to invent one that would work for _all_ rapidio
hosts, so there won't be too many changes needed if
later a more generic device binding evolves.
Don't worry about it too much, just use common sense,
and you'll end up with an ad-hoc binding for this device
only that will work just fine; do the generic thing
later, when you have at least a chance to get it right ;-)
Segher
next prev parent reply other threads:[~2007-05-22 20:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-22 19:38 Porting RapidIO from ppc arch to powerpc arch in support of MPC8641D Phil Terry
2007-05-22 20:08 ` Segher Boessenkool [this message]
2007-05-22 20:09 ` Timur Tabi
2007-05-22 23:05 ` Arnd Bergmann
2007-05-24 6:48 ` Porting RapidIO from ppc arch to powerpc arch in support ofMPC8641D Zhang Wei-r63237
2007-05-24 9:19 ` Arnd Bergmann
2007-05-24 9:44 ` Zhang Wei-r63237
2007-05-24 11:27 ` Arnd Bergmann
2007-05-23 13:26 ` Porting RapidIO from ppc arch to powerpc arch in support of MPC8641D Zhang Wei-r63237
2007-05-23 13:32 ` Mark A. Greer
2007-05-23 14:03 ` Zhang Wei-r63237
2007-05-23 15:42 ` Phil Terry
2007-05-23 15:53 ` Mark A. Greer
2007-05-23 15:54 ` Phil Terry
2007-05-23 14:21 ` Kumar Gala
2007-05-23 15:37 ` Phil Terry
2007-05-23 16:05 ` Segher Boessenkool
2007-05-23 16:20 ` Phil Terry
2007-05-23 16:20 ` Kumar Gala
2007-05-23 16:43 ` Phil Terry
2007-05-23 23:17 ` Segher Boessenkool
2007-05-23 23:05 ` Segher Boessenkool
2007-05-24 7:31 ` Porting RapidIO from ppc arch to powerpc arch in support ofMPC8641D Zhang Wei-r63237
2007-05-23 16:00 ` Porting RapidIO from ppc arch to powerpc arch in support of MPC8641D Segher Boessenkool
2007-05-23 16:13 ` Phil Terry
2007-05-24 0:52 ` David Gibson
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=c893fd7a08d9f2a8250a44045ce469bf@kernel.crashing.org \
--to=segher@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=pterry@micromemory.com \
/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).