linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: ls1088a: support eMMC HS200 speed mode for RDB board
@ 2020-02-04  4:09 Yangbo Lu
  2020-02-11  5:05 ` Y.b. Lu
  2020-02-14  3:40 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Yangbo Lu @ 2020-02-04  4:09 UTC (permalink / raw)
  To: linux-arm-kernel, devicetree, linux-kernel, Shawn Guo, Li Yang
  Cc: Rob Herring, Mark Rutland, Yangbo Lu

This patch is to add eMMC HS200 speed mode support on ls1088ardb
whose controller and peripheral circut support such capability.
And clocks dts property is needed for driver to get peripheral
clock value used for this speed mode.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
index 4d77b34..5633e59 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
@@ -83,6 +83,7 @@
 };
 
 &esdhc {
+	mmc-hs200-1_8v;
 	status = "okay";
 };
 
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
index 5945662..ec6013a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -393,6 +393,7 @@
 			reg = <0x0 0x2140000 0x0 0x10000>;
 			interrupts = <0 28 0x4>; /* Level high type */
 			clock-frequency = <0>;
+			clocks = <&clockgen 2 1>;
 			voltage-ranges = <1800 1800 3300 3300>;
 			sdhci,auto-cmd12;
 			little-endian;
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] arm64: dts: ls1088a: support eMMC HS200 speed mode for RDB board
  2020-02-04  4:09 [PATCH] arm64: dts: ls1088a: support eMMC HS200 speed mode for RDB board Yangbo Lu
@ 2020-02-11  5:05 ` Y.b. Lu
  2020-02-14  3:40 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Y.b. Lu @ 2020-02-11  5:05 UTC (permalink / raw)
  To: linux-arm-kernel, devicetree, linux-kernel, Shawn Guo, Leo Li
  Cc: Rob Herring, Mark Rutland

Any comments? Thanks!

> -----Original Message-----
> From: Yangbo Lu <yangbo.lu@nxp.com>
> Sent: Tuesday, February 4, 2020 12:09 PM
> To: linux-arm-kernel@lists.infradead.org; devicetree@vger.kernel.org;
> linux-kernel@vger.kernel.org; Shawn Guo <shawnguo@kernel.org>; Leo Li
> <leoyang.li@nxp.com>
> Cc: Rob Herring <robh+dt@kernel.org>; Mark Rutland
> <mark.rutland@arm.com>; Y.b. Lu <yangbo.lu@nxp.com>
> Subject: [PATCH] arm64: dts: ls1088a: support eMMC HS200 speed mode for
> RDB board
> 
> This patch is to add eMMC HS200 speed mode support on ls1088ardb
> whose controller and peripheral circut support such capability.
> And clocks dts property is needed for driver to get peripheral
> clock value used for this speed mode.
> 
> Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 1 +
>  arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi    | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
> b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
> index 4d77b34..5633e59 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
> @@ -83,6 +83,7 @@
>  };
> 
>  &esdhc {
> +	mmc-hs200-1_8v;
>  	status = "okay";
>  };
> 
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> index 5945662..ec6013a 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> @@ -393,6 +393,7 @@
>  			reg = <0x0 0x2140000 0x0 0x10000>;
>  			interrupts = <0 28 0x4>; /* Level high type */
>  			clock-frequency = <0>;
> +			clocks = <&clockgen 2 1>;
>  			voltage-ranges = <1800 1800 3300 3300>;
>  			sdhci,auto-cmd12;
>  			little-endian;
> --
> 2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: ls1088a: support eMMC HS200 speed mode for RDB board
  2020-02-04  4:09 [PATCH] arm64: dts: ls1088a: support eMMC HS200 speed mode for RDB board Yangbo Lu
  2020-02-11  5:05 ` Y.b. Lu
@ 2020-02-14  3:40 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2020-02-14  3:40 UTC (permalink / raw)
  To: Yangbo Lu
  Cc: linux-arm-kernel, devicetree, linux-kernel, Li Yang, Rob Herring,
	Mark Rutland

On Tue, Feb 04, 2020 at 12:09:28PM +0800, Yangbo Lu wrote:
> This patch is to add eMMC HS200 speed mode support on ls1088ardb
> whose controller and peripheral circut support such capability.
> And clocks dts property is needed for driver to get peripheral
> clock value used for this speed mode.
> 
> Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-14  3:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04  4:09 [PATCH] arm64: dts: ls1088a: support eMMC HS200 speed mode for RDB board Yangbo Lu
2020-02-11  5:05 ` Y.b. Lu
2020-02-14  3:40 ` Shawn Guo

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).