Device Driver Mipi Csi-2 Camera Error Code 1-001a?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Device Driver Mipi Csi-2 Camera Error Code 1-001a?

879 Views
mustafabakircio
Contributor IV

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 = <&reg_1p8v>;     AVDD = <&reg_2p9v>;     DVDD = <&reg_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.

0 Kudos
2 Replies

496 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

496 Views
mustafabakircio
Contributor IV

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 . 

0 Kudos