From bda1e3f0e7d85ece6bddaed3024e3ef6593482cf Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Sun, 20 Jul 2025 19:00:28 +0200 Subject: [PATCH] mmc: exynos_dw_mmc: add exynos5420 compatibles The exynos5420 DTSes in linux kernel uses the compatibles samsung,exynos5420-dw-mshc{,-smu} instead of just samsung,exynos-dwmmc. Match the additional compatibles in the driver to make it possible to use it with DTSes from Linux kernel. Signed-off-by: Jaehoon Chung [ grimler: rebase after clksel reg abstraction and re-write commit message ] Signed-off-by: Henrik Grimler Reviewed-by: Sam Protsenko Reviewed-by: Anand Moon Signed-off-by: Peng Fan --- drivers/mmc/exynos_dw_mmc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c index c8bf89d6d35..12e37cb4b78 100644 --- a/drivers/mmc/exynos_dw_mmc.c +++ b/drivers/mmc/exynos_dw_mmc.c @@ -372,6 +372,12 @@ static const struct udevice_id exynos_dwmmc_ids[] = { { .compatible = "samsung,exynos4412-dw-mshc", .data = (ulong)&exynos4_drv_data, + }, { + .compatible = "samsung,exynos5420-dw-mshc-smu", + .data = (ulong)&exynos5_drv_data, + }, { + .compatible = "samsung,exynos5420-dw-mshc", + .data = (ulong)&exynos5_drv_data, }, { .compatible = "samsung,exynos-dwmmc", .data = (ulong)&exynos5_drv_data, -- 2.47.2