From: Faiz Abbas Date: Mon, 5 Apr 2021 14:44:28 +0000 (+0530) Subject: mmc: sdhci: Write to HOST_CONTROL2 register for HS400 speed mode X-Git-Tag: v2025.01-rc5-pxa1908~1772^2~41 X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=bda47bef7c5aea2521fccdffb0020d9354194be9;p=u-boot.git mmc: sdhci: Write to HOST_CONTROL2 register for HS400 speed mode Enable HS400 speed mode by writing to HOST_CONTROL2 register. Signed-off-by: Faiz Abbas Signed-off-by: Aswath Govindraju Signed-off-by: Lokesh Vutla Acked-by: Jaehoon Chung Link: https://lore.kernel.org/r/20210405144428.12159-1-a-govindraju@ti.com --- diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index d9ab6a0a83..eea4701d8a 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -507,6 +507,9 @@ void sdhci_set_uhs_timing(struct sdhci_host *host) case MMC_HS_200: reg |= SDHCI_CTRL_UHS_SDR104; break; + case MMC_HS_400: + reg |= SDHCI_CTRL_HS400; + break; default: reg |= SDHCI_CTRL_UHS_SDR12; }