mmc: sdhci-of-esdhc: modify the sd clock in of_match_node way
authoryinbo.zhu <yinbo.zhu@nxp.com>
Mon, 25 Jun 2018 08:46:24 +0000 (16:46 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Jul 2018 09:21:45 +0000 (11:21 +0200)
commit67fdfbdf0115b39b4e9b9d96d240202fa3049b12
treeb7e43ba46ef9089757cd61d80f18eb9e2230748c
parent3f2c7d5d158d7df430b5763674be9e0b834dfd6f
mmc: sdhci-of-esdhc: modify the sd clock in of_match_node way

Convert to use of_match_node method to fix up eSDHC clock for
ls1046a/ls1012a/p1010. Also add eSDHC clock fixup for ls1021a
according to its datasheet. The maxmum speed for ls1021a eSDHC
high speed mode is 46.5MHz.

Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c