Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1432045
| From | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCHv3 1/2] usb: USB Type-C connector class |
| Date | 2016-06-27 15:50 +0200 |
| Message-ID | <rOF5f-Uh-11@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <rMvjH-797-9@gated-at.bofh.it> <rODGa-5q-5@gated-at.bofh.it> <rODGa-5q-7@gated-at.bofh.it> <rODGa-5q-9@gated-at.bofh.it> <rODGa-5q-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 06/27/2016 05:13 AM, Heikki Krogerus wrote: > Hi, > > On Mon, Jun 27, 2016 at 03:51:08PM +0530, Rajaram R wrote: >> May be I am missing user or usage of the driver.. I see this driver is >> providing limited information of the Type-C connectors or the port >> partner > > Yes, this interface can't provide directly information received from > PD commands like Discover Identity. We will have to present the > partners even when USB PD is not supported and in a consistent > fashion. Some details will be available in any case indirectly. Like > if there are modes, there will be devices presenting them, and the > product type in case of partners will be the partner type. > > But there are a couple of attributes I have been thinking about adding > for the partners: > > supported_data_roles > supports_usb_power_delivery > > The supported data roles would respond bits 30 and 31 of the ID Header > VDO. But when the partner does not support USB PD, we will have to > report "unknown" in it. > Or make the attribute invisible in that case. > Oliver, Guenter! How do you guys feel about those? Is there any use > for them? > Definitely good for debugging and informational. On the top of my head, I don't immediately see what a user would do with it, though, but then it would not hurt either to have the information. I keep wondering if it would make sense to directly expose the ID header VDO, similar to the alternate mode VDOs, in the partner node. Guenter > >> On Mon, Jun 27, 2016 at 3:21 PM, Heikki Krogerus >> <heikki.krogerus@linux.intel.com> wrote: >>> On Fri, Jun 24, 2016 at 07:54:12PM +0530, Rajaram R wrote: >>>> On Tue, Jun 21, 2016 at 8:21 PM, Heikki Krogerus >>>> <heikki.krogerus@linux.intel.com> 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, >>>> >>>> Since we are defining this is as a unified interface for user space, >>>> will the interface include identity details of local port and peer. >>>> Or am I over looking something ? >>> >>> By peer, do you mean the partners? Sorry but could you elaborate the >>> question? > > > Thanks, >
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCHv3 1/2] usb: USB Type-C connector class Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2016-06-27 14:20 +0200
Re: [PATCHv3 1/2] usb: USB Type-C connector class Guenter Roeck <linux@roeck-us.net> - 2016-06-27 15:50 +0200
Re: [PATCHv3 1/2] usb: USB Type-C connector class Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2016-06-28 15:20 +0200
Re: [PATCHv3 1/2] usb: USB Type-C connector class Guenter Roeck <linux@roeck-us.net> - 2016-06-28 15:30 +0200
Re: [PATCHv3 1/2] usb: USB Type-C connector class Rajaram R <rajaram.officemail@gmail.com> - 2016-06-29 11:00 +0200
Re: [PATCHv3 1/2] usb: USB Type-C connector class Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2016-06-29 12:40 +0200
Re: [PATCHv3 1/2] usb: USB Type-C connector class Rajaram R <rajaram.officemail@gmail.com> - 2016-06-29 13:00 +0200
Re: [PATCHv3 1/2] usb: USB Type-C connector class Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2016-06-29 13:30 +0200
Re: [PATCHv3 1/2] usb: USB Type-C connector class Oliver Neukum <oneukum@suse.com> - 2016-07-04 11:00 +0200
csiph-web