From: "Grant Likely" <grant.likely@secretlab.ca>
To: "Mark A. Greer" <mgreer@mvista.com>,
"linuxppc-dev Development" <linuxppc-dev@ozlabs.org>
Cc: Yoder Stuart-B08248 <stuart.yoder@freescale.com>
Subject: Re: [RFC] mpc5200 device tree bindings refinement
Date: Tue, 13 Feb 2007 08:37:18 -0700 [thread overview]
Message-ID: <528646bc0702130737t2c4fdb1cj6b994d89c8652c9d@mail.gmail.com> (raw)
In-Reply-To: <20070212205731.GC2729@mag.az.mvista.com>
On 2/12/07, Mark A. Greer <mgreer@mvista.com> wrote:
> On Mon, Feb 12, 2007 at 01:48:07PM -0700, Yoder Stuart-B08248 wrote:
> >
> > If the property is to distinguish between multiple
> > devices of the same type how about using
> > 'device-index' or 'device-idx' as a property name.
>
> 2) I (we?) really don't need to know a device index, per se. What I
> need to know is what set of regs within a block of regs or bits with a
> single register are associated with a device. Whether its device 0
> or 1 or... doesn't really matter. That's why I'm partial to
> 'register-set' but I'm always open.
I am concerned that this ends up been premature optimization (of the
device tree). Hardware designers are fickle people and like to change
shared registers between different chips. I do agree that logically
the device is attached to a block of registers that can be described
in a separate node (child of the soc node). But since we have no idea
if it's going to change in the next chip, it's probably better just to
describe it as the block-index on the soc.
Of course, I this begs the argument: "why do we describe anything
about an soc at all; why not just specify the SoC name/revision and be
done with it?" I don't like that direction myself, but I do find it
non-trivial to find the sweet spot between minimal and "fully-loaded"
device trees. That just highlights to me that this is just as much of
an art as it is science. :)
On 2/12/07, Yoder Stuart-B08248 <stuart.yoder@freescale.com> wrote:
> > > Maybe ip-block-index ? :-) The word "cell" can be confusing... or just
> > > "block-index" ?
> >
> > I'm happy with 'block-index'
> >
> If it could be changed I like block-index better.
>
BTW, I'm cool with block-index or ip-block-index too.
Cheers,
g.
--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
next prev parent reply other threads:[~2007-02-13 15:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-09 7:30 [RFC] mpc5200 device tree bindings refinement Grant Likely
2007-02-09 17:31 ` Mark A. Greer
2007-02-09 17:50 ` Mark A. Greer
2007-02-09 18:38 ` Grant Likely
[not found] ` <9696D7A991D0824DBA8DFAC74A9C5FA3029428E1@az33exm25.fsl.freescale.net>
[not found] ` <20070212205731.GC2729@mag.az.mvista.com>
2007-02-13 15:37 ` Grant Likely [this message]
2007-02-13 21:41 ` Benjamin Herrenschmidt
2007-02-13 22:25 ` Mark A. Greer
2007-02-12 20:34 ` Yoder Stuart-B08248
2007-02-12 20:44 ` Grant Likely
2007-02-12 21:07 ` Yoder Stuart-B08248
2007-02-12 21:55 ` Grant Likely
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=528646bc0702130737t2c4fdb1cj6b994d89c8652c9d@mail.gmail.com \
--to=grant.likely@secretlab.ca \
--cc=linuxppc-dev@ozlabs.org \
--cc=mgreer@mvista.com \
--cc=stuart.yoder@freescale.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).