Commit 95921151 authored by Liming Sun's avatar Liming Sun Committed by Ulf Hansson

mmc: sdhci-of-dwcmshc: enable host V4 support for BlueField-3 SoC

This commit enables SDHCI Host V4 support on Bluefield-3 SoC to be
consistent with the default setting in firmware(UEFI).
Reviewed-by: default avatarDavid Woods <davwoods@nvidia.com>
Signed-off-by: default avatarLiming Sun <limings@nvidia.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/990885f566c32ac8e6888ad6b434fb70d1a5d7af.1673460632.git.limings@nvidia.comSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 681b9596
......@@ -528,6 +528,11 @@ static int dwcmshc_probe(struct platform_device *pdev)
goto err_clk;
}
#ifdef CONFIG_ACPI
if (pltfm_data == &sdhci_dwcmshc_bf3_pdata)
sdhci_enable_v4_mode(host);
#endif
host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
err = sdhci_setup_host(host);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment