On Mon, Feb 28, 2022 at 8:37 AM Michael Riesch <michael.riesch@xxxxxxxxxxxxxx> wrote: > > Hi Peter, > > On 2/28/22 1:57 PM, Peter Geis wrote: > > [...] > >>> + > >>> +&usb_host0_xhci { > >>> + phys = <&usb2phy0_otg>; > >>> + phy-names = "usb2-phy"; > >>> + extcon = <&usb2phy0>; > >> > >> I wonder what the correct place for this extcon property is. You defined > >> it on SoC (RK3566) level, in my patch for the RK3568 EVB1 it is added on > >> board level. Is this common to all RK356x variants? > > > > Yes, the usb2phy is always available as an extcon unless you make a > > device that doesn't have usb2 capability. > > In that case you'd have to override the device anyways. > > If we want to turn on default role otg here, we'd need this defined > > here as well or things break. > > OK, so it seems to me that the extcon could or should enter the > rk356x.dtsi (and can be removed from the rk3566.dtsi and the > rk3568-evb1-v10.dts in this series). Is that correct? Apologies it seems I just missed this. Yes, this could get moved to the base dtsi. I'd prefer to do it as part of the next series supporting otg, as I've only been doing OTG development on the rk3566 and would prefer it be fully tested. However if Johan prefers I can send another revision accomplishing this now. > > Best regards, > Michael > > > [...]