blob: 948cdf5606e5a1ae8e76e68b28858dd31f178633 [file] [log] [blame]
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -07001/*
Shuzhen Wang77337992013-01-08 15:46:09 -08002 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -07003 *
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 0x0>;
Shuzhen Wang77337992013-01-08 15:46:09 -080019 qcom,slave-id = <0x6e 0x0 0x3121>;
20 qcom,csiphy-sd-index = <0>;
21 qcom,csid-sd-index = <0>;
Sreesudhan Ramakrish Ramkumardee14bc2012-11-14 14:24:19 -080022 qcom,flash-src-index = <&led_flash0>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070023 qcom,mount-angle = <90>;
24 qcom,sensor-name = "s5k3l1yx";
25 cam_vdig-supply = <&pm8941_l3>;
26 cam_vana-supply = <&pm8941_l17>;
27 cam_vio-supply = <&pm8941_lvs3>;
28 cam_vaf-supply = <&pm8941_l23>;
Shuzhen Wang77337992013-01-08 15:46:09 -080029 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070030 "cam_vaf";
Shuzhen Wang77337992013-01-08 15:46:09 -080031 qcom,cam-vreg-type = <0 1 0 0>;
32 qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>;
33 qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>;
34 qcom,cam-vreg-op-mode = <105000 0 80000 100000>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070035 qcom,gpio-no-mux = <0>;
36 gpios = <&msmgpio 15 0>,
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070037 <&msmgpio 90 0>;
Shuzhen Wang77337992013-01-08 15:46:09 -080038 qcom,gpio-reset = <1>;
39 qcom,gpio-req-tbl-num = <0 1>;
40 qcom,gpio-req-tbl-flags = <1 0>;
41 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
42 "CAM_RESET1";
43 qcom,gpio-set-tbl-num = <1 1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070044 qcom,gpio-set-tbl-flags = <0 2>;
45 qcom,gpio-set-tbl-delay = <1000 30000>;
46 qcom,csi-lane-assign = <0x4320>;
47 qcom,csi-lane-mask = <0x1F>;
Shuzhen Wang77337992013-01-08 15:46:09 -080048 qcom,sensor-position = <0>;
49 qcom,sensor-mode = <1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070050 status = "ok";
51 };
52
53 qcom,camera@6c {
54 compatible = "qcom,ov2720";
55 reg = <0x6c 0x0>;
Shuzhen Wang77337992013-01-08 15:46:09 -080056 qcom,slave-id = <0x6c 0x300A 0x2720>;
57 qcom,led-flash-sd-index = <0>;
58 qcom,csiphy-sd-index = <2>;
59 qcom,csid-sd-index = <0>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070060 qcom,mount-angle = <180>;
61 qcom,sensor-name = "ov2720";
62 cam_vdig-supply = <&pm8941_l3>;
63 cam_vana-supply = <&pm8941_l17>;
64 cam_vio-supply = <&pm8941_lvs3>;
65 qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio";
66 qcom,cam-vreg-type = <0 0 1>;
67 qcom,cam-vreg-min-voltage = <1225000 2850000 0>;
68 qcom,cam-vreg-max-voltage = <1225000 2850000 0>;
69 qcom,cam-vreg-op-mode = <105000 80000 0>;
70 qcom,gpio-no-mux = <0>;
71 gpios = <&msmgpio 17 0>,
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070072 <&msmgpio 18 0>;
Shuzhen Wang77337992013-01-08 15:46:09 -080073 qcom,gpio-reset = <1>;
74 qcom,gpio-req-tbl-num = <0 1>;
75 qcom,gpio-req-tbl-flags = <1 0>;
76 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
77 "CAM_RESET1";
78 qcom,gpio-set-tbl-num = <1 1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070079 qcom,gpio-set-tbl-flags = <0 2>;
80 qcom,gpio-set-tbl-delay = <1000 4000>;
81 qcom,csi-lane-assign = <0x4320>;
82 qcom,csi-lane-mask = <0x7>;
Shuzhen Wang77337992013-01-08 15:46:09 -080083 qcom,sensor-position = <1>;
84 qcom,sensor-mode = <1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070085 status = "ok";
86 };
87};