mmc: sdhci_am654: Workaround for Errata i2312
authorJudith Mendez <jm@ti.com>
Thu, 26 Jun 2025 23:14:52 +0000 (18:14 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 3 Jul 2025 11:37:34 +0000 (13:37 +0200)
commit6d0b1c01847fedd7c85a5cdf59b8cfc7d14512e6
tree15a0fe8401c260934a2c150964512ed37f214413
parent50c78f398e92fafa1cbba3469c95fe04b2e4206d
mmc: sdhci_am654: Workaround for Errata i2312

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>
drivers/mmc/host/sdhci_am654.c