ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200
authorDouglas Anderson <dianders@chromium.org>
Fri, 3 May 2019 23:41:42 +0000 (16:41 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 19 May 2019 23:00:20 +0000 (01:00 +0200)
commit1c0479023412ab7834f2e98b796eb0d8c627cd62
tree907464351017aed05c7d8e2b6c66eb3df8697527
parent99fa066710f75f18f4d9a5bc5f6a711968a581d5
ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200

As some point hs200 was failing on rk3288-veyron-minnie.  See commit
984926781122 ("ARM: dts: rockchip: temporarily remove emmc hs200 speed
from rk3288 minnie").  Although I didn't track down exactly when it
started working, it seems to work OK now, so let's turn it back on.

To test this, I booted from SD card and then used this script to
stress the enumeration process after fixing a memory leak [1]:
  cd /sys/bus/platform/drivers/dwmmc_rockchip
  for i in $(seq 1 3000); do
    echo "========================" $i
    echo ff0f0000.dwmmc > unbind
    sleep .5
    echo ff0f0000.dwmmc > bind
    while true; do
      if [ -e /dev/mmcblk2 ]; then
        break;
      fi
      sleep .1
    done
  done

It worked fine.

[1] https://lkml.kernel.org/r/20190503233526.226272-1-dianders@chromium.org

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-veyron-minnie.dts