[PATCH v2 5/5] usb: gadget: Introduce usb gadget vendor/product default id for ARCH_QCOM

Mattijs Korpershoek mkorpershoek at kernel.org
Thu Jun 12 09:24:43 CEST 2025


Hi George,

Thank you for the patch.

On Sat, Jun 07, 2025 at 13:25, George Chan via B4 Relay <devnull+gchan9527.gmail.com at kernel.org> wrote:

> 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.
>
> Signed-off-by: George Chan <gchan9527 at gmail.com>
> Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>

Reviewed-by: Mattijs Korpershoek <mkorpershoek at kernel.org>

Acked-by: Mattijs Korpershoek <mkorpershoek at kernel.org>

Casey, even if this is usb gadget, feel free to pick this up in your
tree.

Thanks,
Mattijs


> ---
>  drivers/usb/gadget/Kconfig | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
> index 46a83141481..2a56e360b5f 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.
> @@ -86,6 +87,7 @@ config USB_GADGET_PRODUCT_NUM
>  	default 0x350a if ROCKCHIP_RK3568
>  	default 0x350b if ROCKCHIP_RK3588
>  	default 0x350c if ROCKCHIP_RK3528
> +	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