ARM: dts: imx6*-hummingboard: fix pcie reset GPIO specification
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Jan 2016 20:24:01 +0000 (20:24 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Feb 2016 08:17:25 +0000 (16:17 +0800)
PCIe reset signals are active low, and our GPIO for this is directly
connected to the PCIe reset.  However, as the PCIe driver was not using
the flag, the specification of '0' flags (which means active high) had
not been noticed.  Correct this oversight, and switch to using the
GPIO flag definitions instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-hummingboard.dtsi

index aa56077..d6c2358 100644 (file)
 &pcie {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_hummingboard_pcie_reset>;
-       reset-gpio = <&gpio3 4 0>;
+       reset-gpio = <&gpio3 4 GPIO_ACTIVE_LOW>;
        status = "okay";
 };