diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2014-05-08 08:06:25 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-05-14 10:39:14 -0400 |
commit | 87213d388e927aaa88b21d5ff7e1f75ca2288da1 (patch) | |
tree | d68f947c50a65e662abdc6885b2f5ce801fd5013 /Documentation/ABI/testing/configfs-usb-gadget | |
parent | de7a8d2d534fb3c35c29762b8a7d14e5b1937d6f (diff) |
usb: gadget: configfs: OS String support
Add handling of OS String extension from the configfs interface.
A directory "os_desc" is added at the top level of a gadget's
directories hierarchy. In the "os_desc" directory there are
three attributes: "use", "b_vendor_code" and "qw_sign".
If "use" contains "0" the OS string is not reported to the host.
"b_vendor_code" contains a one-byte value which is used
for custom per-device and per-interface requests.
"qw_sign" contains an identifier to be reported as the "OS String"
proper.
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation/ABI/testing/configfs-usb-gadget')
-rw-r--r-- | Documentation/ABI/testing/configfs-usb-gadget | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/configfs-usb-gadget b/Documentation/ABI/testing/configfs-usb-gadget index 37559a06393b..0e7b786f24ac 100644 --- a/Documentation/ABI/testing/configfs-usb-gadget +++ b/Documentation/ABI/testing/configfs-usb-gadget | |||
@@ -79,3 +79,14 @@ Description: | |||
79 | product - gadget's product description | 79 | product - gadget's product description |
80 | manufacturer - gadget's manufacturer description | 80 | manufacturer - gadget's manufacturer description |
81 | 81 | ||
82 | What: /config/usb-gadget/gadget/os_desc | ||
83 | Date: May 2014 | ||
84 | KernelVersion: 3.16 | ||
85 | Description: | ||
86 | This group contains "OS String" extension handling attributes. | ||
87 | |||
88 | use - flag turning "OS Desctiptors" support on/off | ||
89 | b_vendor_code - one-byte value used for custom per-device and | ||
90 | per-interface requests | ||
91 | qw_sign - an identifier to be reported as "OS String" | ||
92 | proper | ||