AnsweredAssumed Answered

IMX6 camera

Question asked by John Smith on Aug 22, 2016
Latest reply on Aug 22, 2016 by John Smith

Hi!

 

I'd like to connect a camera to my IMX6 based board. For this purpose I use tvp5150 decoder. I added in my device tree files:

&i2c1 {

    clock-frequency = <100000>;

    pinctrl-names = "default";

    pinctrl-0 = <&pinctrl_i2c1_2>;

    status = "okay";

 

videoin: tvp5150@5D {

        compatible = "ti,tvp5150";

        reg = <0x5D>;

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_ipu1_2>;

        clocks = <&clks 201>;

        clock-names = "csi_mclk";

        DOVDD-supply = <&reg_3p3v>;

        AVDD-supply = <&reg_3p3v>;

        DVDD-supply = <&reg_3p3v>;

        PVDD-supply = <&reg_3p3v>;

        mclk = <24000000>;

        mclk_source = <0>;

        ipu_id = <0>;

        csi_id = <0>;

        cvbs = <1>;

 

    };

 

 

v4l2_cap_0 {

        compatible = "fsl,imx6q-v4l2-capture";

        ipu_id = <0>;

        csi_id = <0>;

        mclk_source = <0>;

        status = "okay";

    };

 

I2C communication works fine, but v4l2 driver returns:

In MVC: mxc_v4l_open

ERROR: v4l2 capture: slave not found!

 

Do I need to add anything else to my device tree or kernel configuration?

Outcomes