linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE:  Re: [PATCH 1/2] ARM: dts: imx6qp-sabresd: enable pcie
@ 2020-09-01  2:51 Richard Zhu
  0 siblings, 0 replies; only message in thread
From: Richard Zhu @ 2020-09-01  2:51 UTC (permalink / raw)
  To: Lucas Stach, bhelgaas, shawnguo, festevam
  Cc: linux-pci, dl-linux-imx, linux-arm-kernel, linux-kernel, kernel

> -----Original Message-----
> From: Lucas Stach <l.stach@pengutronix.de>
> Sent: 2020年7月21日 16:16
> To: Richard Zhu <hongxing.zhu@nxp.com>; bhelgaas@google.com;
> shawnguo@kernel.org; festevam@gmail.com
> Cc: linux-pci@vger.kernel.org; dl-linux-imx <linux-imx@nxp.com>;
> linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org;
> kernel@pengutronix.de
> Subject: [EXT] Re: [PATCH 1/2] ARM: dts: imx6qp-sabresd: enable pcie
> 
> Caution: EXT Email
> 
> Am Dienstag, den 21.07.2020, 15:44 +0800 schrieb Richard Zhu:
> > Add one regulator, used to power up the external oscillator, and
> > enable PCIe on iMX6QP SABRESD board.
> 
> That's not the right thing to do. If there is an external oscillator, which requires a
> power supply then the oscillator should have its own clock DT node (it's a
> separate device after all) and this node needs to control the regulator.
> 
> This has nothing to do with the PCIe controller, which only cares about the clock
> being provided.
> 
To be simple, and easy to maintain. How about to set the vgen3 always on in this case?

Best Regards
Richard Zhu

> Regards,
> Lucas
> 
> > Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
> > ---
> >  arch/arm/boot/dts/imx6qp-sabresd.dts | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/boot/dts/imx6qp-sabresd.dts
> > b/arch/arm/boot/dts/imx6qp-sabresd.dts
> > index 480e73183f6b..cd8a1f610427 100644
> > --- a/arch/arm/boot/dts/imx6qp-sabresd.dts
> > +++ b/arch/arm/boot/dts/imx6qp-sabresd.dts
> > @@ -51,7 +51,8 @@
> >  };
> >
> >  &pcie {
> > -     status = "disabled";
> > +     vepdev-supply = <&vgen3_reg>;
> > +     status = "okay";
> >  };
> >
> >  &sata {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-01  2:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01  2:51 Re: [PATCH 1/2] ARM: dts: imx6qp-sabresd: enable pcie Richard Zhu

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).