Re: [PATCH 04/12] usb: common: Small class for USB role switches

2018-02-25 Thread Hans de Goede
Hi, On 16-02-18 15:07, Andy Shevchenko wrote: On Fri, Feb 16, 2018 at 12:47 PM, Hans de Goede wrote: USB role switch is a device that can be used to choose the data role for USB connector. With dual-role capable USB controllers, the controller itself will be the switch, but on some platforms

Re: [PATCH 04/12] usb: common: Small class for USB role switches

2018-02-25 Thread Hans de Goede
Hi, On 16-02-18 19:33, Randy Dunlap wrote: On 02/16/2018 02:47 AM, Hans de Goede wrote: From: Heikki Krogerus diff --git a/drivers/usb/common/roles.c b/drivers/usb/common/roles.c new file mode 100644 index ..923e3721d183 --- /dev/null +++ b/drivers/usb/common/roles.c @@ -0,0 +1

Re: [PATCH 04/12] usb: common: Small class for USB role switches

2018-02-19 Thread Hans de Goede
Hi, On 16-02-18 15:22, Heikki Krogerus wrote: On Fri, Feb 16, 2018 at 04:07:59PM +0200, Andy Shevchenko wrote: On Fri, Feb 16, 2018 at 12:47 PM, Hans de Goede wrote: USB role switch is a device that can be used to choose the data role for USB connector. With dual-role capable USB controllers

Re: [PATCH 04/12] usb: common: Small class for USB role switches

2018-02-16 Thread Randy Dunlap
On 02/16/2018 02:47 AM, Hans de Goede wrote: > From: Heikki Krogerus > > diff --git a/drivers/usb/common/roles.c b/drivers/usb/common/roles.c > new file mode 100644 > index ..923e3721d183 > --- /dev/null > +++ b/drivers/usb/common/roles.c > @@ -0,0 +1,305 @@ > +// SPDX-License-Identi

Re: [PATCH 04/12] usb: common: Small class for USB role switches

2018-02-16 Thread Heikki Krogerus
On Fri, Feb 16, 2018 at 04:07:59PM +0200, Andy Shevchenko wrote: > On Fri, Feb 16, 2018 at 12:47 PM, Hans de Goede wrote: > > > USB role switch is a device that can be used to choose the > > data role for USB connector. With dual-role capable USB > > controllers, the controller itself will be the

Re: [PATCH 04/12] usb: common: Small class for USB role switches

2018-02-16 Thread Andy Shevchenko
On Fri, Feb 16, 2018 at 12:47 PM, Hans de Goede wrote: > USB role switch is a device that can be used to choose the > data role for USB connector. With dual-role capable USB > controllers, the controller itself will be the switch, but > on some platforms the USB host and device controllers are >