mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-09 22:49:16 +00:00
switch to 5.4.y
This commit is contained in:
parent
1a4c152fc6
commit
aafb70a9a3
189 changed files with 1212088 additions and 222 deletions
26
patch/kernel/sunxi-dev/add-h5-emmc-compatible.patch
Normal file
26
patch/kernel/sunxi-dev/add-h5-emmc-compatible.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
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);
|
Loading…
Add table
Add a link
Reference in a new issue