一般情况下kernel需要添加以下宏
=================================
CONFIG_VIDEO_DEV=y
CONFIG_VIDEOBUF2_CORE=y
CONFIG_VIDEOBUF2_VMALLOC=y
CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_VIDEO_V4L2=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
CONFIG_DEBUG_FS=y
展锐平台还需要再添加以下宏
=================================
CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_CONTROLLER=y
CONFIG_MEDIA_CAMERA_SUPPORT=y