All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3] ARM: dts: ls1021a: add sata node to dts
Date: Fri, 11 Dec 2015 22:41:19 +0800	[thread overview]
Message-ID: <20151211144119.GM11252@tiger> (raw)
In-Reply-To: <1449040591-13618-1-git-send-email-Yuantian.Tang@freescale.com>

On Wed, Dec 02, 2015 at 03:16:31PM +0800, Yuantian.Tang at freescale.com wrote:
> From: Tang Yuantian <Yuantian.Tang@freescale.com>
> 
> Added sata node to ls1021aqds and ls1021atwr board to support
> sata function.
> 
> Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
> ---
> v3:
> 	- refine the title and commit message
> 	- added a status property so that sata can be controlled
> 	by board specific dts.
> v2:
> 	- put reg-names right after reg property
> 
>  arch/arm/boot/dts/ls1021a-qds.dts |  4 ++++
>  arch/arm/boot/dts/ls1021a-twr.dts |  4 ++++
>  arch/arm/boot/dts/ls1021a.dtsi    | 11 +++++++++++
>  3 files changed, 19 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts
> index 0521e68..803cc54 100644
> --- a/arch/arm/boot/dts/ls1021a-qds.dts
> +++ b/arch/arm/boot/dts/ls1021a-qds.dts
> @@ -327,3 +327,7 @@
>  &uart1 {
>  	status = "okay";
>  };
> +
> +&sata {
> +	status = "okay";
> +};

The labelled nodes are sorted alphabetically.  Please keep the new
addition sorted too.

> diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
> index fbb89d1..62dec7c 100644
> --- a/arch/arm/boot/dts/ls1021a-twr.dts
> +++ b/arch/arm/boot/dts/ls1021a-twr.dts
> @@ -219,3 +219,7 @@
>  &uart1 {
>  	status = "okay";
>  };
> +
> +&sata {
> +	status = "okay";
> +};

Ditto

Shawn

> diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
> index 9430a99..da9bd7e 100644
> --- a/arch/arm/boot/dts/ls1021a.dtsi
> +++ b/arch/arm/boot/dts/ls1021a.dtsi
> @@ -143,6 +143,17 @@
>  			status = "disabled";
>  		};
>  
> +		sata: sata at 3200000 {
> +			compatible = "fsl,ls1021a-ahci";
> +			reg = <0x0 0x3200000 0x0 0x10000>,
> +			      <0x0 0x20220520 0x0 0x4>;
> +			reg-names = "ahci", "sata-ecc";
> +			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
> +			clocks = <&platform_clk 1>;
> +			dma-coherent;
> +			status = "disabled";
> +		};
> +
>  		scfg: scfg at 1570000 {
>  			compatible = "fsl,ls1021a-scfg", "syscon";
>  			reg = <0x0 0x1570000 0x0 0x10000>;
> -- 
> 2.1.0.27.g96db324
> 
> 

WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Yuantian.Tang-KZfg59tc24xl57MIdRCFDg@public.gmane.org
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v3] ARM: dts: ls1021a: add sata node to dts
Date: Fri, 11 Dec 2015 22:41:19 +0800	[thread overview]
Message-ID: <20151211144119.GM11252@tiger> (raw)
In-Reply-To: <1449040591-13618-1-git-send-email-Yuantian.Tang-KZfg59tc24xl57MIdRCFDg@public.gmane.org>

On Wed, Dec 02, 2015 at 03:16:31PM +0800, Yuantian.Tang-KZfg59tc24xl57MIdRCFDg@public.gmane.org wrote:
> From: Tang Yuantian <Yuantian.Tang-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> 
> Added sata node to ls1021aqds and ls1021atwr board to support
> sata function.
> 
> Signed-off-by: Tang Yuantian <Yuantian.Tang-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> ---
> v3:
> 	- refine the title and commit message
> 	- added a status property so that sata can be controlled
> 	by board specific dts.
> v2:
> 	- put reg-names right after reg property
> 
>  arch/arm/boot/dts/ls1021a-qds.dts |  4 ++++
>  arch/arm/boot/dts/ls1021a-twr.dts |  4 ++++
>  arch/arm/boot/dts/ls1021a.dtsi    | 11 +++++++++++
>  3 files changed, 19 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts
> index 0521e68..803cc54 100644
> --- a/arch/arm/boot/dts/ls1021a-qds.dts
> +++ b/arch/arm/boot/dts/ls1021a-qds.dts
> @@ -327,3 +327,7 @@
>  &uart1 {
>  	status = "okay";
>  };
> +
> +&sata {
> +	status = "okay";
> +};

The labelled nodes are sorted alphabetically.  Please keep the new
addition sorted too.

> diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
> index fbb89d1..62dec7c 100644
> --- a/arch/arm/boot/dts/ls1021a-twr.dts
> +++ b/arch/arm/boot/dts/ls1021a-twr.dts
> @@ -219,3 +219,7 @@
>  &uart1 {
>  	status = "okay";
>  };
> +
> +&sata {
> +	status = "okay";
> +};

Ditto

Shawn

> diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
> index 9430a99..da9bd7e 100644
> --- a/arch/arm/boot/dts/ls1021a.dtsi
> +++ b/arch/arm/boot/dts/ls1021a.dtsi
> @@ -143,6 +143,17 @@
>  			status = "disabled";
>  		};
>  
> +		sata: sata@3200000 {
> +			compatible = "fsl,ls1021a-ahci";
> +			reg = <0x0 0x3200000 0x0 0x10000>,
> +			      <0x0 0x20220520 0x0 0x4>;
> +			reg-names = "ahci", "sata-ecc";
> +			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
> +			clocks = <&platform_clk 1>;
> +			dma-coherent;
> +			status = "disabled";
> +		};
> +
>  		scfg: scfg@1570000 {
>  			compatible = "fsl,ls1021a-scfg", "syscon";
>  			reg = <0x0 0x1570000 0x0 0x10000>;
> -- 
> 2.1.0.27.g96db324
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-12-11 14:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02  7:16 [PATCH v3] ARM: dts: ls1021a: add sata node to dts Yuantian.Tang at freescale.com
2015-12-02  7:16 ` Yuantian.Tang-KZfg59tc24xl57MIdRCFDg
2015-12-11 14:41 ` Shawn Guo [this message]
2015-12-11 14:41   ` Shawn Guo

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=20151211144119.GM11252@tiger \
    --to=shawnguo@kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.