diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-03-18 03:20:31 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-03-25 20:26:53 +0100 |
commit | c49d0ac38a76c39f9556638bc9128b0969cb1536 (patch) | |
tree | 85e5ed49a46c6056e9999f334323c8931d7da0c6 /arch/arm/dts/r8a77965-salvator-x-u-boot.dts | |
parent | cfb3e102c4bdf96a41cbd3eeb1d3a9a56c69c46c (diff) |
ARM: dts: rmobile: Increase off-on delay on the SD Vcc regulator
An ADATA 16GB Industrial MLC card has so much capacitance on the Vcc
pin that the usual toggling of regulator to power the card off and on
is insufficient. When the card is calibrated into UHS SDR104 mode, it
will remain in that mode across the power cycle and subsequent attempt
to communicate with the card will fail.
The test with this card is to insert it into an SDHI slot and perform
"mmc dev 0 ; mmc dev 0", where the second "mmc dev 0" will fail.
Fix this problem by increasing the off-on delay from 0 to 20 mS.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/arm/dts/r8a77965-salvator-x-u-boot.dts')
-rw-r--r-- | arch/arm/dts/r8a77965-salvator-x-u-boot.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/dts/r8a77965-salvator-x-u-boot.dts b/arch/arm/dts/r8a77965-salvator-x-u-boot.dts index 9e0cd26f408..cfc0f740815 100644 --- a/arch/arm/dts/r8a77965-salvator-x-u-boot.dts +++ b/arch/arm/dts/r8a77965-salvator-x-u-boot.dts @@ -8,6 +8,14 @@ #include "r8a77965-salvator-x.dts" #include "r8a77965-u-boot.dtsi" +&vcc_sdhi0 { + u-boot,off-on-delay-us = <20000>; +}; + +&vcc_sdhi3 { + u-boot,off-on-delay-us = <20000>; +}; + &sdhi2_pins { groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds"; power-source = <1800>; |