mmc: sdhci-of-esdhc: temporary fixup for eMMC HS400 issue
authorYangbo Lu <yangbo.lu@nxp.com>
Fri, 23 Nov 2018 03:15:36 +0000 (11:15 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commit58d0bf843b49fa99588ac9f85178bd8dfd651b53
tree47e17dc86549e7b6876cea4f028d4d4f99e5a70e
parent6079e63cdeac804bbf3ee7301d447812e5b81d84
mmc: sdhci-of-esdhc: temporary fixup for eMMC HS400 issue

Currently only LX2160A eSDHC supports eMMC HS400. According to
a large number of tests, eMMC HS400 failed to work at 150MHz,
and for a few boards failed to work at 175MHz. But eMMC HS400
worked fine on 200MHz. We hadn't found the root cause but
setting eSDHC_DLLCFG0[DLL_FREQ_SEL] = 0 using slow delay chain
seemed to resovle this issue. Let's use this as fixup for now.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c