Sreesudhan Ramakrish Ramkumar | 3907461 | 2012-10-11 20:48:51 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2012, 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 0x0>; |
| 19 | qcom,csi-if = <1>; |
| 20 | qcom,csid-core = <0>; |
| 21 | qcom,flash-type = <0>; |
| 22 | qcom,mount-angle = <90>; |
| 23 | qcom,sensor-name = "s5k3l1yx"; |
| 24 | cam_vdig-supply = <&pm8941_l3>; |
| 25 | cam_vana-supply = <&pm8941_l17>; |
| 26 | cam_vio-supply = <&pm8941_lvs3>; |
| 27 | cam_vaf-supply = <&pm8941_l23>; |
| 28 | qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio", |
| 29 | "cam_vaf"; |
| 30 | qcom,cam-vreg-type = <0 0 1 0>; |
| 31 | qcom,cam-vreg-min-voltage = <1225000 2850000 0 3000000>; |
| 32 | qcom,cam-vreg-max-voltage = <1225000 2850000 0 3000000>; |
| 33 | qcom,cam-vreg-op-mode = <105000 80000 0 100000>; |
| 34 | qcom,gpio-no-mux = <0>; |
| 35 | gpios = <&msmgpio 15 0>, |
| 36 | <&msmgpio 19 0>, |
| 37 | <&msmgpio 20 0>, |
| 38 | <&msmgpio 90 0>; |
| 39 | qcom,gpio-common-tbl-num = <0 1 2>; |
| 40 | qcom,gpio-common-tbl-flags = <1 1 1>; |
| 41 | qcom,gpio-common-tbl-label = "CAMIF_MCLK", |
| 42 | "CAMIF_I2C_DATA", |
| 43 | "CAMIF_I2C_CLK"; |
| 44 | qcom,gpio-req-tbl-num = <3>; |
| 45 | qcom,gpio-req-tbl-flags = <0>; |
| 46 | qcom,gpio-req-tbl-label = "CAM_RESET1"; |
| 47 | qcom,gpio-set-tbl-num = <3 3>; |
| 48 | qcom,gpio-set-tbl-flags = <0 2>; |
| 49 | qcom,gpio-set-tbl-delay = <1000 30000>; |
| 50 | qcom,csi-lane-assign = <0x4320>; |
| 51 | qcom,csi-lane-mask = <0x1F>; |
| 52 | qcom,csi-phy-sel = <0>; |
| 53 | qcom,camera-type = <0>; |
| 54 | qcom,sensor-type = <0>; |
| 55 | status = "ok"; |
| 56 | }; |
| 57 | |
| 58 | qcom,camera@6c { |
| 59 | compatible = "qcom,ov2720"; |
| 60 | reg = <0x6c 0x0>; |
| 61 | qcom,csi-if = <1>; |
| 62 | qcom,csid-core = <0>; |
| 63 | qcom,flash-type = <0>; |
| 64 | qcom,mount-angle = <180>; |
| 65 | qcom,sensor-name = "ov2720"; |
| 66 | cam_vdig-supply = <&pm8941_l3>; |
| 67 | cam_vana-supply = <&pm8941_l17>; |
| 68 | cam_vio-supply = <&pm8941_lvs3>; |
| 69 | qcom,cam-vreg-name = "cam_vdig", "cam_vana", "cam_vio"; |
| 70 | qcom,cam-vreg-type = <0 0 1>; |
| 71 | qcom,cam-vreg-min-voltage = <1225000 2850000 0>; |
| 72 | qcom,cam-vreg-max-voltage = <1225000 2850000 0>; |
| 73 | qcom,cam-vreg-op-mode = <105000 80000 0>; |
| 74 | qcom,gpio-no-mux = <0>; |
| 75 | gpios = <&msmgpio 17 0>, |
| 76 | <&msmgpio 19 0>, |
| 77 | <&msmgpio 20 0>, |
| 78 | <&msmgpio 18 0>; |
| 79 | qcom,gpio-common-tbl-num = <0 1 2>; |
| 80 | qcom,gpio-common-tbl-flags = <1 1 1>; |
| 81 | qcom,gpio-common-tbl-label = "CAMIF_MCLK", |
| 82 | "CAMIF_I2C_DATA", |
| 83 | "CAMIF_I2C_CLK"; |
| 84 | qcom,gpio-req-tbl-num = <3>; |
| 85 | qcom,gpio-req-tbl-flags = <0>; |
| 86 | qcom,gpio-req-tbl-label = "CAM_RESET1"; |
| 87 | qcom,gpio-set-tbl-num = <3 3>; |
| 88 | qcom,gpio-set-tbl-flags = <0 2>; |
| 89 | qcom,gpio-set-tbl-delay = <1000 4000>; |
| 90 | qcom,csi-lane-assign = <0x4320>; |
| 91 | qcom,csi-lane-mask = <0x7>; |
| 92 | qcom,csi-phy-sel = <2>; |
| 93 | qcom,camera-type = <1>; |
| 94 | qcom,sensor-type = <0>; |
| 95 | status = "ok"; |
| 96 | }; |
| 97 | }; |