Writing a Camera Sensor Driver with plain V4L2

Hi Team,

i am currently working on writing a Camera Sensor Driver for a new MIPI CSI Transceiver. Is it possible to use plain V4L2 without the Tegracam Add-Ons? When looking into it, Tegracam also uses the standard V4L2 Functions.

Thanks and Best regards,
Tim

For CSI camera current need to implement the sensor driver base on Tegracam.

Thanks

Hi ShaneCCC,

Thank you for your reply. Why is that?

Furthermore, is there a Sample Camera Driver for a Nvidia Jetson Platform, that doesnt use I2C and has no Camera-Controls implemented. Just pure CSI Data grabbing?

Regards,
Tim

You can just use any of reference driver like imx219/imx477 to remove the i2c REG access and make the control function as dummy function.

Hi ShaneCCC,

Thank you. I also like to get somewhat independent from the Device Tree. I dont want to get things like Resolution and Framerate out of the Device Tree, but by Parameters of the Kernel Module.

Can you tell which of the Variables hold the Information about the Frame-Parameters. I try to manually change them before calling the Device Register Functions in the Probing Function

Regards,
Tim

Sorry, I don’t understand your meaning.

I mean the configuration of the Interface, so that incoming data can be correctly received. My Application requires many different Image Sizes (Width, Height) and Framerates. Thats why i would like to be able to pass those values as parameters when loading the kernel module and not take them from the device tree. Can you help me with that?

If you don’t need run any argus APP you can just define the sensor mode in sensor kernel driver only don’t need device tree to define all of the sensor mode.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.