Skip to content

Commit

Permalink
ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times
Browse files Browse the repository at this point in the history
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: 9bc7ffb ("arm64: dts: amlogic: Add NanoPi K2")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
  • Loading branch information
Jerome Brunet authored and Kevin Hilman committed Sep 5, 2017
1 parent 67e7607 commit 4277656
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4277656

Please sign in to comment.