linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: imx6q-novena: Use the 'vpcie-supply' property
@ 2017-10-15 20:19 Fabio Estevam
  2017-10-15 20:19 ` [PATCH 2/2] ARM: dts: imx6q-cm-fx6: " Fabio Estevam
       [not found] ` <b26ee565-89d6-4feb-a639-b4e6482425b6@rwthex-w1-b.rwth-ad.de>
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2017-10-15 20:19 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@nxp.com>

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.

Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 arch/arm/boot/dts/imx6q-novena.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6q-novena.dts b/arch/arm/boot/dts/imx6q-novena.dts
index d83cfb6..eadc371 100644
--- a/arch/arm/boot/dts/imx6q-novena.dts
+++ b/arch/arm/boot/dts/imx6q-novena.dts
@@ -158,7 +158,6 @@
 		regulator-max-microvolt = <1500000>;
 		gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
-		regulator-always-on;
 	};
 
 	reg_sata: regulator-sata {
@@ -447,6 +446,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_pcie_novena>;
 	reset-gpio = <&gpio3 29 GPIO_ACTIVE_LOW>;
+	vpcie-supply = <&reg_pcie>;
 	status = "okay";
 };
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-15 20:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-15 20:19 [PATCH 1/2] ARM: dts: imx6q-novena: Use the 'vpcie-supply' property Fabio Estevam
2017-10-15 20:19 ` [PATCH 2/2] ARM: dts: imx6q-cm-fx6: " Fabio Estevam
     [not found] ` <b26ee565-89d6-4feb-a639-b4e6482425b6@rwthex-w1-b.rwth-ad.de>
2017-10-15 20:46   ` Christopher Spinrath
2017-10-15 20:56     ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).