mmc: jz4740: Add support for JZ4760

Add support for probing mmc driver on the JZ4760 Soc from Ingenic.

Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Zhou Yanjie 2019-10-12 13:13:17 +08:00 committed by Ulf Hansson
parent 6d57e9cf8e
commit 2af2af9940

View File

@ -105,6 +105,7 @@
enum jz4740_mmc_version { enum jz4740_mmc_version {
JZ_MMC_JZ4740, JZ_MMC_JZ4740,
JZ_MMC_JZ4725B, JZ_MMC_JZ4725B,
JZ_MMC_JZ4760,
JZ_MMC_JZ4780, JZ_MMC_JZ4780,
}; };
@ -931,6 +932,7 @@ static const struct mmc_host_ops jz4740_mmc_ops = {
static const struct of_device_id jz4740_mmc_of_match[] = { static const struct of_device_id jz4740_mmc_of_match[] = {
{ .compatible = "ingenic,jz4740-mmc", .data = (void *) JZ_MMC_JZ4740 }, { .compatible = "ingenic,jz4740-mmc", .data = (void *) JZ_MMC_JZ4740 },
{ .compatible = "ingenic,jz4725b-mmc", .data = (void *)JZ_MMC_JZ4725B }, { .compatible = "ingenic,jz4725b-mmc", .data = (void *)JZ_MMC_JZ4725B },
{ .compatible = "ingenic,jz4760-mmc", .data = (void *) JZ_MMC_JZ4760 },
{ .compatible = "ingenic,jz4780-mmc", .data = (void *) JZ_MMC_JZ4780 }, { .compatible = "ingenic,jz4780-mmc", .data = (void *) JZ_MMC_JZ4780 },
{}, {},
}; };