mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-24 07:41:53 +00:00
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
|
diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c
|
||
|
index bba98d8..6087fdb 100644
|
||
|
--- a/drivers/mmc/host/sunxi-mmc.c
|
||
|
+++ b/drivers/mmc/host/sunxi-mmc.c
|
||
|
@@ -1180,6 +1180,13 @@ static const struct sunxi_mmc_cfg sun50i_a64_emmc_cfg = {
|
||
|
.needs_new_timings = true,
|
||
|
};
|
||
|
|
||
|
+static const struct sunxi_mmc_cfg sun50i_h5_emmc_cfg = {
|
||
|
+ .idma_des_size_bits = 13,
|
||
|
+ .clk_delays = NULL,
|
||
|
+ .can_calibrate = true,
|
||
|
+ .needs_new_timings = false,
|
||
|
+};
|
||
|
+
|
||
|
static const struct of_device_id sunxi_mmc_of_match[] = {
|
||
|
{ .compatible = "allwinner,sun4i-a10-mmc", .data = &sun4i_a10_cfg },
|
||
|
{ .compatible = "allwinner,sun5i-a13-mmc", .data = &sun5i_a13_cfg },
|
||
|
@@ -1188,6 +1195,7 @@ static const struct of_device_id sunxi_mmc_of_match[] = {
|
||
|
{ .compatible = "allwinner,sun9i-a80-mmc", .data = &sun9i_a80_cfg },
|
||
|
{ .compatible = "allwinner,sun50i-a64-mmc", .data = &sun50i_a64_cfg },
|
||
|
{ .compatible = "allwinner,sun50i-a64-emmc", .data = &sun50i_a64_emmc_cfg },
|
||
|
+ { .compatible = "allwinner,sun50i-h5-emmc", .data = &sun50i_h5_emmc_cfg },
|
||
|
{ /* sentinel */ }
|
||
|
};
|
||
|
MODULE_DEVICE_TABLE(of, sunxi_mmc_of_match);
|