Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[sfrench/cifs-2.6.git] / Documentation / ABI / obsolete / sysfs-class-typec
1 These files are deprecated and will be removed. The same files are available
2 under /sys/bus/typec (see Documentation/ABI/testing/sysfs-bus-typec).
3
4 What:           /sys/class/typec/<port|partner|cable>/<dev>/svid
5 Date:           April 2017
6 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
7 Description:
8                 The SVID (Standard or Vendor ID) assigned by USB-IF for this
9                 alternate mode.
10
11 What:           /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/
12 Date:           April 2017
13 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
14 Description:
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
20 What:           /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/description
21 Date:           April 2017
22 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
23 Description:
24                 Shows description of the mode. The description is optional for
25                 the drivers, just like with the Billboard Devices.
26
27 What:           /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
28 Date:           April 2017
29 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
30 Description:
31                 Shows the VDO in hexadecimal returned by Discover Modes command
32                 for this mode.
33
34 What:           /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/active
35 Date:           April 2017
36 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
37 Description:
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