From: Jerome Brunet <jbrunet@baylibre.com>
To: Kevin Hilman <khilman@baylibre.com>, Carlo Caione <carlo@caione.org>
Cc: Jerome Brunet <jbrunet@baylibre.com>,
linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 4/9] ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times
Date: Mon, 21 Aug 2017 18:06:32 +0200 [thread overview]
Message-ID: <20170821160637.22456-5-jbrunet@baylibre.com> (raw)
In-Reply-To: <20170821160637.22456-1-jbrunet@baylibre.com>
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 e4c6b2fd52ee..de4ed28d78bc 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.5
WARNING: multiple messages have this Message-ID (diff)
From: jbrunet@baylibre.com (Jerome Brunet)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 4/9] ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times
Date: Mon, 21 Aug 2017 18:06:32 +0200 [thread overview]
Message-ID: <20170821160637.22456-5-jbrunet@baylibre.com> (raw)
In-Reply-To: <20170821160637.22456-1-jbrunet@baylibre.com>
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 e4c6b2fd52ee..de4ed28d78bc 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.5
WARNING: multiple messages have this Message-ID (diff)
From: jbrunet@baylibre.com (Jerome Brunet)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v2 4/9] ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times
Date: Mon, 21 Aug 2017 18:06:32 +0200 [thread overview]
Message-ID: <20170821160637.22456-5-jbrunet@baylibre.com> (raw)
In-Reply-To: <20170821160637.22456-1-jbrunet@baylibre.com>
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 e4c6b2fd52ee..de4ed28d78bc 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.5
next prev parent reply other threads:[~2017-08-21 16:08 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-21 16:06 [PATCH v2 0/9] ARM64: dts: meson: update around mmc Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` [PATCH v2 1/9] ARM64: dts: meson-gx: Use correct mmc clock source 0 Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` [PATCH v2 2/9] ARM64: dts: meson: remove cap-sd-highspeed from emmc nodes Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` [PATCH v2 3/9] ARM64: dts: meson: add mmc clk gate pins Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet [this message]
2017-08-21 16:06 ` [PATCH v2 4/9] ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` [PATCH v2 5/9] ARM64: dts: meson-gxl: libretech-cc: " Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` [PATCH v2 6/9] ARM64: dts: meson-gxl: libretech-cc: remove sdr104 capability Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` [PATCH v2 7/9] ARM64: dts: meson-gxbb: p20x: enable sdcard UHS modes Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` [PATCH v2 8/9] ARM64: dts: meson-gxbb: nanopi-k2: " Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` [PATCH v2 9/9] ARM64: dts: meson-gxbb: nanopi-k2: enable sdr104 mode Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
2017-08-21 16:06 ` Jerome Brunet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170821160637.22456-5-jbrunet@baylibre.com \
--to=jbrunet@baylibre.com \
--cc=carlo@caione.org \
--cc=devicetree@vger.kernel.org \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.