developer | 68be6f4 | 2021-05-27 17:51:16 +0800 | [diff] [blame] | 1 | --- a/drivers/mmc/host/mtk-sd.c |
| 2 | +++ b/drivers/mmc/host/mtk-sd.c |
| 3 | @@ -508,6 +508,18 @@ static const struct mtk_mmc_compatible m |
| 4 | .support_64g = false, |
| 5 | }; |
| 6 | |
| 7 | +static const struct mtk_mmc_compatible mt7986_compat = { |
| 8 | + .clk_div_bits = 12, |
| 9 | + .hs400_tune = false, |
| 10 | + .pad_tune_reg = MSDC_PAD_TUNE0, |
| 11 | + .async_fifo = true, |
| 12 | + .data_tune = true, |
| 13 | + .busy_check = true, |
| 14 | + .stop_clk_fix = true, |
| 15 | + .enhance_rx = true, |
| 16 | + .support_64g = true, |
| 17 | +}; |
| 18 | + |
| 19 | static const struct mtk_mmc_compatible mt8516_compat = { |
| 20 | .clk_div_bits = 12, |
| 21 | .hs400_tune = false, |
| 22 | @@ -537,6 +549,7 @@ static const struct of_device_id msdc_of |
| 23 | { .compatible = "mediatek,mt2701-mmc", .data = &mt2701_compat}, |
| 24 | { .compatible = "mediatek,mt2712-mmc", .data = &mt2712_compat}, |
| 25 | { .compatible = "mediatek,mt7622-mmc", .data = &mt7622_compat}, |
| 26 | + { .compatible = "mediatek,mt7986-mmc", .data = &mt7986_compat}, |
| 27 | { .compatible = "mediatek,mt8516-mmc", .data = &mt8516_compat}, |
| 28 | { .compatible = "mediatek,mt7620-mmc", .data = &mt7620_compat}, |
| 29 | {} |