]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
usb: gadget: Introduce usb gadget vendor/product default id for ARCH_QCOM
authorGeorge Chan <gchan9527@gmail.com>
Mon, 20 Oct 2025 16:23:59 +0000 (00:23 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 30 Oct 2025 17:06:29 +0000 (11:06 -0600)
Currently vendor/product id are both 0, and that might not as we want.
Set to some arbitrary known value that we can make it work more smoothly.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Acked-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: George Chan <gchan9527@gmail.com>
Link: https://patch.msgid.link/20251021-sc7180-minor-v1-2-9fe33c73365e@gmail.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
drivers/usb/gadget/Kconfig

index e845e46e0b7f2ca5ccfa55f4f7af30dfc7af8cc6..008f8c99a589b7eb1aeaa485c1798abb23634bf1 100644 (file)
@@ -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.