blob: 51c6712add3b9e521df0dbddbad3aac7d34eee61 [file] [log] [blame]
Sreesudhan Ramakrish Ramkumar8ee6b7d2013-02-11 17:20:39 -08001/*
2 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14&cci {
15
16 qcom,camera@6e {
17 compatible = "qcom,s5k3l1yx";
18 reg = <0x6e>;
19 qcom,slave-id = <0x6e 0x0 0x3121>;
20 qcom,csiphy-sd-index = <0>;
21 qcom,csid-sd-index = <0>;
22 qcom,flash-src-index = <&led_flash0>;
23 qcom,actuator-src = <&actuator0>;
24 qcom,mount-angle = <270>;
25 qcom,sensor-name = "s5k3l1yx";
26 cam_vdig-supply = <&pm8941_l3>;
27 cam_vana-supply = <&pm8941_l17>;
28 cam_vio-supply = <&pm8941_lvs3>;
29 cam_vaf-supply = <&pm8941_l23>;
30 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
31 "cam_vaf";
32 qcom,cam-vreg-type = <0 1 0 0>;
33 qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>;
34 qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>;
35 qcom,cam-vreg-op-mode = <105000 0 80000 100000>;
36 qcom,gpio-no-mux = <0>;
37 gpios = <&msmgpio 15 0>,
38 <&msmgpio 90 0>;
39 qcom,gpio-reset = <1>;
40 qcom,gpio-req-tbl-num = <0 1>;
41 qcom,gpio-req-tbl-flags = <1 0>;
42 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
43 "CAM_RESET1";
44 qcom,gpio-set-tbl-num = <1 1>;
45 qcom,gpio-set-tbl-flags = <0 2>;
46 qcom,gpio-set-tbl-delay = <1000 30000>;
47 qcom,csi-lane-assign = <0x4320>;
48 qcom,csi-lane-mask = <0x1F>;
49 qcom,sensor-position = <0>;
50 qcom,sensor-mode = <1>;
51 qcom,cci-master = <0>;
52 status = "ok";
53 };
54
55 qcom,camera@6c {
56 compatible = "qcom,ov2720";
57 reg = <0x6c>;
58 qcom,slave-id = <0x6c 0x300A 0x2720>;
59 qcom,led-flash-sd-index = <0>;
60 qcom,csiphy-sd-index = <2>;
61 qcom,csid-sd-index = <0>;
62 qcom,mount-angle = <90>;
63 qcom,sensor-name = "ov2720";
64 cam_vdig-supply = <&pm8941_l3>;
65 cam_vana-supply = <&pm8941_l17>;
66 cam_vio-supply = <&pm8941_lvs3>;
67 qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio";
68 qcom,cam-vreg-type = <0 0 1>;
69 qcom,cam-vreg-min-voltage = <1225000 2850000 0>;
70 qcom,cam-vreg-max-voltage = <1225000 2850000 0>;
71 qcom,cam-vreg-op-mode = <105000 80000 0>;
72 qcom,gpio-no-mux = <0>;
73 gpios = <&msmgpio 17 0>,
74 <&msmgpio 18 0>;
75 qcom,gpio-reset = <1>;
76 qcom,gpio-req-tbl-num = <0 1>;
77 qcom,gpio-req-tbl-flags = <1 0>;
78 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
79 "CAM_RESET1";
80 qcom,gpio-set-tbl-num = <1 1>;
81 qcom,gpio-set-tbl-flags = <0 2>;
82 qcom,gpio-set-tbl-delay = <1000 4000>;
83 qcom,csi-lane-assign = <0x4320>;
84 qcom,csi-lane-mask = <0x7>;
85 qcom,sensor-position = <1>;
86 qcom,sensor-mode = <1>;
87 qcom,cci-master = <1>;
88 status = "ok";
89 };
90};