diff mbox series

[3/5] usb: Introduce video&mescellaneous

Message ID 20211227142734.691900-4-pizhenwei@bytedance.com (mailing list archive)
State New, archived
Headers show
Series Introduce camera subsystem and USB video device | expand

Commit Message

zhenwei pi Dec. 27, 2021, 2:27 p.m. UTC
Define USB class code for video&mescellaneous.

Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
---
 include/hw/usb.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/hw/usb.h b/include/hw/usb.h
index 33668dd0a9..8e3d30b9f4 100644
--- a/include/hw/usb.h
+++ b/include/hw/usb.h
@@ -77,9 +77,11 @@ 
 #define USB_CLASS_PRINTER		7
 #define USB_CLASS_MASS_STORAGE		8
 #define USB_CLASS_HUB			9
+#define USB_CLASS_VIDEO                 0xe
 #define USB_CLASS_CDC_DATA		0x0a
 #define USB_CLASS_CSCID			0x0b
 #define USB_CLASS_CONTENT_SEC		0x0d
+#define USB_CLASS_MISCELLANEOUS         0xef
 #define USB_CLASS_APP_SPEC		0xfe
 #define USB_CLASS_VENDOR_SPEC		0xff