Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1704153 > unrolled thread

[PATCH 0/6] ARM64: dts: meson: update around mmc

Started byJerome Brunet <jbrunet@baylibre.com>
First post2017-08-04 20:10 +0200
Last post2017-08-07 23:50 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/6] ARM64: dts: meson: update around mmc Jerome Brunet <jbrunet@baylibre.com> - 2017-08-04 20:10 +0200
    [PATCH 1/6] ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times Jerome Brunet <jbrunet@baylibre.com> - 2017-08-04 20:10 +0200
    [PATCH 4/6] ARM64: dts: meson-gxbb: nanopi-k2: enable sdcard UHS modes Jerome Brunet <jbrunet@baylibre.com> - 2017-08-04 20:10 +0200
      Re: [PATCH 4/6] ARM64: dts: meson-gxbb: nanopi-k2: enable sdcard UHS modes Kevin Hilman <khilman@baylibre.com> - 2017-08-07 23:50 +0200

#1704153 — [PATCH 0/6] ARM64: dts: meson: update around mmc

FromJerome Brunet <jbrunet@baylibre.com>
Date2017-08-04 20:10 +0200
Subject[PATCH 0/6] ARM64: dts: meson: update around mmc
Message-ID<uaPcS-20M-9@gated-at.bofh.it>
The patchset feature update around mmc. It is linked to this series [0]
but does not strictly depends on it. It adds:

* The regulator settling times for the gpio regulator of nanopi-k2 and
  the libretech-cc.
* UHS modes for the p20x and nanopi-k2. SDR104 is left out because the
  p20x does not support it and the driver requires more work to enable
  it on the nanopi-k2
* clk-gate pins: these are the pinmuxes used for the clk-stop work
  around explained here [0]

It also removes cap-sd-highspeed from eMMC nodes.

This series has been tested on the gxbb-200, the gxbb-nanopi-k2 and the
gxl-s905x-libretech-cc

Jerome Brunet (6):
  ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times
  ARM64: dts: meson-gxl: libretech-cc: add card regulator settle times
  ARM64: dts: meson-gxbb: p20x: enable sdcard UHS modes
  ARM64: dts: meson-gxbb: nanopi-k2: enable sdcard UHS modes
  ARM64: dts: meson: add mmc clk gate pins
  ARM64: dts: meson: remove cap-sd-highspeed from emmc nodes

 .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 10 ++++---
 .../boot/dts/amlogic/meson-gxbb-nanopi-k2.dts      | 18 ++++++++----
 .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts    | 12 ++++----
 .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts |  9 +++---
 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi   | 13 ++++++---
 .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi      | 10 ++++---
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi        | 33 ++++++++++++++++++++++
 .../dts/amlogic/meson-gxl-s905x-hwacom-amazetv.dts |  7 +++--
 .../dts/amlogic/meson-gxl-s905x-libretech-cc.dts   |  9 ++++--
 .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts    | 10 ++++---
 .../boot/dts/amlogic/meson-gxl-s905x-p212.dtsi     | 10 ++++---
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi         | 33 ++++++++++++++++++++++
 .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts |  7 +++--
 arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts |  1 -
 14 files changed, 139 insertions(+), 43 deletions(-)

-- 
2.9.4

[toc] | [next] | [standalone]


#1704155 — [PATCH 1/6] ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times

FromJerome Brunet <jbrunet@baylibre.com>
Date2017-08-04 20:10 +0200
Subject[PATCH 1/6] ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times
Message-ID<uaPcT-20M-33@gated-at.bofh.it>
In reply to#1704153
Changing the card voltage on the nanopi-k2 is not instantaneous,
especially when switching from 3.3v to 1.8v.

It take at least 3ms for the regulator to go from 3.3v to 1.8v. Add
margin to that to make sure we don't upset the sdcard during the voltage
switch

Fixes: 9bc7ffb08daf ("arm64: dts: amlogic: Add NanoPi K2")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
index fa462831ccaf..6b7495dc6014 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
@@ -107,6 +107,9 @@
 
 		states = <3300000 0>,
 		         <1800000 1>;
+
+		regulator-settling-time-up-us = <100>;
+		regulator-settling-time-down-us = <5000>;
 	};
 
 	wifi_32k: wifi-32k {
-- 
2.9.4

[toc] | [prev] | [next] | [standalone]


#1704156 — [PATCH 4/6] ARM64: dts: meson-gxbb: nanopi-k2: enable sdcard UHS modes

FromJerome Brunet <jbrunet@baylibre.com>
Date2017-08-04 20:10 +0200
Subject[PATCH 4/6] ARM64: dts: meson-gxbb: nanopi-k2: enable sdcard UHS modes
Message-ID<uaPcT-20M-35@gated-at.bofh.it>
In reply to#1704153
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
index 6b7495dc6014..5d59fd75cae7 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
@@ -225,7 +225,10 @@
 
 	bus-width = <4>;
 	cap-sd-highspeed;
-	max-frequency = <100000000>;
+	sd-uhs-sdr12;
+	sd-uhs-sdr25;
+	sd-uhs-sdr50;
+	max-frequency = <200000000>;
 	disable-wp;
 
 	cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
-- 
2.9.4

[toc] | [prev] | [next] | [standalone]


#1705885 — Re: [PATCH 4/6] ARM64: dts: meson-gxbb: nanopi-k2: enable sdcard UHS modes

FromKevin Hilman <khilman@baylibre.com>
Date2017-08-07 23:50 +0200
SubjectRe: [PATCH 4/6] ARM64: dts: meson-gxbb: nanopi-k2: enable sdcard UHS modes
Message-ID<ubY4q-6ew-15@gated-at.bofh.it>
In reply to#1704156
Jerome Brunet <jbrunet@baylibre.com> writes:

> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>

nit: missing changelog.

> ---
>  arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
> index 6b7495dc6014..5d59fd75cae7 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
> @@ -225,7 +225,10 @@
>  
>  	bus-width = <4>;
>  	cap-sd-highspeed;
> -	max-frequency = <100000000>;
> +	sd-uhs-sdr12;
> +	sd-uhs-sdr25;
> +	sd-uhs-sdr50;
> +	max-frequency = <200000000>;
>  	disable-wp;
>  
>  	cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web