-
Notifications
You must be signed in to change notification settings - Fork 0
/
agenda-camera-sensor.dtsi
executable file
·301 lines (289 loc) · 8.93 KB
/
agenda-camera-sensor.dtsi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
#include <dt-bindings/clock/qcom,camcc-waipio.h>
#include <dt-bindings/msm-camera.h>
&soc {
led_flash_triple_rear: qcom,camera-flash@1 {
cell-index = <1>;
compatible = "qcom,camera-flash";
flash-source = <&pm8350c_flash0 &pm8350c_flash1>;
torch-source = <&pm8350c_torch0 &pm8350c_torch1>;
switch-source = <&pm8350c_switch2>;
status = "ok";
};
led_flash_triple_rear_aux2: qcom,camera-flash@2 {
cell-index = <2>;
compatible = "qcom,camera-flash";
flash-source = <&pm8350c_flash0 &pm8350c_flash1>;
torch-source = <&pm8350c_torch0 &pm8350c_torch1>;
switch-source = <&pm8350c_switch2>;
status = "ok";
};
led_flash_triple_rear_aux: qcom,camera-flash@3 {
cell-index = <3>;
compatible = "qcom,camera-flash";
flash-source = <&pm8350c_flash0 &pm8350c_flash1>;
torch-source = <&pm8350c_torch0 &pm8350c_torch1>;
switch-source = <&pm8350c_switch2>;
status = "ok";
};
qcom,cam-res-mgr {
compatible = "qcom,cam-res-mgr";
status = "ok";
};
};
&cam_cci0 {
eeprom_front: qcom,eeprom1 {
cell-index = <1>;
compatible = "qcom,eeprom";
cam_vio-supply = <&L3J>;
cam_vana-supply = <&L3I>;
cam_clk-supply = <&cam_cc_titan_top_gdsc>;
cam_vdig-supply = <&L1J>;
cam_bob-supply = <&BOB>;
regulator-names = "cam_vio", "cam_vana", "cam_clk", "cam_vdig",
"cam_bob";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2800000 0 1104000 3008000>;
rgltr-max-voltage = <1800000 2904000 0 1104000 3960000>;
rgltr-load-current = <10000 14720 0 30000 7070000>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk5_active
&cam_sensor_active_rst5>;
pinctrl-1 = <&cam_sensor_mclk5_suspend
&cam_sensor_suspend_rst5>;
gpios = <&tlmm 105 0>,
<&tlmm 118 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK5",
"CAM_RESET5";
cci-master = <CCI_MASTER_0>;
clocks = <&clock_camcc CAM_CC_MCLK5_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "nominal";
clock-rates = <19200000>;
status = "ok";
};
qcom,cam-sensor1 {
cell-index = <1>;
compatible = "qcom,cam-sensor";
csiphy-sd-index = <5>;
sensor-position-roll = <270>;
sensor-position-pitch = <0>;
sensor-position-yaw = <0>;
eeprom-src = <&eeprom_front>;
cam_vio-supply = <&L3J>;
cam_vana-supply = <&L3I>;
cam_clk-supply = <&cam_cc_titan_top_gdsc>;
cam_vdig-supply = <&L1J>;
cam_bob-supply = <&BOB>;
regulator-names = "cam_vio", "cam_vana", "cam_clk", "cam_vdig",
"cam_bob";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2800000 0 1104000 3008000>;
rgltr-max-voltage = <1800000 2904000 0 1104000 3960000>;
rgltr-load-current = <10000 14720 0 30000 7070000>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk5_active
&cam_sensor_active_rst5>;
pinctrl-1 = <&cam_sensor_mclk5_suspend
&cam_sensor_suspend_rst5>;
gpios = <&tlmm 105 0>,
<&tlmm 118 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK5",
"CAM_RESET5";
cci-master = <CCI_MASTER_0>;
clocks = <&clock_camcc CAM_CC_MCLK5_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "nominal";
clock-rates = <19200000>;
status = "ok";
};
actuator_wide: qcom,actuator0 {
cell-index = <0>;
compatible = "qcom,actuator";
cci-master = <CCI_MASTER_1>;
cam_vaf-supply = <&L7I>;
regulator-names = "cam_vaf";
rgltr-cntrl-support;
rgltr-min-voltage = <2800000>;
rgltr-max-voltage = <2800000>;
rgltr-load-current = <103000>;
status = "ok";
};
eeprom_wide: qcom,eeprom0 {
cell-index = <0>;
compatible = "qcom,eeprom";
cam_vio-supply = <&L3J>;
cam_vana-supply = <&L5J>;
cam_v_custom1-supply = <&L5I>;
cam_vdig-supply = <&L1I>;
cam_vaf-supply = <&L7I>;
cam_clk-supply = <&cam_cc_titan_top_gdsc>;
cam_bob-supply = <&BOB>;
regulator-names = "cam_vio", "cam_vana", "cam_v_custom1",
"cam_vdig", "cam_vaf", "cam_clk", "cam_bob";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2800000 1856000 1104000 2960000 0 3008000>;
rgltr-max-voltage = <1800000 2800000 1856000 1104000 2960000 0 3960000>;
rgltr-load-current = <10000 139300 90100 872000 103000 0 7070000>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk1_active
&cam_sensor_active_rst1>;
pinctrl-1 = <&cam_sensor_mclk1_suspend
&cam_sensor_suspend_rst1>;
gpios = <&tlmm 101 0>,
<&tlmm 24 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK1",
"CAM_RESET1";
cci-master = <CCI_MASTER_1>;
clocks = <&clock_camcc CAM_CC_MCLK1_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "nominal";
clock-rates = <19200000>;
status = "ok";
};
qcom,cam-sensor0 {
cell-index = <0>;
compatible = "qcom,cam-sensor";
csiphy-sd-index = <1>;
sensor-position-roll = <90>;
sensor-position-pitch = <0>;
sensor-position-yaw = <180>;
actuator-src = <&actuator_wide>;
eeprom-src = <&eeprom_wide>;
led-flash-src = <&led_flash_triple_rear>;
cam_vio-supply = <&L3J>;
cam_vana-supply = <&L5J>;
cam_v_custom1-supply = <&L5I>;
cam_vdig-supply = <&L1I>;
cam_vaf-supply = <&L7I>;
cam_clk-supply = <&cam_cc_titan_top_gdsc>;
cam_bob-supply = <&BOB>;
regulator-names = "cam_vio", "cam_vana", "cam_v_custom1",
"cam_vdig", "cam_vaf", "cam_clk", "cam_bob";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2800000 1780000 1104000 2800000 0 3008000>;
rgltr-max-voltage = <1800000 2800000 1780000 1104000 2800000 0 3960000>;
rgltr-load-current = <10000 139300 90100 872000 103000 0 7070000>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk1_active
&cam_sensor_active_rst1>;
pinctrl-1 = <&cam_sensor_mclk1_suspend
&cam_sensor_suspend_rst1>;
gpios = <&tlmm 101 0>,
<&tlmm 24 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK1",
"CAM_RESET1";
cci-master = <CCI_MASTER_1>;
clocks = <&clock_camcc CAM_CC_MCLK1_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "nominal";
clock-rates = <19200000>;
status = "ok";
};
};
&cam_cci1 {
actuator_uw: qcom,actuator2 {
cell-index = <2>;
compatible = "qcom,actuator";
cci-master = <CCI_MASTER_0>;
cam_vaf-supply = <&L6J>;
regulator-names = "cam_vaf";
rgltr-cntrl-support;
rgltr-min-voltage = <2800000>;
rgltr-max-voltage = <2800000>;
rgltr-load-current = <103000>;
status = "ok";
};
eeprom_uw: qcom,eeprom2 {
cell-index = <2>;
compatible = "qcom,eeprom";
cam_vio-supply = <&L3J>;
cam_vana-supply = <&L6I>;
cam_clk-supply = <&cam_cc_titan_top_gdsc>;
cam_vdig-supply = <&L2I>;
cam_vaf-supply = <&L6J>;
cam_bob-supply = <&BOB>;
regulator-names = "cam_vio", "cam_vana", "cam_clk", "cam_vdig",
"cam_vaf", "cam_bob";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2800000 0 1056000 2800000 3008000>;
rgltr-max-voltage = <1800000 2800000 0 1056000 2800000 3960000>;
rgltr-load-current = <10000 14720 0 30000 10000 7070000>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk2_active
&cam_sensor_active_rst2>;
pinctrl-1 = <&cam_sensor_mclk2_suspend
&cam_sensor_suspend_rst2>;
gpios = <&tlmm 102 0>,
<&tlmm 117 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK2",
"CAM_RESET2";
cci-master = <CCI_MASTER_0>;
clocks = <&clock_camcc CAM_CC_MCLK2_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "nominal";
clock-rates = <19200000>;
status = "ok";
};
qcom,cam-sensor2 {
cell-index = <2>;
compatible = "qcom,cam-sensor";
csiphy-sd-index = <2>;
sensor-position-roll = <90>;
sensor-position-pitch = <0>;
sensor-position-yaw = <180>;
eeprom-src = <&eeprom_uw>;
actuator-src = <&actuator_uw>;
led-flash-src = <&led_flash_triple_rear_aux>;
cam_vio-supply = <&L3J>;
cam_vana-supply = <&L6I>;
cam_clk-supply = <&cam_cc_titan_top_gdsc>;
cam_vdig-supply = <&L2I>;
cam_vaf-supply = <&L6J>;
cam_bob-supply = <&BOB>;
regulator-names = "cam_vio", "cam_vana", "cam_clk", "cam_vdig",
"cam_vaf", "cam_bob";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2800000 0 1056000 2800000 3008000>;
rgltr-max-voltage = <1800000 2800000 0 1056000 2800000 3960000>;
rgltr-load-current = <10000 14720 0 30000 10000 7070000>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk2_active
&cam_sensor_active_rst2>;
pinctrl-1 = <&cam_sensor_mclk2_suspend
&cam_sensor_suspend_rst2>;
gpios = <&tlmm 102 0>,
<&tlmm 117 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK2",
"CAM_RESET2";
cci-master = <CCI_MASTER_0>;
clocks = <&clock_camcc CAM_CC_MCLK2_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "nominal";
clock-rates = <19200000>;
status = "ok";
};
};