]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM64: dts: meson-gxbb: nanopi-k2: add card regulator settle times
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 31 Aug 2017 13:52:21 +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 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>
arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts

index 60d5f2da69160cd83debea6b579d05f74992c8c3..acb6797756e5868e1e7517fbe87bcb324861aa0d 100644 (file)
 
                states = <3300000 0>,
                         <1800000 1>;
+
+               regulator-settling-time-up-us = <100>;
+               regulator-settling-time-down-us = <5000>;
        };
 
        wifi_32k: wifi-32k {