Up until now "samsung,exynos7-dw-mshc-smu" compatible was used for
Exynos850 SoC, as it's present in its device tree. But Exynos850 device
tree also supports "samsung,exynos850-dw-mshc-smu" compatible string.
Add it in compatible ID list in the driver so that it can be matched
against this string for Exynos850 device tree.

No functional change, as the driver data is just a copy of
"samsung,exynos7-dw-mshc-smu" data for now.

Signed-off-by: Sam Protsenko <[email protected]>
---
 drivers/mmc/exynos_dw_mmc.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c
index be17bc4692c1..2027fcb82243 100644
--- a/drivers/mmc/exynos_dw_mmc.c
+++ b/drivers/mmc/exynos_dw_mmc.c
@@ -488,6 +488,11 @@ static const struct exynos_dwmmc_variant 
exynos7_smu_drv_data = {
        .quirks = DWMCI_QUIRK_DISABLE_SMU,
 };
 
+static const struct exynos_dwmmc_variant exynos850_drv_data = {
+       .clksel = DWMCI_CLKSEL64,
+       .quirks = DWMCI_QUIRK_DISABLE_SMU,
+};
+
 static const struct udevice_id exynos_dwmmc_ids[] = {
        {
                .compatible     = "samsung,exynos4412-dw-mshc",
@@ -510,6 +515,9 @@ static const struct udevice_id exynos_dwmmc_ids[] = {
        }, {
                .compatible     = "samsung,exynos7870-dw-mshc-smu",
                .data           = (ulong)&exynos7_smu_drv_data,
+       }, {
+               .compatible     = "samsung,exynos850-dw-mshc-smu",
+               .data           = (ulong)&exynos850_drv_data,
        },
        { }
 };
-- 
2.39.5

Reply via email to