I attaching a 8bit Raw 8mega 2lane 15frame MIPI Camera.
also, i use MIPI CAMERA at same port on SDP board.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
See my Log.
[ ov5640_mipi.c in Kernel ] ov5640_init_mode In, ov5640_mode_INIT
[ ov5640_mipi.c in Kernel ] ov5640_set_virtual_channel In, set_virtual_channel : 1
[ ov5640_mipi.c in Kernel ] 1. >>>>>> mipi_status_reg : 0x200
[ ov5640_mipi.c in Kernel ] 2. >>>>>> mipi_status_reg : 0x200
[ ov5640_mipi.c in Kernel ] 2. >>>>>> mipi_status_reg : 0x200
[ ov5640_mipi.c in Kernel ] 2. >>>>>> mipi_status_reg : 0x200
[ ov5640_mipi.c in Kernel ] 2. >>>>>> mipi_status_reg : 0x200
[ ov5640_mipi.c in Kernel ] 2. >>>>>> mipi_status_reg : 0x200
[ ov5640_mipi.c in Kernel ] 2. >>>>>> mipi_status_reg : 0x200
[ ov5640_mipi.c in Kernel ] 2. >>>>>> mipi_status_reg : 0x200
[ ov5640_mipi.c in Kernel ] 2. >>>>>> mipi_status_reg : 0x200
[ ov5640_mipi.c in Kernel ] 2. >>>>>> mipi_status_reg : 0x200
[ ov5640_mipi.c in Kernel ] 2. >>>>>> mipi_status_reg : 0x200
mipi csi2 can not receive sensor clk!
[ ov5640_mipi.c in Kernel ] ov5640_init_mode In, mode_direct
[ ov5640_mipi.c in Kernel ] ov5640_change_mode_direct In
[ ov5640_mipi.c in Kernel ] ov5640_set_virtual_channel In, set_virtual_channel : 1
[ ov5640_mipi.c in Kernel ] 1. >>>>>> mipi_status_reg : 0x300
[ ov5640_mipi.c in Kernel ] 1. >>>>>> mipi_error_reg : 0
ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0
VIDIOC_DQBUF failed.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
In last month, i attached IR 8/10 bit Raw parallel camera.
At that time, i used Generic Data type.
for this time, i used Generic Data type.
i confirmed CLKM/P, DAT0P/M, DATA1P/M for OSC.
but, i can't received a data.
In Debug steps for customer MIPI sensor,
The range and the exact value when ref_clock is 27M are showed as below:
#define PLL_CLK 0x32 //783Mhz
// clock_range : register value // exact value when ref clock is 27M
// 950-1000MHz :0x74 //999Mhz
// 900-950Mhz :0x54 //972Mhz
// 800-850MHz :0x14 //849Mhz
mipi_csi2_write(info, 0x00000014, CSI2_PHY_TST_CTRL1); // ov5640 output clk.
My camera operate in 24Mhz of Mclk and 648Mhz of PLL_freq.
what's the my setting value? mipi_csi2_write(info, ??????? , CSI2_PHY_TST_CTRL1);