From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM64: dts: amlogic: add Hardkernel ODROID-C2
Date: Thu, 24 Mar 2016 20:53:23 +0100 [thread overview]
Message-ID: <4122350.NJToUYgt7m@wuerfel> (raw)
In-Reply-To: <56F4233A.5020904@suse.de>
On Thursday 24 March 2016 18:26:18 Andreas F?rber wrote:
>
> However @Arnd, I still don't understand how an alias to a disabled
> device hurts? It was not accidental on my part. And I'm pretty sure on
> my PowerMac's OpenFirmware I had aliases to disk devices not connected.
>
> Using an alias to a disabled device should be no different from using
> the full path to a disabled device. We don't prevent the latter, so why
> the former?
>
> If the serial node is disabled, the meson_uart driver won't probe and
> won't look up its alias. Who else uses it apart from stdout-path?
>
> The order was intentionally always AO (always-on) bus first, and there
> are just two UARTs I'm aware of.
The aliases are supposed to reflect the numbering that is used on
the board, and in most cases the SoC supports more UARTS than
the board does, and not every board uses the same ones, so it's
easier to always define the serial aliases in the .dts file and
only list the ones that are actually wired up on the board.
With the disks in your example, the aliases would reflect the
number of the connector, whether there is something on it or not,
so that makes a lot of sense too.
Arnd
next prev parent reply other threads:[~2016-03-24 19:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-23 18:33 [PATCH 1/3] Documentation: devicetree: amlogic: Document P20x and ODROID-C2 boards Kevin Hilman
2016-03-23 18:33 ` [PATCH 2/3] ARM64: dts: amlogic: add Hardkernel ODROID-C2 Kevin Hilman
2016-03-24 12:58 ` Arnd Bergmann
2016-03-24 16:57 ` Andreas Färber
2016-03-24 17:16 ` Kevin Hilman
2016-03-24 17:26 ` Andreas Färber
2016-03-24 19:53 ` Arnd Bergmann [this message]
2016-03-23 18:33 ` [PATCH 3/3] ARM64: dts: amlogic: Add P200/P201 boards Kevin Hilman
2016-03-24 16:55 ` [PATCH 1/3] Documentation: devicetree: amlogic: Document P20x and ODROID-C2 boards Andreas Färber
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=4122350.NJToUYgt7m@wuerfel \
--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