diff mbox series

[V2,05/17] usb: gadget: add Kconfig for OS descriptors

Message ID 20210125134400.780-6-peng.fan@nxp.com
State Accepted
Commit 16fd832e0e2d06c1a76d9bef1f62e9d94c3fed98
Headers show
Series usb: gadget: update | expand

Commit Message

Peng Fan Jan. 25, 2021, 1:43 p.m. UTC
From: Peng Fan <peng.fan@nxp.com>


Add Kconfig for OS descriptors

Signed-off-by: Peng Fan <peng.fan@nxp.com>

---
 drivers/usb/gadget/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

-- 
2.28.0
diff mbox series

Patch

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 7c0df5c264..4a3b22e6de 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -98,6 +98,15 @@  config USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8
 
 endif # USB_GADGET_DWC2_OTG
 
+config USB_GADGET_OS_DESCRIPTORS
+	bool "USB OS Feature Descriptors support"
+	help
+	  This is a porting patch from linux kernel: 37a3a533429e
+	  ("usb: gadget: OS Feature Descriptors support"), the original commit
+	  log see below:
+	  There is a custom (non-USB IF) extension to the USB standard:
+	  http://msdn.microsoft.com/library/windows/hardware/gg463182
+
 config CI_UDC
 	bool "ChipIdea device controller"
 	select USB_GADGET_DUALSPEED