lkml.org 
[lkml]   [2020]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 09/18] usb: dwc3: qcom: Override VBUS when using gpio_usb_connector
From
Date
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.

\
 
 \ /
  Last update: 2020-02-07 16:05    [W:0.380 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site