Re: [PATCH v2 06/11] Documentation: mmc: sdhci-of-arasan: Add ability to export card clock
From: Heiko Stuebner
Date: Sat Jun 18 2016 - 14:03:20 EST
Am Montag, 13. Juni 2016, 16:04:30 schrieb Douglas Anderson:
> Some SD/eMMC PHYs (like the PHY from Arasan that is designed to work
> with arasan,sdhci-5.1) need to know the card clock frequency in order to
> function properly. Physically in a SoC this clock is exported from the
> SDHCI IP block to the PHY IP block and the PHY needs to know the speed.
> Let's export the SDHCI card clock using a standard device tree mechanism
> so that the PHY can get access to it and query the card clock frequency.
>
> Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
> Acked-by: Rob Herring <robh@xxxxxxxxxx>
Doug and me talked about how to solve this beforehand, so obviously I'm in
favour of doing it like this :-)
Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>