ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200
Subsystems (2)
PATCH 1/1 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/[email protected]
---
arch/arm/boot/dts/rk3288-veyron-minnie.dts | 4 ---- 1 file changed, 4 deletions(-)
arch/arm/boot/dts/rk3288-veyron-minnie.dts +0 -4
@@ -90,10 +90,6 @@ pwm-off-delay-ms = <200>; }; -&emmc { - /delete-property/mmc-hs200-1_8v; -}; - &gpio_keys { pinctrl-0 = <&pwr_key_l &ap_lid_int_l &volum_down_l &volum_up_l>;
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
Heiko Stuebner
maintainerAm Samstag, 4. Mai 2019, 01:41:42 CEST schrieb Douglas Anderson:
Quoted 21 lines
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
Quoted 5 lines
It worked fine.
[1] https://lkml.kernel.org/r/[email protected]
Signed-off-by Douglas Anderson <[email protected]>
applied for 5.3
Thanks
Heiko