Hi Heikki,

> From: Heikki Krogerus, Sent: Wednesday, April 11, 2018 4:26 PM
> 
> On Tue, Apr 10, 2018 at 09:03:46PM +0900, Yoshihiro Shimoda wrote:
<snip>
> > +Example of R-Car H3 ES2.0:
> > +   usb3_peri0: usb@ee020000 {
> > +           compatible = "renesas,r8a7795-usb3-peri",
> > +                        "renesas,rcar-gen3-usb3-peri";
> > +           reg = <0 0xee020000 0 0x400>;
> > +           interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
> > +           clocks = <&cpg CPG_MOD 328>;
> > +           power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
> > +           resets = <&cpg 328>;
> > +
> > +           usb3-role-sw {
> > +                   compatible = "renesas,rcar-usb3-role-switch";
> > +                   renesas,host = <&xhci0>;
> 
> I pretty sure you should model that connection using OF graph
> bindings. That way I believe this will also fit nicely to the
> usb-connector bindings. Check bindings/connector/usb-connector.txt

Oh, I didn't know the usb-connector bindings has been merged into the 
linux-next.
Thank you for the suggestion. I will try to use it.

Best regards,
Yoshihiro Shimoda

> > +           };
> > +   };
> 
> 
> Br,
> 
> --
> heikki

Reply via email to