Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-13 Thread Guenter Roeck
Hi, On Fri, May 13, 2016 at 05:23:21PM +0300, Heikki Krogerus wrote: > Hi, > > On Wed, May 11, 2016 at 07:47:18AM -0700, Guenter Roeck wrote: > > Hi, > > > > On Wed, May 11, 2016 at 12:40:11PM +0300, Heikki Krogerus wrote: > > > On Tue, May 10, 2016 at 08:14:34PM -0700, Guenter Roeck wrote: > >

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-13 Thread Guenter Roeck
Hi, On Fri, May 13, 2016 at 05:23:21PM +0300, Heikki Krogerus wrote: > Hi, > > On Wed, May 11, 2016 at 07:47:18AM -0700, Guenter Roeck wrote: > > Hi, > > > > On Wed, May 11, 2016 at 12:40:11PM +0300, Heikki Krogerus wrote: > > > On Tue, May 10, 2016 at 08:14:34PM -0700, Guenter Roeck wrote: > >

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-13 Thread Heikki Krogerus
Hi, On Wed, May 11, 2016 at 07:47:18AM -0700, Guenter Roeck wrote: > Hi, > > On Wed, May 11, 2016 at 12:40:11PM +0300, Heikki Krogerus wrote: > > On Tue, May 10, 2016 at 08:14:34PM -0700, Guenter Roeck wrote: > > > Heikki, > > > > > > On 05/06/2016 01:08 AM, Heikki Krogerus wrote: > > > > Hi, >

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-13 Thread Heikki Krogerus
Hi, On Wed, May 11, 2016 at 07:47:18AM -0700, Guenter Roeck wrote: > Hi, > > On Wed, May 11, 2016 at 12:40:11PM +0300, Heikki Krogerus wrote: > > On Tue, May 10, 2016 at 08:14:34PM -0700, Guenter Roeck wrote: > > > Heikki, > > > > > > On 05/06/2016 01:08 AM, Heikki Krogerus wrote: > > > > Hi, >

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-11 Thread Guenter Roeck
Hi, On Wed, May 11, 2016 at 12:40:11PM +0300, Heikki Krogerus wrote: > On Tue, May 10, 2016 at 08:14:34PM -0700, Guenter Roeck wrote: > > Heikki, > > > > On 05/06/2016 01:08 AM, Heikki Krogerus wrote: > > > Hi, > > > > > [ ... ] > > > > > > I don't have not made any new code for the class

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-11 Thread Guenter Roeck
Hi, On Wed, May 11, 2016 at 12:40:11PM +0300, Heikki Krogerus wrote: > On Tue, May 10, 2016 at 08:14:34PM -0700, Guenter Roeck wrote: > > Heikki, > > > > On 05/06/2016 01:08 AM, Heikki Krogerus wrote: > > > Hi, > > > > > [ ... ] > > > > > > I don't have not made any new code for the class

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-11 Thread Heikki Krogerus
On Tue, May 10, 2016 at 08:14:34PM -0700, Guenter Roeck wrote: > Heikki, > > On 05/06/2016 01:08 AM, Heikki Krogerus wrote: > > Hi, > > > [ ... ] > > > > I don't have not made any new code for the class driver yet, but I'm > > attempting to prepare v2 next week. > > > Would it make sense to

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-11 Thread Heikki Krogerus
On Tue, May 10, 2016 at 08:14:34PM -0700, Guenter Roeck wrote: > Heikki, > > On 05/06/2016 01:08 AM, Heikki Krogerus wrote: > > Hi, > > > [ ... ] > > > > I don't have not made any new code for the class driver yet, but I'm > > attempting to prepare v2 next week. > > > Would it make sense to

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-10 Thread Guenter Roeck
Heikki, On 05/06/2016 01:08 AM, Heikki Krogerus wrote: Hi, [ ... ] I don't have not made any new code for the class driver yet, but I'm attempting to prepare v2 next week. Would it make sense to send feedback about v1 now, or should I wait for v2 ? Thanks, Guenter

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-10 Thread Guenter Roeck
Heikki, On 05/06/2016 01:08 AM, Heikki Krogerus wrote: Hi, [ ... ] I don't have not made any new code for the class driver yet, but I'm attempting to prepare v2 next week. Would it make sense to send feedback about v1 now, or should I wait for v2 ? Thanks, Guenter

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Guenter Roeck
Hello Heikki, On 05/06/2016 01:29 AM, Heikki Krogerus wrote: On Fri, May 06, 2016 at 01:05:05AM -0700, Guenter Roeck wrote: [ ... ] I know there has been a lengthy discussion about the patch set, but I may have missed the conclusion. Is there some reason to _not_ advance it that I may have

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Guenter Roeck
Hello Heikki, On 05/06/2016 01:29 AM, Heikki Krogerus wrote: On Fri, May 06, 2016 at 01:05:05AM -0700, Guenter Roeck wrote: [ ... ] I know there has been a lengthy discussion about the patch set, but I may have missed the conclusion. Is there some reason to _not_ advance it that I may have

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Guenter Roeck
On 05/06/2016 01:08 AM, Heikki Krogerus wrote: Hi, On Wed, May 04, 2016 at 08:05:44PM -0700, Guenter Roeck wrote: On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: Hi, The OS, or more precisely the user space, needs to be able to control a few things regarding USB Type-C

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Guenter Roeck
On 05/06/2016 01:08 AM, Heikki Krogerus wrote: Hi, On Wed, May 04, 2016 at 08:05:44PM -0700, Guenter Roeck wrote: On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: Hi, The OS, or more precisely the user space, needs to be able to control a few things regarding USB Type-C

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Heikki Krogerus
On Fri, May 06, 2016 at 01:05:05AM -0700, Guenter Roeck wrote: > Felipe, > > On 05/05/2016 11:50 PM, Felipe Balbi wrote: > > > > Hi Guenter, > > > > Guenter Roeck writes: > > > On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: > > > > Hi, > > > > > > > > The

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Heikki Krogerus
On Fri, May 06, 2016 at 01:05:05AM -0700, Guenter Roeck wrote: > Felipe, > > On 05/05/2016 11:50 PM, Felipe Balbi wrote: > > > > Hi Guenter, > > > > Guenter Roeck writes: > > > On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: > > > > Hi, > > > > > > > > The OS, or more

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Heikki Krogerus
On Fri, May 06, 2016 at 09:50:00AM +0300, Felipe Balbi wrote: > > Hi Guenter, > > Guenter Roeck writes: > > On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: > >> Hi, > >> > >> The OS, or more precisely the user space, needs to be able to control > >> a few

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Heikki Krogerus
On Fri, May 06, 2016 at 09:50:00AM +0300, Felipe Balbi wrote: > > Hi Guenter, > > Guenter Roeck writes: > > On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: > >> Hi, > >> > >> The OS, or more precisely the user space, needs to be able to control > >> a few things regarding USB

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Heikki Krogerus
Hi, On Wed, May 04, 2016 at 08:05:44PM -0700, Guenter Roeck wrote: > On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: > > Hi, > > > > The OS, or more precisely the user space, needs to be able to control > > a few things regarding USB Type-C ports. The first thing that must be >

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Heikki Krogerus
Hi, On Wed, May 04, 2016 at 08:05:44PM -0700, Guenter Roeck wrote: > On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: > > Hi, > > > > The OS, or more precisely the user space, needs to be able to control > > a few things regarding USB Type-C ports. The first thing that must be >

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Guenter Roeck
Felipe, On 05/05/2016 11:50 PM, Felipe Balbi wrote: Hi Guenter, Guenter Roeck writes: On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: Hi, The OS, or more precisely the user space, needs to be able to control a few things regarding USB Type-C ports. The

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Guenter Roeck
Felipe, On 05/05/2016 11:50 PM, Felipe Balbi wrote: Hi Guenter, Guenter Roeck writes: On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: Hi, The OS, or more precisely the user space, needs to be able to control a few things regarding USB Type-C ports. The first thing that

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Felipe Balbi
Hi Guenter, Guenter Roeck writes: > On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: >> Hi, >> >> The OS, or more precisely the user space, needs to be able to control >> a few things regarding USB Type-C ports. The first thing that must be >> allowed to be

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-06 Thread Felipe Balbi
Hi Guenter, Guenter Roeck writes: > On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: >> Hi, >> >> The OS, or more precisely the user space, needs to be able to control >> a few things regarding USB Type-C ports. The first thing that must be >> allowed to be controlled is the

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-04 Thread Guenter Roeck
On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: > Hi, > > The OS, or more precisely the user space, needs to be able to control > a few things regarding USB Type-C ports. The first thing that must be > allowed to be controlled is the data role. USB Type-C ports will > select the

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-04 Thread Guenter Roeck
On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: > Hi, > > The OS, or more precisely the user space, needs to be able to control > a few things regarding USB Type-C ports. The first thing that must be > allowed to be controlled is the data role. USB Type-C ports will > select the

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-18 Thread Oliver Neukum
On Thu, 2016-02-18 at 13:05 +0200, Heikki Krogerus wrote: > > Since we have capability details of ports in user space, I believe > > cable capability is also necessary for policy decision(power, alt > > mode). Is that something we are cautiously leaving out ? pls explain > > Adding the cable

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-18 Thread Oliver Neukum
On Thu, 2016-02-18 at 13:05 +0200, Heikki Krogerus wrote: > > Since we have capability details of ports in user space, I believe > > cable capability is also necessary for policy decision(power, alt > > mode). Is that something we are cautiously leaving out ? pls explain > > Adding the cable

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-18 Thread Heikki Krogerus
Hi Rajaram, On Thu, Feb 18, 2016 at 01:04:48AM +0530, Rajaram R wrote: > On Tue, Feb 9, 2016 at 10:31 PM, Heikki Krogerus > wrote: > > Hi, > > > > The OS, or more precisely the user space, needs to be able to control > > a few things regarding USB Type-C ports.

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-18 Thread Heikki Krogerus
Hi Rajaram, On Thu, Feb 18, 2016 at 01:04:48AM +0530, Rajaram R wrote: > On Tue, Feb 9, 2016 at 10:31 PM, Heikki Krogerus > wrote: > > Hi, > > > > The OS, or more precisely the user space, needs to be able to control > > a few things regarding USB Type-C ports. The first thing that must be > >

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-18 Thread Heikki Krogerus
On Wed, Feb 17, 2016 at 07:53:47PM +0100, Oliver Neukum wrote: > On Tue, 2016-02-09 at 19:01 +0200, Heikki Krogerus wrote: > > Hi, > > > > The OS, or more precisely the user space, needs to be able to control > > a few things regarding USB Type-C ports. The first thing that must be > > allowed to

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-18 Thread Heikki Krogerus
On Wed, Feb 17, 2016 at 07:53:47PM +0100, Oliver Neukum wrote: > On Tue, 2016-02-09 at 19:01 +0200, Heikki Krogerus wrote: > > Hi, > > > > The OS, or more precisely the user space, needs to be able to control > > a few things regarding USB Type-C ports. The first thing that must be > > allowed to

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-17 Thread Rajaram R
On Tue, Feb 9, 2016 at 10:31 PM, Heikki Krogerus wrote: > Hi, > > The OS, or more precisely the user space, needs to be able to control > a few things regarding USB Type-C ports. The first thing that must be > allowed to be controlled is the data role. USB Type-C

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-17 Thread Rajaram R
On Tue, Feb 9, 2016 at 10:31 PM, Heikki Krogerus wrote: > Hi, > > The OS, or more precisely the user space, needs to be able to control > a few things regarding USB Type-C ports. The first thing that must be > allowed to be controlled is the data role. USB Type-C ports will > select the data role

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-17 Thread Oliver Neukum
On Tue, 2016-02-09 at 19:01 +0200, Heikki Krogerus wrote: > Hi, > > The OS, or more precisely the user space, needs to be able to control > a few things regarding USB Type-C ports. The first thing that must be > allowed to be controlled is the data role. USB Type-C ports will > select the data

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-17 Thread Oliver Neukum
On Tue, 2016-02-09 at 19:01 +0200, Heikki Krogerus wrote: > Hi, > > The OS, or more precisely the user space, needs to be able to control > a few things regarding USB Type-C ports. The first thing that must be > allowed to be controlled is the data role. USB Type-C ports will > select the data

[PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-09 Thread Heikki Krogerus
Hi, The OS, or more precisely the user space, needs to be able to control a few things regarding USB Type-C ports. The first thing that must be allowed to be controlled is the data role. USB Type-C ports will select the data role randomly with DRP ports. When USB PD is supported, also independent

[PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-02-09 Thread Heikki Krogerus
Hi, The OS, or more precisely the user space, needs to be able to control a few things regarding USB Type-C ports. The first thing that must be allowed to be controlled is the data role. USB Type-C ports will select the data role randomly with DRP ports. When USB PD is supported, also independent