]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
mmc: exynos_dw_mmc: add compatible for exynos7870-dw-mshc-smu
authorKaustabh Chakraborty <kauschluss@disroot.org>
Fri, 17 Oct 2025 15:24:14 +0000 (20:54 +0530)
committerPeng Fan <peng.fan@nxp.com>
Thu, 30 Oct 2025 02:11:17 +0000 (10:11 +0800)
Exynos7870 is documented in upstream dt-schema. Add it in the U-Boot
driver.

Note that here it seems that Exynos7 DW MMC is perfectly compatible with
Exynos7870 DW MMC. It's not always true, especially in SDIO cards where
data from a 64-bit FIFO is read in two 32-bit halves [1]. Since SDIO
isn't used or implemented here, it's oblivious. But upstream's schema
considers that quirk, so that compatible is followed.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7cbe799ac10f
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/exynos_dw_mmc.c

index 7e7b472411c1ecb7204973416f84128a318a59c1..b6660fb2cd543eaf11638add31c5dffd4baa43cb 100644 (file)
@@ -471,6 +471,9 @@ static const struct udevice_id exynos_dwmmc_ids[] = {
        }, {
                .compatible     = "samsung,exynos7-dw-mshc-smu",
                .data           = (ulong)&exynos7_smu_drv_data,
+       }, {
+               .compatible     = "samsung,exynos7870-dw-mshc-smu",
+               .data           = (ulong)&exynos7_smu_drv_data,
        },
        { }
 };