Re: [PATCH v2 0/4] usb: dwc3: dual-role support
From: Roger Quadros
Date: Wed Mar 29 2017 - 05:50:51 EST
Hi,
On 28/03/17 13:27, Felipe Balbi wrote:
> Roger Quadros <rogerq@xxxxxx> writes:
>
>> Hi,
>>
>> We rely on the OTG controller block or Extcon to provide us with
>> VBUS and ID line status via an interrupt.
>>
>> This is then used to switch the controller between host, peripheral
>> and idle roles based on the following table.
>>
>> ID VBUS dual-role state
>> -- ---- ---------------
>> 0 x A_HOST - Host controller active
>> 1 0 B_IDLE - Both Host and Gadget controllers inactive
>> 1 1 B_PERIPHERAL - Gadget controller active
>>
>> Series depends on
>> [1] dwc3 trivial fixes - https://lkml.org/lkml/2017/2/15/204
>
> right, you never sent v2 of that though, did you? :-s -ECONFUSED
>
In that series, the 1st patch is already picked up for v4.11-rc.
I sent a v2 of the second patch but it seems it didn't apply cleanly.
https://lkml.org/lkml/2017/2/16/168
I'll send the last 2 patches again based off v4.11-rc4.
cheers,
-roger