linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: afaerber@suse.de (Andreas Färber)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/4] ARM64: dts: amlogic: update serial aliases
Date: Thu, 24 Mar 2016 19:12:34 +0100	[thread overview]
Message-ID: <56F42E12.5020404@suse.de> (raw)
In-Reply-To: <1458842715-27066-2-git-send-email-khilman@baylibre.com>

Am 24.03.2016 um 19:05 schrieb Kevin Hilman:
> Apparently, it's not valid to have an alias point to a disabled device.
> Fix this by moving the aliases that are used (serial0) into the files
> that use them, and remove aliases to disabled devices (serial1).
> 
> Suggested-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
> ---
>  arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 4 ++++
>  arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi          | 5 -----
>  2 files changed, 4 insertions(+), 5 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
> index c1fa2667ec5c..012cdccc8a35 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
> @@ -45,6 +45,10 @@
>  / {
>  	compatible = "tronsmart,vega-s95", "amlogic,meson-gxbb";
>  
> +	aliases {
> +		serial0 = &uart_AO;
> +	};
> +
>  	chosen {
>  		stdout-path = "serial0:115200n8";
>  	};
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> index eaa0a4553734..832815d80462 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
> @@ -50,11 +50,6 @@
>  	#address-cells = <2>;
>  	#size-cells = <2>;
>  
> -	aliases {
> -		serial0 = &uart_AO;
> -		serial1 = &uart_A;
> -	};
> -
>  	cpus {
>  		#address-cells = <0x2>;
>  		#size-cells = <0x0>;

Reviewed-by: Andreas F?rber <afaerber@suse.de>

Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N?rnberg)

  reply	other threads:[~2016-03-24 18:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-24 18:05 [PATCH v2 0/4] ARM64: dts: amlogi: add a few more boards Kevin Hilman
2016-03-24 18:05 ` [PATCH v2 1/4] ARM64: dts: amlogic: update serial aliases Kevin Hilman
2016-03-24 18:12   ` Andreas Färber [this message]
2016-03-24 18:05 ` [PATCH v2 2/4] Documentation: devicetree: amlogic: Document P20x and ODROID-C2 boards Kevin Hilman
2016-03-25 14:49   ` Rob Herring
2016-03-24 18:05 ` [PATCH v2 3/4] ARM64: dts: amlogic: add Hardkernel ODROID-C2 Kevin Hilman
2016-03-24 18:15   ` Andreas Färber
2016-03-24 18:05 ` [PATCH v2 4/4] ARM64: dts: amlogic: Add P200/P201 boards Kevin Hilman
2016-03-24 18:19   ` Andreas Färber
2016-03-24 19:49 ` [PATCH v2 0/4] ARM64: dts: amlogi: add a few more boards Arnd Bergmann

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=56F42E12.5020404@suse.de \
    --to=afaerber@suse.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).