I capture signal from FPGA on iMX6solo CSI0.
I use data pins D19~D4. I have also configured all necessary pins in *.dts-file.
Input data format: 16-bit parallel YUYV (YUV422).
I have prepared my own camera driver with the following parameters:
my_capture_data.pix.pixelformat = V4L2_PIX_FMT_YUYV;
my_capture_data.pix.width = 1024;
my_capture_data.pix.height = 768;
I have also changed data width in drivers/media/video/mxc/capture/mxc_v4l2_capture.c:
csi_param.data_width = IPU_CSI_DATA_WIDTH_16;
I send an image with synthetic color data:
Y channel is from my image,
U channel is always 0x7F,
V channel is always 0x81.
I am able to capture the image and I see the following data:
Y 0x7F Y 0 Y 0x7F Y 0 ...
Y channel data is in its place.
U channel data is in its place.
V channel is always 0.
What might be the issue?