summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-08-20 21:40:12 -0400
committerTom Rini <trini@konsulko.com>2019-08-20 21:40:12 -0400
commit1e60ccd94318fb86610e1e28512b2aaac5f4b069 (patch)
tree0f0c94502ee6c35a35bf469cc4cdd256b13dcaa5 /drivers/mmc
parent000fc151150150c36c58f6d8e8d2e27d3b668a7d (diff)
parent4f23d245112bd17898fda5601662d725d8aed9f9 (diff)
Merge branch '2019-08-20-master-imports'
- Assorted bugfixes
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/mtk-sd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mmc/mtk-sd.c b/drivers/mmc/mtk-sd.c
index 49085090c8..f555357af2 100644
--- a/drivers/mmc/mtk-sd.c
+++ b/drivers/mmc/mtk-sd.c
@@ -1393,9 +1393,19 @@ static const struct msdc_compatible mt8516_compat = {
.stop_clk_fix = true,
};
+static const struct msdc_compatible mt8183_compat = {
+ .clk_div_bits = 12,
+ .pad_tune0 = true,
+ .async_fifo = true,
+ .data_tune = true,
+ .busy_check = true,
+ .stop_clk_fix = true,
+};
+
static const struct udevice_id msdc_ids[] = {
{ .compatible = "mediatek,mt7623-mmc", .data = (ulong)&mt7623_compat },
{ .compatible = "mediatek,mt8516-mmc", .data = (ulong)&mt8516_compat },
+ { .compatible = "mediatek,mt8183-mmc", .data = (ulong)&mt8183_compat },
{}
};