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 1/3] arm64: dts: ls1046a: support SD UHS-I and eMMC HS200 on RDB
Date: Wed, 3 May 2017 20:57:01 +0800	[thread overview]
Message-ID: <20170503125659.GA24392@dragon> (raw)
In-Reply-To: <1492746756-12024-2-git-send-email-yangbo.lu@nxp.com>

On Fri, Apr 21, 2017 at 11:52:34AM +0800, Yangbo Lu wrote:
> This patch is to enable SD UHS-I mode and eMMC HS200 mode on
> LS1046ARDB in dts. Also, the eSDHC peripheral clock must be used
> instead of platform clock to support these modes.
> 
> Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 8 ++++++++
>  arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi    | 4 ++--
>  2 files changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
> index d1ccc00..08528c2 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
> @@ -64,6 +64,14 @@
>  	};
>  };
>  
> +&esdhc {
> +	mmc-hs200-1_8v;
> +	sd-uhs-sdr104;
> +	sd-uhs-sdr50;
> +	sd-uhs-sdr25;
> +	sd-uhs-sdr12;
> +};
> +

Please sort the node alphabetically.

>  &duart0 {
>  	status = "okay";
>  };
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> index f4b8b7e..f06f329 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> @@ -209,10 +209,10 @@
>  		};
>  
>  		esdhc: esdhc at 1560000 {
> -			compatible = "fsl,esdhc";
> +			compatible = "fsl,ls1046a-esdhc", "fsl,esdhc";

I do not see "fsl,ls1046a-esdhc" is a documented compatible.

Shawn

>  			reg = <0x0 0x1560000 0x0 0x10000>;
>  			interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
> -			clock-frequency = <0>;
> +			clocks = <&clockgen 2 1>;
>  			voltage-ranges = <1800 1800 3300 3300>;
>  			sdhci,auto-cmd12;
>  			big-endian;
> -- 
> 2.1.0.27.g96db324
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2017-05-03 12:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-21  3:52 [PATCH 0/3] Add eSDHC UHS-I/HS200 mode support for ls1012a/ls1046a/ls208xa Yangbo Lu
2017-04-21  3:52 ` [PATCH 1/3] arm64: dts: ls1046a: support SD UHS-I and eMMC HS200 on RDB Yangbo Lu
2017-05-03 12:57   ` Shawn Guo [this message]
2017-05-04 10:44     ` Y.B. Lu
2017-04-21  3:52 ` [PATCH 2/3] arm64: dts: ls208xa: support SD UHS-I on RDB and eMMC HS200 on QDS Yangbo Lu
2017-04-21  3:52 ` [PATCH 3/3] arm64: dts: ls1012a: add eSDHC nodes Yangbo Lu
2017-05-03 13:05   ` Shawn Guo
2017-05-04 10:45     ` Y.B. Lu
2017-04-24 20:17 ` [PATCH 0/3] Add eSDHC UHS-I/HS200 mode support for ls1012a/ls1046a/ls208xa Ulf Hansson
2017-04-25  9:01   ` Y.B. Lu
2017-05-03 13:17     ` Shawn Guo
2017-05-03 13:14 ` Shawn Guo
2017-05-04 10:57   ` Y.B. Lu

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=20170503125659.GA24392@dragon \
    --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.