ARM: dts: imx6q-novena: Use the 'vpcie-supply' property
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 15 Oct 2017 20:53:57 +0000 (18:53 -0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Oct 2017 00:19:38 +0000 (08:19 +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>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q-novena.dts

index d83cfb6..eadc371 100644 (file)
                regulator-max-microvolt = <1500000>;
                gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>;
                enable-active-high;
-               regulator-always-on;
        };
 
        reg_sata: regulator-sata {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pcie_novena>;
        reset-gpio = <&gpio3 29 GPIO_ACTIVE_LOW>;
+       vpcie-supply = <&reg_pcie>;
        status = "okay";
 };