aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2017-08-31 15:52:21 +0200
committerKevin Hilman <khilman@baylibre.com>2017-09-05 12:05:00 -0700
commit42776561a1def5d96699574efd7c9cbbd2e0fbc4 (patch)
tree63a4c5939b0a107abc2297f65b5573806ebc768f /arch/arm64/boot
parentARM64: dts: meson: add mmc clk gate pins (diff)
downloadlinux-dev-42776561a1def5d96699574efd7c9cbbd2e0fbc4.tar.xz
linux-dev-42776561a1def5d96699574efd7c9cbbd2e0fbc4.zip
ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times
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> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts3
1 files changed, 3 insertions, 0 deletions
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 60d5f2da6916..acb6797756e5 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 {