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
 [1]
Signed-off-by: Kaustabh Chakraborty <[email protected]>
---
 drivers/mmc/exynos_dw_mmc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c
index 
d436d33f53b36aadab3621a14e37ced71b23d96e..12d7411a72ef5cb80689bcb0ae1398f375ec9a5f
 100644
--- a/drivers/mmc/exynos_dw_mmc.c
+++ b/drivers/mmc/exynos_dw_mmc.c
@@ -468,6 +468,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,
        },
        { }
 };

-- 
2.51.0

Reply via email to