usb: gadget: Kconfig: support Rockchip uvc

This patch adds support to use uvc for Rockchip ISP IQ tool
which needs large data buf of the uvc_request_data to send
vendor special uvc control data to uvc host.

Change-Id: I22b65c4f28d69b50f6bbb41124f3342b8c4c7c19
Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
William Wu
2018-11-29 15:57:05 +08:00
committed by Tao Huang
parent e6161ee602
commit 2eced06d5f

View File

@@ -487,6 +487,15 @@ config USB_CONFIGFS_F_UVC
device. It provides a userspace API to process UVC control requests
and stream video data to the host.
config USB_CONFIGFS_F_UVC_ROCKCHIP
bool "Rockchip USB Webcam function"
depends on USB_CONFIGFS_F_UVC && ARCH_ROCKCHIP
default y
help
The Rockchip USB Webcam function is used for Rockchip ISP IQ tool.
Enable this option will increase the UVC_MAX_REQUEST_SIZE from
64 Bytes to 4100 Bytes.
config USB_CONFIGFS_F_PRINTER
bool "Printer function"
select USB_F_PRINTER