Virtual Channel at csi5_start/stop_streaming.c

Hi

I trying dump the log from csi5_start/stop_streaming.c and got the below.

My question is that why the vc_id is always 0?

Below is vc_id from 0 to 3 for csi port c.
t194-nvcsi 15a00000.nvcsi: csi5_stop_streaming: csi_pt=2, st_id=2, vc_id=0, pg_mode=0x0
t194-nvcsi 15a00000.nvcsi: csi5_stop_streaming: csi_pt=2, st_id=2, vc_id=0, pg_mode=0x0
t194-nvcsi 15a00000.nvcsi: csi5_stop_streaming: csi_pt=2, st_id=2, vc_id=0, pg_mode=0x0
t194-nvcsi 15a00000.nvcsi: csi5_stop_streaming: csi_pt=2, st_id=2, vc_id=0, pg_mode=0x0

Below is vc_id from 0 to 3 for csi port a.
t194-nvcsi 15a00000.nvcsi: csi5_stop_streaming: csi_pt=0, st_id=0, vc_id=0, pg_mode=0x0
t194-nvcsi 15a00000.nvcsi: csi5_stop_streaming: csi_pt=0, st_id=0, vc_id=0, pg_mode=0x0
t194-nvcsi 15a00000.nvcsi: csi5_stop_streaming: csi_pt=0, st_id=0, vc_id=0, pg_mode=0x0
t194-nvcsi 15a00000.nvcsi: csi5_stop_streaming: csi_pt=0, st_id=0, vc_id=0, pg_mode=0x0

Thanks,
John

Did you declare the vc-id in the device tree? Note not “vc_id”

				port@1 {
 					reg = <1>;
 					imx390_vi_in1: endpoint {
 						vc-id = <1>;
 						port-index = <0>;
 						bus-width = <2>;
 						remote-endpoint = <&imx390_csi_out1>;
 					};
 				};

Hi ShaneCCC,

sensor mode uses vc_id= 0 , port is vc-id= 0 .

vi@15c10000 uses vc-id = 0

other sensors, vc id has be increased sequential.

Thanks,
John

The vc setting are correctly. Any suggest?

What’s the meaning csi_pt=0, st_id=0, vc_id=0, pg_mode=0x0?

It’s csi port, streaming id, virtual channel id, and pattern generated mode.