Working to interface two OV5640 MIPI CSI cameras(MINISASTOCSI) to the imx8mqevk board. Per the schematic note, I've routed the I2C lines for the second camera to a separate I2C channel (I2C2). I made the adjustment to the device tree so both cameras are enabled.
If I have only one camera physically connected, both lines work. This confirms that device tree files work correctly with their respective cameras. However, when I have both cameras connected, the system freezes up on attempt to initialize second camera. Can the OV5640 drivers support two cameras?
Below is the message i get before it freezes:
[ 2.125015] i2c /dev entries driver
[ 2.132435] 0-003c supply DOVDD not found, using dummy regulator
[ 2.138514] 0-003c supply DVDD not found, using dummy regulator
[ 2.144480] 0-003c supply AVDD not found, using dummy regulator
[ 2.245928] random: fast init done
[ 3.266017] camera ov5640_mipi is found
[ 3.270015] 1-003c supply DOVDD not found, using dummy regulator
[ 3.276132] 1-003c supply DVDD not found, using dummy regulator
[ 3.282139] 1-003c supply AVDD not found, using dummy regulator
[ 4.418004] camera ov5640_mipi is found
[ 4.422874] mxc-mipi-csi2_yav 30a70000.mipi_csi1: mipi_csi2_probe
[ 4.429062] CSI: Registered sensor subdevice: mxc-mipi-csi2.0
[ 4.434867] mxc-mipi-csi2_yav 30a70000.mipi_csi: Remote device at /mipi_csi1@30a70000/port/endpoint1 XXX found