TX1 MIPI CSI can't capture valid data

we have designed a hardware board which use TX1 core board.The sensor is ov5693,2 lanes.But it can’t capture
valid video data from MIPI CSI,and all data are zero.Compare the log with the demo board’s,it print “vi vi:
MW_ACK_DONE syncpoint time out!”.This print come from the driver file “drivers\media\platform\soc_camera
tegra_camera\vi2.c”.
We capture the I2C’s clock and data signal,and sure they work correctly.
Can you help to analyze the reason and give some suggestions?Thanks!

Can you please give more details? Which CSI and I2C are you using? Did you probe the CSI line to check if there are signals?

The problem has resolved.The reason is I using the wrong CSI.Thank you for your reply!

Hi Trumany,
In our hardware board,we used two cameras.The 1st one can capture valid video data.But the 2nd one can’t
work correctly.
For this one,we use CSI_A and I2C_PM(that is GEN3_I2C).In board file,I set
.i2c_adapter_id = 2
In dts file,I set
mclk = “cam_mclk2”
I captured the I2C’s and MIPI’s signal,and found that
MIPI power is OK,
MCLK has no signal,
I2C clock and data have no signal.
I use R23.2.After modprobe tegra_camera,it has device node /dev/video0 and /dev/video1,but prints log as below
[ 125.011148] regmap_util_write_table_8:###########1,addr=0x100,val=0x1,range_start=-1,range_count=0
[ 125.020275] regmap_util_write_table_8:###########1,addr=0x1,val=0x0,range_start=256,range_count=1
[ 125.029372] regmap_util_write_table_8:###########2,addr=0x1,val=0x0,range_start=256,range_count=1
[ 125.038239] regmap_util_write_table_8:regmap_util_write_table:-121
Can you help to analyze the reason and give some suggestions?
I can’t found the type of camera sensor board,and I refer to the E3326.
And does my set of .i2c_adapter_id = 2 is right?Does the value range of i2c_adapter_id is between 0 and 6?
Thank you!

yifei,
Can you have a try with ‘cam_mclk1’?

nVConan,
No.Our hardware board use ‘CAM2_MCLK’(F8) pin,so I use ‘cam_mclk2’.

CAM2_MCLK doesn’t mean cam_mclk2. It’s sourced from extern3.

So we must redesign our hardware board to add a crystal oscillator or to use ‘CAM1_MCLK’(F9) pin.Is it right?

nVConan,
I have tried and solved the problem.
Thank you!

Great! Congratulation.:)