openwrt/target/linux
Martin Schiller cffd3ad8d7 lantiq: add patch to fix the reset gpio handling in the pci driver
Linux kernel commit 90c2d2eb7ab5 ("MIPS: pci: lantiq: switch to using
gpiod API") not only switched to the gpiod API, but also inverted /
changed the polarity of the GPIO.

According to the PCI specification, the RST# pin is an active-low
signal. However, most of the device trees that have been widely used for
a long time (mainly in the openWrt project) define this GPIO as
active-high and the old driver code inverted the signal internally.

Apparently there are actually boards where the reset gpio must be
operated inverted. For this reason, we cannot use the GPIOD_OUT_LOW/HIGH
flag for initialization. Instead, we must explicitly set the gpio to
value 1 in order to take into account any "GPIO_ACTIVE_LOW" flag that
may have been set.

In order to remain compatible with all these existing device trees, we
should therefore keep the logic as it was before the commit.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2024-05-15 08:54:58 +02:00
..
airoha airoha: set KERNEL_TESTING_PATCHVER:=6.6 2024-05-12 12:52:16 +02:00
apm821xx apm821xx: restore 6.1 config+patches 2024-04-05 09:26:26 +02:00
archs38 archs38: remove 5.15 support 2024-03-29 09:58:45 +01:00
armsr armsr: armv8: enable serial console for Renesas platforms 2024-05-07 13:01:20 +01:00
at91 at91: 5.15: remove old config and patch files 2024-04-28 17:50:37 +02:00
ath79 ag71xx: Slightly simplify 'ag71xx_rx_packets()' 2024-05-14 12:21:02 +02:00
bcm27xx bcm27xx: correct cmdline.txt consoles for procd 2024-05-01 20:22:42 +02:00
bcm47xx kernel: bump 5.15 to 5.15.158 2024-05-12 12:16:18 +02:00
bcm53xx kernel: bump 6.1 to 6.1.89 2024-04-30 20:18:15 +02:00
bcm4908 bcm4908: set kernel 6.6 as a testing version 2024-04-27 12:14:00 +02:00
bmips bmips: Build U-Boot into the XG6846 target 2024-05-01 21:32:23 +02:00
d1 d1: define subtarget specifically 2024-04-08 21:52:51 +02:00
gemini gemini: Bump to kernel v6.6 2024-05-08 16:57:32 +02:00
generic generic: 5.15, 6.1: use RTL_8221B_VB_CG_PHYID in Realtek PHY detection 2024-05-13 20:27:25 +02:00
imx imx: kernel: add imx8mp PCI support 2024-03-24 21:19:10 +01:00
ipq40xx ipq40xx: fixup remaining devices that dont use QCA807x PHY 2024-05-12 10:56:16 +02:00
ipq806x ipq806x: rt4230w-rev6: fix status reporting via the LEDs 2024-05-14 12:22:59 +02:00
ixp4xx ixp4xx: add Generic subtarget definition 2023-12-09 14:45:50 +01:00
kirkwood kernel: move mv88e6xxx fix to generic backports 2024-04-26 19:56:19 +03:00
lantiq lantiq: add patch to fix the reset gpio handling in the pci driver 2024-05-15 08:54:58 +02:00
layerscape treewide: disable spectre mitigation on unaffected Arm32 targets 2024-03-23 20:00:49 +01:00
loongarch64 loongarch64: new target 2024-05-04 14:14:16 +08:00
malta malta: refresh kernel 6.6 configuration 2024-04-29 00:24:02 +02:00
mediatek mediatek: filogic: add support for Cudy M3000 v1 2024-05-11 17:18:51 +02:00
mpc85xx mpc85xx: convert WS-AP3710i to simpleImage wrapper 2024-04-29 03:18:54 +02:00
mvebu mvebu: switch to kernel 6.6 2024-05-12 11:29:23 +02:00
mxs mxs: drop 6.1 support 2024-04-25 14:33:22 +02:00
octeon octeon: convert to new LED color/function format where possible 2024-02-07 14:48:41 +01:00
octeontx kernel: bump 5.15 to 5.15.155 2024-04-16 23:11:25 +02:00
omap omap: drop kernel 5.15 2024-02-13 19:05:48 +01:00
pistachio pistachio: 6.1: refresh kernel patches 2024-04-22 11:27:05 +02:00
qoriq qoriq: add kernel 6.1 support 2024-04-18 00:30:03 +03:00
qualcommax qualcommax: ipq807x: uboot-envtools: yuncore ax880 2024-04-30 13:51:15 +02:00
ramips ramips: add support for ELECOM WMC-S1267GS2 2024-05-11 19:33:28 +02:00
realtek realtek: Trap LLDP packets to the CPU 2024-05-10 16:03:51 +02:00
rockchip rockchip: switch to kernel 6.6 2024-05-09 10:43:37 +02:00
sifiveu sifiveu: drop 6.1 support 2024-04-30 11:02:48 +02:00
starfive generic: 6.1: backport AXP PMIC support 2024-03-26 21:56:57 +01:00
sunxi sunxi: add support for Lichee Pi Zero Dock (V3s) board 2024-05-04 00:41:02 +02:00
tegra treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
uml uml: restore 6.1 config + patches 2024-03-23 21:38:00 +01:00
x86 x86: generic: config-6.6: add/remove default syms 2024-05-05 21:22:31 +02:00
zynq zynq: 5.15: remove files 2024-05-01 10:26:41 +02:00
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00