4 lane MIPI CSI camera using CSI0 and CSI1 2 lane CSI

Hello team,

I have to interface 4 lane camera modules with Jetson Orin NX. In my custom carrier board we have two camera connector as cam0 (CSI 0 + CSI 1 ) and cam1 (CSI 2 + CSI 3 ) 4 lane CSI.

I am able to get camera streaming with cam0 (CSI0 2 lane CSI) and cam1( 4 lane CSI) camera. when I try to get streaming over cam0 as 4 lane , I am getting only black screen with error as “bwmgr api not supported”.

To support cam0 as 4 lane, I have updated below parameters num_lanes = 4, bus-width = 4, port-index=0 and tegra_sinterface = serial_a.

Can you please help me to solve this issue.

Thanks

hello user75354,

please aware there’s lane polarity, for instance, CSI0 D1 and CSI1 D0 P/N will always been swizzled for P/N.
please use device tree property, lane_polarity to configure a polarity swap on any lane.
you may see-also reference driver for using this property.
i.e. $public_sources/kernel_src/hardware/nvidia/platform/t23x/p3768/kernel-dts/cvb/tegra234-camera-rbpcv2-imx219.dtsi

hi @JerryChang

I have configured lane_polarity to 6, but still facing same issue while camera streaming.

Please find attached snippet of camera streaming.

hello user75354,

let’s narrow down the issue,
please check Applications Using V4L2 IOCTL Directly, please use V4L2 IOCTL to verify basic camera functionality.

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