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 a014c05..7d25216 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 {