Hi,
We've a custom FPGA interfaced with imx8mp through MIPI-CSI2 interface. This fpga just sends out color bars at the moment for testing purposes. The data lane width is 2 and the video is YUV422 640x480 30fps. We've modified the OV5640 driver to make sure that i2c transfers are returned successfully to avoid any failures while loading.
However,we are able to observe only split color bars (with colors not properly aligned) when we capture using gstreamer. Screenshot is attached below
Quick analysis of dmesg shows that the pixclock values are filled with high negative numbers. Please refer to dmesg.txt
I'm not sure why this happens and how to set it apart from the dts and how do we verify the pix clock is set properly.
Can you please help?