mmc: sdhci-esdhc-imx: add SD clock limitation for imx6ull
authorBOUGH CHEN <haibo.chen@nxp.com>
Fri, 28 Dec 2018 03:26:10 +0000 (03:26 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Feb 2019 07:40:58 +0000 (08:40 +0100)
commitaf6a50d457ec3ca25ec248959c26f98950fddadc
tree1f78e098cab7196bfb5f0191cd8ba99fdee517be
parent772bf73ed4dc2e3f0aa549d91dd3f306399d0c09
mmc: sdhci-esdhc-imx: add SD clock limitation for imx6ull

i.MX6ULL has errata ERR010450, point out that due to SOC I/O
timing limitation, for eMMC HS200 and SD/SDIO 3.0 SDR104, the
clock rate can't exceed 150MHz. And for eMMC DDR52 and SD/SDIO
DDR50 mode, the clock rate can't exceed 45MHz.

This patch add this limit for imx6ull.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
[Ulf: Fixed comments and whitespace]
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c