Unable to Capture Stream with DS90UB953/DS90UB954

Hello, everyone.

Initial data:
Linux build R36.4.3
camera: IMX 1 lane with 1188Mbps data rate
Driver GitHub - InES-HPMM/FPD-LinkIII_ds90ub95x: FDP Link III driver for ds90ub954/ds90ub953

DTS for ds90ub954:

ds90ub954_a@30 {
    .
    .
    reg = <0x30>;
    status = "okay";
    csi-lane-count = <4>;
    csi-lane-speed = <800>;

    serializers {
        .
        .
        serializer@0 {
            status = "okay";
            rx-channel=<0>;
            i2c-address=<0x18>;
            csi-lane-count = <1>;
            virtual-channel-map = <0x0>;
            .
            .
            .
        };
        serializer@1 {
            status = "okay";
            rx-channel=<1>;
            i2c-address=<0x19>;
            csi-lane-count = <1>;
            virtual-channel-map = <0x1>;
            .
            .
            .
        };
    };
};

DTS for camera sensor IMX:

__overlay__ {
    tegra-capture-vi  {
        num-channels = <2>;
        ports {
            vc_vi_port0: port@0 {
                reg = <0>;
                vc_vi_in0: endpoint {
                    vc-id = <0>;
                    port-index = <0>;
                    bus-width = <4>;
                    remote-endpoint = <&vc_csi_out0>;
                };
            };

            vc_vi_port1: port@1 {
                reg = <1>;
                vc_vi_in1: endpoint {
                    vc-id = <1>;
                    port-index = <0>;
                    bus-width = <4>;
                    remote-endpoint = <&vc_csi_out1>;
                };
            };
        }; // ports
    };
    tegra-camera-platform {
        compatible = "nvidia, tegra-camera-platform";

        num_csi_lanes = <4>;
        max_lane_speed = <1600000>;
        min_bits_per_pixel = <10>;
        vi_peak_byte_per_pixel = <2>;
        vi_bw_margin_pct = <25>;
        max_pixel_rate   = <7500000>;
        isp_peak_byte_per_pixel = <5>;
        isp_bw_margin_pct = <25>;
    };
    bus@0 {
        host1x@13e00000 {
            nvcsi@15a00000 {
                num-channels = <2>;
                channel@0 {
                    ports {
                        port@0 {
                            vc_csi_in0: endpoint@0 {
                                port-index = <0>;
                                bus-width = <4>;
                            };
                        };
                        .
                        .
                        .
                    };
                };
                channel@1 {
                    reg = <1>;
                    ports {
                        port@0 {
                            reg = <0>;
                            vc_csi_in1: endpoint@2 {
                                port-index = <0>;
                                bus-width = <4>;
                            };
                        };
                        .
                        .
                        .
                    };
                };
            };
        };

        i2c@3180000 {
            liimx_a@1a {
                reg                     = <0x1a>;
                mode0 {
                    num_lanes                = "4";
                    tegra_sinterface         = "serial_a";
                    
                    vc_id = "0";
                    csi_pixel_bit_depth = "10";
                    default_framerate   = "60000";   /* 60.0 fps */

                    phy_mode            = "DPHY";
                    discontinuous_clk   = "no";
                    mclk_khz            = "74250";
                    pix_clk_hz          = "118800000";
                    serdes_pix_clk_hz   = "320000000";
                };

                ports {
                    #address-cells = <1>;
                    #size-cells = <0>;
                    port@0 {
                        reg = <0>;
                        endpoint {
                            vc-id = <0>;
                            port-index = <0>;
                            bus-width = <4>;
                            remote-endpoint = <&vc_csi_in0>;
                        };
                    };
                };
            };
        
            liimx_b@1b {
                reg                     = <0x1b>;
                mode0 {
                    num_lanes                = "4";
                    tegra_sinterface         = "serial_a";

                    vc_id = "1";
                    csi_pixel_bit_depth = "10";
                    default_framerate   = "60000";   /* 60.0 fps */
                    
                    discontinuous_clk   = "no";
                    mclk_khz            = "74250";
                    pix_clk_hz          = "118800000";
                    serdes_pix_clk_hz   = "320000000";
                    cil_settletime      = "0";
                };

                ports {
                    port@0 {
                        reg = <0>;
                        endpoint {
                            vc-id = <1>;
                            port-index = <0>;
                            bus-width = <4>;
                            remote-endpoint = <&vc_csi_in1>;
                        };
                    };
                };
            };
        };
    };
};

Dmesg output:

[ 4328.650535] imx 2-001a: start streaming camera
[ 4331.111124] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 4331.111146] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 4331.112593] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 4333.671234] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 4333.671253] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 4333.672803] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 4336.231171] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 4336.231189] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 4336.232830] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel

rtcpu_debug:

        v4l2-ctl-2541   tegra_channel_open: vi-output, imx 2-001a
        v4l2-ctl-2541   tegra_channel_set_power: imx 2-001a : 0x1
        v4l2-ctl-2541   camera_common_s_power: status : 0x1
        v4l2-ctl-2541   tegra_channel_set_power: 13e00000.host1x:nvcsi@15a00000- : 0x1
        v4l2-ctl-2541   csi_s_power: enable : 0x1
        v4l2-ctl-2541   tegra_channel_capture_setup: vnc_id 0 W 1440 H 1088 fmt c4
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
        v4l2-ctl-2541   tegra_channel_set_stream: enable : 0x1
        v4l2-ctl-2541   tegra_channel_set_stream: 13e00000.host1x:nvcsi@15a00000- : 0x1
        v4l2-ctl-2541   csi_s_stream: enable : 0x1
        v4l2-ctl-2541   tegra_channel_set_stream: imx 2-001a : 0x1
     kworker/0:3-143    rtcpu_string: tstamp:141123817164 id:0x04010000 str:"VM0 activating."
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141124326878 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4515968379616 data:0x799d580010000000
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141124327109 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4515968389312 data:0x0000000031000001
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141124327359 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:4515968393856 data:0x0000000007020001
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141124327574 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4515968487872 data:0x799d550010000000
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141124327814 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4515968497664 data:0x0000000031000002
 vi-output, imx2-2543   tegra_channel_capture_setup: vnc_id 0 W 1440 H 1088 fmt c4
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141206086599 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4518586171776 data:0x799d580010000000
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141206086851 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4518586181440 data:0x0000000031000001
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141206087072 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:4518586186016 data:0x0000000007020001
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141206087312 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4518586272032 data:0x799d550010000000
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141206087535 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4518586281824 data:0x0000000031000002
 vi-output, imx2-2543   tegra_channel_capture_setup: vnc_id 0 W 1440 H 1088 fmt c4
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
 vi-output, imx2-2542   vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:2542 tid:2542
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141286142677 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4521146420256 data:0x799d580010000000
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141286142906 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4521146429952 data:0x0000000031000001
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141286143150 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:4521146434464 data:0x0000000007020001
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141286143364 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4521146535904 data:0x799d550010000000
     kworker/0:3-143    rtcpu_vinotify_event: tstamp:141286143614 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:4521146545696 data:0x0000000031000002

There is no issue when I want to stream from just one camera it works correctly (albeit with a slight adjustment to the lane number DTS files). but if two cameras are connected, I cannot stream both of them.
Please help me.

hello talagimi63,

firstly, is this a customize carrier board?
according to your DT settings, you’re having 4-lane camera with CSI-A.

port-index = <0>;
bus-width = <4>;

as you may know,
there’s only single camera slot (J21/CAM1) support with 4-lane configuration on Jetson Orin NX developer kit.
J20/CAM0 has CSI1_CLK, only a x2 camera interface is supported.
J21/CAM1 uses CSI2_CLK, it can support both x2 or x4 camera interfaces.

this is a customize carrier board.

hello talagimi63,

let me have confirmation of above, what’s the difference of one camera and two camera configuration?

DTS for ds90ub954:

ds90ub954_a@30 {
    .
    .
    reg = <0x30>;
    status = "okay";
    csi-lane-count = <1>;
    csi-lane-speed = <1600>;

    serializers {
        .
        .
        serializer@0 {
            status = "okay";
            rx-channel=<0>;
            i2c-address=<0x18>;
            csi-lane-count = <1>;
            virtual-channel-map = <0x0>;
            .
            .
            .
        };
        serializer@1 {
            status = "okay";
            rx-channel=<1>;
            i2c-address=<0x19>;
            csi-lane-count = <1>;
            virtual-channel-map = <0x1>;
            .
            .
            .
        };
    };
};

DTS for camera sensor IMX:

__overlay__ {
    tegra-capture-vi  {
        num-channels = <2>;
        ports {
            vc_vi_port0: port@0 {
                reg = <0>;
                vc_vi_in0: endpoint {
                    vc-id = <0>;
                    port-index = <0>;
                    bus-width = <1>;
                    remote-endpoint = <&vc_csi_out0>;
                };
            };

            vc_vi_port1: port@1 {
                reg = <1>;
                vc_vi_in1: endpoint {
                    vc-id = <1>;
                    port-index = <0>;
                    bus-width = <1>;
                    remote-endpoint = <&vc_csi_out1>;
                };
            };
        }; // ports
    };
    tegra-camera-platform {
        compatible = "nvidia, tegra-camera-platform";

        num_csi_lanes = <2>;
        max_lane_speed = <1600000>;
        min_bits_per_pixel = <10>;
        vi_peak_byte_per_pixel = <2>;
        vi_bw_margin_pct = <25>;
        max_pixel_rate   = <7500000>;
        isp_peak_byte_per_pixel = <5>;
        isp_bw_margin_pct = <25>;
    };
    bus@0 {
        host1x@13e00000 {
            nvcsi@15a00000 {
                num-channels = <2>;
                channel@0 {
                    ports {
                        port@0 {
                            vc_csi_in0: endpoint@0 {
                                port-index = <0>;
                                bus-width = <1>;
                            };
                        };
                        .
                        .
                        .
                    };
                };
                channel@1 {
                    reg = <1>;
                    ports {
                        port@0 {
                            reg = <0>;
                            vc_csi_in1: endpoint@2 {
                                port-index = <0>;
                                bus-width = <1>;
                            };
                        };
                        .
                        .
                        .
                    };
                };
            };
        };

        i2c@3180000 {
            liimx_a@1a {
                reg                     = <0x1a>;
                mode0 {
                    num_lanes                = "1";
                    tegra_sinterface         = "serial_a";
                    
                    vc_id = "0";
                    csi_pixel_bit_depth = "10";
                    default_framerate   = "60000";   /* 60.0 fps */

                    phy_mode            = "DPHY";
                    discontinuous_clk   = "no";
                    mclk_khz            = "74250";
                    pix_clk_hz          = "118800000";
                };

                ports {
                    #address-cells = <1>;
                    #size-cells = <0>;
                    port@0 {
                        reg = <0>;
                        endpoint {
                            vc-id = <0>;
                            port-index = <0>;
                            bus-width = <1>;
                            remote-endpoint = <&vc_csi_in0>;
                        };
                    };
                };
            };
        
            liimx_b@1b {
                reg                     = <0x1b>;
                mode0 {
                    num_lanes                = "1";
                    tegra_sinterface         = "serial_a";

                    vc_id = "1";
                    csi_pixel_bit_depth = "10";
                    default_framerate   = "60000";   /* 60.0 fps */
                    
                    discontinuous_clk   = "no";
                    mclk_khz            = "74250";
                    pix_clk_hz          = "118800000";
                    cil_settletime      = "0";
                };

                ports {
                    port@0 {
                        reg = <0>;
                        endpoint {
                            vc-id = <1>;
                            port-index = <0>;
                            bus-width = <1>;
                            remote-endpoint = <&vc_csi_in1>;
                        };
                    };
                };
            };
        };
    };
};

When I use this command v4l2-ctl, each camera streams and displays an image individually, but I cannot stream both cameras simultaneously. To clarify, I don’t mean streaming them at the exact same moment; rather, I stream the first camera and get a proper image, and then at a different time I stop the first camera and successfully stream the second one.

please refer to Sensor Pixel Clock, you should update the sensor pixel clock by changing the configuration from 1-lane to 4-lane.

for 1-lane:
if set serdes_pix_clk_hz = “120000000 - 150000000”; is works. but serdes_pix_clk_hz = “160000000”; It doesn’t work.

What about for 4 lanes?

hello talagimi63,

you may refer to this formula for calculation.
for instance, pixel_clk_hz = sensor data rate per lane (Mbps) * number of lanes / bits per pixel

Based on the relationship below and the device tree, the value of serdes_pix_clk_hz should be 320000000, yet the problem persists.

ds90ub954_a@30 {
                        compatible = "ti,ds90ub954";
                        reg = <0x30>;
                        status = "okay";
                        csi-lane-count = <4>;
                        csi-lane-speed = <800>;
}

serdes_pix_clk_hz = (deserializer output data rate in hertz) * (number of CSI lanes) / (bits per pixel).

hello talagimi63,

please follow the commands below to dump device tree into dts formats.
please upload the dts file for cross check.
$ sudo dtc -I fs -O dts /sys/firmware/devicetree/base > /tmp/123.dts

I simplified the setup: I read the camera sensor using a 1-lane serializer (since the sensor is 1-lane) and then output the signal to the Jetson via a 2-lane deserializer. However, the results remain the same. I would like to reiterate that I am using only one camera sensor, not two.
123.txt (316.8 KB)

DTS Files:

ds90ub954_a@30 {
    .
    .
    reg = <0x30>;
    status = "okay";
    csi-lane-count = <2>;
    csi-lane-speed = <800>;

    serializers {
        .
        .
        serializer@0 {
            status = "okay";
            rx-channel=<0>;
            i2c-address=<0x18>;
            csi-lane-count = <1>;
            virtual-channel-map = <0x0>;
            .
            .
            .
        };
    };
};
__overlay__ {
    tegra-capture-vi  {
        num-channels = <1>;
        ports {
            vc_vi_port0: port@0 {
                reg = <0>;
                vc_vi_in0: endpoint {
                    vc-id = <0>;
                    port-index = <0>;
                    bus-width = <2>;
                    remote-endpoint = <&vc_csi_out0>;
                };
            };
        }; // ports
    };
    tegra-camera-platform {
        compatible = "nvidia, tegra-camera-platform";

        num_csi_lanes = <2>;
        max_lane_speed = <800000>;
        min_bits_per_pixel = <10>;
        vi_peak_byte_per_pixel = <2>;
        vi_bw_margin_pct = <25>;
        max_pixel_rate   = <7500000>;
        isp_peak_byte_per_pixel = <5>;
        isp_bw_margin_pct = <25>;
    };
    bus@0 {
        host1x@13e00000 {
            nvcsi@15a00000 {
                num-channels = <1>;
                channel@0 {
                    ports {
                        port@0 {
                            vc_csi_in0: endpoint@0 {
                                port-index = <0>;
                                bus-width = <2>;
                            };
                        };
                        .
                        .
                        .
                    };
                };
            };
        };

        i2c@3180000 {
            liimx_a@1a {
                reg                     = <0x1a>;
                mode0 {
                    num_lanes                = "2";
                    tegra_sinterface         = "serial_a";
                    
                    vc_id = "0";
                    csi_pixel_bit_depth = "10";
                    default_framerate   = "60000";   /* 60.0 fps */

                    line_length         = "1760";
                    phy_mode            = "DPHY";
                    discontinuous_clk   = "yes";
                    mclk_khz            = "74250";
                    pix_clk_hz          = "150000000";
                    serdes_pix_clk_hz   = "150000000";
                    mclk_multiplier     = "1.6";
                    cil_settletime      = "0";
                    dpcm_enable         = "false";
                    set_mode_delay_ms   = "100";
                };

                ports {
                    #address-cells = <1>;
                    #size-cells = <0>;
                    port@0 {
                        reg = <0>;
                        endpoint {
                            vc-id = <0>;
                            port-index = <0>;
                            bus-width = <2>;
                            remote-endpoint = <&vc_csi_in0>;
                        };
                    };
                };
            };
        };
    };
};

hello talagimi63,

please give it a try with below configuration,
pix_clk_hz = "118800000"; and serdes_pix_clk_hz = "160000000";

the results remain the same

vi-output, imx2-1969    [003] .......    41.698674: tegra_channel_capture_setup: vnc_id 0 W 1440 H 1088 fmt c4
 vi-output, imx2-1968    [000] .......    41.699149: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
 vi-output, imx2-1968    [000] .......    41.699163: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
 vi-output, imx2-1968    [000] .......    41.699165: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
 vi-output, imx2-1968    [000] .......    41.699166: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
     kworker/1:4-964     [001] .......    41.729678: rtcpu_vinotify_event: tstamp:2113256258 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:67619907584 data:0x799d580010000000
     kworker/1:4-964     [001] .......    41.729680: rtcpu_vinotify_event: tstamp:2113256485 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:67619917248 data:0x0000000031000001
     kworker/1:4-964     [001] .......    41.729681: rtcpu_vinotify_event: tstamp:2113256729 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:67619921792 data:0x0000000007020001
     kworker/1:4-964     [001] .......    41.729682: rtcpu_vinotify_event: tstamp:2113256944 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:67620008448 data:0x799d550010000000
     kworker/1:4-964     [001] .......    41.729682: rtcpu_vinotify_event: tstamp:2113257185 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:67620018272 data:0x0000000031000002
 vi-output, imx2-1969    [003] .......    44.258657: tegra_channel_capture_setup: vnc_id 0 W 1440 H 1088 fmt c4
 vi-output, imx2-1968    [002] .......    44.258824: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
 vi-output, imx2-1968    [002] .......    44.258838: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
 vi-output, imx2-1968    [002] .......    44.258840: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
 vi-output, imx2-1968    [002] .......    44.258842: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
     kworker/1:4-964     [001] .......    44.305677: rtcpu_vinotify_event: tstamp:2193116451 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:70179590848 data:0x799d580010000000
     kworker/1:4-964     [001] .......    44.305679: rtcpu_vinotify_event: tstamp:2193448692 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:70179620608 data:0x0000000031000001
     kworker/1:4-964     [001] .......    44.305680: rtcpu_vinotify_event: tstamp:2193448918 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:70179625120 data:0x0000000007020001
     kworker/1:4-964     [001] .......    44.305681: rtcpu_vinotify_event: tstamp:2193449163 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:70179727424 data:0x799d550010000000
     kworker/1:4-964     [001] .......    44.305682: rtcpu_vinotify_event: tstamp:2193449379 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:70179737280 data:0x0000000031000002
 vi-output, imx2-1969    [003] .......    46.818873: tegra_channel_capture_setup: vnc_id 0 W 1440 H 1088 fmt c4
 vi-output, imx2-1968    [002] .......    46.819307: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
 vi-output, imx2-1968    [002] .......    46.819322: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
 vi-output, imx2-1968    [002] .......    46.819324: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
 vi-output, imx2-1968    [002] .......    46.819326: vi_task_submit: class_id:48 ch:0 syncpt_id:6 syncpt_thresh:0 pid:1968 tid:1968
     kworker/1:4-964     [001] .......    46.829672: rtcpu_vinotify_event: tstamp:2273164226 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:72740063520 data:0x799d580010000000
     kworker/1:4-964     [001] .......    46.829674: rtcpu_vinotify_event: tstamp:2273164453 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:72740073216 data:0x0000000031000001
     kworker/1:4-964     [001] .......    46.829675: rtcpu_vinotify_event: tstamp:2273164698 cch:0 vi:0 tag:VIFALC_ACTIONLST channel:0x23 frame:0 vi_tstamp:72740077760 data:0x0000000007020001
     kworker/1:4-964     [001] .......    46.829676: rtcpu_vinotify_event: tstamp:2273164912 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:72740172032 data:0x799d550010000000
     kworker/1:4-964     [001] .......    46.829677: rtcpu_vinotify_event: tstamp:2273165153 cch:0 vi:0 tag:VIFALC_TDSTATE channel:0x23 frame:0 vi_tstamp:72740181824 data:0x0000000031000002

hello talagimi63,

according to the tracing logs.
here must be one pair of CHANSEL_PXL_SOF/CHANSEL_PXL_EOF to indicate a frame has detected by VI engine.