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.