ARM64: dts: meson-gxbb: p20x: add card regulator settle times
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 1 Aug 2017 15:22:24 +0000 (17:22 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 1 Aug 2017 19:46:45 +0000 (12:46 -0700)
Changing the card voltage on the p200 is not instantaneous, especially
when switching from 3.3v to 1.8v.

I take at least 70ms 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: ef8d2ffedf18 ("ARM64: dts: meson-gxbb: add MMC support")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi

index d904deb..58b32f2 100644 (file)
@@ -84,6 +84,9 @@
                /* Based on P200 schematics, signal CARD_1.8V/3.3V_CTR */
                states = <1800000 0
                          3300000 1>;
+
+               regulator-settling-time-up-us = <10000>;
+               regulator-settling-time-down-us = <150000>;
        };
 
        vddio_boot: regulator-vddio_boot {