Re: [PATCH V2] usb: typec: Add sysfs node to show connector orientation

2019-10-23 Thread Heikki Krogerus
On Wed, Oct 23, 2019 at 08:01:26AM -0700, Guenter Roeck wrote: > On Wed, Oct 23, 2019 at 05:29:00PM +0300, Heikki Krogerus wrote: > > On Wed, Oct 23, 2019 at 06:44:39AM -0700, Guenter Roeck wrote: > > > On 10/23/19 1:32 AM, Heikki Krogerus wrote: > > > > +Guenter > > > > > > > > On Tue, Oct 22, 20

Re: [PATCH V2] usb: typec: Add sysfs node to show connector orientation

2019-10-23 Thread Guenter Roeck
On Wed, Oct 23, 2019 at 05:29:00PM +0300, Heikki Krogerus wrote: > On Wed, Oct 23, 2019 at 06:44:39AM -0700, Guenter Roeck wrote: > > On 10/23/19 1:32 AM, Heikki Krogerus wrote: > > > +Guenter > > > > > > On Tue, Oct 22, 2019 at 04:59:24PM +0800, Puma Hsu wrote: > > > > Export the Type-C connector

Re: [PATCH V2] usb: typec: Add sysfs node to show connector orientation

2019-10-23 Thread Heikki Krogerus
On Wed, Oct 23, 2019 at 06:44:39AM -0700, Guenter Roeck wrote: > On 10/23/19 1:32 AM, Heikki Krogerus wrote: > > +Guenter > > > > On Tue, Oct 22, 2019 at 04:59:24PM +0800, Puma Hsu wrote: > > > Export the Type-C connector orientation so that user space > > > can get this information. > > > > > >

Re: [PATCH V2] usb: typec: Add sysfs node to show connector orientation

2019-10-23 Thread Puma Hsu
Hi Guenter, I think "unknown" here means that the USB port is disconnected in real usage. Thanks in advance. Puma Hsu On Wed, Oct 23, 2019 at 9:44 PM Guenter Roeck wrote: > > On 10/23/19 1:32 AM, Heikki Krogerus wrote: > > +Guenter > > > > On Tue, Oct 22, 2019 at 04:59:24PM +0800, Puma Hs

Re: [PATCH V2] usb: typec: Add sysfs node to show connector orientation

2019-10-23 Thread Guenter Roeck
On 10/23/19 1:32 AM, Heikki Krogerus wrote: +Guenter On Tue, Oct 22, 2019 at 04:59:24PM +0800, Puma Hsu wrote: Export the Type-C connector orientation so that user space can get this information. Signed-off-by: Puma Hsu --- Documentation/ABI/testing/sysfs-class-typec | 11 +++ driv

Re: [PATCH V2] usb: typec: Add sysfs node to show connector orientation

2019-10-23 Thread Heikki Krogerus
+Guenter On Tue, Oct 22, 2019 at 04:59:24PM +0800, Puma Hsu wrote: > Export the Type-C connector orientation so that user space > can get this information. > > Signed-off-by: Puma Hsu > --- > Documentation/ABI/testing/sysfs-class-typec | 11 +++ > drivers/usb/typec/class.c

Re: [PATCH V2] usb: typec: Add sysfs node to show connector orientation

2019-10-22 Thread Puma Hsu
Hi Greg, On Wed, Oct 23, 2019 at 1:27 AM Greg KH wrote: > > On Tue, Oct 22, 2019 at 04:59:24PM +0800, Puma Hsu wrote: > > Export the Type-C connector orientation so that user space > > can get this information. > > > > Signed-off-by: Puma Hsu > > --- > > Documentation/ABI/testing/sysfs-class-t

Re: [PATCH V2] usb: typec: Add sysfs node to show connector orientation

2019-10-22 Thread Greg KH
On Tue, Oct 22, 2019 at 04:59:24PM +0800, Puma Hsu wrote: > Export the Type-C connector orientation so that user space > can get this information. > > Signed-off-by: Puma Hsu > --- > Documentation/ABI/testing/sysfs-class-typec | 11 +++ > drivers/usb/typec/class.c | 18