[PATCH 2/2] mmc: mtk-sd: Add Airoha AN7581 MMC compatible

From: Christian Marangi

Date: Mon Oct 26 2026 - 06:29:29 EST


Add dedicated compatible for Airoha AN7581 SoC that implement a dedicated
MMC controller based on MT7988 with the difference of having a single clock
controlling it.

Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>
---
drivers/mmc/host/mtk-sd.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
index 5b160fdad3f0..736cff2783e2 100644
--- a/drivers/mmc/host/mtk-sd.c
+++ b/drivers/mmc/host/mtk-sd.c
@@ -713,6 +713,7 @@ static const struct mtk_mmc_compatible mt8196_compat = {
};

static const struct of_device_id msdc_of_ids[] = {
+ { .compatible = "airoha,an7581-mmc", .data = &mt7986_compat},
{ .compatible = "mediatek,mt2701-mmc", .data = &mt2701_compat},
{ .compatible = "mediatek,mt2712-mmc", .data = &mt2712_compat},
{ .compatible = "mediatek,mt6779-mmc", .data = &mt6779_compat},
--
2.55.0