]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
i2c: Added device tree support for OV10635 sensor
authorArthur Philpott <arthur.philpott@ti.com>
Mon, 9 Sep 2013 22:19:29 +0000 (17:19 -0500)
committerArthur Philpott <arthur.philpott@ti.com>
Tue, 15 Oct 2013 21:55:36 +0000 (16:55 -0500)
-Added device tree support for OV10635 sensor.
-Disabled HDMI because there is a conflict between
 HDMI and VIP muxing on the pc8575.

Change-Id: I8309e3339e7a876a9b9562b0c25d8030812de51d
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
arch/arm/boot/dts/dra7-evm.dts

index 08939fe36f404c88bccd0bb91f42f0492575b1ab..f2266368cc107fd94a0b613b40162d348ca07469 100644 (file)
                AVDD-supply = <&vaudio_3v3>;
                DRVDD-supply = <&vaudio_3v3>;
        };
+
+       ov10635: ov10635@30 {
+               compatible = "omnivision,ov10635";
+               reg = <0x30>;
+       };
 };
 
 &i2c3 {
                spi-cpha;
        };
 };
+
+&vip1 {
+       camera: camera {
+               compatible = "ti,camera";
+
+               gpios = <&pcf_hdmi 2 0>,
+                       <&pcf_hdmi 3 0>,
+                       <&gpio4 13 0>,
+                       <&gpio4 14 0>,
+                       <&gpio4 15 0>,
+                       <&gpio4 16 0>,
+                       <&gpio6 17 0>;
+
+               ovnode = <&i2c2>;
+               sensor = <&ov10635>;
+       };
+};