Re: [PATCH v2] usb: typec: Add a sysfs node to manage port type

2017-05-25 Thread Guenter Roeck
On Thu, May 25, 2017 at 11:24:20AM -0700, Badhri Jagan Sridharan wrote: > On Thu, May 25, 2017 at 12:48 AM, Guenter Roeck wrote: > > On 05/24/2017 08:10 PM, Badhri Jagan Sridharan wrote: > >> > >> Thanks comments inline. > >> > >> On Tue, May 23, 2017 at 7:38 PM, Guenter Roeck

Re: [PATCH v2] usb: typec: Add a sysfs node to manage port type

2017-05-25 Thread Badhri Jagan Sridharan
On Thu, May 25, 2017 at 12:48 AM, Guenter Roeck wrote: > On 05/24/2017 08:10 PM, Badhri Jagan Sridharan wrote: >> >> Thanks comments inline. >> >> On Tue, May 23, 2017 at 7:38 PM, Guenter Roeck wrote: >>> >>> On 05/23/2017 06:28 PM, Badhri Jagan Sridharan

Re: [PATCH v2] usb: typec: Add a sysfs node to manage port type

2017-05-25 Thread Guenter Roeck
On 05/24/2017 08:10 PM, Badhri Jagan Sridharan wrote: Thanks comments inline. On Tue, May 23, 2017 at 7:38 PM, Guenter Roeck wrote: On 05/23/2017 06:28 PM, Badhri Jagan Sridharan wrote: User space applications in some cases have the need to enforce a specific port

Re: [PATCH v2] usb: typec: Add a sysfs node to manage port type

2017-05-24 Thread Badhri Jagan Sridharan
Thanks comments inline. On Tue, May 23, 2017 at 7:38 PM, Guenter Roeck wrote: > On 05/23/2017 06:28 PM, Badhri Jagan Sridharan wrote: >> >> User space applications in some cases have the need to enforce a >> specific port type(DFP/UFP/DRP). This change allows userspace to >>

Re: [PATCH v2] usb: typec: Add a sysfs node to manage port type

2017-05-23 Thread Guenter Roeck
On 05/23/2017 06:28 PM, Badhri Jagan Sridharan wrote: User space applications in some cases have the need to enforce a specific port type(DFP/UFP/DRP). This change allows userspace to attempt setting the desired port type. Low level drivers can however reject the request if the specific port

[PATCH v2] usb: typec: Add a sysfs node to manage port type

2017-05-23 Thread Badhri Jagan Sridharan
User space applications in some cases have the need to enforce a specific port type(DFP/UFP/DRP). This change allows userspace to attempt setting the desired port type. Low level drivers can however reject the request if the specific port type is not supported. Signed-off-by: Badhri Jagan