ARM64: dts: meson-gxl: libretech-cc: add card regulator settle times
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 31 Aug 2017 13:52:22 +0000 (15:52 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 5 Sep 2017 19:05:00 +0000 (12:05 -0700)
Changing the card voltage on the cc is not instantaneous, especially
when switching from 3.3v to 1.8v.

It take at least 30ms 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: 61ff2af9b278 ("ARM64: dts: fixup libretech cc definition")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts

index a014c052241ec076802da0ef65c0b0aa02532be1..7d252168c2fa26a590812f0bd6195775a63a0eb8 100644 (file)
@@ -91,6 +91,9 @@
 
                states = <3300000 0>,
                         <1800000 1>;
+
+               regulator-settling-time-up-us = <200>;
+               regulator-settling-time-down-us = <50000>;
        };
 
        vddio_boot: regulator-vddio_boot {