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 aa5607789ef19e7e5cfa5e53148390f23b7dddbe..d6c2358ffad4490af869a099e1884bc3122415ac 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";
 };