[v2,08/10] gadget: rockchip: Add rk3399 USB_GADGET_PRODUCT_NUM

Message ID 20191119082623.6165-9-jagan@amarulasolutions.com
State New
Headers show
Series
  • rockchip: rk3399: Add fastboot support
Related show

Commit Message

Jagan Teki Nov. 19, 2019, 8:26 a.m. UTC
Add 0x330c for rk3399 gadget product number.

Tested-by: Levin Du <djw@t-chip.com.cn>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 drivers/usb/gadget/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Kever Yang Nov. 23, 2019, 2:21 p.m. UTC | #1
On 2019/11/19 下午4:26, Jagan Teki wrote:
> Add 0x330c for rk3399 gadget product number.
>
> Tested-by: Levin Du <djw@t-chip.com.cn>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>   drivers/usb/gadget/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
> index 2da8b40e05..58ca82d4de 100644
> --- a/drivers/usb/gadget/Kconfig
> +++ b/drivers/usb/gadget/Kconfig
> @@ -62,6 +62,7 @@ config USB_GADGET_PRODUCT_NUM
>   	default 0x310c if ROCKCHIP_RK3128
>   	default 0x320a if ROCKCHIP_RK3229 || ROCKCHIP_RK3288
>   	default 0x330a if ROCKCHIP_RK3328
> +	default 0x330c if ROCKCHIP_RK3399
>   	default 0x0
>   	help
>   	  Product ID of the USB device emulated, reported to the host device.

Patch

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 2da8b40e05..58ca82d4de 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -62,6 +62,7 @@  config USB_GADGET_PRODUCT_NUM
 	default 0x310c if ROCKCHIP_RK3128
 	default 0x320a if ROCKCHIP_RK3229 || ROCKCHIP_RK3288
 	default 0x330a if ROCKCHIP_RK3328
+	default 0x330c if ROCKCHIP_RK3399
 	default 0x0
 	help
 	  Product ID of the USB device emulated, reported to the host device.