Commit d6fe4928 authored by Faiz Abbas's avatar Faiz Abbas Committed by Ulf Hansson

mmc: sdhci-omap: Add am335x and am437x specific compatibles

Add support for new compatible for TI's am335x and am437x devices.
Signed-off-by: default avatarFaiz Abbas <faiz_abbas@ti.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200116105154.7685-10-faiz_abbas@ti.comSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 53bcebbe
...@@ -898,6 +898,14 @@ static const struct sdhci_omap_data k2g_data = { ...@@ -898,6 +898,14 @@ static const struct sdhci_omap_data k2g_data = {
.offset = 0x200, .offset = 0x200,
}; };
static const struct sdhci_omap_data am335_data = {
.offset = 0x200,
};
static const struct sdhci_omap_data am437_data = {
.offset = 0x200,
};
static const struct sdhci_omap_data dra7_data = { static const struct sdhci_omap_data dra7_data = {
.offset = 0x200, .offset = 0x200,
.flags = SDHCI_OMAP_REQUIRE_IODELAY, .flags = SDHCI_OMAP_REQUIRE_IODELAY,
...@@ -906,6 +914,8 @@ static const struct sdhci_omap_data dra7_data = { ...@@ -906,6 +914,8 @@ static const struct sdhci_omap_data dra7_data = {
static const struct of_device_id omap_sdhci_match[] = { static const struct of_device_id omap_sdhci_match[] = {
{ .compatible = "ti,dra7-sdhci", .data = &dra7_data }, { .compatible = "ti,dra7-sdhci", .data = &dra7_data },
{ .compatible = "ti,k2g-sdhci", .data = &k2g_data }, { .compatible = "ti,k2g-sdhci", .data = &k2g_data },
{ .compatible = "ti,am335-sdhci", .data = &am335_data },
{ .compatible = "ti,am437-sdhci", .data = &am437_data },
{}, {},
}; };
MODULE_DEVICE_TABLE(of, omap_sdhci_match); MODULE_DEVICE_TABLE(of, omap_sdhci_match);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment