]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx6qdl-sabresd: Use the 'vpcie-supply' property
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 20 Sep 2017 13:56:08 +0000 (10:56 -0300)
committerShawn Guo <shawnguo@kernel.org>
Fri, 13 Oct 2017 03:16:38 +0000 (11:16 +0800)
Since commit c26ebe98a103 ("PCI: imx6: Add regulator support"), it is
possible to pass the 'vpcie-supply' property to describe the PCIE supply.

This way we can remove the 'regulator-always-on' property from the
regulator and have a better device tree description.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

index b72b6fa475801df93fc1e0413eb4b6ea3179fb07..77f7b123dc0b6614d63046ac95a601c105347550 100644 (file)
@@ -67,7 +67,6 @@ reg_pcie: regulator@3 {
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                        gpio = <&gpio3 19 0>;
-                       regulator-always-on;
                        enable-active-high;
                };
        };
@@ -651,6 +650,7 @@ &pcie {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pcie>;
        reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
+       vpcie-supply = <&reg_pcie>;
        status = "okay";
 };