hello igorpadykov thanks for your reply;
I checked the AN5305 MIPI-CSI2 Peripheral on i.MX6 MPU datasheet and mipi steps but I couldnt find any solution on these documents . I have question about AN5305 document and d-phy status/ clock.
1. Why d-phy csi2 phy state is change and what thats mean ? fisrt I got 0x6f0 then I made simple change on code then I got 0x200 . What is the reason ? and what this status value means?
2. According to the AN5305 document MIPI clock is going from imx6q to mipi camera sensor. I made my calculation and made the mipi_csi2_write(info, 0x00000028, MIPI_CSI2_PHY_TST_CTRL1); like this. According to the document sensor clock and d-phy clock should match. So Did I make my calculation wrong or should I change the mipi clock or other things as seen in image below.
I checked the camera sensor clock it generates 37.125 mhz clock inside but I didnt understand what would it be the reason that I can't the clock rate from mipi csi-2 interface
Thanks.