Example code for Leopard Imaging MIPI camera

Hello,

I have LI-IMX334-MIPI-CS camera and LI-JTX1-MIPI-ADPT adapter board reworked for Xavier, but I can’t find any example code, or tutorial at all. Could you plese give me some direction where to find?

Hi vojta.micek,

A good starting point would be looking at the “sensor programming guide” section of the NVIDIA Tegra Linux Driver Package documentation: https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fcamera_sensor_prog.html%23

Also, it is useful to look at the code of some MIPI CSI-2 sensors drivers that are already included in the kernel, for example:

./kernel/nvidia/drivers/media/i2c/ov5693.c
./kernel/nvidia/drivers/media/i2c/imx185.c

Latest release of the L4T for the Jetson Xavier can be found here: https://developer.nvidia.com/embedded/dlc/r32-2-1_Release_v1.0/TX2-AGX/sources/public_sources.tbz2

Hope this info helps,

-Jafet