Commit 7d176b0e authored by Chun-Hung Wu's avatar Chun-Hung Wu Committed by Ulf Hansson
Browse files

mmc: mediatek: add MT6779 MMC driver support

parent 7b7d897e
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -538,6 +538,18 @@ static const struct mtk_mmc_compatible mt7620_compat = {
	.use_internal_cd = true,
};

static const struct mtk_mmc_compatible mt6779_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 of_device_id msdc_of_ids[] = {
	{ .compatible = "mediatek,mt8135-mmc", .data = &mt8135_compat},
	{ .compatible = "mediatek,mt8173-mmc", .data = &mt8173_compat},
@@ -547,6 +559,7 @@ static const struct of_device_id msdc_of_ids[] = {
	{ .compatible = "mediatek,mt7622-mmc", .data = &mt7622_compat},
	{ .compatible = "mediatek,mt8516-mmc", .data = &mt8516_compat},
	{ .compatible = "mediatek,mt7620-mmc", .data = &mt7620_compat},
	{ .compatible = "mediatek,mt6779-mmc", .data = &mt6779_compat},
	{}
};
MODULE_DEVICE_TABLE(of, msdc_of_ids);