In general, we have implemented v4l2 standard drivers for mipi modules on different platforms. The Linux kernel will find the corresponding driver and probe the camera according to the dts when booting. After success, the /dev/videoX device node is generated, where X is a number based on the order of the probe to.
+
+
This tends to cause a common misunderstanding, which is explained here.
+
+
For motherboards that support multiple mipi cameras, the i2c bus number of each camera is determined by the camera installation location, but the generated /dev/videoX node name cannot be determined in advance.
+
+
For example, if we install two cameras on the agx board, mounted to cam2 and cam4 positions, then: