Re: [PATCH 7/7] usb: dwc3: qcom: Enable gpio-usb-conn based role-switching

Bryan O'Donoghue
2020-03-17T15:22:10Z

On 17/03/2020 06:31, Bjorn Andersson wrote:
> I don't yet have a sane suggestion on how to redesign the dependency
> between the two drivers in order to avoid this, but it's at least not
> possible to access the child's state data from dwc3_qcom_probe().

yep, this should be modeled as the dwc3 registering with the parent
role-switch, like gpio-usb-conn does with dwc3.

I have an idea for a patch, I'll v2 this.