编写 MIPI CSI 驱动程序

Writing MIPI CSI Driver

我正在尝试模仿 arducam 的功能https://www.arducam.com/product/arducam-1mp4-quadrascopic-camera-bundle-kit-for-raspberry-pi-nvidia-jetson-nano-xavier-nx-four-ov9782-global-shutter-color-camera-modules-and-camarray-camera-hat-b0331/

所以我有一个 FPGA 可以组合 4 个摄像头流并将它们输出到一个大帧缓冲区 CSI MIPI 中。 现在的问题是来自 texas instruments 的 Linux 或 TDA4 平台不支持 video4linux。 但这不是问题,我想知道实际上如何编写一个 V4L 驱动程序将那个大框架分成 linux 中的 4 个虚拟相机?

Vision Components 为其 MIPI-CSI 相机系列提供开源 linux 设备驱动程序。如果你需要编写设备驱动程序,你至少可以看看参考资料。它们与在各种平台上使用 i2c 配置的莱迪思 FPGA 接口。 莱迪思销售外形尺寸非常小的 FPGA,并提供一个 MIPI-CSI IP 核,如果您有兴趣开发自己的相机,可以使用。

这可能是您可以探索的模板.. https://www.vision-components.com/fileadmin/external/documentation/software/vc_mipi_driver_list/index.html

https://www.latticesemi.com/csi2rx