projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba077e5
)
mmc: mtk-sd: add support for MT8516
author
Fabien Parent
<
[email protected]
>
Sun, 24 Mar 2019 15:46:33 +0000
(16:46 +0100)
committer
Tom Rini
<
[email protected]
>
Tue, 23 Apr 2019 21:57:25 +0000
(17:57 -0400)
Add config for handling MT8516 SoC.
Signed-off-by: Fabien Parent <
[email protected]
>
Acked-by: Ryder Lee <
[email protected]
>
drivers/mmc/mtk-sd.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mtk-sd.c
b/drivers/mmc/mtk-sd.c
index eed98b769c4a000c4d830f091b39b6caf061f9aa..b44686fbc9b0f062cb0c309ed7198a337eab7f53 100644
(file)
--- a/
drivers/mmc/mtk-sd.c
+++ b/
drivers/mmc/mtk-sd.c
@@
-1381,8
+1381,18
@@
static const struct msdc_compatible mt7623_compat = {
.enhance_rx = false
};
+static const struct msdc_compatible mt8516_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 },
{}
};