]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: DT: tegra: update bowmore camera device tree
authorCharlie Huang <chahuang@nvidia.com>
Tue, 29 Apr 2014 23:11:28 +0000 (16:11 -0700)
committerMandar Padmawar <mpadmawar@nvidia.com>
Fri, 2 May 2014 11:37:37 +0000 (04:37 -0700)
add a new module which is the same as E1793 but missing the led device
also remove the ov7695 sensor which will not be used on bowmore.

bug 1508081

Change-Id: I2ffb06c4bc48cfd0ef823595a21a7bf772f45d2b
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/403198
(cherry picked from commit 4f4a154e78507dc2f337c73469d9605a40c41f67)
Reviewed-on: http://git-master/r/403935
Reviewed-by: Frank Chen <frankc@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
arch/arm64/boot/dts/tegra132-platforms/tegra132-bowmore-camera-a00.dtsi

index 8fa23ec20adc24e50ea31b250ceb7f58066f3d5b..db7e59a0e527d0a080dbe5bac17c3ac11f85f845 100644 (file)
@@ -8,7 +8,7 @@
                modules {
                        module1: module1@modules {
                                compatible = "sensor,rear";
-                               badge_info = "e1793_rear_camera";
+                               badge_info = "e1806_rear_camera";
 
                                sensor {
                                        profile = <&ov5693_1>;
@@ -25,7 +25,7 @@
                        };
                        module2: module2@modules {
                                compatible = "sensor,front";
-                               badge_info = "e1793_front_camera";
+                               badge_info = "e1933_front_camera";
 
                                sensor {
                                        profile = <&mt9m114_1>;
                                };
                        };
                        module5: module5@modules {
-                               compatible = "sensor,front";
-                               badge_info = "loki_front_camera_brd";
+                               compatible = "sensor,rear";
+                               badge_info = "e1933_rear_camera";
 
                                sensor {
-                                       profile = <&ov7695_1>;
-                                       platformdata = "ardbeg_ov7695_pdata";
+                                       profile = <&ov5693_1>;
+                                       platformdata = "ardbeg_ov5693_pdata";
+                               };
+                               focuser {
+                                       profile = <&ad5823_1>;
+                                       platformdata = "ardbeg_ad5823_pdata";
                                };
                        };
                };
                                        CAMERA_END
                                        >;
                        };
-                       ov7695_1: ov7695@2_0021 {
-                               index = <7>;
-                               chipname = "pcl_OV7695";
-                               type = "sensor";
-                               guid = "s_OV7695";
-                               position = <1>;
-                               bustype = "i2c";
-                               busnum = <2>;
-                               addr = <0x21>;
-                               datalen = <2>;
-                               pinmuxgrp = <0xFFFF>;
-                               gpios = <3>;
-                               regulators = "vana", "vif2";
-                               clocks = "mclk2";
-                               drivername = "ov7695";
-                               detect = <0x0002 0x300A 0xFFFF 0x7695>;
-                               devid = <0x7695>;
-                               poweron = <
-                                       CAMERA_IND_CLK_SET(10000)
-                                       CAMERA_GPIO_CLR(222)
-                                       CAMERA_REGULATOR_ON(0)
-                                       CAMERA_REGULATOR_ON(1)
-                                       CAMERA_WAITMS(40)
-                                       CAMERA_GPIO_SET(222)
-                                       CAMERA_WAITMS(10)
-                                       CAMERA_END
-                                       >;
-                               poweroff = <
-                                       CAMERA_IND_CLK_CLR
-                                       CAMERA_GPIO_CLR(222)
-                                       CAMERA_WAITUS(10)
-                                       CAMERA_REGULATOR_OFF(1)
-                                       CAMERA_REGULATOR_OFF(0)
-                                       CAMERA_END
-                                       >;
-                       };
                        dw9718_1: dw9718@2_000c {
                                index = <8>;
                                chipname = "pcl_DW9718";