]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: hisilicon: poplar: Correct PCIe reset GPIO polarity
authorShawn Guo <shawnguo@kernel.org>
Fri, 27 Feb 2026 07:19:58 +0000 (15:19 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Apr 2026 08:33:37 +0000 (10:33 +0200)
commit c1f2b0f2b5e37b2c27540a175aea2755a3799433 upstream.

The PCIe reset GPIO on Poplar is actually active low.  The active high
worked before because kernel driver didn't respect the setting from DT.
This is changed since commit 1d26a55fbeb9 ("PCI: histb: Switch to using
gpiod API"), and thus PCIe on Poplar got brken since then.

Fix the problem by correcting the polarity.

Fixes: 32fa01761bd9 ("arm64: dts: hi3798cv200: enable PCIe support for poplar board")
Cc: stable@vger.kernel.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts

index 7d370dac4c85710b43d7b8dc9d4bfe151b092afd..579d55daa7d04e69a6575c3c7830176ee9722783 100644 (file)
 };
 
 &pcie {
-       reset-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
+       reset-gpios = <&gpio4 4 GPIO_ACTIVE_LOW>;
        vpcie-supply = <&reg_pcie>;
        status = "okay";
 };