* [PATCH] ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200
@ 2019-05-03 23:41 Douglas Anderson
2019-05-07 12:03 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: Douglas Anderson @ 2019-05-03 23:41 UTC (permalink / raw)
To: Heiko Stuebner
Cc: Mark Rutland, devicetree, amstan, Shawn Lin, briannorris,
Douglas Anderson, Rob Herring, linux-kernel, linux-rockchip, mka,
linux-arm-kernel
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>
---
arch/arm/boot/dts/rk3288-veyron-minnie.dts | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm/boot/dts/rk3288-veyron-minnie.dts b/arch/arm/boot/dts/rk3288-veyron-minnie.dts
index 468a1818545d..ce57881625ec 100644
--- a/arch/arm/boot/dts/rk3288-veyron-minnie.dts
+++ b/arch/arm/boot/dts/rk3288-veyron-minnie.dts
@@ -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>;
--
2.21.0.1020.gf2820cf01a-goog
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200
2019-05-03 23:41 [PATCH] ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200 Douglas Anderson
@ 2019-05-07 12:03 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2019-05-07 12:03 UTC (permalink / raw)
To: Douglas Anderson
Cc: Mark Rutland, devicetree, amstan, Shawn Lin, briannorris,
linux-kernel, Rob Herring, linux-rockchip, mka, linux-arm-kernel
Am Samstag, 4. Mai 2019, 01:41:42 CEST schrieb Douglas Anderson:
> 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>
applied for 5.3
Thanks
Heiko
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-07 12:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-03 23:41 [PATCH] ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200 Douglas Anderson
2019-05-07 12:03 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).