Skip to contentSkip to conversation

ARM: dts: imx6qdl-sabresd: Pass the correct PCI reset polarity

PATCH New Fabio Estevam 2 participants 2 messages Jun 6, 2016 – Jun 11, 2016

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl-sabresd: Pass the correct PCI reset polarity

From: Fabio Estevam <[email protected]>

The PCI reset GPIO is active low, so represent it with the GPIO_ACTIVE_LOW flag.

Even though the imx6 PCI driver will not take the polarity into account in this case, it is better to provide a correct description in device-tree.

---
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-sabresd.dtsi +1 -1
index 5248e7b..bea707f 100644
@@ -533,7 +533,7 @@
 &pcie {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_pcie>;
-	reset-gpio = <&gpio7 12 0>;
+	reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
 	status = "okay";
 };
 
Signature · 1 line
1.9.1
Applied
#1 lore raw

PATCH 1/1 ARM: dts: imx6qdl-sabresd: Pass the correct PCI reset polarity

Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The PCI reset GPIO is active low, so represent it with the GPIO_ACTIVE_LOW flag.

Even though the imx6 PCI driver will not take the polarity into account in this case, it is better to provide a correct description in device-tree.

Applied, thanks.