openwrt/target/linux/lantiq
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
..
ase kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
base-files
falcon kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
files lantiq: fix pci driver once again 2024-06-20 09:56:50 +02:00
image lantiq: disable building of ZyXEL P-2812HNU F1 2024-05-28 08:06:10 +02:00
patches-5.15 lantiq: vmmc kernel-in-tree driver: use platform_get_irq to get irqs 2024-05-15 08:54:58 +02:00
patches-6.1 lantiq: fix pci driver once again 2024-06-20 09:56:50 +02:00
patches-6.6 lantiq: fix pci driver once again 2024-06-20 09:56:50 +02:00
xrx200 lantiq: Refresh patches and configuration for linux 6.6 2024-06-08 23:25:35 +02:00
xway lantiq: Refresh patches and configuration for linux 6.6 2024-06-08 23:25:35 +02:00
xway_legacy kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
Makefile lantiq: set Linux 6.6 as testing kernel 2024-06-08 23:25:35 +02:00
config-5.15 kernel/lantiq: Restore kernel files for v5.15 2024-05-15 08:54:58 +02:00
config-6.1 kernel/lantiq: Restore kernel files for v6.1 2024-06-08 23:25:35 +02:00
config-6.6 lantiq: Refresh patches and configuration for linux 6.6 2024-06-08 23:25:35 +02:00
modules.mk