I have compile my camera driver and try to test it from my target board i.MX6Q I am facing with
probe of 1-001a failed with error -16
camera_name: camera_name@1a { compatible = "camera,camera_name"; reg = <0x1a>; inck-name = "mclk"; xvs-output-len = <8>; xclr-gpio = <&gpio1 6 1 GPIO_ACTIVE_LOW>; pwn-gpios = <&gpio1 6 1>; clock-names = "csi_mclk"; DOVDD = <®_1p8v>; AVDD = <®_2p9v>; DVDD = <®_1p2v>; rst-gpios = <&gpio1 6 1>; /* xclr */ ipu_id = <0>; csi_id = <0>; mclk = <37125000>; mclk_source = <0>; lanes = <4>; };
But I couldnt understand what this error is saying and I couldnt find any information about it ? Do you have any suggestion ? .I would be very appreciated .
Thanks so much .
Best Regards.
Hi Mustafa
one can try to debug it using Chapter 20 MIPI CSI2 Driver attached Linux Manual and
AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors
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!
-----------------------------------------------------------------------------------------------------------------------
Thanks @igorpadykov the error massage meanings are simply is mentioned at errno-base.h in the system. After look at this I write pr_info(); function to the device driver to figure out at which part I have faced with the problem .