I am writing new camera driver which this camera uses mipi csi-2 interface. I would like to capture video from gstreamer .
In this camera driver I am using v4l2_subdev structures. But when I look at to ov5640_mipi driver , the mxc_v4l2_capture.h and v4l2-int-device.h libraries are used. I have no experience about writing camera drivers to use with gstreamer so I wonder should I use mxc_v4l2_capture.h and v4l2-int-device.h libraries to capture video from gstreamer ?