linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts
@ 2019-08-15  3:39 Yinbo Zhu
  2019-08-19 13:10 ` Shawn Guo
  0 siblings, 1 reply; 4+ messages in thread
From: Yinbo Zhu @ 2019-08-15  3:39 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Mark Rutland, linux-arm-kernel,
	devicetree, linux-kernel
  Cc: yinbo.zhu, xiaobo.xie, jiafei.pan, yangbo.lu, Ashish Kumar

From: Ashish Kumar <Ashish.Kumar@nxp.com>

This patch is to add esdhc node and enable SD UHS-I,
eMMC HS200 for ls1028ardb/ls1028aqds board.

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
Change in v5:
		Fix indent.

 arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts |  8 +++++++
 arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 13 +++++++++++
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi    | 27 +++++++++++++++++++++++
 3 files changed, 48 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
index de6ef39..5e14e5a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
@@ -95,6 +95,14 @@
 	status = "okay";
 };
 
+&esdhc {
+	status = "okay";
+};
+
+&esdhc1 {
+	status = "okay";
+};
+
 &i2c0 {
 	status = "okay";
 
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
index 9fb9113..1a69221 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
@@ -83,6 +83,19 @@
 	};
 };
 
+&esdhc {
+	sd-uhs-sdr104;
+	sd-uhs-sdr50;
+	sd-uhs-sdr25;
+	sd-uhs-sdr12;
+	status = "okay";
+};
+
+&esdhc1 {
+	mmc-hs200-1_8v;
+	status = "okay";
+};
+
 &i2c0 {
 	status = "okay";
 
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 7975519..f299075 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -245,6 +245,33 @@
 			status = "disabled";
 		};
 
+		esdhc: mmc@2140000 {
+			compatible = "fsl,ls1028a-esdhc", "fsl,esdhc";
+			reg = <0x0 0x2140000 0x0 0x10000>;
+			interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
+			clock-frequency = <0>; /* fixed up by bootloader */
+			clocks = <&clockgen 2 1>;
+			voltage-ranges = <1800 1800 3300 3300>;
+			sdhci,auto-cmd12;
+			little-endian;
+			bus-width = <4>;
+			status = "disabled";
+		};
+
+		esdhc1: mmc@2150000 {
+			compatible = "fsl,ls1028a-esdhc", "fsl,esdhc";
+			reg = <0x0 0x2150000 0x0 0x10000>;
+			interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
+			clock-frequency = <0>; /* fixed up by bootloader */
+			clocks = <&clockgen 2 1>;
+			voltage-ranges = <1800 1800 3300 3300>;
+			sdhci,auto-cmd12;
+			broken-cd;
+			little-endian;
+			bus-width = <4>;
+			status = "disabled";
+		};
+
 		duart0: serial@21c0500 {
 			compatible = "fsl,ns16550", "ns16550a";
 			reg = <0x00 0x21c0500 0x0 0x100>;
-- 
2.9.5


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

* Re: [PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts
  2019-08-15  3:39 [PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts Yinbo Zhu
@ 2019-08-19 13:10 ` Shawn Guo
  2019-09-24  3:02   ` [EXT] " Yinbo Zhu
  0 siblings, 1 reply; 4+ messages in thread
From: Shawn Guo @ 2019-08-19 13:10 UTC (permalink / raw)
  To: Yinbo Zhu
  Cc: Li Yang, Rob Herring, Mark Rutland, linux-arm-kernel, devicetree,
	linux-kernel, xiaobo.xie, jiafei.pan, yangbo.lu, Ashish Kumar

On Thu, Aug 15, 2019 at 11:39:01AM +0800, Yinbo Zhu wrote:
> From: Ashish Kumar <Ashish.Kumar@nxp.com>
> 
> This patch is to add esdhc node and enable SD UHS-I,
> eMMC HS200 for ls1028ardb/ls1028aqds board.
> 
> Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
> Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
> Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>

Applied, thanks.

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

* RE: [EXT] Re: [PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts
  2019-08-19 13:10 ` Shawn Guo
@ 2019-09-24  3:02   ` Yinbo Zhu
  2019-10-02  0:57     ` Shawn Guo
  0 siblings, 1 reply; 4+ messages in thread
From: Yinbo Zhu @ 2019-09-24  3:02 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Leo Li, Rob Herring, Mark Rutland, linux-arm-kernel, devicetree,
	linux-kernel, Xiaobo Xie, Jiafei Pan, Y.b. Lu, Ashish Kumar

Hi Shawn Guo,

I see that you had merged my patch, but I don't see that in 
url = git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git master branch.
Please help check.

Regards,
Yinbo Zhu
-----Original Message-----
From: Shawn Guo <shawnguo@kernel.org> 
Sent: 2019年8月19日 21:11
To: Yinbo Zhu <yinbo.zhu@nxp.com>
Cc: Leo Li <leoyang.li@nxp.com>; Rob Herring <robh+dt@kernel.org>; Mark Rutland <mark.rutland@arm.com>; linux-arm-kernel@lists.infradead.org; devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Xiaobo Xie <xiaobo.xie@nxp.com>; Jiafei Pan <jiafei.pan@nxp.com>; Y.b. Lu <yangbo.lu@nxp.com>; Ashish Kumar <ashish.kumar@nxp.com>
Subject: [EXT] Re: [PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts

Caution: EXT Email

On Thu, Aug 15, 2019 at 11:39:01AM +0800, Yinbo Zhu wrote:
> From: Ashish Kumar <Ashish.Kumar@nxp.com>
>
> This patch is to add esdhc node and enable SD UHS-I, eMMC HS200 for 
> ls1028ardb/ls1028aqds board.
>
> Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
> Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
> Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>

Applied, thanks.

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

* Re: [EXT] Re: [PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts
  2019-09-24  3:02   ` [EXT] " Yinbo Zhu
@ 2019-10-02  0:57     ` Shawn Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2019-10-02  0:57 UTC (permalink / raw)
  To: Yinbo Zhu
  Cc: Leo Li, Rob Herring, Mark Rutland, linux-arm-kernel, devicetree,
	linux-kernel, Xiaobo Xie, Jiafei Pan, Y.b. Lu, Ashish Kumar

On Tue, Sep 24, 2019 at 03:02:04AM +0000, Yinbo Zhu wrote:
> Hi Shawn Guo,
> 
> I see that you had merged my patch, but I don't see that in 
> url = git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git master branch.
> Please help check.

My master branch will only get updated to each -rc1 tag when merge
window closes.  I just updated it to v5.4-rc1, and it should has your
patch now.

Shawn

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

end of thread, other threads:[~2019-10-02  0:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-15  3:39 [PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts Yinbo Zhu
2019-08-19 13:10 ` Shawn Guo
2019-09-24  3:02   ` [EXT] " Yinbo Zhu
2019-10-02  0:57     ` 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).