openwrt/target/linux/mediatek/patches-5.15
Felix Fietkau 738294315e mediatek: fix WED + wifi reset
The WLAN + WED reset sequence relies on being able to receive interrupts from
the card, in order to synchronize individual steps with the firmware.
When WED is stopped, leave interrupts running and rely on the driver turning
off unwanted ones.
WED DMA also needs to be disabled before resetting.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 2c5b3bee38)
2024-07-10 17:31:17 +02:00
..
100-dts-update-mt7622-rfb1.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
101-dts-update-mt7629-rfb.patch
103-mt7623-enable-arch-timer.patch mediatek: refresh patches for Linux 5.15 2022-04-30 16:00:15 +01:00
104-mt7622-add-snor-irq.patch kernel: bump 5.15 to 5.15.158 2024-05-13 18:38:23 +03:00
105-dts-mt7622-enable-pstore.patch mediatek: mt7622: remove '0x' prefix from pstore address in dts 2022-04-19 17:07:23 +01:00
110-dts-fix-bpi2-console.patch
111-dts-fix-bpi64-console.patch
112-dts-fix-bpi64-lan-names.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
113-dts-fix-bpi64-leds-and-buttons.patch kernel: bump 5.15 to 5.15.145 2024-01-07 12:57:30 +00:00
114-dts-bpi64-disable-rtc.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
115-dts-bpi64-add-snand-support.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
120-01-v5.18-mtd-nand-ecc-Add-infrastructure-to-support-hardware-.patch mediatek: refresh patches for Linux 5.15 2022-04-30 16:00:15 +01:00
120-02-v5.18-mtd-nand-Add-a-new-helper-to-retrieve-the-ECC-contex.patch mediatek: refresh patches for Linux 5.15 2022-04-30 16:00:15 +01:00
120-03-v5.18-mtd-nand-ecc-Provide-a-helper-to-retrieve-a-pileline.patch mediatek: refresh patches for Linux 5.15 2022-04-30 16:00:15 +01:00
120-04-v5.18-spi-spi-mem-Introduce-a-capability-structure.patch mediatek: refresh patches for Linux 5.15 2022-04-30 16:00:15 +01:00
120-05-v5.18-spi-spi-mem-Check-the-controller-extra-capabilities.patch mediatek: refresh patches for Linux 5.15 2022-04-30 16:00:15 +01:00
120-06-v5.18-spi-spi-mem-Kill-the-spi_mem_dtr_supports_op-helper.patch kernel: bump 5.15 to 5.15.37 2022-05-09 20:49:50 +01:00
120-07-v5.18-spi-spi-mem-Add-an-ecc-parameter-to-the-spi_mem_op-s.patch mediatek: refresh patches for Linux 5.15 2022-04-30 16:00:15 +01:00
120-08-v5.18-mtd-spinand-Delay-a-little-bit-the-dirmap-creation.patch kernel: backport MEMREAD ioctl 2023-04-18 13:53:03 +02:00
120-09-v5.18-mtd-spinand-Create-direct-mapping-descriptors-for-EC.patch kernel: backport MEMREAD ioctl 2023-04-18 13:53:03 +02:00
120-11-v5.19-mtd-nand-make-mtk_ecc.c-a-separated-module.patch mediatek: rename some patches 2022-09-09 21:08:37 +01:00
120-12-v5.19-spi-add-driver-for-MTK-SPI-NAND-Flash-Interface.patch kernel: bump 5.15 to 5.15.100 2023-03-18 12:52:17 +01:00
120-13-v5.19-mtd-nand-mtk-ecc-also-parse-nand-ecc-engine-if-avail.patch mediatek: rename some patches 2022-09-09 21:08:37 +01:00
120-14-v5.19-arm64-dts-mediatek-add-mtk-snfi-for-mt7622.patch kernel: bump 5.15 to 5.15.158 2024-05-13 18:38:23 +03:00
121-hack-spi-nand-1b-bbm.patch kernel: backport MEMREAD ioctl 2023-04-18 13:53:03 +02:00
130-dts-mt7629-add-snand-support.patch mediatek: add an upstreamed spi-nand driver 2022-04-28 18:06:00 +08:00
131-dts-mt7622-add-snand-support.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
140-dts-fix-wmac-support-for-mt7622-rfb1.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
150-dts-mt7623-eip97-inside-secure-support.patch kernel: enable inside secure driver for MediaTek platforms 2022-08-28 20:33:15 +01:00
160-dts-mt7623-bpi-r2-earlycon.patch
161-dts-mt7623-bpi-r2-mmc-device-order.patch
162-dts-mt7623-bpi-r2-led-aliases.patch
163-dts-mt7623-bpi-r2-ethernet-alias.patch
173-arm-dts-mt7623-add-musb-device-nodes.patch
180-dts-mt7622-bpi-r64-add-mt7531-irq.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
190-arm64-dts-mediatek-mt7622-fix-GICv2-range.patch kernel: bump 5.15 to 5.15.158 2024-05-13 18:38:23 +03:00
191-v5.19-arm64-dts-mt7622-specify-the-L2-cache-topology.patch mediatek: mt7622: add tag to upstreamed patches 2022-11-05 14:07:46 +00:00
192-v5.19-arm64-dts-mt7622-specify-the-number-of-DMA-requests.patch kernel: bump 5.15 to 5.15.158 2024-05-13 18:38:23 +03:00
193-dts-mt7623-thermal_zone_fix.patch mediatek: mt7623: fix thermal zone 2022-10-14 14:44:37 +02:00
194-dts-mt7968a-add-ramoops.patch mediatek: sync MT7986 device trees with upstream 2023-06-09 19:23:03 +01:00
195-dts-mt7986a-bpi-r3-leds-port-names-and-wifi-eeprom.patch mediatek: re-add dropped properties on BPi-R3 2023-09-04 23:00:34 +01:00
200-phy-phy-mtk-tphy-Add-hifsys-support.patch kernel: bump 5.15 to 5.15.75 2022-10-30 17:54:59 +01:00
210-v6.1-pinctrl-mediatek-add-support-for-MT7986-SoC.patch mediatek: mt7986: add tag to upstreamed patches 2022-11-05 14:07:46 +00:00
211-v5.16-clk-mediatek-Add-API-for-clock-resource-recycle.patch mediatek: add tag for upstreamed patches 2022-11-05 14:07:46 +00:00
212-v5.17-clk-mediatek-add-mt7986-clock-support.patch mediatek: mt7986: add tag to upstreamed patches 2022-11-05 14:07:46 +00:00
213-spi-mediatek-add-mt7986-spi-support.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
214-v6.3-clk-mediatek-add-mt7981-clock-support.patch mediatek: backport clk driver for MT7981 SoC 2023-03-27 19:07:54 +01:00
215-v6.3-pinctrl-mediatek-add-support-for-MT7981-SoC.patch mediatek: backport pinctrl driver for MT7981 SoC 2023-03-27 19:07:54 +01:00
240-pinctrl-mediatek-add-support-for-MT7988-SoC.patch mediatek: add mt7988 pinctrl driver support 2023-05-24 19:26:52 +01:00
241-clk-mediatek-Add-pcw-chg-shift-control.patch mediatek: add mt7988 clock drivers support 2023-05-24 19:26:52 +01:00
242-clk-mediatek-add-mt7988-clock-support.patch mediatek: add mt7988 clock drivers support 2023-05-24 19:26:52 +01:00
320-mmc-mediatek-add-support-for-MT7986-SoC.patch mediatek: add mt7986 soc support to the target 2022-08-28 20:33:15 +01:00
330-snand-mtk-bmt-support.patch kernel: backport MEMREAD ioctl 2023-04-18 13:53:03 +02:00
331-mt7622-rfb1-enable-bmt.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
340-mtd-spinand-Add-support-for-the-Fidelix-FM35X1GA.patch kernel: backport MEMREAD ioctl 2023-04-18 13:53:03 +02:00
350-01-cpufreq-mediatek-Cleanup-variables-and-error-handlin.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-02-cpufreq-mediatek-Remove-unused-headers.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-03-cpufreq-mediatek-Enable-clocks-and-regulators.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-04-cpufreq-mediatek-Use-device-print-to-show-logs.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-05-cpufreq-mediatek-Replace-old_-with-pre_.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-06-cpufreq-mediatek-Record-previous-target-vproc-value.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-07-cpufreq-mediatek-Make-sram-regulator-optional.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-08-cpufreq-mediatek-Fix-NULL-pointer-dereference-in-med.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-09-cpufreq-mediatek-Move-voltage-limits-to-platform-dat.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-10-cpufreq-mediatek-Refine-mtk_cpufreq_voltage_tracking.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-11-cpufreq-mediatek-Add-opp-notification-support.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-12-cpufreq-mediatek-Fix-potential-deadlock-problem-in-m.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-13-cpufreq-mediatek-Link-CCI-device-to-CPU.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-14-cpufreq-mediatek-Add-support-for-MT8186.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-15-cpufreq-mediatek-Handle-sram-regulator-probe-deferra.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-16-cpufreq-mediatek-fix-error-return-code-in-mtk_cpu_dv.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-17-cpufreq-mediatek-fix-passing-zero-to-PTR_ERR.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-18-cpufreq-mediatek-fix-KP-caused-by-handler-usage-afte.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-19-cpufreq-mediatek-raise-proc-sram-max-voltage-for-MT8.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-20-cpufreq-mediatek-Raise-proc-and-sram-max-voltage-for.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
350-21-cpufreq-mediatek-Add-support-for-MT7988.patch mediatek: backport cpufreq changes to support MT7988 2023-05-24 19:26:52 +01:00
351-cpufreq-mediatek-correct-voltages-for-MT7622-and-MT7.patch mediatek: use cpufreq fix suggested by MediaTek 2023-06-09 19:23:03 +01:00
400-crypto-add-eip97-inside-secure-support.patch
401-crypto-fix-eip97-cache-incoherent.patch
405-mt7986-trng-add-rng-support.patch mediatek: add mt7986 soc support to the target 2022-08-28 20:33:15 +01:00
410-bt-mtk-serial-fix.patch kernel: bump 5.15 to 5.15.155 2024-04-30 23:38:26 +02:00
420-mtd-spi-nor-add-support-for-Winbond-W25Q512JV.patch
431-drivers-spi-mt65xx-Move-chip_config-to-driver-s-priv.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
432-drivers-spi-Add-support-for-dynamic-calibration.patch kernel: bump 5.15 to 5.15.161 2024-07-01 22:32:52 +02:00
433-drivers-spi-mem-Add-spi-calibration-hook.patch mediatek: add support for SPI calibration 2023-03-27 19:07:54 +01:00
434-drivers-spi-mt65xx-Add-controller-s-calibration-para.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
435-drivers-mtd-spinand-Add-calibration-support-for-spin.patch kernel: backport MEMREAD ioctl 2023-04-18 13:53:03 +02:00
436-drivers-mtd-spi-nor-Add-calibration-support-for-spi-.patch kernel: bump 5.15 to 5.15.132 2023-09-25 23:04:37 +02:00
500-gsw-rtl8367s-mt7622-support.patch generic: 5.15: backport upstream Aquantia PHY firmware loader patches 2024-02-13 05:41:32 +01:00
600-v5.16-arm64-dts-mediatek-Split-PCIe-node-for-MT2712-and-MT.patch kernel: bump 5.15 to 5.15.158 2024-05-13 18:38:23 +03:00
601-PCI-mediatek-Assert-PERST-for-100ms-for-power-and-cl.patch kernel: bump 5.15 to 5.15.148 2024-02-10 20:19:28 +01:00
602-arm64-dts-mediatek-add-mt7622-pcie-slot-node.patch kernel: bump 5.15 to 5.15.158 2024-05-13 18:38:23 +03:00
603-v5.16-ARM-dts-mediatek-Update-mt7629-PCIe-node.patch mediatek: mt7629: add tag to upstreamed patches 2022-11-05 14:07:46 +00:00
610-pcie-mediatek-fix-clearing-interrupt-status.patch
703-v5.17-net-ethernet-mtk_eth_soc-implement-Clause-45-MDIO-ac.patch generic: 6.6: backport upstream commits for mtk_eth_soc 2024-07-10 14:09:19 +02:00
710-pci-pcie-mediatek-add-support-for-coherent-DMA.patch mediatek: fix broken PCIe caused by update to 5.15.158 2024-05-23 19:37:56 +03:00
721-dts-mt7622-mediatek-fix-300mhz.patch
722-remove-300Hz-to-prevent-freeze.patch mt7622: remove 300 MHz from dts 2022-07-19 14:26:30 +02:00
730-v6.5-net-phy-add-driver-for-MediaTek-SoC-built-in-GE-PHYs.patch kernel: bump 5.15 to 5.15.155 2024-04-30 23:38:26 +02:00
731-net-phy-mediatek-ge-soc-initialize-MT7988-PHY-LEDs-d.patch mediatek: use backported Ethernet PHY driver also for 5.15 2023-07-13 12:05:28 +01:00
732-net-phy-mxl-gpy-don-t-use-SGMII-AN-if-using-phylink.patch kernel: hack: support inverted LEDs on MaxLinear GPY211 PHY 2024-03-15 23:28:14 +01:00
733-net-phy-add-driver-for-MediaTek-2.5G-PHY.patch generic: 5.15: backport upstream Aquantia PHY firmware loader patches 2024-02-13 05:41:32 +01:00
734-net-phy-mediatek-ge-soc-sync-driver-with-MediaTek-SD.patch mediatek: fixes for Ethernet on MT7988 SoC 2024-02-27 18:33:41 +00:00
801-phy-phy-mtk-tphy-Add-PCIe-2-lane-efuse-support.patch kernel: bump 5.15 to 5.15.75 2022-10-30 17:54:59 +01:00
802-phy-phy-mtk-tphy-add-auto-load-valid-check-mechanism.patch kernel: bump 5.15 to 5.15.75 2022-10-30 17:54:59 +01:00
804-pwm-add-mt7986-support.patch mediatek: filogic: set correct PWM clock and clean thermal zone 2022-10-09 16:41:16 +01:00
805-v6.2-thermal-drivers-mtk-use-function-pointer-for-raw_to_.patch kernel: bump 5.15 to 5.15.120 2023-07-08 15:43:59 +02:00
806-v6.2-thermal-mediatek-add-support-for-MT7986-and-MT7981.patch kernel: bump 5.15 to 5.15.120 2023-07-08 15:43:59 +02:00
811-pwm-mediatek-Add-support-for-MT7981.patch mediatek: update patch add PWM support for MT7981 2023-05-18 02:50:08 +01:00
820-v5.16-dt-bindings-pinctrl-mt8195-add-rsel-define.patch mediatek: backport new pinctrl features 2023-04-13 20:01:33 +01:00
821-v5.16-pinctrl-mediatek-moore-check-if-pin_desc-is-valid-be.patch mediatek: backport new pinctrl features 2023-04-13 20:01:33 +01:00
822-v5.16-pinctrl-mediatek-support-rsel-feature.patch kernel: bump 5.15 to 5.15.159 2024-07-01 22:32:51 +02:00
823-v5.17-pinctrl-mediatek-add-a-check-for-error-in-mtk_pincon.patch mediatek: backport new pinctrl features 2023-04-13 20:01:33 +01:00
824-v6.1-pinctrl-mediatek-Fix-EINT-pins-input-debounce-time-c.patch mediatek: backport new pinctrl features 2023-04-13 20:01:33 +01:00
825-v6.1-pinctrl-mediatek-Export-debounce-time-tables.patch mediatek: backport new pinctrl features 2023-04-13 20:01:33 +01:00
826-v6.2-pinctrl-mediatek-extend-pinctrl-moore-to-support-new.patch mediatek: backport new pinctrl features 2023-04-13 20:01:33 +01:00
830-v5.18-regulator-Add-bindings-for-Richtek-RT5190A-PMIC.patch mediatek: filogic: add driver for Richtek RT5190A regulator 2023-05-24 19:26:52 +01:00
831-v5.18-regulator-rt5190a-Add-support-for-Richtek-RT5190A-PM.patch mediatek: filogic: add driver for Richtek RT5190A regulator 2023-05-24 19:26:52 +01:00
840-v5.16-i2c-mediatek-Reset-the-handshake-signal-between-i2c-.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
841-v5.16-i2c-mediatek-Dump-i2c-dma-register-when-a-timeout-oc.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
842-v5.18-i2c-mediatek-Add-i2c-compatible-for-Mediatek-MT8186.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
843-v5.18-i2c-mediatek-modify-bus-speed-calculation-formula.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
844-v5.18-i2c-mediatek-remove-redundant-null-check.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
845-v5.18-i2c-mt65xx-Simplify-with-clk-bulk.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
846-v5.18-i2c-mediatek-Add-i2c-compatible-for-Mediatek-MT8168.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
847-v5.19-i2c-mediatek-Optimize-master_xfer-and-avoid-circular.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
848-v5.19-i2c-mediatek-Fix-an-error-handling-path-in-mtk_i2c_p.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
849-v6.0-i2c-mediatek-add-i2c-compatible-for-MT8188.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
850-v6.0-i2c-move-drivers-from-strlcpy-to-strscpy.patch kernel: bump 5.15 to 5.15.149 2024-03-08 11:28:10 +01:00
851-v6.2-i2c-mediatek-add-mt7986-support.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
852-v6.3-i2c-mt65xx-Use-devm_platform_get_and_ioremap_resourc.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
853-v6.3-i2c-mt65xx-drop-of_match_ptr-for-ID-table.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
854-v6.4-i2c-mediatek-add-support-for-MT7981-SoC.patch mediatek: cleanly backport and add fix for I2C driver 2023-05-29 13:04:14 +01:00
855-i2c-mt65xx-allow-optional-pmic-clock.patch mediatek: i2c: mt65xx: allow optional pmic clock 2023-09-04 23:00:34 +01:00
900-dts-mt7622-bpi-r64-aliases-for-dtoverlay.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
901-arm-add-cmdline-override.patch kernel: bump 5.15 to 5.15.145 2024-01-07 12:57:30 +00:00
910-dts-mt7622-bpi-r64-wifi-eeprom.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
920-v5.16-watchdog-mtk-add-disable_wdt_extrst-support.patch mediatek: replace mt7986 watchdog assert patch with upstream 2022-11-05 14:07:46 +00:00
921-v5.19-watchdog-mtk_wdt-mt7986-Add-toprgu-reset-controller.patch mediatek: replace mt7986 watchdog assert patch with upstream 2022-11-05 14:07:46 +00:00
922-v6.1-PCI-mediatek-gen3-change-driver-name-to-mtk-pcie-gen.patch mediatek: add tag for upstreamed patches 2022-11-05 14:07:46 +00:00
930-spi-mt65xx-enable-sel-clk.patch kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
940-net-ethernet-mtk_wed-rename-mtk_wed_get_memory_regio.patch kernel: backport upstream mediatek WED changes 2024-04-09 08:48:08 +02:00
941-arm64-dts-mt7986-move-cpuboot-in-a-dedicated-node.patch mediatek: sync MT7986 device trees with upstream 2023-06-09 19:23:03 +01:00
942-net-ethernet-mtk_wed-move-cpuboot-in-a-dedicated-dts.patch kernel: backport upstream mediatek WED changes 2024-04-09 08:48:08 +02:00
943-net-ethernet-mtk_wed-move-ilm-a-dedicated-dts-node.patch kernel: backport upstream mediatek WED changes 2024-04-09 08:48:08 +02:00
944-net-ethernet-mtk_wed-move-dlm-a-dedicated-dts-node.patch mediatek: fix WED + wifi reset 2024-07-10 17:31:17 +02:00
945-arm64-dts-mt7986-move-ilm-in-a-dedicated-node.patch mediatek: sync MT7986 device trees with upstream 2023-06-09 19:23:03 +01:00
946-arm64-dts-mt7986-move-dlm-in-a-dedicated-node.patch mediatek: sync MT7986 device trees with upstream 2023-06-09 19:23:03 +01:00