1 From 4339ec44313e85dd1f6d3d708dd2e594855ce25d Mon Sep 17 00:00:00 2001
2 From: Weijie Gao <weijie.gao@mediatek.com>
3 Date: Fri, 20 May 2022 11:23:26 +0800
4 Subject: [PATCH 16/25] mmc: mediatek: add support for MediaTek MT7621 SoC
6 This patch adds SDXC support for MediaTek MT7621 SoC
8 Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
9 Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
11 drivers/mmc/mtk-sd.c | 13 +++++++++++++
12 1 file changed, 13 insertions(+)
14 --- a/drivers/mmc/mtk-sd.c
15 +++ b/drivers/mmc/mtk-sd.c
16 @@ -1761,6 +1761,18 @@ static const struct msdc_compatible mt76
17 .default_pad_dly = true,
20 +static const struct msdc_compatible mt7621_compat = {
25 + .busy_check = false,
26 + .stop_clk_fix = false,
27 + .enhance_rx = false,
28 + .builtin_pad_ctrl = true,
29 + .default_pad_dly = true,
32 static const struct msdc_compatible mt7622_compat = {
35 @@ -1809,6 +1821,7 @@ static const struct msdc_compatible mt81
37 static const struct udevice_id msdc_ids[] = {
38 { .compatible = "mediatek,mt7620-mmc", .data = (ulong)&mt7620_compat },
39 + { .compatible = "mediatek,mt7621-mmc", .data = (ulong)&mt7621_compat },
40 { .compatible = "mediatek,mt7622-mmc", .data = (ulong)&mt7622_compat },
41 { .compatible = "mediatek,mt7623-mmc", .data = (ulong)&mt7623_compat },
42 { .compatible = "mediatek,mt8512-mmc", .data = (ulong)&mt8512_compat },