AnsweredAssumed Answered

How to add a v4l2 capture device?   (3.10.31 I Driver)

Question asked by John Reep on Feb 11, 2015
Latest reply on May 23, 2017 by Shrinidhi Rao

I have been working on adding  a device driver for video capture to the 310.31 kernel for a custom Board.  I have written the driver and all compiles fine. I even can insmod  the drive at run-time and have it show up under v4l2-int-device in the lsmod list along with mxc_v4l2_capture.  however, it does not appear that the new driver is registering as a slave v4l2-int-device to the freescale mxc_v4l2_capture device. How should I ensure it registers correctly?


I have looked at the sources for the ov5640 and ov5642 drivers and do not clearly see any files which link the master device to the slave which makes me believe it is a run-time connection. Or is it something that is needed to specify in the device tree?


Also, does Freescale plan to migrate the CSI capture features to the new V4L2 subdev device framework?


Message was edited by: John Reep Grammatical editing on 02/12/2015