Create a new UVC Gadget on Jetson TK1

Dear all,

How can I add a new UVC gadget USB to my Jetson TK1 device?
Currently I’ve only implemented the switch between host-gadget mode with the three aliases proposed here:

https://devtalk.nvidia.com/default/topic/988640/jetson-tk1/usb-2-0-device-mode-support-on-jetson-tk1-/

but now I have to set up my own gadget. Is there a way to do that in a simple way (e.g. configfs) or I have to build it from scratch?

Regards.

There is a gadget framework for use with some of the standard classes of USB devices. There may be some info in one of these:
https://www.kernel.org/doc/Documentation/usb/gadget_configfs.txt
http://www.linux-usb.org/gadget/