aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-10-10 16:21:56 -0400
committerFelipe Balbi <balbi@ti.com>2014-11-03 11:01:00 -0500
commitf2918ad89df5a5deb4773e13b5f6e21eabfce282 (patch)
tree923e3dad2c65088afd711d8573f2e1c28b7e3747 /Documentation
parent3a571870856f63064a3a45d7ffa2526d597b7fbe (diff)
usb: gadget: udc: document our sysfs ABI
I noticed that this has been missing for quite some time so I decided it was about time to document it. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/stable/sysfs-class-udc93
1 files changed, 93 insertions, 0 deletions
diff --git a/Documentation/ABI/stable/sysfs-class-udc b/Documentation/ABI/stable/sysfs-class-udc
new file mode 100644
index 000000000000..85d3dac2e204
--- /dev/null
+++ b/Documentation/ABI/stable/sysfs-class-udc
@@ -0,0 +1,93 @@
1What: /sys/class/udc/<udc>/a_alt_hnp_support
2Date: June 2011
3KernelVersion: 3.1
4Contact: Felipe Balbi <balbi@kernel.org>
5Description:
6 Indicates if an OTG A-Host supports HNP at an alternate port.
7Users:
8
9What: /sys/class/udc/<udc>/a_hnp_support
10Date: June 2011
11KernelVersion: 3.1
12Contact: Felipe Balbi <balbi@kernel.org>
13Description:
14 Indicates if an OTG A-Host supports HNP at this port.
15Users:
16
17What: /sys/class/udc/<udc>/b_hnp_enable
18Date: June 2011
19KernelVersion: 3.1
20Contact: Felipe Balbi <balbi@kernel.org>
21Description:
22 Indicates if an OTG A-Host enabled HNP support.
23Users:
24
25What: /sys/class/udc/<udc>/current_speed
26Date: June 2011
27KernelVersion: 3.1
28Contact: Felipe Balbi <balbi@kernel.org>
29Description:
30 Indicates the current negotiated speed at this port.
31Users:
32
33What: /sys/class/udc/<udc>/is_a_peripheral
34Date: June 2011
35KernelVersion: 3.1
36Contact: Felipe Balbi <balbi@kernel.org>
37Description:
38 Indicates that this port is the default Host on an OTG session
39 but HNP was used to switch roles.
40Users:
41
42What: /sys/class/udc/<udc>/is_otg
43Date: June 2011
44KernelVersion: 3.1
45Contact: Felipe Balbi <balbi@kernel.org>
46Description:
47 Indicates that this port support OTG.
48Users:
49
50What: /sys/class/udc/<udc>/maximum_speed
51Date: June 2011
52KernelVersion: 3.1
53Contact: Felipe Balbi <balbi@kernel.org>
54Description:
55 Indicates the maximum USB speed supported by this port.
56Users:
57
58What: /sys/class/udc/<udc>/maximum_speed
59Date: June 2011
60KernelVersion: 3.1
61Contact: Felipe Balbi <balbi@kernel.org>
62Description:
63 Indicates the maximum USB speed supported by this port.
64Users:
65
66What: /sys/class/udc/<udc>/soft_connect
67Date: June 2011
68KernelVersion: 3.1
69Contact: Felipe Balbi <balbi@kernel.org>
70Description:
71 Allows users to disconnect data pullup resistors thus causing a
72 logical disconnection from the USB Host.
73Users:
74
75What: /sys/class/udc/<udc>/srp
76Date: June 2011
77KernelVersion: 3.1
78Contact: Felipe Balbi <balbi@kernel.org>
79Description:
80 Allows users to manually start Session Request Protocol.
81Users:
82
83What: /sys/class/udc/<udc>/state
84Date: June 2011
85KernelVersion: 3.1
86Contact: Felipe Balbi <balbi@kernel.org>
87Description:
88 Indicates current state of the USB Device Controller. Valid
89 states are: 'not-attached', 'attached', 'powered',
90 'reconnecting', 'unauthenticated', 'default', 'addressed',
91 'configured', and 'suspended'; however not all USB Device
92 Controllers support reporting all states.
93Users: