We will be connecting YUV input to TX1, hence developing V4l2 driver for it. drivers/media/i2c/ov5693.c is taken as reference. But found this driver code does not contain support for YUV. In camera_common_color_fmts array, only Bayer format is available. Our required format is YUV422 8bit. So We added below highlighted piece code, Can someone Let us know if this is fine.
Still there are problems in Receiving frame. Can You please Let us know how to enable test pattern in R24.2. Information given in document are for soc_camera, which has depreciated in R24.2
Now, I am developping the YUV camera driver,too. I suggest that nvidia should provide a reference YUV camera sensor driver program, so that we can save the developping time!
Hi haijun,
Thanks for your feedback and we will look into reference YUV sensor. For now, the major difference of YUV sensor from bayer is the capture format and output the frame should go. YUV frame usually outputs to memory, whereas bayer is output to ISP HW for further processing. In terms of VI module programming, they should be similar.
Other engineer will comment on TPG and hardware debugging to give you some suggestion.