[FS#307] ZBT-WG3526 - mt7621 - SD card (MMC) support - [solved] but not already added to TRUNK ??
LEDE Bugs
lede-bugs at lists.infradead.org
Fri Dec 2 10:59:03 PST 2016
The following task has a new comment added:
FS#307 - ZBT-WG3526 - mt7621 - SD card (MMC) support - [solved] but not already added to TRUNK ??
User who did this - camel (camel)
----------
not sure, if you have seen these patches and if they are also cross-checked ?
see: https://dev.openwrt.org/ticket/21834
the 2patches are:
https://dev.openwrt.org/attachment/ticket/21834/001-openwrt-ramips-mt7621-set-ralink-soc.patch
Ticket #21834: 001-openwrt-ramips-mt7621-set-ralink-soc.patch
File 001-openwrt-ramips-mt7621-set-ralink-soc.patch, 699 bytes (added by shmygov, 4 weeks ago)
TabularUnifiednew file target/linux/ramips/patches-4.4/0906-arch-mips-ralink-mt7621-set-ralink-soc.patch
diff --git a/target/linux/ramips/patches-4.4/0906-arch-mips-ralink-mt7621-set-ralink-soc.patch b/target/linux/ramips/patches-4.4/0906-arch-mips-ralink-mt7621-set-ralink-soc.patch
new file mode 100644
index 0000000..df17b10
- +
1 --- a/arch/mips/ralink/mt7621.c
2 +++ b/arch/mips/ralink/mt7621.c
3 @@ -175,6 +175,7 @@ void prom_soc_init(struct ralink_soc_inf
4 n1 = __raw_readl(sysc + SYSC_REG_CHIP_NAME1);
5
6 if (n0 == MT7621_CHIP_NAME0 && n1 == MT7621_CHIP_NAME1) {
7 + ralink_soc = MT762X_SOC_MT7621AT;
8 name = "MT7621";
9 soc_info->compatible = "mtk,mt7621-soc";
10 } else {
and also:
https://dev.openwrt.org/attachment/ticket/21834/002-openwrt-ramips-mt7621-fix-wg3526-sd-card.patch
Ticket #21834: 002-openwrt-ramips-mt7621-fix-wg3526-sd-card.patch
File 002-openwrt-ramips-mt7621-fix-wg3526-sd-card.patch, 1.0 KB (added by shmygov, 4 weeks ago)
TabularUnifiednew file target/linux/ramips/patches-4.4/0907-MIPS-ralink-mt7621-mtk-sd-fix-irq.patch
diff --git a/target/linux/ramips/patches-4.4/0907-MIPS-ralink-mt7621-mtk-sd-fix-irq.patch b/target/linux/ramips/patches-4.4/0907-MIPS-ralink-mt7621-mtk-sd-fix-irq.patch
new file mode 100644
index 0000000..e9a3cf4
- +
1 --- a/drivers/mmc/host/mtk-mmc/sd.c
2 +++ b/drivers/mmc/host/mtk-mmc/sd.c
3 @@ -2843,7 +2843,14 @@ static int msdc_drv_probe(struct platfor
4 spin_lock_init(&host->lock);
5 msdc_init_hw(host);
6
7 - ret = request_irq((unsigned int)irq, msdc_irq, IRQF_TRIGGER_LOW, dev_name(&pdev->dev), host);
8 + if (ralink_soc == MT762X_SOC_MT7621AT) {
9 + //#if defined (CONFIG_RALINK_MT7621)
10 + ret = request_irq((unsigned int)irq, msdc_irq, 0, dev_name(&pdev->dev), host);
11 + } else {
12 + //#else
13 + ret = request_irq((unsigned int)irq, msdc_irq, IRQF_TRIGGER_LOW, dev_name(&pdev->dev), host);
14 + //#endif
15 + }
16 if (ret) goto release;
17 // mt65xx_irq_unmask(irq); /* --- by chhung */
18
----------
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=307#comment995
More information about the lede-bugs
mailing list