jetson Orin NX platform, JetPack version is Jetson Linux 36.4 (part of JetPack 6.1), Two cameras using mipi cables directly into the jetson:
I can see that the i2c address can be detected, indicating that I2C is physically connected.
pcai@pcai-desktop:~$ i2cdetect -y -r 9
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- 37 -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pcai@pcai-desktop:~$ i2cdetect -y -r 10
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- 37 -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
But the camera probe function is not called.
After checking, compatible and reg are both correct:
Driver registered but probe not called, no device under /sys/bus/i2c/drivers/iimx415/
root@pcai-desktop:/home/pcai/pkg_orin_nx_jp6.1_v6.30.5# ls /sys/bus/i2c/drivers/iimx415/
bind module uevent unbind
v4l2 subdevice not registered
ls /dev/video*
ls: cannot access '/dev/video*': No such file or directory
9-0037 and 10-0037 do not have driver links, indicating that the I2C client is not bound to the driver
root@pcai-desktop:/home/pcai/pkg_orin_nx_jp6.1_v6.30.5# ls /sys/bus/i2c/devices/9-0037
modalias name of_node power subsystem supplier:platform:13e00000.host1x:nvcsi@15a00000 supplier:platform:2200000.gpio uevent waiting_for_supplier
root@pcai-desktop:/home/pcai/pkg_orin_nx_jp6.1_v6.30.5# ls /sys/bus/i2c/devices/10-0037
modalias name of_node power subsystem supplier:platform:13e00000.host1x:nvcsi@15a00000 supplier:platform:2200000.gpio uevent waiting_for_supplier
MODALIAS and compatible:
root@pcai-desktop:/home/pcai/pkg_orin_nx_jp6.1_v6.30.5# cat /sys/bus/i2c/devices/9-0037/uevent
OF_NAME=iimx415_c
OF_FULLNAME=/bus@0/cam_i2cmux/i2c@1/iimx415_c@37
OF_COMPATIBLE_0=nvidia,iimx415
OF_COMPATIBLE_N=1
MODALIAS=of:Niimx415_cT(null)Cnvidia,iimx415
root@pcai-desktop:/home/pcai/pkg_orin_nx_jp6.1_v6.30.5# cat /sys/bus/i2c/devices/10-0037/uevent
OF_NAME=iimx415_a
OF_FULLNAME=/bus@0/cam_i2cmux/i2c@0/iimx415_a@37
OF_COMPATIBLE_0=nvidia,iimx415
OF_COMPATIBLE_N=1
MODALIAS=of:Niimx415_aT(null)Cnvidia,iimx415
This is the source file :
iimx415-overlay.dts.txt (2.6 KB)
iimx415.dtsi.txt (11.8 KB)
iimx415.c.txt (29.6 KB)