How to write DTS of two prots for one Stream?

Hi,
If the path in the red box below is used, how should vi and NVCSI paths be configured?
help us to check the following writing is correct, please!

====

host1x {
    vi@15c10000 {
        num-channels = <0x1>;
        ports {
            #address-cells = <0x1>;
            #size-cells = <0x0>;

            port@2 {
                reg = <0x2>;
                status = "okay";
                TI954_vi_in0: endpoint {
                    status = "okay";
                    vc-id = <2>;
                    port-index = <0x2>;
                    bus-width = <0x4>;
                    remote-endpoint = <&TI954_csi_out0>;
                };
            };
        };
    };

    nvcsi@15a00000 {
        num-channels = <1>;
        #address-cells = <1>;
        #size-cells = <0>;
        channel@2 {
            reg = <2>;
            ports {
                #address-cells = <1>;
                #size-cells = <0>;
                port@0 {
                    reg = <0>;
                    vc-id = <2>;
                    TI954_csi_in0: endpoint@0 {
                        port-index = <0x2>;
                        bus-width = <4>;
                        remote-endpoint = <&TI954_out0>;
                    };
		TI954_csi_in1: endpoint@0 {
                        port-index = <0x2>;
                        bus-width = <4>;
                        remote-endpoint = <&TI954_out1>;
                    };
                };
                port@1 {
                    reg = <1>;
                    TI954_csi_out0: endpoint@1 {
                        remote-endpoint = <&TI954_vi_in0>;
                    };
                };
            };
        };

====

hello actiondo,

you’ll need to configure one 4-lane sensor connected to CSI-E/F, and it’ll direct to stream-4 for usage.
please also check Port Binding session to demonstrate the port binding definitions.
thanks

1 Like