Re: [PATCH v5 1/2] usb: USB Type-C connector class

2016-08-18 Thread Heikki Krogerus
On Wed, Aug 17, 2016 at 10:58:40AM -0700, Guenter Roeck wrote: > On Wed, Aug 17, 2016 at 01:34:40PM +0300, Heikki Krogerus wrote: > > The purpose of USB Type-C connector class is to provide > > unified interface for the user space to get the status and > > basic information about USB Type-C

Re: [PATCH v5 1/2] usb: USB Type-C connector class

2016-08-18 Thread Heikki Krogerus
On Wed, Aug 17, 2016 at 10:53:11AM -0700, Guenter Roeck wrote: > On Wed, Aug 17, 2016 at 01:34:40PM +0300, Heikki Krogerus wrote: > > The purpose of USB Type-C connector class is to provide > > unified interface for the user space to get the status and > > basic information about USB Type-C

Re: [PATCH v5 1/2] usb: USB Type-C connector class

2016-08-17 Thread Guenter Roeck
On Wed, Aug 17, 2016 at 01:34:40PM +0300, Heikki Krogerus wrote: > The purpose of USB Type-C connector class is to provide > unified interface for the user space to get the status and > basic information about USB Type-C connectors on a system, > control over data role swapping, and when the port

Re: [PATCH v5 1/2] usb: USB Type-C connector class

2016-08-17 Thread Guenter Roeck
On Wed, Aug 17, 2016 at 01:34:40PM +0300, Heikki Krogerus wrote: > The purpose of USB Type-C connector class is to provide > unified interface for the user space to get the status and > basic information about USB Type-C connectors on a system, > control over data role swapping, and when the port

Re: [PATCH v5 1/2] usb: USB Type-C connector class

2016-08-17 Thread Heikki Krogerus
Hi, On Wed, Aug 17, 2016 at 03:14:03PM +0200, Frans Klaver wrote: > On Wed, Aug 17, 2016 at 12:34 PM, Heikki Krogerus > > +static const char * const typec_partner_types[] = { > > + [TYPEC_PARTNER_USB] = "USB", > > + [TYPEC_PARTNER_CHARGER] = "Charger", > > +

Re: [PATCH v5 1/2] usb: USB Type-C connector class

2016-08-17 Thread Frans Klaver
On Wed, Aug 17, 2016 at 3:53 PM, Heikki Krogerus wrote: > Hi, > > On Wed, Aug 17, 2016 at 03:14:03PM +0200, Frans Klaver wrote: >> On Wed, Aug 17, 2016 at 12:34 PM, Heikki Krogerus >> > +static const char * const typec_partner_types[] = { >> > +

Re: [PATCH v5 1/2] usb: USB Type-C connector class

2016-08-17 Thread Heikki Krogerus
Hi, On Wed, Aug 17, 2016 at 06:30:35AM -0700, Guenter Roeck wrote: > On 08/17/2016 03:34 AM, Heikki Krogerus wrote: > > The purpose of USB Type-C connector class is to provide > > unified interface for the user space to get the status and > > basic information about USB Type-C connectors on a

Re: [PATCH v5 1/2] usb: USB Type-C connector class

2016-08-17 Thread Guenter Roeck
On 08/17/2016 03:34 AM, Heikki Krogerus wrote: The purpose of USB Type-C connector class is to provide unified interface for the user space to get the status and basic information about USB Type-C connectors on a system, control over data role swapping, and when the port supports USB Power

Re: [PATCH v5 1/2] usb: USB Type-C connector class

2016-08-17 Thread Frans Klaver
On Wed, Aug 17, 2016 at 12:34 PM, Heikki Krogerus wrote: > The purpose of USB Type-C connector class is to provide > unified interface for the user space to get the status and > basic information about USB Type-C connectors on a system, > control over data role