Orin nx Max9296+Max9295+imx390 gmsl camera

hi,
L4T 35.4.1 orin nx Max9296+Max9295+imx390 gmsl camera
After configuring DTS, the following error log occurred. I press the following

But it doesn’t take effect.

[ 4.582200] tegra-camrtc-capture-vi tegra-capture-vi: tegra_channel_csi_init:Fail to parse port info
[ 4.591568] tegra-camrtc-capture-vi tegra-capture-vi: channel init failed
[ 4.598525] tegra-camrtc-capture-vi tegra-capture-vi: tegra_channel_csi_init:Fail to parse port info
[ 4.607878] tegra-camrtc-capture-vi tegra-capture-vi: channel init failed
[ 4.614831] tegra-camrtc-capture-vi tegra-capture-vi: all channel init failed
[ 4.622153] tegra-camrtc-capture-vi tegra-capture-vi: Init channel failed
[ 4.622209] tegra-camrtc-capture-vi tegra-capture-vi: tegra_vi_media_controller_init_int: failed
[ 4.638124] tegra-camrtc-capture-vi tegra-capture-vi: media controller init failed

hello len1206,

according to above failure.
please review your device tree to check the port bindings assignments.
you may also check developer guide, Port Binding.

thank for your replay. I use two max9296 to link four max9295 to use four imx390.
Please help me review the DTS
tegra234-camera-imx390-a00.dtsi.txt (21.8 KB)

please also check developer guide, To verify the port binding result for troubleshooting.

hi,Jerry
I have configured DTS according to the document, and the kernel has also reported the following error.
dmesg_1110.txt (70.7 KB)

[ 7.477741] imx390 0-001b: probing v4l2 sensor.
[ 7.482615] imx390 0-001b: tegracam sensor driver:imx390_v2.0.6
[ 7.488752] imx390 0-001b: ###Len++ missing ser_i2c node
[ 7.494297] imx390 0-001b: board setup failed
[ 7.498961] imx390 0-001c: probing v4l2 sensor.
[ 7.503740] imx390 0-001c: tegracam sensor driver:imx390_v2.0.6
[ 7.509850] imx390 0-001c: ###Len++ missing ser_i2c node
[ 7.515321] imx390 0-001c: board setup failed
[ 7.519960] imx390 0-001d: probing v4l2 sensor.
[ 7.524708] imx390 0-001d: tegracam sensor driver:imx390_v2.0.6
[ 7.530821] imx390 0-001d: ###Len++ missing ser_i2c node
[ 7.536290] imx390 0-001d: board setup failed
[ 7.540884] imx390 0-001e: probing v4l2 sensor.
[ 7.545588] imx390 0-001e: mclk not in DT
[ 7.549720] imx390 0-001e: unable to get clock cam_mclk1
[ 7.555182] imx390 0-001e: unable to power get
[ 7.559751] imx390 0-001e: tegra camera driver registration failed
[ 7.566126] imx390: probe of 0-001e failed with error -14
[ 7.571744] max9296 0-0048: [MAX9296]: probing GMSL Deserializer
[ 7.578012] max9296 0-0048: reset-gpios not found 0
[ 7.583032] max9296 0-0048: max9296_probe: success
[ 7.588139] max9296 0-004a: [MAX9296]: probing GMSL Deserializer
[ 7.594367] max9296 0-004a: reset-gpios not found 0
[ 7.599388] max9296 0-004a: max9296_probe: success
[ 7.604479] max9295 0-0040: [MAX9295]: probing GMSL Serializer
[ 7.610533] max9295 0-0040: max9295_probe: success
[ 7.615619] max9295 0-0060: [MAX9295]: probing GMSL Serializer
[ 7.621681] max9295 0-0060: max9295_probe: success
[ 7.626768] max9295 0-0062: [MAX9295]: probing GMSL Serializer
[ 7.632809] max9295 0-0062: max9295_probe: success
[ 7.637887] max9295 0-0064: [MAX9295]: probing GMSL Serializer
[ 7.643928] max9295 0-0064: max9295_probe: success
[ 7.648998] max9295 0-0066: [MAX9295]: probing GMSL Serializer
[ 7.655073] max9295 0-0066: max9295_probe: success

[ 10.625667] imx390 0-001b: probing v4l2 sensor.
[ 10.630412] imx390 0-001b: tegracam sensor driver:imx390_v2.0.6
[ 10.774255] max9295 0-0060: max9295_write_reg:i2c write failed, 0x10 = 21
[ 10.781360] max9295 0-0060: max9295_setup_control: ERROR: ser device not found
[ 10.788787] imx390 0-001b: gmsl serializer setup failed
[ 10.794646] imx390 0-001b: imx390_probe gmsl serdes setup failed
[ 10.800845] imx390: probe of 0-001b failed with error -121

nvidia@nvidia-desktop:~$ sudo media-ctl -p -d /dev/media0
Media controller API version 5.10.120

Media device information

driver tegra-camrtc-ca
model NVIDIA Tegra Video Input Device
serial
bus info
hw revision 0x3
driver version 5.10.120

Device topology

  • entity 1: 13e40000.host1x:nvcsi@15a00000- (2 pads, 0 link)
    type V4L2 subdev subtype Unknown flags 0
    pad0: Sink
    pad1: Source

nvidia@nvidia-desktop:~$
nvidia@nvidia-desktop:~$ sudo i2cdetect -y -r 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: UU – – – – – – – UU – UU – – – – –
50: 50 – – – – – – 57 – – – – – – – –
60: UU – UU – UU – UU – – – – – 6c – – –
70: – – – – – – – –

hello len1206,

there’re failure regarding to regulator settings, please do examine the schematic and check you’ve given correctly.

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