Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 1 | |
| 2 | /* |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 3 | * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 and |
| 7 | * only version 2 as published by the Free Software Foundation. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | */ |
| 14 | |
| 15 | &cci { |
| 16 | |
Sreesudhan Ramakrish Ramkumar | 3a179a1 | 2013-02-13 17:33:54 -0800 | [diff] [blame] | 17 | actuator0: qcom,actuator@18 { |
| 18 | cell-index = <0>; |
Sreesudhan Ramakrish Ramkumar | 78892ea | 2013-02-21 00:59:37 -0800 | [diff] [blame] | 19 | reg = <0x18>; |
Sreesudhan Ramakrish Ramkumar | 3a179a1 | 2013-02-13 17:33:54 -0800 | [diff] [blame] | 20 | compatible = "qcom,actuator"; |
| 21 | qcom,cci-master = <0>; |
| 22 | }; |
| 23 | |
Jeyaprakash Soundrapandian | f74b8cf | 2013-03-19 16:43:02 -0700 | [diff] [blame] | 24 | actuator1: qcom,actuator@36 { |
| 25 | cell-index = <1>; |
| 26 | reg = <0x36>; |
| 27 | compatible = "qcom,actuator"; |
| 28 | qcom,cci-master = <0>; |
| 29 | }; |
| 30 | |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 31 | qcom,camera@6e { |
| 32 | compatible = "qcom,s5k3l1yx"; |
Sreesudhan Ramakrish Ramkumar | 78892ea | 2013-02-21 00:59:37 -0800 | [diff] [blame] | 33 | reg = <0x6e>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 34 | qcom,slave-id = <0x6e 0x0 0x3121>; |
| 35 | qcom,csiphy-sd-index = <0>; |
| 36 | qcom,csid-sd-index = <0>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 37 | qcom,mount-angle = <0>; |
| 38 | qcom,sensor-name = "s5k3l1yx"; |
| 39 | cam_vdig-supply = <&pm8941_l3>; |
| 40 | cam_vana-supply = <&pm8941_l17>; |
Jeyaprakash Soundrapandian | f74b8cf | 2013-03-19 16:43:02 -0700 | [diff] [blame] | 41 | cam_vio-supply = <&pm8941_lvs2>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 42 | cam_vaf-supply = <&pm8941_l23>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 43 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 44 | "cam_vaf"; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 45 | qcom,cam-vreg-type = <0 1 0 0>; |
| 46 | qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; |
| 47 | qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; |
| 48 | qcom,cam-vreg-op-mode = <105000 0 80000 100000>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 49 | qcom,gpio-no-mux = <0>; |
| 50 | gpios = <&msmgpio 15 0>, |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 51 | <&msmgpio 90 0>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 52 | qcom,gpio-reset = <1>; |
| 53 | qcom,gpio-req-tbl-num = <0 1>; |
| 54 | qcom,gpio-req-tbl-flags = <1 0>; |
| 55 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 56 | "CAM_RESET1"; |
| 57 | qcom,gpio-set-tbl-num = <1 1>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 58 | qcom,gpio-set-tbl-flags = <0 2>; |
| 59 | qcom,gpio-set-tbl-delay = <1000 30000>; |
| 60 | qcom,csi-lane-assign = <0x4320>; |
| 61 | qcom,csi-lane-mask = <0x1F>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 62 | qcom,sensor-position = <0>; |
| 63 | qcom,sensor-mode = <1>; |
Sreesudhan Ramakrish Ramkumar | 9f3aa30 | 2013-01-23 14:50:58 -0800 | [diff] [blame] | 64 | qcom,cci-master = <0>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 65 | status = "ok"; |
| 66 | }; |
| 67 | |
Jeyaprakash Soundrapandian | f74b8cf | 2013-03-19 16:43:02 -0700 | [diff] [blame] | 68 | qcom,camera@20 { |
| 69 | compatible = "qcom,imx135"; |
| 70 | reg = <0x20>; |
| 71 | qcom,slave-id = <0x20 0x0016 0x0135>; |
| 72 | qcom,csiphy-sd-index = <0>; |
| 73 | qcom,csid-sd-index = <0>; |
| 74 | qcom,mount-angle = <0>; |
| 75 | qcom,sensor-name = "imx135"; |
| 76 | qcom,actuator-src = <&actuator1>; |
| 77 | cam_vdig-supply = <&pm8941_l3>; |
| 78 | cam_vana-supply = <&pm8941_l17>; |
| 79 | cam_vio-supply = <&pm8941_lvs2>; |
| 80 | cam_vaf-supply = <&pm8941_l23>; |
| 81 | qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana", |
| 82 | "cam_vaf"; |
| 83 | qcom,cam-vreg-type = <0 1 0 0>; |
| 84 | qcom,cam-vreg-min-voltage = <1225000 0 2850000 3000000>; |
| 85 | qcom,cam-vreg-max-voltage = <1225000 0 2850000 3000000>; |
| 86 | qcom,cam-vreg-op-mode = <105000 0 80000 100000>; |
| 87 | qcom,gpio-no-mux = <0>; |
| 88 | gpios = <&msmgpio 15 0>, |
| 89 | <&msmgpio 90 0>; |
| 90 | qcom,gpio-reset = <1>; |
| 91 | qcom,gpio-req-tbl-num = <0 1>; |
| 92 | qcom,gpio-req-tbl-flags = <1 0>; |
| 93 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", "CAM_RESET1"; |
| 94 | qcom,gpio-set-tbl-num = <1 1>; |
| 95 | qcom,gpio-set-tbl-flags = <0 2>; |
| 96 | qcom,gpio-set-tbl-delay = <1000 30000>; |
| 97 | qcom,csi-lane-assign = <0x4320>; |
| 98 | qcom,csi-lane-mask = <0x1F>; |
| 99 | qcom,sensor-position = <0>; |
| 100 | qcom,sensor-mode = <0>; |
| 101 | qcom,sensor-type = <0>; |
| 102 | qcom,cci-master = <0>; |
| 103 | status = "ok"; |
| 104 | }; |
| 105 | |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 106 | qcom,camera@6c { |
| 107 | compatible = "qcom,ov2720"; |
Sreesudhan Ramakrish Ramkumar | 78892ea | 2013-02-21 00:59:37 -0800 | [diff] [blame] | 108 | reg = <0x6c>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 109 | qcom,slave-id = <0x6c 0x300A 0x2720>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 110 | qcom,csiphy-sd-index = <2>; |
| 111 | qcom,csid-sd-index = <0>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 112 | qcom,mount-angle = <180>; |
| 113 | qcom,sensor-name = "ov2720"; |
| 114 | cam_vdig-supply = <&pm8941_l3>; |
| 115 | cam_vana-supply = <&pm8941_l17>; |
Jeyaprakash Soundrapandian | f74b8cf | 2013-03-19 16:43:02 -0700 | [diff] [blame] | 116 | cam_vio-supply = <&pm8941_lvs2>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 117 | qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; |
| 118 | qcom,cam-vreg-type = <0 0 1>; |
| 119 | qcom,cam-vreg-min-voltage = <1225000 2850000 0>; |
| 120 | qcom,cam-vreg-max-voltage = <1225000 2850000 0>; |
| 121 | qcom,cam-vreg-op-mode = <105000 80000 0>; |
| 122 | qcom,gpio-no-mux = <0>; |
| 123 | gpios = <&msmgpio 17 0>, |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 124 | <&msmgpio 18 0>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 125 | qcom,gpio-reset = <1>; |
| 126 | qcom,gpio-req-tbl-num = <0 1>; |
| 127 | qcom,gpio-req-tbl-flags = <1 0>; |
| 128 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 129 | "CAM_RESET1"; |
| 130 | qcom,gpio-set-tbl-num = <1 1>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 131 | qcom,gpio-set-tbl-flags = <0 2>; |
| 132 | qcom,gpio-set-tbl-delay = <1000 4000>; |
| 133 | qcom,csi-lane-assign = <0x4320>; |
| 134 | qcom,csi-lane-mask = <0x7>; |
Shuzhen Wang | 7733799 | 2013-01-08 15:46:09 -0800 | [diff] [blame] | 135 | qcom,sensor-position = <1>; |
| 136 | qcom,sensor-mode = <1>; |
Sreesudhan Ramakrish Ramkumar | 9f3aa30 | 2013-01-23 14:50:58 -0800 | [diff] [blame] | 137 | qcom,cci-master = <0>; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 138 | status = "ok"; |
| 139 | }; |
Sreesudhan Ramakrish Ramkumar | 3a179a1 | 2013-02-13 17:33:54 -0800 | [diff] [blame] | 140 | |
| 141 | qcom,camera@90 { |
| 142 | compatible = "qcom,mt9m114"; |
Sreesudhan Ramakrish Ramkumar | 78892ea | 2013-02-21 00:59:37 -0800 | [diff] [blame] | 143 | reg = <0x90>; |
Sreesudhan Ramakrish Ramkumar | 3a179a1 | 2013-02-13 17:33:54 -0800 | [diff] [blame] | 144 | qcom,slave-id = <0x90 0x0 0x2481>; |
| 145 | qcom,csiphy-sd-index = <1>; |
| 146 | qcom,csid-sd-index = <0>; |
| 147 | qcom,mount-angle = <0>; |
| 148 | qcom,sensor-name = "mt9m114"; |
| 149 | cam_vdig-supply = <&pm8941_l3>; |
| 150 | cam_vana-supply = <&pm8941_l17>; |
Jeyaprakash Soundrapandian | f74b8cf | 2013-03-19 16:43:02 -0700 | [diff] [blame] | 151 | cam_vio-supply = <&pm8941_lvs2>; |
Sreesudhan Ramakrish Ramkumar | 3a179a1 | 2013-02-13 17:33:54 -0800 | [diff] [blame] | 152 | qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; |
| 153 | qcom,cam-vreg-type = <0 0 1>; |
| 154 | qcom,cam-vreg-min-voltage = <1225000 2850000 0>; |
| 155 | qcom,cam-vreg-max-voltage = <1225000 2850000 0>; |
| 156 | qcom,cam-vreg-op-mode = <105000 80000 0>; |
| 157 | qcom,gpio-no-mux = <0>; |
| 158 | gpios = <&msmgpio 16 0>, |
| 159 | <&msmgpio 92 0>; |
| 160 | qcom,gpio-reset = <1>; |
| 161 | qcom,gpio-req-tbl-num = <0 1>; |
| 162 | qcom,gpio-req-tbl-flags = <1 0>; |
| 163 | qcom,gpio-req-tbl-label = "CAMIF_MCLK", |
| 164 | "CAM_RESET1"; |
| 165 | qcom,gpio-set-tbl-num = <1 1>; |
| 166 | qcom,gpio-set-tbl-flags = <0 2>; |
| 167 | qcom,gpio-set-tbl-delay = <1000 4000>; |
| 168 | qcom,csi-lane-assign = <0x4320>; |
| 169 | qcom,csi-lane-mask = <0x3>; |
| 170 | qcom,sensor-position = <1>; |
| 171 | qcom,sensor-mode = <1>; |
| 172 | qcom,cci-master = <0>; |
| 173 | }; |
Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame] | 174 | }; |