Re: [PATCH v4 1/2] dt-bindings: add bindings doc for HiSilicon INNO USB2 PHY
From: Shawn Guo
Date: Wed Mar 07 2018 - 20:32:56 EST
On Wed, Mar 07, 2018 at 03:11:18PM -0600, Rob Herring wrote:
> > +Example:
> > +
> > +perictrl: peripheral-controller@8a20000 {
> > + compatible = "hisilicon,hi3798cv200-perictrl", "syscon",
> > + "simple-mfd";
>
> Is syscon needed here? Doesn't look like the phys need it.
For phys, "syscon" is not needed, but there are other devices to be
added which will need to access perictrl as syscon. Anyway, I can drop
"syscon" from the example in this bindings doc to avoid the confusion.
> Is there no dependency on the peri ctrl probing first for the phys to
> probe successfully? If there is some dependency, simple-mfd should not
> be used.
No, there is no such dependency. Right now the perictrl is there only
for populating the phy devcies.
> As for the phy binding,
>
> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
Thanks.
Shawn