Re: [PATCH v2 2/2] usb: dwc3: add dual role support using OTG block

2018-03-08 Thread Felipe Balbi
Hi, Roger Quadros writes: > Felipe, > > On 08/03/18 12:39, Felipe Balbi wrote: >> Roger Quadros writes: >> >>> This is useful on platforms (e.g. TI AM437x) that don't >>> have ID available on a GPIO but do have the OTG block. >>> >>> We can obtain the ID state

Re: [PATCH v2 2/2] usb: dwc3: add dual role support using OTG block

2018-03-08 Thread Roger Quadros
Felipe, On 08/03/18 12:39, Felipe Balbi wrote: > Roger Quadros writes: > >> This is useful on platforms (e.g. TI AM437x) that don't >> have ID available on a GPIO but do have the OTG block. >> >> We can obtain the ID state via the OTG block and use it >> for dual-role switching.

Re: [PATCH v2 2/2] usb: dwc3: add dual role support using OTG block

2018-03-08 Thread Felipe Balbi
Roger Quadros writes: > This is useful on platforms (e.g. TI AM437x) that don't > have ID available on a GPIO but do have the OTG block. > > We can obtain the ID state via the OTG block and use it > for dual-role switching. > > Signed-off-by: Roger Quadros patch

[PATCH v2 2/2] usb: dwc3: add dual role support using OTG block

2018-02-27 Thread Roger Quadros
This is useful on platforms (e.g. TI AM437x) that don't have ID available on a GPIO but do have the OTG block. We can obtain the ID state via the OTG block and use it for dual-role switching. Signed-off-by: Roger Quadros --- drivers/usb/dwc3/core.c | 67 ++-