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.
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