1*8a37d87dSHeikki KrogerusWhat:		/sys/bus/typec/devices/.../active
2*8a37d87dSHeikki KrogerusDate:		July 2018
3*8a37d87dSHeikki KrogerusContact:	Heikki Krogerus <[email protected]>
4*8a37d87dSHeikki KrogerusDescription:
5*8a37d87dSHeikki Krogerus		Shows if the mode is active or not. The attribute can be used
6*8a37d87dSHeikki Krogerus		for entering/exiting the mode. Entering/exiting modes is
7*8a37d87dSHeikki Krogerus		supported as synchronous operation so write(2) to the attribute
8*8a37d87dSHeikki Krogerus		does not return until the enter/exit mode operation has
9*8a37d87dSHeikki Krogerus		finished. The attribute is notified when the mode is
10*8a37d87dSHeikki Krogerus		entered/exited so poll(2) on the attribute wakes up.
11*8a37d87dSHeikki Krogerus		Entering/exiting a mode will also generate uevent KOBJ_CHANGE.
12*8a37d87dSHeikki Krogerus
13*8a37d87dSHeikki Krogerus		Valid values are boolean.
14*8a37d87dSHeikki Krogerus
15*8a37d87dSHeikki KrogerusWhat:		/sys/bus/typec/devices/.../description
16*8a37d87dSHeikki KrogerusDate:		July 2018
17*8a37d87dSHeikki KrogerusContact:	Heikki Krogerus <[email protected]>
18*8a37d87dSHeikki KrogerusDescription:
19*8a37d87dSHeikki Krogerus		Shows description of the mode. The description is optional for
20*8a37d87dSHeikki Krogerus		the drivers, just like with the Billboard Devices.
21*8a37d87dSHeikki Krogerus
22*8a37d87dSHeikki KrogerusWhat:		/sys/bus/typec/devices/.../mode
23*8a37d87dSHeikki KrogerusDate:		July 2018
24*8a37d87dSHeikki KrogerusContact:	Heikki Krogerus <[email protected]>
25*8a37d87dSHeikki KrogerusDescription:
26*8a37d87dSHeikki Krogerus		The index number of the mode returned by Discover Modes USB
27*8a37d87dSHeikki Krogerus		Power Delivery command. Depending on the alternate mode, the
28*8a37d87dSHeikki Krogerus		mode index may be significant.
29*8a37d87dSHeikki Krogerus
30*8a37d87dSHeikki Krogerus		With some alternate modes (SVIDs), the mode index is assigned
31*8a37d87dSHeikki Krogerus		for specific functionality in the specification for that
32*8a37d87dSHeikki Krogerus		alternate mode.
33*8a37d87dSHeikki Krogerus
34*8a37d87dSHeikki Krogerus		With other alternate modes, the mode index values are not
35*8a37d87dSHeikki Krogerus		assigned, and can not be therefore used for identification. When
36*8a37d87dSHeikki Krogerus		the mode index is not assigned, identifying the alternate mode
37*8a37d87dSHeikki Krogerus		must be done with either mode VDO or the description.
38*8a37d87dSHeikki Krogerus
39*8a37d87dSHeikki KrogerusWhat:		/sys/bus/typec/devices/.../svid
40*8a37d87dSHeikki KrogerusDate:		July 2018
41*8a37d87dSHeikki KrogerusContact:	Heikki Krogerus <[email protected]>
42*8a37d87dSHeikki KrogerusDescription:
43*8a37d87dSHeikki Krogerus		The Standard or Vendor ID (SVID) assigned by USB-IF for this
44*8a37d87dSHeikki Krogerus		alternate mode.
45*8a37d87dSHeikki Krogerus
46*8a37d87dSHeikki KrogerusWhat:		/sys/bus/typec/devices/.../vdo
47*8a37d87dSHeikki KrogerusDate:		July 2018
48*8a37d87dSHeikki KrogerusContact:	Heikki Krogerus <[email protected]>
49*8a37d87dSHeikki KrogerusDescription:
50*8a37d87dSHeikki Krogerus		Shows the VDO in hexadecimal returned by Discover Modes command
51*8a37d87dSHeikki Krogerus		for this mode.
52