To act as UVC camera, you need UVC USB gadget. If you have functioning /dev/video? of your capture device, then it should be quite easy to feed it to UVC gadget device. Hope this thread will help Solved: UVC webcam gadget on i.MX8 HW - NXP Community
Unfortunately I did only bare metal UVC camera project in the past and didn’t try myself the same on Linux. UVC supports not only compressed stream- and frame based payloads, but as well uncompressed frame based payload (either packed 4:2:2 YUV format (YUY2) or 4:2:0 YUV format (NV12)). uvc-gadget -f switch: