All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes
@ 2018-10-10  3:15 Yinbo Zhu
  2018-10-10  3:15 ` [U-Boot] [PATCH v1] armv8: lx2160a: add some minor fixes on esdhc node Yinbo Zhu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yinbo Zhu @ 2018-10-10  3:15 UTC (permalink / raw)
  To: u-boot

This patch is to add eSDHC nodes for lx2160a.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 arch/arm/dts/fsl-lx2160a-rdb.dts |    8 ++++++++
 arch/arm/dts/fsl-lx2160a.dtsi    |   24 ++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/arm/dts/fsl-lx2160a-rdb.dts
index 162ec25..1d67ba6 100644
--- a/arch/arm/dts/fsl-lx2160a-rdb.dts
+++ b/arch/arm/dts/fsl-lx2160a-rdb.dts
@@ -38,3 +38,11 @@
 		reg = <0>;
 	};
 };
+
+&esdhc0 {
+	status = "okay";
+};
+
+&esdhc1 {
+	status = "okay";
+};
diff --git a/arch/arm/dts/fsl-lx2160a.dtsi b/arch/arm/dts/fsl-lx2160a.dtsi
index 12655fc..ad9bfa2 100644
--- a/arch/arm/dts/fsl-lx2160a.dtsi
+++ b/arch/arm/dts/fsl-lx2160a.dtsi
@@ -76,6 +76,30 @@
 		status = "disabled";
 	};
 
+	esdhc0: esdhc at 2140000 {
+		status = "disabled";
+		compatible = "fsl,ls2080a-esdhc", "fsl,esdhc";
+		reg = <0x0 0x2140000 0x0 0x10000>;
+		interrupts = <0 28 0x4>; /* Level high type */
+		clocks = <&clockgen 4 1>;
+		voltage-ranges = <1800 1800 3300 3300>;
+		sdhci,auto-cmd12;
+		little-endian;
+		bus-width = <4>;
+	};
+
+	esdhc1: esdhc at 2150000 {
+		status = "disabled";
+		compatible = "fsl,ls2080a-esdhc", "fsl,esdhc";
+		reg = <0x0 0x2150000 0x0 0x10000>;
+		interrupts = <0 28 0x4>; /* Level high type */
+		clocks = <&clockgen 4 1>;
+		voltage-ranges = <1800 1800 3300 3300>;
+		sdhci,auto-cmd12;
+		little-endian;
+		bus-width = <4>;
+	};
+
 	fspi: flexspi at 20c0000 {
 		compatible = "nxp,lx2160a-fspi";
 		#address-cells = <1>;
-- 
1.7.1

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

* [U-Boot] [PATCH v1] armv8: lx2160a: add some minor fixes on esdhc node
  2018-10-10  3:15 [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes Yinbo Zhu
@ 2018-10-10  3:15 ` Yinbo Zhu
  2018-10-10  3:15 ` [U-Boot] [PATCH v1] configs: lx2160a: enable driver model for eSDHC Yinbo Zhu
  2019-02-20  7:39 ` [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes Prabhakar Kushwaha
  2 siblings, 0 replies; 5+ messages in thread
From: Yinbo Zhu @ 2018-10-10  3:15 UTC (permalink / raw)
  To: u-boot

The esdhc node has some minor fixes according to the RM document.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 arch/arm/dts/fsl-lx2160a.dtsi |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/arch/arm/dts/fsl-lx2160a.dtsi b/arch/arm/dts/fsl-lx2160a.dtsi
index 73c24f7..8c8172b 100644
--- a/arch/arm/dts/fsl-lx2160a.dtsi
+++ b/arch/arm/dts/fsl-lx2160a.dtsi
@@ -77,8 +77,7 @@
 	};
 
 	esdhc0: esdhc at 2140000 {
-		status = "disabled";
-		compatible = "fsl,ls2080a-esdhc", "fsl,esdhc";
+		compatible = "fsl,esdhc";
 		reg = <0x0 0x2140000 0x0 0x10000>;
 		interrupts = <0 28 0x4>; /* Level high type */
 		clocks = <&clockgen 4 1>;
@@ -86,18 +85,20 @@
 		sdhci,auto-cmd12;
 		little-endian;
 		bus-width = <4>;
+		status = "disabled";
 	};
 
 	esdhc1: esdhc at 2150000 {
-		status = "disabled";
-		compatible = "fsl,ls2080a-esdhc", "fsl,esdhc";
+		compatible = "fsl,esdhc";
 		reg = <0x0 0x2150000 0x0 0x10000>;
-		interrupts = <0 28 0x4>; /* Level high type */
+		interrupts = <0 63 0x4>; /* Level high type */
 		clocks = <&clockgen 4 1>;
 		voltage-ranges = <1800 1800 3300 3300>;
 		sdhci,auto-cmd12;
+		non-removable;
 		little-endian;
 		bus-width = <4>;
+		status = "disabled";
 	};
 
 	dspi0: dspi at 2100000 {
-- 
1.7.1

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

* [U-Boot] [PATCH v1] configs: lx2160a: enable driver model for eSDHC
  2018-10-10  3:15 [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes Yinbo Zhu
  2018-10-10  3:15 ` [U-Boot] [PATCH v1] armv8: lx2160a: add some minor fixes on esdhc node Yinbo Zhu
@ 2018-10-10  3:15 ` Yinbo Zhu
  2019-02-20  7:42   ` Prabhakar Kushwaha
  2019-02-20  7:39 ` [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes Prabhakar Kushwaha
  2 siblings, 1 reply; 5+ messages in thread
From: Yinbo Zhu @ 2018-10-10  3:15 UTC (permalink / raw)
  To: u-boot

Enable driver model for eSDHC on lx2160a rdb board.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
---
 configs/lx2160ardb_defconfig |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configs/lx2160ardb_defconfig b/configs/lx2160ardb_defconfig
index bc16085..3d577fc 100644
--- a/configs/lx2160ardb_defconfig
+++ b/configs/lx2160ardb_defconfig
@@ -35,6 +35,9 @@ CONFIG_NXP_FSPI=y
 CONFIG_PHYLIB=y
 CONFIG_NETDEVICES=y
 CONFIG_PHY_GIGE=y
+CONFIG_DM_MMC=y
+CONFIG_DM_MMC_OPS=n
+CONFIG_BLK=n
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
-- 
1.7.1

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

* [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes
  2018-10-10  3:15 [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes Yinbo Zhu
  2018-10-10  3:15 ` [U-Boot] [PATCH v1] armv8: lx2160a: add some minor fixes on esdhc node Yinbo Zhu
  2018-10-10  3:15 ` [U-Boot] [PATCH v1] configs: lx2160a: enable driver model for eSDHC Yinbo Zhu
@ 2019-02-20  7:39 ` Prabhakar Kushwaha
  2 siblings, 0 replies; 5+ messages in thread
From: Prabhakar Kushwaha @ 2019-02-20  7:39 UTC (permalink / raw)
  To: u-boot


> -----Original Message-----
> From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Yinbo Zhu
> Sent: Wednesday, October 10, 2018 8:45 AM
> To: Yinbo Zhu <yinbo.zhu@nxp.com>; Y.b. Lu <yangbo.lu@nxp.com>; open
> list <u-boot@lists.denx.de>; yorksun at freescale.com
> Cc: Xiaobo Xie <xiaobo.xie@nxp.com>
> Subject: [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes
> 
> This patch is to add eSDHC nodes for lx2160a.
> 
> Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
> ---

Squashed with armv8: lx2160ardb : Add support for LX2160ARDB platform
And
applied to fsl-qoriq master, awaiting upstream.

--pk
	
	

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

* [U-Boot] [PATCH v1] configs: lx2160a: enable driver model for eSDHC
  2018-10-10  3:15 ` [U-Boot] [PATCH v1] configs: lx2160a: enable driver model for eSDHC Yinbo Zhu
@ 2019-02-20  7:42   ` Prabhakar Kushwaha
  0 siblings, 0 replies; 5+ messages in thread
From: Prabhakar Kushwaha @ 2019-02-20  7:42 UTC (permalink / raw)
  To: u-boot


> -----Original Message-----
> From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Yinbo Zhu
> Sent: Wednesday, October 10, 2018 8:45 AM
> To: Yinbo Zhu <yinbo.zhu@nxp.com>; Y.b. Lu <yangbo.lu@nxp.com>; open
> list <u-boot@lists.denx.de>; yorksun at freescale.com
> Cc: Xiaobo Xie <xiaobo.xie@nxp.com>
> Subject: [U-Boot] [PATCH v1] configs: lx2160a: enable driver model for
> eSDHC
> 
> Enable driver model for eSDHC on lx2160a rdb board.
> 
> Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
> ---

Squashed lx2rdb platform patches  and applied to fsl-qoriq master, awaiting upstream.

--pk

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

end of thread, other threads:[~2019-02-20  7:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-10  3:15 [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes Yinbo Zhu
2018-10-10  3:15 ` [U-Boot] [PATCH v1] armv8: lx2160a: add some minor fixes on esdhc node Yinbo Zhu
2018-10-10  3:15 ` [U-Boot] [PATCH v1] configs: lx2160a: enable driver model for eSDHC Yinbo Zhu
2019-02-20  7:42   ` Prabhakar Kushwaha
2019-02-20  7:39 ` [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes Prabhakar Kushwaha

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.