How to setting the csi port

Hi teams

The camera connected by serializer and deserializer on Xavier platform.
the design as below:

aa

I uesd two chips 960 with 4 four lanes csi.

the first chip 960,I used as below:

port-index=0; with two cameras data,it display normal
port-index=6; with another two cameras data,there is no data .

the second chip 960,I used as below:

port-index=2; with two cameras data,it display normal
port-index=4; with another two cameras data,it display normal.

Could you give me some advice why CSI G and CSI H combine as four lanes,there is no datat?

BRs
thanks

Hi teams

I tried as below :

Sensor_out (port-index= 6) --> CSI_in (port-index= 6) --> CSI_out (port-index= 6) --> VI_in (port-index= 5)

it still can’t output.

BRs
thanks

Eight camera connect to Xavier without virtual channel? Xavier only support 6 cameras without VC support.

Please attach the dts file to check

Hi ShaneCCC

thanks for your reply.

I use with VC support.

The fisrt Des960 with 4 Ser 933 with VC support.
The second Des960 with 4 Ser933 with VC support
I used all the xavier csi port (A-H) as 4 four lanes.
My dts file as below:

chip1.txt (7.0 KB)
chip2.txt (7.1 KB)

Please help me check it

BRs
thanks

Did you try the port-index = 5 in the sensor scope?

Hi ShaneCCC

I did not try it in the sensor scope,I only try it in vi@15c10000 scope.
Later I will try it.

Hi ShaneCCC

I modify the fisrt chip the port-index = 5 in the sensor scope
it as below:

chip1-new.txt (7.2 KB)

it is the same only the first two camera output ,another can not output.

Could you help me check it ?

BRs
thanks

Should below vc-id are 0 and 1?
Could you check the trace log for the failed case.

			port@6 {                          
				status = "okay";
				reg = <6>;
				ar231_vi_in2: endpoint {
					status = "okay";
					vc-id = <2>;
					port-index = <5>;  //use CSI G and H  as 4 lanes for 960 port 1
					bus-width = <4>;
					remote-endpoint = <&ar231_csi_out2>;
				};
			};
			port@7 {
				status = "okay";
				reg = <7>;
				ar231_vi_in3: endpoint {
					status = "okay";
					vc-id = <3>;
					port-index = <5>;   //use CSI G and H  as 4 lanes for 960 port 1
					bus-width = <4>;
					remote-endpoint = <&ar231_csi_out3>;
				};
			};