DTS file to Interface camera with MX6SLEVK

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

DTS file to Interface camera with MX6SLEVK

1,415 Views
satyavenkatasan
Contributor I

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.

Labels (3)
0 Kudos
Reply
3 Replies

1,032 Views
satyavenkatasan
Contributor I

Dear Fabio,

Using this eval board i'm developing the driver for our custom made board so, Can you tell me what and how I Should patch from kernel 3.10 - 3.18 to support the camera in the Kernel because we have WiFi/BT module which it is not supported in the 3.10 Kernel.

Thanks & regards,

Satya.

0 Kudos
Reply

1,032 Views
fabio_estevam
NXP Employee
NXP Employee

Hi Satya,

There is no camera support on 3.18 for mx6sl. You can use FSL 3.10.53 kernel though. There is a cs dts file for this board: arch/arm/boot/dts/imx6sl-evk-csi.dts

linux-2.6-imx.git - Freescale i.MX Linux Tree

Regards,

Fabio Estevam

0 Kudos
Reply

1,032 Views
satyavenkatasan
Contributor I

Dear Fabio,

Using this eval board i'm developing the driver for our custom made board so, Can you tell me what I Should do to add this support in the 3.18 Kernel because we have WiFi/BT module which it is not supported in the 3.10 Kernel.

Thanks & regards,

Satya.

0 Kudos
Reply