Sensor drivers for dual-port Jetson Nano


We have several sensor drivers running on Jetson Nano DevKit A02 (single camera port). How can we make the drivers work on the dual-port Nano Devkit ? Two cameras simultaneously plugged into Nano with devices video0 and video1 ?

Our drivers use modified device tree file tegra210-porg-p3448-common.dtsi, where the following lines are commented:

//  #include "porg-platforms/tegra210-porg-camera-rbpcv2-imx219.dtsi"
//  #include "porg-platforms/tegra210-porg-camera-rbpcv2-dual-imx219.dtsi"
//  #include "porg-plugin-manager/tegra210-porg-plugin-manager.dtsi"

and we include dtsi files for our sensors.

A sensor plugged into the 1st port works OK.
We tested sensors plugged into the 2nd port and i2cdetect does not detect
sensor registers on I2C buses 0-6.


You may need to check the power down pin and reset pin were in correct status.

Besides the sw work, the hw connection should follow the guide. You can refer to the ref schematic of carrier board in DLC first :