On Tue, Apr 19, 2022 at 11:03:30PM +0100, Bryan O'Donoghue wrote: > On 19/04/2022 20:27, Stephan Gerhold wrote: > > tulip seems to have qcom,usbid-gpio = <&msm_gpio 110 0>; downstream. > > Have you tried setting it up using linux,extcon-usb-gpio? > > See e.g. msm8916-longcheer-l8910, it has a similar setup (it also uses > > smb1360 for charging actually). > > > > The advantage is that you don't need the manual role switching using > > "usb-role-switch", USB OTG adapters should be detected automatically. > > My understanding is "no new extcon" - certainly as driver implementations I > assume that also extends to dts.. > It's probably tricky to combine the USB-C stuff with extcon since that needs driver changes. But for good old micro USB stuff extcon is (perhaps sadly) the standard and it's exactly what the USB and USB PHY driver expects. So in my opinion you might as well make use of it. :)