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

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

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

974 次查看
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 项奖励
2 回复数

591 次查看
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 项奖励

591 次查看
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 项奖励