i.MX6Q Capture Driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX6Q Capture Driver

688件の閲覧回数
imxuser
Contributor I

Dear iMX community,

I am currently working on a custom driver for capturing parallel video on IPU0_CSI1 input of an i.MX6Q Processor, background topic https://community.nxp.com/t5/i-MX-Processors/Parallel-video-on-IPU0-CSI-Input-without-I2C/td-p/12913...

Could someone please briefly explain the differences between these two drivers:

1. mxc_v4l2_capture, found under /drivers/media/platform/mxc/capture

2. imx-media-dev, found under /drivers/staging/media/imx

 

mxc_v4l2_capture seems to be quite well documented in i.MX Linux Reference Manual (IMXLXRM, Rev. LF5.10.35_2.0.0, 30 June 2021) and i.MX Porting Guide (IMXBSPPG, Rev. LF5.10.9_1.0.0, 31 March 2021).

This seems to be the documentation of imx-media  - https://www.kernel.org/doc/html/latest/admin-guide/media/imx.html

But imx-media is totally unmentioned in the i.MX Linux Reference Manual. So I don't quite understand how these both drivers are related to each other? Is imx-media newer replacement of the older mxc_capture? Or is the imx-media the basis and mxc_capture needs to be used on top of imx-media?

 

My custom drivers just needs to configure the IPU0_CSI1 to receive 16bit parallel RGB565 signal in gated clock mode, HSYNC (Data Valid) + VSYNC,  no BT.656 decoding. In mxc_v4l2_capture case this can be done by the "ioctl_g_ifparm" ioctl, as showed in example drivers adv7180.c or ov5640.c under /drivers/media/platform/mxc/capture. How do I do this in imx-media case? 

 

Best regards and thank you in advance for any support!

0 件の賞賛
返信
0 返答(返信)