On 29/06/2021 21:02, Jack Pham wrote:
IIRC there had been an alternate proposal to keep the role switch
connection only at the dwc3 core but in order to handle the vbus
override business an additional notification would have needed to be
done either from the usb_role_switch class driver or as an "upcall" from
dwc3 core -> glue. (found it, it was by you Bryan [1])
[1]https://lore.kernel.org/linux-usb/20200311191501.8165-7-bryan.odonoghue@xxxxxxxxxx/
Which had a bug :( Bjorn found
My excuse for not following up is I had to hand back my hardware and got
sucked into doing something else.
I think Wesley's approach here is a good one so, that's also why I'm
re-posting.
I don't have a functional qcs405 setup but, I have validated it on sm8250.
---
bod