6bebd2c8404017eb267cefdb0c87b4c420fe6454
[openwrt/staging/blocktrron.git] /
1 From dd2c7df419ae8a5cc5f7ee0480218b0ae28d4926 Mon Sep 17 00:00:00 2001
2 From: Jonas Karlman <jonas@kwiboo.se>
3 Date: Fri, 1 Aug 2025 20:32:38 +0000
4 Subject: [PATCH] rockchip: Add default USB_GADGET_PRODUCT_NUM for RK3576
5
6 Use 0x350e as the default USB Product ID for Rockchip RK3576, same PID
7 being used by the BootROM when the device is in MASKROM mode.
8
9 Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
10 Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
11 Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
12 ---
13 drivers/usb/gadget/Kconfig | 1 +
14 1 file changed, 1 insertion(+)
15
16 --- a/drivers/usb/gadget/Kconfig
17 +++ b/drivers/usb/gadget/Kconfig
18 @@ -86,6 +86,7 @@ config USB_GADGET_PRODUCT_NUM
19 default 0x350a if ROCKCHIP_RK3568
20 default 0x350b if ROCKCHIP_RK3588
21 default 0x350c if ROCKCHIP_RK3528
22 + default 0x350e if ROCKCHIP_RK3576
23 default 0x0
24 help
25 Product ID of the USB device emulated, reported to the host device.