openwrt/target/linux/lantiq/patches-6.6
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
0004-MIPS-lantiq-add-atm-hack.patch
0008-MIPS-lantiq-backport-old-timer-code.patch
0018-MTD-nand-lots-of-xrx200-fixes.patch
0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch
0023-NET-PHY-add-led-support-for-intel-xway.patch
0028-NET-lantiq-various-etop-fixes.patch
0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch
0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch
0042-arch-mips-increase-io_space_limit.patch
0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch
0051-MIPS-lantiq-improve-USB-initialization.patch
0101-find_active_root.patch
0151-lantiq-ifxmips_pcie-use-of.patch
0152-lantiq-VPE.patch
0154-lantiq-pci-bar11mask-fix.patch
0155-lantiq-VPE-nosmp.patch
0160-owrt-lantiq-multiple-flash.patch
0200-MIPS-lantiq-xway-vmmc-use-platform_get_irq-to-get-ir.patch
0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch
0301-xrx200-add-gphy-clk-src-device-tree-binding.patch
0302-mtd-cfi_cmdset_0001-Disable-write-buffer-functions-i.patch
0400-mtd-rawnand-xway-don-t-yield-while-holding-spinlock.patch
0701-NET-lantiq-etop-of-mido.patch
0731-dt-bindings-net-dsa-lantiq_gswip-Add-missing-phy-mod.patch
0732-net-dsa-lantiq_gswip-Only-allow-phy-mode-internal-on.patch
0733-net-dsa-lantiq_gswip-Use-dev_err_probe-where-appropr.patch
0734-net-dsa-lantiq_gswip-Don-t-manually-call-gswip_port_.patch
0735-net-dsa-lantiq_gswip-do-also-enable-or-disable-cpu-p.patch
0736-net-dsa-lantiq_gswip-Use-dsa_is_cpu_port-in-gswip_po.patch
0737-net-dsa-lantiq_gswip-Change-literal-6-to-ETH_ALEN.patch
0738-net-dsa-lantiq_gswip-Consistently-use-macros-for-the.patch
0739-net-dsa-lantiq_gswip-Forbid-gswip_add_single_port_br.patch
0740-net-dsa-lantiq_gswip-Fix-error-message-in-gswip_add_.patch
0741-net-dsa-lantiq_gswip-Fix-comments-in-gswip_port_vlan.patch
0742-net-dsa-lantiq_gswip-Add-and-use-a-GSWIP_TABLE_MAC_B.patch
0743-net-dsa-lantiq_gswip-Improve-error-message-in-gswip_.patch