| --- a/drivers/mmc/host/mtk-sd.c |
| +++ b/drivers/mmc/host/mtk-sd.c |
| @@ -508,6 +508,18 @@ static const struct mtk_mmc_compatible m |
| .support_64g = false, |
| }; |
| |
| +static const struct mtk_mmc_compatible mt7986_compat = { |
| + .clk_div_bits = 12, |
| + .hs400_tune = false, |
| + .pad_tune_reg = MSDC_PAD_TUNE0, |
| + .async_fifo = true, |
| + .data_tune = true, |
| + .busy_check = true, |
| + .stop_clk_fix = true, |
| + .enhance_rx = true, |
| + .support_64g = true, |
| +}; |
| + |
| static const struct mtk_mmc_compatible mt8516_compat = { |
| .clk_div_bits = 12, |
| .hs400_tune = false, |
| @@ -537,6 +549,7 @@ static const struct of_device_id msdc_of |
| { .compatible = "mediatek,mt2701-mmc", .data = &mt2701_compat}, |
| { .compatible = "mediatek,mt2712-mmc", .data = &mt2712_compat}, |
| { .compatible = "mediatek,mt7622-mmc", .data = &mt7622_compat}, |
| + { .compatible = "mediatek,mt7986-mmc", .data = &mt7986_compat}, |
| { .compatible = "mediatek,mt8516-mmc", .data = &mt8516_compat}, |
| { .compatible = "mediatek,mt7620-mmc", .data = &mt7620_compat}, |
| {} |