summaryrefslogtreecommitdiffstats
path: root/drivers/mci
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-07-07 10:22:43 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-07-11 06:19:07 +0200
commit15f4db5431de0cf402d31bce90ca50df84dc1e1e (patch)
tree6bd12e1be82d1f6e1118996f923af1b93bbbee5a /drivers/mci
parentb7ebf00f90eb47cc3d2eea3fb937ae3bb7bb061d (diff)
downloadbarebox-15f4db5431de0cf402d31bce90ca50df84dc1e1e.tar.gz
barebox-15f4db5431de0cf402d31bce90ca50df84dc1e1e.tar.xz
mci: omap: add new am335x and am437x SDHCI specific compatibles
For a while now, Linux has had a sdhci-omap driver for TI's OMAP SoCs making use of the SDHCI core library. This was in addition to the older omap-hsmmc driver, which didn't. Linux commit 0b4edf11187 ("ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver") changes the device tree compatible of the mmc nodes on the am33xx and am43xx SoCs away from the omap-hsmmc to the SDHCI driver. Add the new compatibles, so we aren't broken by the change. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci')
-rw-r--r--drivers/mci/omap_hsmmc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mci/omap_hsmmc.c b/drivers/mci/omap_hsmmc.c
index b141610325..6623503cee 100644
--- a/drivers/mci/omap_hsmmc.c
+++ b/drivers/mci/omap_hsmmc.c
@@ -651,6 +651,12 @@ static __maybe_unused struct of_device_id omap_mmc_dt_ids[] = {
.compatible = "ti,omap4-hsmmc",
.data = &omap4_data,
}, {
+ .compatible = "ti,am335-sdhci",
+ .data = &omap4_data,
+ }, {
+ .compatible = "ti,am437-sdhci",
+ .data = &omap4_data,
+ }, {
/* sentinel */
}
};