]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-omap: Workaround for Errata i834
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 27 Apr 2018 11:47:18 +0000 (17:17 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 3 May 2018 07:37:11 +0000 (09:37 +0200)
commitd3b320ba4b73bcdd9bcd0bb95807524880fb1ff1
treec846ccf43c2bc6dafbc539d331cde88f89539a75
parent0af79e4f5535eebc3f74b7ef0c2fdd73befceb83
mmc: sdhci-omap: Workaround for Errata i834

Errata i834 in AM572x Sitara Processors Silicon Revision 2.0, 1.1
(SPRZ429K July 2014–Revised March 2017 [1]) mentions the maximum
obtainable timeout through MMC host controller is 700ms. And for
commands taking longer than 700ms, hardware timeout should be
disabled and software timeout should be used.

The workaround for Errata i834 can be achieved by adding
SDHCI_QUIRK2_DISABLE_HW_TIMEOUT quirk in sdhci-omap.

[1] -> http://www.ti.com/lit/er/sprz429k/sprz429k.pdf

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-omap.c