I have 4.1 kernel, i intend to add uvc gadget support.
by default legacy g_webcam driver support is their but i want to use configfs functionality to enable usb_f_uvc.
for add USB camera you need to modified init.rc file.
you can refer to the link as below, hope helpful for you.
my question is not about usb camera connected to board but rather board as webcam. i want to implement usb otg functionality for uvc function.