diff mbox series

zynqmp: dts: Cleanup no-1-8-v property from sdhci dt nodes

Message ID e29ef27a6a3bd52784b5e59f20d8b7f9b02a8e9d.1578396789.git.michal.simek@xilinx.com
State New
Delegated to: Michal Simek
Headers show
Series zynqmp: dts: Cleanup no-1-8-v property from sdhci dt nodes | expand

Commit Message

Michal Simek Jan. 7, 2020, 11:33 a.m. UTC
From: T Karthik Reddy <t.karthik.reddy@xilinx.com>

Removed no-1-8-v property from zynqmp sdhci devicetree nodes to
allow UHS-I capable SD cards to work in SD3.0 UHS modes.

Boards that does not have level shifter for SD, does not support 1.8v.
so no-1-8-v property to sdhci dt nodes should be present in zcu102 Rev-A,B,
zcu104 Rev-A,C, zcu100, zcu1275 Rev-B boards.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm/dts/zynqmp-zcu100-revC.dts  | 1 +
 arch/arm/dts/zynqmp-zcu106-revA.dts  | 1 -
 arch/arm/dts/zynqmp-zcu111-revA.dts  | 1 -
 arch/arm/dts/zynqmp-zcu1275-revB.dts | 4 ++++
 4 files changed, 5 insertions(+), 2 deletions(-)

Comments

Michal Simek Jan. 16, 2020, 7:10 a.m. UTC | #1
Ășt 7. 1. 2020 v 12:33 odesĂ­latel Michal Simek <michal.simek@xilinx.com> napsal:
>
> From: T Karthik Reddy <t.karthik.reddy@xilinx.com>
>
> Removed no-1-8-v property from zynqmp sdhci devicetree nodes to
> allow UHS-I capable SD cards to work in SD3.0 UHS modes.
>
> Boards that does not have level shifter for SD, does not support 1.8v.
> so no-1-8-v property to sdhci dt nodes should be present in zcu102 Rev-A,B,
> zcu104 Rev-A,C, zcu100, zcu1275 Rev-B boards.
>
> Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  arch/arm/dts/zynqmp-zcu100-revC.dts  | 1 +
>  arch/arm/dts/zynqmp-zcu106-revA.dts  | 1 -
>  arch/arm/dts/zynqmp-zcu111-revA.dts  | 1 -
>  arch/arm/dts/zynqmp-zcu1275-revB.dts | 4 ++++
>  4 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/dts/zynqmp-zcu100-revC.dts b/arch/arm/dts/zynqmp-zcu100-revC.dts
> index 14aa98de73fe..d1b0dab1c6d5 100644
> --- a/arch/arm/dts/zynqmp-zcu100-revC.dts
> +++ b/arch/arm/dts/zynqmp-zcu100-revC.dts
> @@ -259,6 +259,7 @@
>         no-1-8-v;
>         disable-wp;
>         xlnx,mio_bank = <0>;
> +       no-1-8-v;
>  };
>
>  &sdhci1 {
> diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts/zynqmp-zcu106-revA.dts
> index b4dd10133008..7c73ff283e7a 100644
> --- a/arch/arm/dts/zynqmp-zcu106-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu106-revA.dts
> @@ -653,7 +653,6 @@
>  /* SD1 with level shifter */
>  &sdhci1 {
>         status = "okay";
> -       no-1-8-v;
>         xlnx,mio_bank = <1>;
>  };
>
> diff --git a/arch/arm/dts/zynqmp-zcu111-revA.dts b/arch/arm/dts/zynqmp-zcu111-revA.dts
> index aabf73dd6dc9..ca95d7e059a8 100644
> --- a/arch/arm/dts/zynqmp-zcu111-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu111-revA.dts
> @@ -566,7 +566,6 @@
>  /* SD1 with level shifter */
>  &sdhci1 {
>         status = "okay";
> -       no-1-8-v;
>         disable-wp;
>         xlnx,mio_bank = <1>;
>  };
> diff --git a/arch/arm/dts/zynqmp-zcu1275-revB.dts b/arch/arm/dts/zynqmp-zcu1275-revB.dts
> index 34c4becd434a..2ec29b0b5d11 100644
> --- a/arch/arm/dts/zynqmp-zcu1275-revB.dts
> +++ b/arch/arm/dts/zynqmp-zcu1275-revB.dts
> @@ -75,6 +75,10 @@
>
>  &sdhci1 {
>         status = "okay";
> +       /*
> +        * 1.0 revision has level shifter and this property should be
> +        * removed for supporting UHS mode
> +        */
>         no-1-8-v;
>         xlnx,mio_bank = <1>;
>  };
> --
> 2.24.0
>

Applied.
M
diff mbox series

Patch

diff --git a/arch/arm/dts/zynqmp-zcu100-revC.dts b/arch/arm/dts/zynqmp-zcu100-revC.dts
index 14aa98de73fe..d1b0dab1c6d5 100644
--- a/arch/arm/dts/zynqmp-zcu100-revC.dts
+++ b/arch/arm/dts/zynqmp-zcu100-revC.dts
@@ -259,6 +259,7 @@ 
 	no-1-8-v;
 	disable-wp;
 	xlnx,mio_bank = <0>;
+	no-1-8-v;
 };
 
 &sdhci1 {
diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts/zynqmp-zcu106-revA.dts
index b4dd10133008..7c73ff283e7a 100644
--- a/arch/arm/dts/zynqmp-zcu106-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu106-revA.dts
@@ -653,7 +653,6 @@ 
 /* SD1 with level shifter */
 &sdhci1 {
 	status = "okay";
-	no-1-8-v;
 	xlnx,mio_bank = <1>;
 };
 
diff --git a/arch/arm/dts/zynqmp-zcu111-revA.dts b/arch/arm/dts/zynqmp-zcu111-revA.dts
index aabf73dd6dc9..ca95d7e059a8 100644
--- a/arch/arm/dts/zynqmp-zcu111-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu111-revA.dts
@@ -566,7 +566,6 @@ 
 /* SD1 with level shifter */
 &sdhci1 {
 	status = "okay";
-	no-1-8-v;
 	disable-wp;
 	xlnx,mio_bank = <1>;
 };
diff --git a/arch/arm/dts/zynqmp-zcu1275-revB.dts b/arch/arm/dts/zynqmp-zcu1275-revB.dts
index 34c4becd434a..2ec29b0b5d11 100644
--- a/arch/arm/dts/zynqmp-zcu1275-revB.dts
+++ b/arch/arm/dts/zynqmp-zcu1275-revB.dts
@@ -75,6 +75,10 @@ 
 
 &sdhci1 {
 	status = "okay";
+	/*
+	 * 1.0 revision has level shifter and this property should be
+	 * removed for supporting UHS mode
+	 */
 	no-1-8-v;
 	xlnx,mio_bank = <1>;
 };