Re: [PATCH v4] usb: chipidea: add role switch class support

2019-08-27 Thread Peter Chen
On 19-08-26 18:25:12, jun...@nxp.com wrote: > From: Li Jun > > USB role is fully controlled by usb role switch consumer(e.g. typec), > usb port can be at host mode(USB_ROLE_HOST), device mode connected to > host(USB_ROLE_DEVICE), or not connecting any partner(USB_ROLE_NONE). > > Signed-off-by: L

[PATCH v4] usb: chipidea: add role switch class support

2019-08-26 Thread jun . li
From: Li Jun USB role is fully controlled by usb role switch consumer(e.g. typec), usb port can be at host mode(USB_ROLE_HOST), device mode connected to host(USB_ROLE_DEVICE), or not connecting any partner(USB_ROLE_NONE). Signed-off-by: Li Jun --- changes for v4: - Add spinlock for role set().