Dear team,
1)add the uvc driver:
CONFIG_MEDIA_SUPPORT=y
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L2=y
CONFIG_VIDEOBUF2_CORE=y
CONFIG_VIDEOBUF2_MEMOPS=y
CONFIG_VIDEOBUF2_VMALLOC=y
CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
2)power on am5716,then insert the uvc camera on am5716 usb3.0 port,the kernel prints:
[ 3196.796070] usb 1-1: new high-speed USB device number 10 using xhci-hcd
[ 3196.916101] usb 1-1: device descriptor read/64, error -71
[ 3197.144099] usb 1-1: device descriptor read/64, error -71
[ 3197.368066] usb 1-1: new high-speed USB device number 11 using xhci-hcd
[ 3197.488103] usb 1-1: device descriptor read/64, error -71
[ 3197.712097] usb 1-1: device descriptor read/64, error -71
[ 3197.822107] usb usb1-port1: attempt power cycle
[ 3198.450070] usb 1-1: new high-speed USB device number 12 using xhci-hcd
[ 3198.456809] usb 1-1: Device not responding to setup address.
[ 3198.670111] usb 1-1: Device not responding to setup address.
[ 3198.878065] usb 1-1: device not accepting address 12, error -71
[ 3198.998066] usb 1-1: new high-speed USB device number 13 using xhci-hcd
[ 3199.004783] usb 1-1: Device not responding to setup address.
[ 3199.214108] usb 1-1: Device not responding to setup address.
[ 3199.422065] usb 1-1: device not accepting address 13, error -71
[ 3199.428138] usb usb1-port1: unable to enumerate USB device
3)the uvc camera hardware is fine, because if i insert the uvc on another linux device,the kernel prints:
[ 760.906052] usb 1-2.3: new high-speed USB device number 8 using uhci_hcd
[ 761.236896] usb 1-2.3: New USB device found, idVendor=05e3, idProduct=0510, bcdDevice= 4.02
[ 761.236898] usb 1-2.3: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[ 761.236899] usb 1-2.3: Product: USB2.0 UVC PC Camera
[ 761.236900] usb 1-2.3: Manufacturer: GenesysLogic Technology Co., Ltd.
[ 761.303901] uvcvideo: Found UVC 1.00 device USB2.0 UVC PC Camera (05e3:0510)
[ 761.342883] input: USB2.0 UVC PC Camera: USB2.0 UV as /devices/pci0000:00/0000:00:11.0/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/input/input8