How to change the CSI lane setting in device tree from 2 to 4?

Hi Guys,
I am trying to use 4-lane MIPI camera in Jetson nano. I try to modify the existing device tree for imx219 to get the 4-lanes setting.

tegra210-camera-rbpcv2-dual-imx219.dtsi (25.6 KB)

Then I compile the device tree and flash it into nano using command:
sudo ./ -r -k DTB jetson-nano-devkit mmcblk0p1

flashing_dtb.log (15.2 KB)

It looks like it succeeded.

After Nano is reboot, I find that :
the num_lanes is 4.

But for the nvcsi and vi, the bus-width has not been changed.
bus-width is the same binary code after the DTB is flashed.

Furthermore, if I use the same 2-lane camara, which works fine before DTB is modifed, it still OK to capture image after DTB is flashed.
If the bus-width is updated correctly, it should not work after DBT is flashed,right?

Could you please give me some hint on this?


Modify the all of the bus-width for the lane configure.

					e3326_vi_in0: endpoint {
28 						port-index = <2>;
29 						bus-width = <2>;
30 						remote-endpoint = <&e3326_csi_out0>;
31 					};

Also check below doc for detail information.

Thanks! After updating :
Linux_for_Tegra/source/public/hardware/nvidia/platform/t210/porg/kernel-dts/porg-plugin-manager/tegra210-porg-plugin-manager.dtsi, the setting took affect.

For jetson nano devkit, it looks like all the device tree settings are placed under:
Linux_for_Tegra/source/public/hardware/nvidia/platform/t210/jetson/kernel-dts is for other platform,
is it correct?

Thanks again!

Yes, but may include some command dts.