AnsweredAssumed Answered

capture the generic data from IPU-CSI use v4l2_capture driver?

Question asked by 伟锋 吴 on Jun 8, 2017
Latest reply on Jun 8, 2017 by 伟锋 吴

hello everyone.
I would like to get generic data from IPU-CSI Interface use v4l2_capture driver from no-standard image formate for example sensor or FPGA, and send the data to application space for computing.I refer to the document of I.MX6Q processor, the data flow should be:Sensor(FPGA)--->IPU-CSI--->SMFC(Sensor multi FIFO Ctrl)--->IDMAC(Image DMA Contriller)---->Memory, refer to the image below(red line):

The driver only to capture the data,computing can work in application space,because I want to use openCL framework and neon  instruction set speed the computing, It running in kernel space looks inappropriate.

It seems that the soc_camera framework can not work in I.MX6Q processor on linux-3.14.52 kernel after I test. I don't know whether i config error.So I want to use v4l2_capture driver now, but, According to the driver source code It seems that can not support to capturing generic data.The driver source are located in drivers/media/platform/mxc/capture/mxc_v4l2_capture.c. So if I want to capture the generic data use ipu-csi from e.g. FPGA or other sensor, I should use mxc_v4l2_capture driver or soc_camera framework or write a no-stantard driver for me by myself?Thank you for your help first.