From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V3 5/5] ARM: bcm2708: instantiate console UART
Date: Thu, 13 Sep 2012 10:36:29 +0000 [thread overview]
Message-ID: <201209131036.29929.arnd@arndb.de> (raw)
In-Reply-To: <505133CB.1060906@wwwdotorg.org>
On Thursday 13 September 2012, Stephen Warren wrote:
> On 09/12/2012 04:45 AM, Arnd Bergmann wrote:
> > On Wednesday 12 September 2012, Stephen Warren wrote:
> >> From: Simon Arlott <simon@fire.lp0.eu>
> >>
> >> This patch was extracted from git://github.com/lp0/linux.git branch
> >> rpi-split as of 2012/09/08, and modified as follows:
> >>
> >> * Modified UART DT node to use a unit-address to differentiate UART node
> >> names, rather than using different base names "uart0" and "uart1".
> >> Note that UART 1 (the Broadcom "mini UART") is not yet present, but
> >> I'm naming the DT node in anticipation that it will be added.
> >>
> >
> > Shouldn't the selection be done using an alias like this?
> >
> > aliases {
> > serial0 = &/uart at 20201000;
> > };
>
> The "differentiate" was more "ensure that node names in DT are unique"
> than anything to do with user-visible selection/identification.
>
> I can certainly add the alias if you want, but I don't know what benefit
> it will have, since I've never used aliases before.
The idea of the aliases is that you can identify which port to use
if one passes an argument like "console=ttyS0" or opens a specific
/dev/tty* device node. I believe we don't actually use it that way
at the moment though.
Arnd
next prev parent reply other threads:[~2012-09-13 10:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-12 4:18 [PATCH V3 1/5] ARM: add infra-structure for BCM2708/BCM2835 and Raspberry Pi Stephen Warren
2012-09-12 4:18 ` [PATCH V3 2/5] ARM: bcm2708: add interrupt controller driver Stephen Warren
2012-09-12 10:37 ` Arnd Bergmann
2012-09-13 1:12 ` Stephen Warren
2012-09-13 10:45 ` Arnd Bergmann
2012-09-14 2:21 ` Stephen Warren
2012-09-12 4:18 ` [PATCH V3 3/5] ARM: bcm2708: add system timer Stephen Warren
2012-09-12 10:40 ` Arnd Bergmann
2012-09-12 4:18 ` [PATCH V3 4/5] ARM: bcm2708: add stub clock driver Stephen Warren
2012-09-12 11:27 ` Arnd Bergmann
2012-09-12 4:18 ` [PATCH V3 5/5] ARM: bcm2708: instantiate console UART Stephen Warren
2012-09-12 10:45 ` Arnd Bergmann
2012-09-13 1:15 ` Stephen Warren
2012-09-13 10:36 ` Arnd Bergmann [this message]
2012-09-12 9:01 ` [PATCH V3 1/5] ARM: add infra-structure for BCM2708/BCM2835 and Raspberry Pi Arnd Bergmann
2012-09-13 19:51 ` Domenico Andreoli
2012-09-14 2:16 ` Stephen Warren
2012-09-16 0:34 ` Olof Johansson
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=201209131036.29929.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.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).