OV5640 mipi driver probe fail [Urgent]

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

OV5640 mipi driver probe fail [Urgent]

1,885 次查看
anjojohn
Contributor IV

Hi All

i am doing a bringup of ov5640-mipi camera with imx6dualite in custom board. The ov5640 driver probe fail to read the chip id. By using MSO found that the driver is not doing any activity in i2c-0 lines. both SDA and SCL are in high state. But the i2cdetect works and it gave me an device id of 0x44, Which is odd since the ov5640 address is 0x3c.

Could anyone help me why i2cdetect is able to drive the i2c line and ov5640-mipi driver can't. I can't doubt pin-muxing in dtb since i2cdetect is working.

Any help is appreciated

OV5640 is connected to i2c-0 alone, no other devices are connected.

标签 (4)
0 项奖励
回复
2 回复数

1,342 次查看
igorpadykov
NXP Employee
NXP Employee

Hi anjo

this may be debugged using Chapter 19 OmniVision Camera Driver

attached Linux Manual and AN4553 Using Open Source Debugging Tools for Linux on i.MX.

http://www.nxp.com/assets/documents/data/en/application-notes/AN4553.pdf 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,342 次查看
anjojohn
Contributor IV

Sorry for late reply. issue was due to hardware power-up sequence mismatch. hardware rework fixed the issue

0 项奖励
回复