Skip to content

Commit c1f2b0f

Browse files
Shawn Guojoyxu
authored andcommitted
arm64: dts: hisilicon: poplar: Correct PCIe reset GPIO polarity
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 1d26a55 ("PCI: histb: Switch to using gpiod API"), and thus PCIe on Poplar got brken since then. Fix the problem by correcting the polarity. Fixes: 32fa017 ("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>
1 parent 6de23f8 commit c1f2b0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
};
180180

181181
&pcie {
182-
reset-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
182+
reset-gpios = <&gpio4 4 GPIO_ACTIVE_LOW>;
183183
vpcie-supply = <&reg_pcie>;
184184
status = "okay";
185185
};

0 commit comments

Comments
 (0)