-
Notifications
You must be signed in to change notification settings - Fork 0
/
lahaina-camera-sensor-hdk.dtsi
176 lines (171 loc) · 5.37 KB
/
lahaina-camera-sensor-hdk.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
&cam_cci0 {
/delete-node/ qcom,cam-sensor0;
/delete-node/ qcom,cam-sensor1;
qcom,cam-sensor0 {
cell-index = <5>;
compatible = "qcom,cam-sensor";
csiphy-sd-index = <0>;
sensor-position-roll = <0>;
sensor-position-pitch = <0>;
sensor-position-yaw = <180>;
eeprom-src = <&eeprom_triple_tele>;
actuator-src = <&actuator_triple_tele>;
led-flash-src = <&led_flash_triple_rear_aux>;
cam_vio-supply = <&pm8008j_l3>;
cam_vana-supply = <&pm8008i_l4>;
cam_vdig-supply = <&pm8008i_l2>;
cam_clk-supply = <&cam_cc_titan_top_gdsc>;
cam_bob-supply = <&pm8350c_bob>;
regulator-names = "cam_vio", "cam_vana", "cam_vdig",
"cam_clk", "cam_bob";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2700000 1000000 0 3200000>;
rgltr-max-voltage = <1800000 2900000 1150000 0 3960000>;
rgltr-load-current = <10000 52000 140000 0 2000000>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk0_active
&cam_sensor_active_rst0>;
pinctrl-1 = <&cam_sensor_mclk0_suspend
&cam_sensor_suspend_rst0>;
gpios = <&tlmm 100 0>,
<&tlmm 17 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK0",
"CAM_RESET0";
cci-master = <0>;
status = "ok";
clocks = <&clock_camcc CAM_CC_MCLK0_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "nominal";
clock-rates = <24000000>;
};
qcom,cam-sensor1 {
cell-index = <4>;
compatible = "qcom,cam-sensor";
csiphy-sd-index = <1>;
sensor-position-roll = <0>;
sensor-position-pitch = <0>;
sensor-position-yaw = <180>;
actuator-src = <&actuator_triple_wide>;
eeprom-src = <&eeprom_triple_wide>;
led-flash-src = <&led_flash_triple_rear>;
cam_vio-supply = <&pm8008j_l3>;
cam_vana-supply = <&pm8008i_l3>;
cam_v_custom1-supply = <&pm8008i_l5>;
cam_vdig-supply = <&pm8008i_l1>;
cam_clk-supply = <&cam_cc_titan_top_gdsc>;
cam_bob-supply = <&pm8350c_bob>;
regulator-names = "cam_vio", "cam_vana", "cam_v_custom1",
"cam_vdig","cam_clk", "cam_bob";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2700000 1700000 1050000 0 3200000>;
rgltr-max-voltage = <1800000 3000000 1900000 1200000 0 3960000>;
rgltr-load-current = <5000 68000 74000 805000 0 2000000>;
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 16 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 = <1>;
status = "ok";
clocks = <&clock_camcc CAM_CC_MCLK1_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "nominal";
clock-rates = <24000000>;
};
};
&cam_cci1 {
/delete-node/ qcom,cam-sensor2;
/delete-node/ qcom,cam-sensor5;
qcom,cam-sensor2 {
cell-index = <6>;
compatible = "qcom,cam-sensor";
csiphy-sd-index = <2>;
sensor-position-roll = <0>;
sensor-position-pitch = <0>;
sensor-position-yaw = <180>;
eeprom-src = <&eeprom_triple_uw>;
actuator-src = <&actuator_triple_uw>;
led-flash-src = <&led_flash_triple_rear_aux2>;
cam_vio-supply = <&pm8008j_l3>;
cam_vana-supply = <&pm8008i_l6>;
cam_vdig-supply = <&pm8008i_l2>;
cam_clk-supply = <&cam_cc_titan_top_gdsc>;
cam_bob-supply = <&pm8350c_bob>;
regulator-names = "cam_vio", "cam_vana", "cam_vdig",
"cam_clk", "cam_bob";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2700000 1000000 0 3200000>;
rgltr-max-voltage = <1800000 2900000 1150000 0 3960000>;
rgltr-load-current = <3000 52000 257000 0 2000000>;
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 106 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 = <0>;
status = "ok";
clocks = <&clock_camcc CAM_CC_MCLK2_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "nominal";
clock-rates = <24000000>;
};
qcom,cam-sensor5 {
cell-index = <2>;
compatible = "qcom,cam-sensor";
csiphy-sd-index = <5>;
sensor-position-roll = <0>;
sensor-position-pitch = <0>;
sensor-position-yaw = <0>;
eeprom-src = <&eeprom_front>;
cam_vio-supply = <&pm8008j_l3>;
cam_vana-supply = <&pm8008j_l5>;
cam_vdig-supply = <&pm8008j_l1>;
cam_clk-supply = <&cam_cc_titan_top_gdsc>;
cam_bob-supply = <&pm8350c_bob>;
regulator-names = "cam_vio", "cam_vana", "cam_vdig",
"cam_clk", "cam_bob";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2700000 1000000 0 3200000>;
rgltr-max-voltage = <1800000 2900000 1150000 0 3960000>;
rgltr-load-current = <5000 35000 301000 0 2000000>;
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 115 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 = <1>;
status = "ok";
clocks = <&clock_camcc CAM_CC_MCLK5_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "nominal";
clock-rates = <24000000>;
};
};