blob: b462ae08971ef30255d7c1c1958c46497b4f5b9d [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 Ramkumard719ef72013-01-29 18:22:22 -080023 qcom,actuator-src = <&actuator0>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070024 qcom,mount-angle = <90>;
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>;
Shuzhen Wang77337992013-01-08 15:46:09 -080030 qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana",
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070031 "cam_vaf";
Shuzhen Wang77337992013-01-08 15:46:09 -080032 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>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070036 qcom,gpio-no-mux = <0>;
37 gpios = <&msmgpio 15 0>,
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070038 <&msmgpio 90 0>;
Shuzhen Wang77337992013-01-08 15:46:09 -080039 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>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070045 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>;
Shuzhen Wang77337992013-01-08 15:46:09 -080049 qcom,sensor-position = <0>;
50 qcom,sensor-mode = <1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070051 status = "ok";
52 };
53
54 qcom,camera@6c {
55 compatible = "qcom,ov2720";
56 reg = <0x6c 0x0>;
Shuzhen Wang77337992013-01-08 15:46:09 -080057 qcom,slave-id = <0x6c 0x300A 0x2720>;
58 qcom,led-flash-sd-index = <0>;
59 qcom,csiphy-sd-index = <2>;
60 qcom,csid-sd-index = <0>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070061 qcom,mount-angle = <180>;
62 qcom,sensor-name = "ov2720";
63 cam_vdig-supply = <&pm8941_l3>;
64 cam_vana-supply = <&pm8941_l17>;
65 cam_vio-supply = <&pm8941_lvs3>;
66 qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio";
67 qcom,cam-vreg-type = <0 0 1>;
68 qcom,cam-vreg-min-voltage = <1225000 2850000 0>;
69 qcom,cam-vreg-max-voltage = <1225000 2850000 0>;
70 qcom,cam-vreg-op-mode = <105000 80000 0>;
71 qcom,gpio-no-mux = <0>;
72 gpios = <&msmgpio 17 0>,
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070073 <&msmgpio 18 0>;
Shuzhen Wang77337992013-01-08 15:46:09 -080074 qcom,gpio-reset = <1>;
75 qcom,gpio-req-tbl-num = <0 1>;
76 qcom,gpio-req-tbl-flags = <1 0>;
77 qcom,gpio-req-tbl-label = "CAMIF_MCLK",
78 "CAM_RESET1";
79 qcom,gpio-set-tbl-num = <1 1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070080 qcom,gpio-set-tbl-flags = <0 2>;
81 qcom,gpio-set-tbl-delay = <1000 4000>;
82 qcom,csi-lane-assign = <0x4320>;
83 qcom,csi-lane-mask = <0x7>;
Shuzhen Wang77337992013-01-08 15:46:09 -080084 qcom,sensor-position = <1>;
85 qcom,sensor-mode = <1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070086 status = "ok";
87 };
88};