Capture not working on second camera

Aaah, looks like it’s working now.

I did have vc_id = "0" in the various sensor modes, but still had the incorrect settings in the tegra-capture-vi block, like you highlighted:

	capture_vi_base: tegra-capture-vi {
		num-channels = <3>;
		ports {
			#address-cells = <1>;
			#size-cells = <0>;
			vi_port0: port@0 {
				reg = <0>;
				rbpcv2_imx492_vi_in0: endpoint {
					vc-id = <0>;
					port-index = <0>;
					bus-width = <4>;
					remote-endpoint = <&rbpcv2_imx492_csi_out0>;
				};
			};
			vi_port1: port@1 {
				reg = <1>;
				rbpcv2_imx492_vi_in1: endpoint {
					vc-id = <0>;                     ### <== changed from <1>
					port-index = <2>;
					bus-width = <4>;
					remote-endpoint = <&rbpcv2_imx492_csi_out1>;
				};
			};
			eimx462_vi_port2: port@2 {
				reg = <2>;
				eimx462_vi_in2: endpoint {
					vc-id = <0>;                     ### <== changed from <2>
					port-index = <4>;
					bus-width = <4>;
					remote-endpoint = <&eimx462_csi_out2>;
				};
			};

		};
	};

Thanks so much for your help!

1 Like