[PATCH 16/20] mci: dw_mmc: match against generic "snps, dw-mshc" compatible
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon May 31 00:38:17 PDT 2021
So far, we only matched against instances of the DesignWare MMC
controller on Rockchip and Altera SoCs. Match against the generic
snps,dw-mshc compatible as well.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
drivers/mci/dw_mmc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mci/dw_mmc.c b/drivers/mci/dw_mmc.c
index db8aa9473458..55f2d84a883d 100644
--- a/drivers/mci/dw_mmc.c
+++ b/drivers/mci/dw_mmc.c
@@ -623,6 +623,8 @@ static __maybe_unused struct of_device_id dw_mmc_compatible[] = {
.compatible = "rockchip,rk2928-dw-mshc",
}, {
.compatible = "rockchip,rk3288-dw-mshc",
+ }, {
+ .compatible = "snps,dw-mshc",
}, {
/* sentinel */
}
--
2.29.2
More information about the barebox
mailing list