aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFabien Parent <fparent@baylibre.com>2019-08-12 20:26:58 +0200
committerTom Rini <trini@konsulko.com>2019-08-20 12:20:32 -0400
commit908d006ba5de6998f114a121611c2f8b45c23ab2 (patch)
tree931db9f822061a2268a009bfab5eac30b19e4871 /drivers
parent2da56af84adfa38fa6b0235e8087c27584b4e817 (diff)
downloadu-boot-908d006ba5de6998f114a121611c2f8b45c23ab2.zip
u-boot-908d006ba5de6998f114a121611c2f8b45c23ab2.tar.gz
u-boot-908d006ba5de6998f114a121611c2f8b45c23ab2.tar.bz2
mmc: mtk-sd: Add MT8183 SoC support
Add support for the MT8183 in the MediaTek MMC driver. Signed-off-by: Fabien Parent <fparent@baylibre.com>
Diffstat (limited to 'drivers')
-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 4908509..f555357 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 },
{}
};