]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: sdhci_am654: Workaround for Errata i2312
authorJudith Mendez <jm@ti.com>
Thu, 26 Jun 2025 23:14:52 +0000 (18:14 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2025 06:58:29 +0000 (08:58 +0200)
commitdafbcf8f16955f9bcbca19442966ad9200bd568d
treefe3377557a91394faff174228f33d10860b8e493
parentdea7f3b9ad15efff0a75027b7bce16a9b42d7c60
mmc: sdhci_am654: Workaround for Errata i2312

commit 6d0b1c01847fedd7c85a5cdf59b8cfc7d14512e6 upstream.

Errata i2312 [0] for K3 silicon 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 i2312 can be achieved by adding
SDHCI_QUIRK2_DISABLE_HW_TIMEOUT quirk in sdhci_am654.

[0] https://www.ti.com/lit/pdf/sprz487

Signed-off-by: Judith Mendez <jm@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: 41fd4caeb00b ("mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250626231452.3460987-1-jm@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci_am654.c