What does a MIPI CSI-2 camera driver do?

I am trying to interface multiple CSI cameras on to Jetson. Finally, I want to use GStreamer pipeline in opencv to get the video streams from my cameras. I understand that nvcamera is a GStreamer plugin that uses the ISP to preprocess the video frames and is not the camera driver. So I do not have any idea what a CSI camera driver does. Can someone guide me where I can find information on what is the role of the driver and how to develop my custom camera driver?

Hi Vinmean,

Please check the Camera Development topic from https://developer.nvidia.com/embedded/dlc/l4t-documentation-28-2-ga, you can find information from Camera Software Development Solution and Sensor Driver Programming Guide .

Also be aware of the following changes: http://developer.nvidia.com/embedded/dlc/l4t-28-2-sensor-driver-porting-guide