AnsweredAssumed Answered

How to configure camera related gpio's in dts file

Question asked by Bandaru Lavanya on Jul 4, 2016
Latest reply on Jul 18, 2016 by Bandaru Lavanya

Hi All,

I am using my custom board which is similar to sabresd board in want to configure the below given gpio's in dts file if any one knows can you please help me.

NOTE: kernel version is 3.14

(1,12) -- pwn-gpio (output high)

(1,13) -- rst-gpio (output high)

(1,7) -- camera enable (it should be "output high" )


I given like this


ov1062x: ov1062x@30 {

                compatible = "ovti,ov1062x";

                reg = <0x30>;

                pinctrl-names = "default";

                pinctrl-0 = <&pinctrl_ipu1_2>;

                clocks = <&clks IMX6QDL_CLK_CKO>;

                clock-names = "csi_mclk";

                DOVDD-supply = <&vgen4_reg>; /* 1.8v */

                AVDD-supply = <&vgen3_reg>;  /* 2.8v, on rev C board is VGEN3,

                                             /*   on rev B board is VGEN5 */

                DVDD-supply = <&vgen2_reg>;  /* 1.5v*/

                pwn-gpios = <&gpio1 12 1>; 

                rst-gpios = <&gpio1 13 1>; 

                enable-gpios = <&gpio1 7 1>;

                csi_id = <0>;

                mclk = <24000000>;

                mclk_source = <0>;



In other place where and all i need to give to work  my camera properly.

And one more issue i am facing, whenever i am inserting mxc_v4l2_capture.ko it is giving

ERROR:V4l2 Slave not found!

But i inserted my driver before inserting mxc_v4l2_capture.ko


Can any one please hep me to sort it out , Thanks in advance.


Thanks & Regards,