summaryrefslogtreecommitdiffstats
path: root/include/feeds.mk
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2024-05-06 11:01:15 +0200
committerMartin Schiller <ms@dev.tdt.de>2024-05-15 08:54:58 +0200
commitcffd3ad8d7cad2214d44695ad4f2405ea53a26c7 (patch)
treea64f73889dee6da5ac2f52ad339ed7b097a220eb /include/feeds.mk
parentdaa109b42f00af90b5d83cca913a312ee08a6f4e (diff)
downloadopenwrt-master.tar.gz
openwrt-master.tar.bz2
openwrt-master.zip
lantiq: add patch to fix the reset gpio handling in the pci driverHEADmastermain
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>
Diffstat (limited to 'include/feeds.mk')
0 files changed, 0 insertions, 0 deletions