]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: rockchip: bump sd card pin drive strength up on rk3288-evb
authorDoug Anderson <dianders@chromium.org>
Wed, 10 Dec 2014 20:55:29 +0000 (12:55 -0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 21 Dec 2014 14:02:10 +0000 (15:02 +0100)
commit460936e68a933e124023bd2f5c7d3f1bb185c4be
tree6b9060508384ed9fbb518fd9e51a62cb8ef09f65
parentc687bb41805a1238a38a086952014d5682516d9d
ARM: dts: rockchip: bump sd card pin drive strength up on rk3288-evb

It seems that ever since (f3ede9d mmc: dw_mmc: Reset DMA before
enabling IDMAC) landed upstream that SD cards have been very unhappy
on rk3288-evb.  They were a little unhappy before that change, but
after that change they're REALLY unhappy.

It turns out that the above fix happens to fix a corruption when
reading card information during probe time.  Without the fix we didn't
detect that high speed SD cards could actually support high speed.
With the fix we suddenly detect that they're high speed and we try to
use them at 50MHz.  That doesn't work so well on EVB with the default
drive strength (maybe because there are two physical SD card slots
hooked up to the same pin?).

Fix the problem by bumping up the drive strength of the sdmmc lines.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Fixes: f3ede9d22991 ("mmc: dw_mmc: Reset DMA before enabling IDMAC")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-evb.dtsi