Skip to content

Commit d6fe492

Browse files
Faiz-Abbasstorulf
authored andcommitted
mmc: sdhci-omap: Add am335x and am437x specific compatibles
Add support for new compatible for TI's am335x and am437x devices. Signed-off-by: Faiz Abbas <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent 53bcebb commit d6fe492

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

drivers/mmc/host/sdhci-omap.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,14 @@ static const struct sdhci_omap_data k2g_data = {
898898
.offset = 0x200,
899899
};
900900

901+
static const struct sdhci_omap_data am335_data = {
902+
.offset = 0x200,
903+
};
904+
905+
static const struct sdhci_omap_data am437_data = {
906+
.offset = 0x200,
907+
};
908+
901909
static const struct sdhci_omap_data dra7_data = {
902910
.offset = 0x200,
903911
.flags = SDHCI_OMAP_REQUIRE_IODELAY,
@@ -906,6 +914,8 @@ static const struct sdhci_omap_data dra7_data = {
906914
static const struct of_device_id omap_sdhci_match[] = {
907915
{ .compatible = "ti,dra7-sdhci", .data = &dra7_data },
908916
{ .compatible = "ti,k2g-sdhci", .data = &k2g_data },
917+
{ .compatible = "ti,am335-sdhci", .data = &am335_data },
918+
{ .compatible = "ti,am437-sdhci", .data = &am437_data },
909919
{},
910920
};
911921
MODULE_DEVICE_TABLE(of, omap_sdhci_match);

0 commit comments

Comments
 (0)