[PATCH 2/2] usb: gadget: Introduce usb gadget vendor/product default id for ARCH_QCOM
    George Chan via B4 Relay 
    devnull+gchan9527.gmail.com at kernel.org
       
    Mon Oct 20 18:23:59 CEST 2025
    
    
  
From: George Chan <gchan9527 at gmail.com>
Currently vendor/product id are both 0, and that might not as we want.
Set to some arbitary known value that we can make it work more smoothly.
Reviewed-by: Mattijs Korpershoek <mkorpershoek at kernel.org>
Acked-by: Mattijs Korpershoek <mkorpershoek at kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
Signed-off-by: George Chan <gchan9527 at gmail.com>
---
 drivers/usb/gadget/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index e845e46e0b7..008f8c99a58 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -60,6 +60,7 @@ config USB_GADGET_VENDOR_NUM
 	default 0x0955 if ARCH_TEGRA
 	default 0x1f3a if ARCH_SUNXI
 	default 0x2207 if ARCH_ROCKCHIP
+	default 0x18d1 if ARCH_QCOM
 	default 0x0
 	help
 	  Vendor ID of the USB device emulated, reported to the host device.
@@ -87,6 +88,7 @@ config USB_GADGET_PRODUCT_NUM
 	default 0x350b if ROCKCHIP_RK3588
 	default 0x350c if ROCKCHIP_RK3528
 	default 0x350e if ROCKCHIP_RK3576
+	default 0x4ee0 if ARCH_QCOM
 	default 0x0
 	help
 	  Product ID of the USB device emulated, reported to the host device.
-- 
2.43.0
    
    
More information about the U-Boot
mailing list