]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation: mmc: sdhci-of-arasan: Add ability to export card clock
authorDouglas Anderson <dianders@chromium.org>
Mon, 20 Jun 2016 17:56:49 +0000 (10:56 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:18 +0000 (10:34 +0200)
commit8d41c409030acf5797ca28ec0fa3fa5486b7e072
tree27d7eb727e7ec19ccc459b2c1b51d082ff6066b8
parenta90d074b20364dfc2f68294c1d588ab03ed699c7
Documentation: mmc: sdhci-of-arasan: Add ability to export card clock

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@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/arasan,sdhci.txt