mmc: exynos_dw_mmc: Add exynos850 compatible

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>
This commit is contained in:
Sam Protsenko
2025-10-25 20:06:57 -05:00
committed by Peng Fan
parent 1e665e543c
commit cd7b26a254

View 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,
},
{ }
};