10e3bb7d6SHeikki KrogerusWhat:		/sys/bus/typec/devices/.../displayport/configuration
20e3bb7d6SHeikki KrogerusDate:		July 2018
30e3bb7d6SHeikki KrogerusContact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>
40e3bb7d6SHeikki KrogerusDescription:
50e3bb7d6SHeikki Krogerus		Shows the current DisplayPort configuration for the connector.
60e3bb7d6SHeikki Krogerus		Valid values are USB, source and sink. Source means DisplayPort
70e3bb7d6SHeikki Krogerus		source, and sink means DisplayPort sink.
80e3bb7d6SHeikki Krogerus
90e3bb7d6SHeikki Krogerus		All supported configurations are listed as space separated list
100e3bb7d6SHeikki Krogerus		with the active one wrapped in square brackets.
110e3bb7d6SHeikki Krogerus
120e3bb7d6SHeikki Krogerus		Source example:
130e3bb7d6SHeikki Krogerus
140e3bb7d6SHeikki Krogerus			USB [source] sink
150e3bb7d6SHeikki Krogerus
160e3bb7d6SHeikki Krogerus		The configuration can be changed by writing to the file
170e3bb7d6SHeikki Krogerus
180e3bb7d6SHeikki Krogerus		Note. USB configuration does not equal to Exit Mode. It is
190e3bb7d6SHeikki Krogerus		separate configuration defined in VESA DisplayPort Alt Mode on
200e3bb7d6SHeikki Krogerus		USB Type-C Standard. Functionally it equals to the situation
210e3bb7d6SHeikki Krogerus		where the mode has been exited (to exit the mode, see
220e3bb7d6SHeikki Krogerus		Documentation/ABI/testing/sysfs-bus-typec, and use file
230e3bb7d6SHeikki Krogerus		/sys/bus/typec/devices/.../active).
240e3bb7d6SHeikki Krogerus
250e3bb7d6SHeikki KrogerusWhat:		/sys/bus/typec/devices/.../displayport/pin_assignment
260e3bb7d6SHeikki KrogerusDate:		July 2018
270e3bb7d6SHeikki KrogerusContact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>
280e3bb7d6SHeikki KrogerusDescription:
290e3bb7d6SHeikki Krogerus		VESA DisplayPort Alt Mode on USB Type-C Standard defines six
300e3bb7d6SHeikki Krogerus		different pin assignments for USB Type-C connector that are
310e3bb7d6SHeikki Krogerus		labeled A, B, C, D, E, and F. The supported pin assignments are
320e3bb7d6SHeikki Krogerus		listed as space separated list with the active one wrapped in
330e3bb7d6SHeikki Krogerus		square brackets.
340e3bb7d6SHeikki Krogerus
350e3bb7d6SHeikki Krogerus		Example:
360e3bb7d6SHeikki Krogerus
370e3bb7d6SHeikki Krogerus			C [D]
380e3bb7d6SHeikki Krogerus
390e3bb7d6SHeikki Krogerus		Pin assignment can be changed by writing to the file. It is
400e3bb7d6SHeikki Krogerus		possible to set pin assignment before configuration has been
410e3bb7d6SHeikki Krogerus		set, but the assignment will not be active before the
420e3bb7d6SHeikki Krogerus		connector is actually configured.
430e3bb7d6SHeikki Krogerus
440e3bb7d6SHeikki Krogerus		Note. As of VESA DisplayPort Alt Mode on USB Type-C Standard
450e3bb7d6SHeikki Krogerus		version 1.0b, pin assignments A, B, and F are deprecated. Only
460e3bb7d6SHeikki Krogerus		pin assignment D can now carry simultaneously one channel of
470e3bb7d6SHeikki Krogerus		USB SuperSpeed protocol. From user perspective pin assignments C
480e3bb7d6SHeikki Krogerus		and E are equal, where all channels on the connector are used
490e3bb7d6SHeikki Krogerus		for carrying DisplayPort protocol (allowing higher resolutions).
50*001b0c78SBadhri Jagan Sridharan
51*001b0c78SBadhri Jagan SridharanWhat:		/sys/bus/typec/devices/.../displayport/hpd
52*001b0c78SBadhri Jagan SridharanDate:		Dec 2022
53*001b0c78SBadhri Jagan SridharanContact:	Badhri Jagan Sridharan <badhri@google.com>
54*001b0c78SBadhri Jagan SridharanDescription:
55*001b0c78SBadhri Jagan Sridharan		VESA DisplayPort Alt Mode on USB Type-C Standard defines how
56*001b0c78SBadhri Jagan Sridharan		HotPlugDetect(HPD) shall be supported on the USB-C connector when
57*001b0c78SBadhri Jagan Sridharan		operating in DisplayPort Alt Mode. This is a read only node which
58*001b0c78SBadhri Jagan Sridharan		reflects the current state of HPD.
59*001b0c78SBadhri Jagan Sridharan
60*001b0c78SBadhri Jagan Sridharan		Valid values:
61*001b0c78SBadhri Jagan Sridharan			- 1: when HPD’s logical state is high (HPD_High) as defined
62*001b0c78SBadhri Jagan Sridharan			     by VESA DisplayPort Alt Mode on USB Type-C Standard.
63*001b0c78SBadhri Jagan Sridharan			- 0 when HPD’s logical state is low (HPD_Low) as defined by
64*001b0c78SBadhri Jagan Sridharan			     VESA DisplayPort Alt Mode on USB Type-C Standard.
65