1These files are deprecated and will be removed. The same files are available
2under /sys/bus/typec (see Documentation/ABI/testing/sysfs-bus-typec).
3
4What:		/sys/class/typec/<port|partner|cable>/<dev>/svid
5Date:		April 2017
6Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>
7Description:
8		The SVID (Standard or Vendor ID) assigned by USB-IF for this
9		alternate mode.
10
11What:		/sys/class/typec/<port|partner|cable>/<dev>/mode<index>/
12Date:		April 2017
13Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>
14Description:
15		Every supported mode will have its own directory. The name of
16		a mode will be "mode<index>" (for example mode1), where <index>
17		is the actual index to the mode VDO returned by Discover Modes
18		USB power delivery command.
19
20What:		/sys/class/typec/<port|partner|cable>/<dev>/mode<index>/description
21Date:		April 2017
22Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>
23Description:
24		Shows description of the mode. The description is optional for
25		the drivers, just like with the Billboard Devices.
26
27What:		/sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
28Date:		April 2017
29Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>
30Description:
31		Shows the VDO in hexadecimal returned by Discover Modes command
32		for this mode.
33
34What:		/sys/class/typec/<port|partner|cable>/<dev>/mode<index>/active
35Date:		April 2017
36Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>
37Description:
38		Shows if the mode is active or not. The attribute can be used
39		for entering/exiting the mode with partners and cable plugs, and
40		with the port alternate modes it can be used for disabling
41		support for specific alternate modes. Entering/exiting modes is
42		supported as synchronous operation so write(2) to the attribute
43		does not return until the enter/exit mode operation has
44		finished. The attribute is notified when the mode is
45		entered/exited so poll(2) on the attribute wakes up.
46		Entering/exiting a mode will also generate uevent KOBJ_CHANGE.
47
48		Valid values: yes, no
49