Skip to content

Commit 9592115

Browse files
lsun100storulf
authored andcommitted
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: David Woods <[email protected]> Signed-off-by: Liming Sun <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/990885f566c32ac8e6888ad6b434fb70d1a5d7af.1673460632.git.limings@nvidia.com Signed-off-by: Ulf Hansson <[email protected]>
1 parent 681b959 commit 9592115

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/mmc/host/sdhci-of-dwcmshc.c

+5
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,11 @@ static int dwcmshc_probe(struct platform_device *pdev)
528528
goto err_clk;
529529
}
530530

531+
#ifdef CONFIG_ACPI
532+
if (pltfm_data == &sdhci_dwcmshc_bf3_pdata)
533+
sdhci_enable_v4_mode(host);
534+
#endif
535+
531536
host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
532537

533538
err = sdhci_setup_host(host);

0 commit comments

Comments
 (0)