aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing
diff options
context:
space:
mode:
authorDan Vacura <w36195@motorola.com>2022-04-01 11:04:45 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-21 18:14:34 +0200
commit324e4f85070f89b58c5f9926370ad19dea907dc7 (patch)
tree7b4960a98ae5bb14a23602c3485f646c3a44b621 /Documentation/ABI/testing
parentLinux 5.18-rc1 (diff)
downloadlinux-dev-324e4f85070f89b58c5f9926370ad19dea907dc7.tar.xz
linux-dev-324e4f85070f89b58c5f9926370ad19dea907dc7.zip
usb: gadget: uvc: allow changing interface name via configfs
Add a configfs entry, "function_name", to change the iInterface field for VideoControl. This name is used on host devices for user selection, useful when multiple cameras are present. The default will remain "UVC Camera". Signed-off-by: Dan Vacura <w36195@motorola.com> Link: https://lore.kernel.org/r/20220401160447.5919-1-w36195@motorola.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI/testing')
-rw-r--r--Documentation/ABI/testing/configfs-usb-gadget-uvc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/configfs-usb-gadget-uvc b/Documentation/ABI/testing/configfs-usb-gadget-uvc
index 889ed45be4ca..611b23e6488d 100644
--- a/Documentation/ABI/testing/configfs-usb-gadget-uvc
+++ b/Documentation/ABI/testing/configfs-usb-gadget-uvc
@@ -7,6 +7,7 @@ Description: UVC function directory
streaming_maxburst 0..15 (ss only)
streaming_maxpacket 1..1023 (fs), 1..3072 (hs/ss)
streaming_interval 1..16
+ function_name string [32]
=================== =============================
What: /config/usb-gadget/gadget/functions/uvc.name/control