On 20/04/2022 01:03, 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..
I think, if the driver supports only extcon interface, you have to use
it (leaving aside a good nice option of rewriting qcom,ci-hdrc/ulpi to
also support USB role switching mechanisms).
--
With best wishes
Dmitry