From: Jaehoon Chung <jh80.ch...@samsung.com>

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 <jh80.ch...@samsung.com>
[ grimler: rebase after clksel reg abstraction and re-write commit message ]
Signed-off-by: Henrik Grimler <hen...@grimler.se>
---
 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 
c8bf89d6d3552c1e0ebcaccc48a08087cbf3f596..12e37cb4b7884c5cdac0303245c93988d034459a
 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.50.1

Reply via email to