Parallel video on IPU0_CSI Input without I2C

cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel video on IPU0_CSI Input without I2C

85 Views
imxuser
Contributor I

Dear iMX Community,

I want to receive parallel video (PXCLK, HSYNC, VSYNC and RGB565_1X16 data) on the IPU1_CSI0 input. The data are comming directly from a FPGA and no I2C configuration is needed.

I have found similar topics already on the forum.

https://community.nxp.com/t5/i-MX-Processors/Use-FPGA-as-camera-input-IPU-CSI-Parallel/m-p/511894

https://community.nxp.com/t5/i-MX-Processors/How-to-use-Parallel-CSI-interface-on-IMX6Q-without-deco...

https://community.nxp.com/t5/i-MX-Processors/iMX6-custom-video-capture-via-Parallel-camera-interface...

All found topics says that a custom device driver is needed. 

I also studied the page on iMX Video Capture Driver - https://www.kernel.org/doc/html/v4.14/media/v4l-drivers/imx.html#

Would it be possible to setup the V4L2 pipeline without  an explicit input device (the video data are directly connected to "ipu1_csi0_mux":0)? 

For example like this:

media-ctl -l "'ipu1_csi0_mux':2->'ipu1_csi0':0[1]"
media-ctl -l "'ipu1_csi0':2->'ipu1_csi0 capture':0[1]"

media-ctl -V '"ipu1_csi0_mux":0 [fmt:RGB565_1X16/800x480]'
media-ctl -V '"ipu1_csi0_mux":2 [fmt:RGB565_1X16/800x480]'
media-ctl -V '"ipu1_csi0":2 [fmt:RGB565_1X16/800x480]'

Best Regards and thank you in advance for any tip.

 

 

0 Kudos
2 Replies

37 Views
imxuser
Contributor I

Dear Igor,

thank you for the confirmation. Are there any v4l2-subdev drivers without I2C freely available or ist the easiest way to take an existing camera driver and get rid of the unused parts?

Best Regards

 

0 Kudos

45 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Oskars

 

>Would it be possible to setup the V4L2 pipeline without an explicit input device
>(the video data are directly connected to "ipu1_csi0_mux":0)?

 

sorry I am afraid this is not possible. Custom device driver is needed. 

 

Best regards
igor

0 Kudos