Re: [PATCH v2] arm64: dts: ls1028a: Add USB dt nodes

From: Rob Herring
Date: Tue May 07 2019 - 12:41:09 EST


On Tue, May 7, 2019 at 3:48 AM Ran Wang <ran.wang_1@xxxxxxx> wrote:
>
> Hi Rob,
>
> On Thursday, May 02, 2019 07:54 Rob Herring wrote:
> >
> > On Fri, Apr 26, 2019 at 05:54:26AM +0000, Ran Wang wrote:
> > > This patch adds USB dt nodes for LS1028A.
> > >
> > > Signed-off-by: Ran Wang <ran.wang_1@xxxxxxx>
> > > ---
> > > Changes in v2:
> > > - Rename node from usb3@... to usb@... to meet DTSpec
> > >
> > > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 20
> > ++++++++++++++++++++
> > > 1 files changed, 20 insertions(+), 0 deletions(-)
> > >
> > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> > b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> > > index 8dd3501..188cfb8 100644
> > > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> > > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> > > @@ -144,6 +144,26 @@
> > > clocks = <&sysclk>;
> > > };
> > >
> > > + usb0:usb@3100000 {
> > ^ space needed
>
> Yes, will update this in next version.
>
> > > + compatible= "snps,dwc3";
> >
> > Needs an SoC specific compatible.
>
> Do you mean change compatible to "snps,dwc3", "fsl,ls1028a-dwc3" ?

Well, that's the wrong order, but yes.

> As I know, so far there is no SoC specific programming for this IP, so do
> you think it's still necessary to add it?

Yes. All the bugs and quirks are discovered already?

Rob