mmc: exynos_dw_mmc: Add exynos850 compatible
authorSam Protsenko <semen.protsenko@linaro.org>
Sun, 26 Oct 2025 01:06:57 +0000 (20:06 -0500)
committerPeng Fan <peng.fan@nxp.com>
Fri, 7 Nov 2025 01:28:29 +0000 (09:28 +0800)
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 <semen.protsenko@linaro.org>
Reviewed-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/exynos_dw_mmc.c

index be17bc4..2027fcb 100644 (file)
@@ -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,
        },
        { }
 };