brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · 205d9c9 Raw
52 lines · plain
1What:		/sys/bus/typec/devices/.../active2Date:		July 20183Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>4Description:5		Shows if the mode is active or not. The attribute can be used6		for entering/exiting the mode. Entering/exiting modes is7		supported as synchronous operation so write(2) to the attribute8		does not return until the enter/exit mode operation has9		finished. The attribute is notified when the mode is10		entered/exited so poll(2) on the attribute wakes up.11		Entering/exiting a mode will also generate uevent KOBJ_CHANGE.12 13		Valid values are boolean.14 15What:		/sys/bus/typec/devices/.../description16Date:		July 201817Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>18Description:19		Shows description of the mode. The description is optional for20		the drivers, just like with the Billboard Devices.21 22What:		/sys/bus/typec/devices/.../mode23Date:		July 201824Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>25Description:26		The index number of the mode returned by Discover Modes USB27		Power Delivery command. Depending on the alternate mode, the28		mode index may be significant.29 30		With some alternate modes (SVIDs), the mode index is assigned31		for specific functionality in the specification for that32		alternate mode.33 34		With other alternate modes, the mode index values are not35		assigned, and can not be therefore used for identification. When36		the mode index is not assigned, identifying the alternate mode37		must be done with either mode VDO or the description.38 39What:		/sys/bus/typec/devices/.../svid40Date:		July 201841Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>42Description:43		The Standard or Vendor ID (SVID) assigned by USB-IF for this44		alternate mode.45 46What:		/sys/bus/typec/devices/.../vdo47Date:		July 201848Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>49Description:50		Shows the VDO in hexadecimal returned by Discover Modes command51		for this mode.52