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