xref: /linux/Documentation/ABI/testing/sysfs-bus-usb-lvstest (revision cf40a76e7d5874bb25f4404eecc58a2e033af885)
1ce21bfe6SPratyush AnandLink Layer Validation Device is a standard device for testing of Super
2ce21bfe6SPratyush AnandSpeed Link Layer tests. These nodes are available in sysfs only when lvs
3ce21bfe6SPratyush Ananddriver is bound with root hub device.
4ce21bfe6SPratyush Anand
5ce21bfe6SPratyush AnandWhat:		/sys/bus/usb/devices/.../get_dev_desc
6ce21bfe6SPratyush AnandDate:		March 2014
7e34caddeSPratyush AnandContact:	Pratyush Anand <pratyush.anand@gmail.com>
8ce21bfe6SPratyush AnandDescription:
9ce21bfe6SPratyush Anand		Write to this node to issue "Get Device Descriptor"
10ce21bfe6SPratyush Anand		for Link Layer Validation device. It is needed for TD.7.06.
11ce21bfe6SPratyush Anand
12ce21bfe6SPratyush AnandWhat:		/sys/bus/usb/devices/.../u1_timeout
13ce21bfe6SPratyush AnandDate:		March 2014
14e34caddeSPratyush AnandContact:	Pratyush Anand <pratyush.anand@gmail.com>
15ce21bfe6SPratyush AnandDescription:
16ce21bfe6SPratyush Anand		Set "U1 timeout" for the downstream port where Link Layer
17ce21bfe6SPratyush Anand		Validation device is connected. Timeout value must be between 0
18ce21bfe6SPratyush Anand		and 127. It is needed for TD.7.18, TD.7.19, TD.7.20 and TD.7.21.
19ce21bfe6SPratyush Anand
20ce21bfe6SPratyush AnandWhat:		/sys/bus/usb/devices/.../u2_timeout
21ce21bfe6SPratyush AnandDate:		March 2014
22e34caddeSPratyush AnandContact:	Pratyush Anand <pratyush.anand@gmail.com>
23ce21bfe6SPratyush AnandDescription:
24ce21bfe6SPratyush Anand		Set "U2 timeout" for the downstream port where Link Layer
25ce21bfe6SPratyush Anand		Validation device is connected. Timeout value must be between 0
26ce21bfe6SPratyush Anand		and 127. It is needed for TD.7.18, TD.7.19, TD.7.20 and TD.7.21.
27ce21bfe6SPratyush Anand
28ce21bfe6SPratyush AnandWhat:		/sys/bus/usb/devices/.../hot_reset
29ce21bfe6SPratyush AnandDate:		March 2014
30e34caddeSPratyush AnandContact:	Pratyush Anand <pratyush.anand@gmail.com>
31ce21bfe6SPratyush AnandDescription:
32ce21bfe6SPratyush Anand		Write to this node to issue "Reset" for Link Layer Validation
33ce21bfe6SPratyush Anand		device. It is needed for TD.7.29, TD.7.31, TD.7.34 and TD.7.35.
34ce21bfe6SPratyush Anand
35ce21bfe6SPratyush AnandWhat:		/sys/bus/usb/devices/.../u3_entry
36ce21bfe6SPratyush AnandDate:		March 2014
37e34caddeSPratyush AnandContact:	Pratyush Anand <pratyush.anand@gmail.com>
38ce21bfe6SPratyush AnandDescription:
39ce21bfe6SPratyush Anand		Write to this node to issue "U3 entry" for Link Layer
40ce21bfe6SPratyush Anand		Validation device. It is needed for TD.7.35 and TD.7.36.
41ce21bfe6SPratyush Anand
42ce21bfe6SPratyush AnandWhat:		/sys/bus/usb/devices/.../u3_exit
43ce21bfe6SPratyush AnandDate:		March 2014
44e34caddeSPratyush AnandContact:	Pratyush Anand <pratyush.anand@gmail.com>
45ce21bfe6SPratyush AnandDescription:
46ce21bfe6SPratyush Anand		Write to this node to issue "U3 exit" for Link Layer
47ce21bfe6SPratyush Anand		Validation device. It is needed for TD.7.36.
48*f624ec70SJack Pham
49*f624ec70SJack PhamWhat:		/sys/bus/usb/devices/.../enable_compliance
50*f624ec70SJack PhamDate:		July 2017
51*f624ec70SJack PhamDescription:
52*f624ec70SJack Pham		Write to this node to set the port to compliance mode to test
53*f624ec70SJack Pham		with Link Layer Validation device. It is needed for TD.7.34.
54*f624ec70SJack Pham
55*f624ec70SJack PhamWhat:		/sys/bus/usb/devices/.../warm_reset
56*f624ec70SJack PhamDate:		July 2017
57*f624ec70SJack PhamDescription:
58*f624ec70SJack Pham		Write to this node to issue "Warm Reset" for Link Layer Validation
59*f624ec70SJack Pham		device. It may be needed to properly reset an xHCI 1.1 host port if
60*f624ec70SJack Pham		compliance mode needed to be explicitly enabled.
61