openwrt/target/linux/lantiq/patches-6.1
Martin Schiller f6fe19ed6d lantiq: fix pci driver once again
In my previous attempt to solve the PCI problems for the lantiq targets,
I did not pay attention to the fact that the original accesses to the
GPIO took place in RAW mode. As a result, the polarity defined in the
device trees (apart from the initial value) was irrelevant.

In addition, the expected name of the GPIO in the dts has changed due to
the upstream change and therefore no RESET is currently performed.

As discussed in [1] on the linux-mips mailing list, we will now adapt
the dts files accordingly instead of patching the driver:

- dts property will be renamed to "reset-gpios"
- Polarity is set to "GPIO_ACTIVE_LOW".

I have verified this with a TP-Link TD-W8980. The PCI device is now
recognized by the system.

[1] https://patchwork.kernel.org/project/linux-mips/patch/20240607090400.1816612-1-ms@dev.tdt.de/

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Tested-by: Aleksander Jan Bajkowski <olek2@wp.pl> # Tested on AVM 7330 (ar9)
Link: https://github.com/openwrt/openwrt/pull/15731
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-06-20 09:56:50 +02:00
..
0001-MIPS-lantiq-add-pcie-driver.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0004-MIPS-lantiq-add-atm-hack.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0008-MIPS-lantiq-backport-old-timer-code.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0018-MTD-nand-lots-of-xrx200-fixes.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0023-NET-PHY-add-led-support-for-intel-xway.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0028-NET-lantiq-various-etop-fixes.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0042-arch-mips-increase-io_space_limit.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0051-MIPS-lantiq-improve-USB-initialization.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0101-find_active_root.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0151-lantiq-ifxmips_pcie-use-of.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0152-lantiq-VPE.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0154-lantiq-pci-bar11mask-fix.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0155-lantiq-VPE-nosmp.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0160-owrt-lantiq-multiple-flash.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0200-MIPS-lantiq-xway-vmmc-use-platform_get_irq-to-get-ir.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0301-xrx200-add-gphy-clk-src-device-tree-binding.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0302-mtd-cfi_cmdset_0001-Disable-write-buffer-functions-i.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0400-mtd-rawnand-xway-don-t-yield-while-holding-spinlock.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0701-NET-lantiq-etop-of-mido.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0731-dt-bindings-net-dsa-lantiq_gswip-Add-missing-phy-mod.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0732-net-dsa-lantiq_gswip-Only-allow-phy-mode-internal-on.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0733-net-dsa-lantiq_gswip-Use-dev_err_probe-where-appropr.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0734-net-dsa-lantiq_gswip-Don-t-manually-call-gswip_port_.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0735-net-dsa-lantiq_gswip-do-also-enable-or-disable-cpu-p.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0736-net-dsa-lantiq_gswip-Use-dsa_is_cpu_port-in-gswip_po.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0737-net-dsa-lantiq_gswip-Change-literal-6-to-ETH_ALEN.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0738-net-dsa-lantiq_gswip-Consistently-use-macros-for-the.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0739-net-dsa-lantiq_gswip-Forbid-gswip_add_single_port_br.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0740-net-dsa-lantiq_gswip-Fix-error-message-in-gswip_add_.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0741-net-dsa-lantiq_gswip-Fix-comments-in-gswip_port_vlan.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0742-net-dsa-lantiq_gswip-Add-and-use-a-GSWIP_TABLE_MAC_B.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
0743-net-dsa-lantiq_gswip-Improve-error-message-in-gswip_.patch kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00