What is tegra-capture-vi in device tree?

Hi all,

I’m trying to create a device tree souce file for a video decoder isl79987 - Jetson AGX Orin through MIPI-CSI 2 interface, in the dtsi file, i’ve created the nodes corresponding to the the video decoder, but i didn’t understand the purpose of using tegra-capture-vi, can you please give some details about this description ? and what the purpose also to use host1x ?

tegra-capture-vi {
		status = "okay";
		num-channels = <2>;
		ports {
			#address-cells = <1>;
			#size-cells = <0>;
			port@0 {
				status = "okay";
				reg = <0>;
				isl79987_vi_in0: endpoint {
					status = "okay";
					//vc-id = <0>;
					port-index = <0>;
					bus-width = <2>;
					remote-endpoint = <&isl79987_csi_out0>;
				};
			};
			port@1 {
				status = "disabled";
				reg = <1>;
				isl79987_vi_in2: endpoint {
					status = "okay";
					vc-id = <1>;
					port-index = <1>;
					bus-width = <2>;
					remote-endpoint = <&isl79987_csi_out2>;
				};
			};
		};
	};

PS : I’m using a V4L2 driver to capture directly the RAW data bypassing the Jetson ISP, so i’m not using camera core library, is it still mandatory to use the tegra-camera-vi to be able to get the frames ?

Thanks

The video input is MIPI ->NVCSI ->VI- (MEM | ISP)
No matter using camera core libs or not both need tegra-capture-vi and NVCSI.

Thanks

1 Like

Hi @ShaneCCC,

Thank you for your answer, can you please tell me which hardware describe tegra-capture-vi ?
For example host1x describe the DMA Engine, and the VI describe the Video Interface, but i dont know what about the tegra-capture-vi

Thanks

It’s for vi channel driver.

…/kernel/nvidia/drivers/media/platform/tegra/camera/fusa-capture/capture-vi-channel.c

1 Like

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