From: "Grant Likely" <grant.likely@secretlab.ca>
To: "Roman Fietze" <roman.fietze@telemotive.de>,
linuxppc-dev <linuxppc-dev@ozlabs.org>,
"devicetree-discuss list" <devicetree-discuss@ozlabs.org>
Subject: Re: Kernel Documentation MPC52xx Device Tree Bindings
Date: Tue, 20 Jan 2009 09:00:26 -0700 [thread overview]
Message-ID: <fa686aa40901200800j51ee6799i888951889d6901d2@mail.gmail.com> (raw)
In-Reply-To: <200901200844.40924.roman.fietze@telemotive.de>
On Tue, Jan 20, 2009 at 12:44 AM, Roman Fietze
<roman.fietze@telemotive.de> wrote:
> Hello Grant,
>
> Sorry for mailing to you directly, but joining the appropriate mailing
> lists just for posting this one thing doesn't make too much sense.
You don't need to subscribe to post to the list. Just email the list
and CC: me. When I reply it will go to both you *and* the list.
>
> In
>
> Documentation/powerpc/mpc52xx-device-tree-bindings.txt
>
> you wrote or at least submitted:
>
> For example, PSC5 might be physically connected to the port labeled
> 'COM1' and PSC1 wired to 'COM1'. In this case, PSC5 would have a
> "port-number = <0>" property, and PSC1 would have "port-number =
> <1>".
>
>
> Shouldn't this read 'COM0' instead of 'COM1' for PSC5?
Yes, you are right, but this description is wrong on another level
too. I need to rewrite it. Don't depend on the port-number property
sticking around forever. It was an ignorant hack and a better way of
choosing human friendly labels to devices is to add properties to the
'aliases' node. Something like this:
aliases {
serial0 = &PSC5;
serial1 = &PSC0;
};
where PSC5 and PSC0 are labels (used by the dtc compiler) on the psc5
and psc0 nodes. You can see lots of examples of this in
arch/powerpc/boot/dts/
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
parent reply other threads:[~2009-01-20 16:00 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <200901200844.40924.roman.fietze@telemotive.de>]
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=fa686aa40901200800j51ee6799i888951889d6901d2@mail.gmail.com \
--to=grant.likely@secretlab.ca \
--cc=devicetree-discuss@ozlabs.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=roman.fietze@telemotive.de \
/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).