rockchip: dwmmc: add rk2928-dw-mshc compatible
authorHeiko Stuebner <heiko@sntech.de>
Fri, 21 Sep 2018 08:59:46 +0000 (10:59 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 2 Oct 2018 07:35:09 +0000 (09:35 +0200)
The rk3188 works nicely with the rockchip mmc driver, so we just need
to add the different compatible for it - as used in the Linux kernel.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/mmc/rockchip_dw_mmc.c

index f54d95a..bf2d83a 100644 (file)
@@ -156,6 +156,7 @@ static int rockchip_dwmmc_bind(struct udevice *dev)
 }
 
 static const struct udevice_id rockchip_dwmmc_ids[] = {
+       { .compatible = "rockchip,rk2928-dw-mshc" },
        { .compatible = "rockchip,rk3288-dw-mshc" },
        { }
 };