Is it possible to set different num_lanes in different mode of camera sensor

Hello, Dear Nvidia Support Team

My HDMI-IN chip support different resolutions, for 1920x1080, it use 4 lans of csi, for 1280x720, it use 2 lans. Is that ok for me to set bus-width = <4> in dts about nvcsi port and vi port, and then use 4 lans or only 2 lans of them? Currently, i use mode0 (1920x1080) with num_lans = 4, i can get image correctly, if i use mode0(1280x720) with num_lans = 2, i cannot get image, and get the following error.

[ 49.898235] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 1
[ 49.914891] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 2
[ 49.931579] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 3
[ 49.948238] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 4
[ 49.964892] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 5
[ 49.981579] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 6
[ 49.998296] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 7
[ 50.014910] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 8
[ 50.031664] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 9
[ 50.048333] vi 54080000.vi: tegra_channel_error_status:error 4000 frame 10

Is that means if i set bus-width=4, i cannot set only 2 to num_lans?
I found all of the examples of dts all use same num_lans value in different mode.

Thanks.

yes, you should use the identical settings.

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