Re: [PATCH v2 3/3] power: supply: cros: add property to detect connected ports

2018-09-16 Thread Sebastian Reichel
Hi, On Fri, Aug 10, 2018 at 03:13:49PM +0200, Fabien Parent wrote: > When a port is connected but acting as a source, its 'online' and > 'status' properties are identical to a port that is not connected. This > makes it tedious for userspace to know for sure whether a port is > connected or not.

Re: [PATCH v2 3/3] power: supply: cros: add property to detect connected ports

2018-09-16 Thread Sebastian Reichel
Hi, On Fri, Aug 10, 2018 at 03:13:49PM +0200, Fabien Parent wrote: > When a port is connected but acting as a source, its 'online' and > 'status' properties are identical to a port that is not connected. This > makes it tedious for userspace to know for sure whether a port is > connected or not.

[PATCH v2 3/3] power: supply: cros: add property to detect connected ports

2018-08-10 Thread Fabien Parent
When a port is connected but acting as a source, its 'online' and 'status' properties are identical to a port that is not connected. This makes it tedious for userspace to know for sure whether a port is connected or not. This commit adds a new property 'present' to reflect whether a port is

[PATCH v2 3/3] power: supply: cros: add property to detect connected ports

2018-08-10 Thread Fabien Parent
When a port is connected but acting as a source, its 'online' and 'status' properties are identical to a port that is not connected. This makes it tedious for userspace to know for sure whether a port is connected or not. This commit adds a new property 'present' to reflect whether a port is