AnsweredAssumed Answered

DTS file to Interface camera with MX6SLEVK

Question asked by satya venkata Sandeep on Jan 27, 2015
Latest reply on Jan 27, 2015 by satya venkata Sandeep

Dear Freescale,

 

 

First time I' am doing pin muxing & configuration using the DTS file for linux 3.18 kernel on MX6SLEVK board. I'm trying to interface OV5640 for that we made a custom board with which we can connect to the connector which is provided on the Eval board. Now i wold like to know how to configure the camera in DTS & DTSi files of the linux kernel 3.18 that i mean how to add the node to the device tree as shown in the example.

 

Example:

 

&i2c2 {

    clock-frequency = <100000>;

    pinctrl-names = "default";

    pinctrl-0 = <&pinctrl_i2c2>;

    status = "okay";

 

    codec: wm8962@1a {

        compatible = "wlf,wm8962";

        reg = <0x1a>;

        clocks = <&clks IMX6SL_CLK_EXTERN_AUDIO>;

        DCVDD-supply = <&vgen3_reg>;

        DBVDD-supply = <&reg_aud3v>;

        AVDD-supply = <&vgen3_reg>;

        CPVDD-supply = <&vgen3_reg>;

        MICVDD-supply = <&reg_aud3v>;

        PLLVDD-supply = <&vgen3_reg>;

        SPKVDD1-supply = <&reg_aud4v>;

        SPKVDD2-supply = <&reg_aud4v>;

    };

};

 

 

Thanks & Regards,

Satya.

Attachments

Outcomes