On 07/02/2020 10:50, Bryan O'Donoghue wrote:
Maybe I'm wrong...
Looking a bit closer at the role-switch code it might be possible to
register multiple devices _as-is_ so long as you have a pointer to the
relevant parent...
Soo... its possible to create a new role-switch device relatively easily
@usb_role_switch_register() but, the drivers calling the role-switch
callback have a 1:1 mapping between role-switch call and receiver.
Doing something inside DWC3 <=> DWC3::QCOM looks like less of a rewrite.