I am working on video input a processing card (FPGA and i.MX8 involved) And I need to i.MX8M to act as PCI Endpoint xHCI device with UVC connected to it
Linux has PCI Endpoint Framework (I see it is supported in QorIQ devices, i.MX8 have also everything needed so should be no problem)
And then connect virtual xHCI with it (as hypervisor do when run virtualization)
Most solution do it on a much lower level without full OS, with some kind of RTOS or even pore bare metal