]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc: fix eMMC HS400 stability issue
authorYangbo Lu <yangbo.lu@nxp.com>
Tue, 1 Sep 2020 08:58:07 +0000 (16:58 +0800)
committerPeng Fan <peng.fan@nxp.com>
Mon, 12 Oct 2020 07:47:06 +0000 (15:47 +0800)
commit78804de483c4d59d4e23acf8c9fb56eee07fb427
tree8a4ab02a778c62d6210f793d5cf44b7a09bec343
parent30f6444d024a74ee48aa6969c1531aecd3c59deb
mmc: fsl_esdhc: fix eMMC HS400 stability issue

There was a fix-up for eMMC HS400 stability issue in Linux.

Patch link:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
commit/?id=58d0bf843b49fa99588ac9f85178bd8dfd651b53

Description:
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.

Introduce the fix-up in u-boot since the issue could be reproduced
in u-boot too.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
drivers/mmc/fsl_esdhc.c