Re: [PATCH v2] ARM: dts: rockchip: temporarily remove emmc hs200 speed from rk3288-veyron-speedy.
From: Paul Kocialkowski
Date: Sun Oct 16 2016 - 15:51:05 EST
Hi,
Le mardi 27 septembre 2016 Ã 13:53 -0700, Vagrant Cascadian a ÃcritÂ:
> This essentially mimics what was done with rk3288-veyron-minnie in
> commit 984926781122f034d5bc9962815d135b6c4a8e1d.
>
> The eMMC of the speedy Chromebook also appears to need the same tuning
> workaround, as it frequently fails to recognize the eMMC without it.
I have a device where (without this patch) eMMC sometimes fails, with:
[ÂÂÂÂ3.561010] dwmmc_rockchip ff0f0000.dwmmc: Successfully tuned phase to 175
[ÂÂÂÂ3.571742] mmc2: new HS200 MMC card at address 0001
[ÂÂÂÂ3.571943] mmcblk2: mmc2:0001 HAG2e 14.7 GiBÂ
[ÂÂÂÂ3.572026] mmcblk2boot0: mmc2:0001 HAG2e partition 1 4.00 MiB
[ÂÂÂÂ3.572107] mmcblk2boot1: mmc2:0001 HAG2e partition 2 4.00 MiB
[ÂÂÂÂ3.572181] mmcblk2rpmb: mmc2:0001 HAG2e partition 3 4.00 MiB
[ÂÂÂÂ3.685647] mmcblk2: error -110 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
And sometimes works, with:
[ÂÂÂÂ3.451058] dwmmc_rockchip ff0f0000.dwmmc: Successfully tuned phase to 176
[ÂÂÂÂ3.491093] mmc2: new HS200 MMC card at address 0001
[ÂÂÂÂ3.491277] mmcblk2: mmc2:0001 HAG2e 14.7 GiBÂ
[ÂÂÂÂ3.491345] mmcblk2boot0: mmc2:0001 HAG2e partition 1 4.00 MiB
[ÂÂÂÂ3.491409] mmcblk2boot1: mmc2:0001 HAG2e partition 2 4.00 MiB
[ÂÂÂÂ3.491474] mmcblk2rpmb: mmc2:0001 HAG2e partition 3 4.00 MiB
[ÂÂÂÂ3.493548]ÂÂmmcblk2: p1 p2
However, with this change, it always fails, with:
[ÂÂÂÂ3.322129] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[ÂÂÂÂ3.333174] mmc2: error -110 whilst initialising MMC card
I don't have so much time to investigate this issue, but it's clear that this
patch doesn't fix the issue (and actually worsens it) for my device.
Cheers!
> Signed-off-by: Vagrant Cascadian <vagrantc@xxxxxxxxxxx>
> ---
> Changes in v2:
> Â- Added Signed-off-by.
>
> Âarch/arm/boot/dts/rk3288-veyron-speedy.dts | 5 +++++
> Â1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/rk3288-veyron-speedy.dts
> b/arch/arm/boot/dts/rk3288-veyron-speedy.dts
> index a0d033f..500fd18 100644
> --- a/arch/arm/boot/dts/rk3288-veyron-speedy.dts
> +++ b/arch/arm/boot/dts/rk3288-veyron-speedy.dts
> @@ -124,6 +124,11 @@
> ÂÂÂÂÂÂÂÂÂÂÂÂ&sdmmc_bus4>;
> Â};
>
> +
> +&emmc {
> +ÂÂÂÂÂÂÂ/delete-property/mmc-hs200-1_8v;
> +};
> +
> Â&vcc_5v {
> ÂÂÂÂenable-active-high;
> ÂÂÂÂgpio = <&gpio7 21 GPIO_ACTIVE_HIGH>;
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
--
Paul Kocialkowski, developer of free digital technology at the lower levels
Website: https://www.paulk.fr/
Coding blog: https://code.paulk.fr/
Git repositories: https://git.paulk.fr/ https://git.code.paulk.fr/Attachment:
signature.asc
Description: This is a digitally signed message part