Re: [PATCHv3 1/2] usb: USB Type-C connector class

From: Oliver Neukum
Date: Tue Jun 21 2016 - 16:29:52 EST


On Tue, 2016-06-21 at 17:51 +0300, Heikki Krogerus wrote:
> +What: /sys/class/typec/<port>/supported_data_roles
> +Data: June 2016
> +Contact: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
> +Description:
> + Lists the USB data roles, host or device, the port is
> capable
> + of supporting.

On third thought, this is a problem. Looking at 4.4.8.1
DEVICE_CAPABILITIES (Required) of USB Type-C Port Controller
Interface Specification we lack capability.

A port that can do DRP is not the same thing as a port that
can be switched between DFP and UFP. We cannot express that.

Regards
Oliver