Debian Codegraph @

Documentation/ABI/testing/sysfs-driver-typec-displayport

raw
1 What: /sys/bus/typec/devices/.../displayport/configuration
2 Date: July 2018
3 Contact: Heikki Krogerus <[email protected]>
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 <[email protected]>
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).
50
51 What: /sys/bus/typec/devices/.../displayport/hpd
52 Date: Dec 2022
53 Contact: Badhri Jagan Sridharan <[email protected]>
54 Description:
55 VESA DisplayPort Alt Mode on USB Type-C Standard defines how
56 HotPlugDetect(HPD) shall be supported on the USB-C connector when
57 operating in DisplayPort Alt Mode. This is a read only node which
58 reflects the current state of HPD.
59
60 Valid values:
61 - 1: when HPD’s logical state is high (HPD_High) as defined
62 by VESA DisplayPort Alt Mode on USB Type-C Standard.
63 - 0 when HPD’s logical state is low (HPD_Low) as defined by
64 VESA DisplayPort Alt Mode on USB Type-C Standard.
65
66 What: /sys/bus/typec/devices/.../displayport/irq_hpd
67 Date: June 2025
68 Contact: RD Babiera <[email protected]>
69 Description:
70 IRQ_HPD events are sent over the USB PD protocol in Status Update and
71 Attention messages. IRQ_HPD can only be asserted when HPD is high,
72 and is asserted when an IRQ_HPD has been issued since the last Status
73 Update. This is a read only node that returns the number of IRQ events
74 raised in the driver's lifetime.