Re: [PATCH] ARM: dts: rockchip: set dw_mmc max-freq 150Mhz

From: Doug Anderson
Date: Thu Dec 04 2014 - 11:09:05 EST


Addy,

On Wed, Dec 3, 2014 at 6:49 PM, Addy Ke <addy.ke@xxxxxxxxxxxxxx> wrote:
> All of mmc controllers include SDMMC, SDIO0, SDIO1, and EMMC on RK3288
> are limited to 150Mhz. It was mainly caused by two reasons:
> - RK3288's IO pad(except DDR IO pad) is generic, which can only support
> the max of 150Mhz.
> - Mmc controller was designed at 150Mhz, and the pressure test by IC team
> was based on this freequency point.
>
> Signed-off-by: Addy Ke <addy.ke@xxxxxxxxxxxxxx>
> ---
> arch/arm/boot/dts/rk3288.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)

Your explanation is reasonable. The 150MHz rate is also listed in the
latest datasheet. It's unfortunate that we won't get full speed of
SDR104 or hs200 on this SoC, but correctness certainly outweighs
performance.

Reviewed-by: Doug Anderson <dianders@xxxxxxxxxxxx>

I have tested that this prevents the speed from going above 150MHz on
rk3288-pinky on SD Cards, so:

Tested-by: Doug Anderson <dianders@xxxxxxxxxxxx>

-Doug
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/