blob: a87309120f14be6ee19e20cb8071deb555db280b [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";
Sreesudhan Ramakrish Ramkumara886a7b2013-01-30 13:07:47 -080018 reg = <0x6e>;
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 Ramkumar9f3aa302013-01-23 14:50:58 -080051 qcom,cci-master = <0>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070052 status = "ok";
53 };
54
55 qcom,camera@6c {
56 compatible = "qcom,ov2720";
Sreesudhan Ramakrish Ramkumara886a7b2013-01-30 13:07:47 -080057 reg = <0x6c>;
Shuzhen Wang77337992013-01-08 15:46:09 -080058 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>;
Sreesudhan Ramakrish Ramkumar5fcda2b2013-01-31 23:03:38 -080062 qcom,mount-angle = <90>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070063 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>,
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070074 <&msmgpio 18 0>;
Shuzhen Wang77337992013-01-08 15:46:09 -080075 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>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070081 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>;
Shuzhen Wang77337992013-01-08 15:46:09 -080085 qcom,sensor-position = <1>;
86 qcom,sensor-mode = <1>;
Sreesudhan Ramakrish Ramkumar9f3aa302013-01-23 14:50:58 -080087 qcom,cci-master = <1>;
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -070088 status = "ok";
89 };
90};