Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[sfrench/cifs-2.6.git] / Documentation / ABI / testing / sysfs-driver-typec-displayport
1 What:           /sys/bus/typec/devices/.../displayport/configuration
2 Date:           July 2018
3 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
4 Description:
5                 Shows the current DisplayPort configuration for the connector.
6                 Valid values are USB, source and sink. Source means DisplayPort
7                 source, and sink means DisplayPort sink.
8
9                 All supported configurations are listed as space separated list
10                 with the active one wrapped in square brackets.
11
12                 Source example:
13
14                         USB [source] sink
15
16                 The configuration can be changed by writing to the file
17
18                 Note. USB configuration does not equal to Exit Mode. It is
19                 separate configuration defined in VESA DisplayPort Alt Mode on
20                 USB Type-C Standard. Functionally it equals to the situation
21                 where the mode has been exited (to exit the mode, see
22                 Documentation/ABI/testing/sysfs-bus-typec, and use file
23                 /sys/bus/typec/devices/.../active).
24
25 What:           /sys/bus/typec/devices/.../displayport/pin_assignment
26 Date:           July 2018
27 Contact:        Heikki Krogerus <heikki.krogerus@linux.intel.com>
28 Description:
29                 VESA DisplayPort Alt Mode on USB Type-C Standard defines six
30                 different pin assignments for USB Type-C connector that are
31                 labeled A, B, C, D, E, and F. The supported pin assignments are
32                 listed as space separated list with the active one wrapped in
33                 square brackets.
34
35                 Example:
36
37                         C [D]
38
39                 Pin assignment can be changed by writing to the file. It is
40                 possible to set pin assignment before configuration has been
41                 set, but the assignment will not be active before the
42                 connector is actually configured.
43
44                 Note. As of VESA DisplayPort Alt Mode on USB Type-C Standard
45                 version 1.0b, pin assignments A, B, and F are deprecated. Only
46                 pin assignment D can now carry simultaneously one channel of
47                 USB SuperSpeed protocol. From user perspective pin assignments C
48                 and E are equal, where all channels on the connector are used
49                 for carrying DisplayPort protocol (allowing higher resolutions).