Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/bus/typec/devices/.../active
0002 Date:           July 2018
0003 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
0004 Description:
0005                 Shows if the mode is active or not. The attribute can be used
0006                 for entering/exiting the mode. Entering/exiting modes is
0007                 supported as synchronous operation so write(2) to the attribute
0008                 does not return until the enter/exit mode operation has
0009                 finished. The attribute is notified when the mode is
0010                 entered/exited so poll(2) on the attribute wakes up.
0011                 Entering/exiting a mode will also generate uevent KOBJ_CHANGE.
0012 
0013                 Valid values are boolean.
0014 
0015 What:           /sys/bus/typec/devices/.../description
0016 Date:           July 2018
0017 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
0018 Description:
0019                 Shows description of the mode. The description is optional for
0020                 the drivers, just like with the Billboard Devices.
0021 
0022 What:           /sys/bus/typec/devices/.../mode
0023 Date:           July 2018
0024 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
0025 Description:
0026                 The index number of the mode returned by Discover Modes USB
0027                 Power Delivery command. Depending on the alternate mode, the
0028                 mode index may be significant.
0029 
0030                 With some alternate modes (SVIDs), the mode index is assigned
0031                 for specific functionality in the specification for that
0032                 alternate mode.
0033 
0034                 With other alternate modes, the mode index values are not
0035                 assigned, and can not be therefore used for identification. When
0036                 the mode index is not assigned, identifying the alternate mode
0037                 must be done with either mode VDO or the description.
0038 
0039 What:           /sys/bus/typec/devices/.../svid
0040 Date:           July 2018
0041 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
0042 Description:
0043                 The Standard or Vendor ID (SVID) assigned by USB-IF for this
0044                 alternate mode.
0045 
0046 What:           /sys/bus/typec/devices/.../vdo
0047 Date:           July 2018
0048 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
0049 Description:
0050                 Shows the VDO in hexadecimal returned by Discover Modes command
0051                 for this mode.