Linux version 4.1.15
Machine model: Variscite i.MX6 QUAD VAR-DART Smart Device Board
I added mt9v032 support using menuconfig & added an entry (marked here in bold)
&i2c3 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c3_3>;
status = "okay";
/* DS1307 RTC module */
rtc@0x68 {
compatible = "dallas,ds1307";
reg = <0x68>;
};
mt9v032@5c {
compatible = "aptina,mt9v032";
reg = <0x5c>;
port {
mt9v032_out: endpoint {
link-frequencies = /bits/ 64
<13000000 26600000 27000000>;
};
};
};
};
to the .dtsi file. On boot I get:
[ 1.440565] mt9v032: probe of 2-005c failed with error -2
What does this message mean? The I2C hardware works. I can use i2cdetect to prove it - 0x56 is detected & I can see it on the scope (response is 0x13 - check it out in the datasheet).
The scope says that 0x5c is not being probed during boot (0x68 is). Why not?
Hi Richard
one can try to debug it in probe function with oscilloscope
[RFC,media] mt9v032: Add support for mt9v022 and mt9v024 - Patchwork
using AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors
http://www.nxp.com/assets/documents/data/en/application-notes/AN4553.pdf
also seems phytec has support for this sensor:
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------