Skip to contentSkip to conversation

mmc: mtk-sd: Add MT8183 SoC support

PATCH New Fabien Parent 2 participants 2 messages Aug 12, 2019 – Aug 21, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: mtk-sd: Add MT8183 SoC support

Add support for the MT8183 in the MediaTek MMC driver.

---
 drivers/mmc/mtk-sd.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/mmc/mtk-sd.c +10 -0
index 780d3069eb..220bc09164 100644
@@ -1391,9 +1391,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 },
 	{}
 };
 
Signature · 1 line
2.23.0.rc1
#1 lore raw

PATCH 1/1 mmc: mtk-sd: Add MT8183 SoC support

Quoted 3 lines · Fabien Parent

Add support for the MT8183 in the MediaTek MMC driver.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190821/97638fc2/attachment.sig>