AnsweredAssumed Answered

Enable 4 Lane MIPI Camera fail

Question asked by JIMMY CHEN on Oct 5, 2018
Latest reply on Oct 8, 2018 by JIMMY CHEN

Hi Sir,

In SabreSD board, ov5640_mipi have 2 lane and connected to MIPI CSI port.

In Customer board and test a custom mipi camera with two modes:

1. 1280x720@30fps 2lanes

2. 1920x1080@30fps 4lanes

Customer setting MIPI DPHY clock to match camera sensor clock.


Customer set lane=4 can get below log:

mipi csi2 can not reveive data correctly!


According the AN5305 doc, setting the MIPI DPHY clock (CSI2_PHY_TST_CTRL1)


ex: https://community.nxp.com/thread/307065#328301


- mipi_csi2_write(info, 0x00000014, CSI2_PHY_TST_CTRL1);
+ mipi_csi2_write(info, 0x00000008, CSI2_PHY_TST_CTRL1);


dtsi:

&mipi_csi {
status = "okay";
ipu_id = <0>;
csi_id = <1>;
v_channel = <0>;
lanes = <2>; -> change to 4
};

 

Do you have any ideas about this? Thank you very Much.

Outcomes