How to dynamic change lane number of mipi rx?

I used a mipi pattern generator (Introspect SV3C) to test the mipi rx function of the Jetson AGX Orin.

Using v4l2cuda (nvidia sample code) to capture image, and pattern generator use vertical colorbar as image pattern for testing.

Jetpack version:

cat /etc/nv_tegra_release
# R35 (release), REVISION: 3.1, GCID: 32827747, BOARD: t186ref, EABI: aarch64, DATE: Sun Mar 19 15:19:21 UTC 2023

I need dynamic change resolution, raw format and lane number, so I am try change mode to do.

In device tree, I set three mode:
mode 0 = 4640 * 3488, raw 10 (GB10), 4 lane
mode 1 = 2320 * 1744, raw 12 (GB12), 4 lane
mode 2 = 3864 * 2192, raw 10 (GB10), 2 lane

For mode 0 change to mode 1 , I can success dynamic change resolution and raw format.

For mode 0 change to mode 2 , I can success dynamic change resolution, but lane number is fail.

How to dynamic change lane number of mipi rx? Thanks.

You need modify the csi5_fops.c and sensor driver for it

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