Skip to content

Commit f007210

Browse files
konradybcioandersson
authored andcommitted
arm64: dts: qcom: Move msm8994-smd-rpm contents to lg-bullhead.
This was the only device using that dtsi, so no point keeping it separate AND with a confusing name (bullhead is based on msm8992 and the file contains regulator values for that specific board). Signed-off-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] [bjorn: Squashed with change that remove regulators from msm8992.dtsi] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 0110451 commit f007210

File tree

3 files changed

+224
-315
lines changed

3 files changed

+224
-315
lines changed

arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts

Lines changed: 224 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,227 @@
4747
};
4848
};
4949

50-
#include "msm8994-smd-rpm.dtsi"
50+
&rpm_requests {
51+
pm8994-regulators {
52+
compatible = "qcom,rpm-pm8994-regulators";
53+
54+
vdd_l1-supply = <&pm8994_s1>;
55+
vdd_l2_26_28-supply = <&pm8994_s3>;
56+
vdd_l3_11-supply = <&pm8994_s3>;
57+
vdd_l4_27_31-supply = <&pm8994_s3>;
58+
vdd_l5_7-supply = <&pm8994_s3>;
59+
vdd_l6_12_32-supply = <&pm8994_s5>;
60+
vdd_l8_16_30-supply = <&vreg_vph_pwr>;
61+
vdd_l9_10_18_22-supply = <&vreg_vph_pwr>;
62+
vdd_l13_19_23_24-supply = <&vreg_vph_pwr>;
63+
vdd_l14_15-supply = <&pm8994_s5>;
64+
vdd_l17_29-supply = <&vreg_vph_pwr>;
65+
vdd_l20_21-supply = <&vreg_vph_pwr>;
66+
vdd_l25-supply = <&pm8994_s5>;
67+
vdd_lvs1_2 = <&pm8994_s4>;
68+
69+
pm8994_s1: s1 {
70+
regulator-min-microvolt = <800000>;
71+
regulator-max-microvolt = <800000>;
72+
};
73+
74+
pm8994_s2: s2 {
75+
/* TODO */
76+
};
77+
78+
pm8994_s3: s3 {
79+
regulator-min-microvolt = <1300000>;
80+
regulator-max-microvolt = <1300000>;
81+
};
82+
83+
pm8994_s4: s4 {
84+
regulator-min-microvolt = <1800000>;
85+
regulator-max-microvolt = <1800000>;
86+
regulator-allow-set-load;
87+
regulator-system-load = <325000>;
88+
};
89+
90+
pm8994_s5: s5 {
91+
regulator-min-microvolt = <2150000>;
92+
regulator-max-microvolt = <2150000>;
93+
};
94+
95+
pm8994_s7: s7 {
96+
regulator-min-microvolt = <1000000>;
97+
regulator-max-microvolt = <1000000>;
98+
};
99+
100+
pm8994_l1: l1 {
101+
regulator-min-microvolt = <1000000>;
102+
regulator-max-microvolt = <1000000>;
103+
};
104+
105+
pm8994_l2: l2 {
106+
regulator-min-microvolt = <1250000>;
107+
regulator-max-microvolt = <1250000>;
108+
};
109+
110+
pm8994_l3: l3 {
111+
regulator-min-microvolt = <1200000>;
112+
regulator-max-microvolt = <1200000>;
113+
};
114+
115+
pm8994_l4: l4 {
116+
regulator-min-microvolt = <1225000>;
117+
regulator-max-microvolt = <1225000>;
118+
};
119+
120+
pm8994_l5: l5 {
121+
/* TODO */
122+
};
123+
124+
pm8994_l6: l6 {
125+
regulator-min-microvolt = <1800000>;
126+
regulator-max-microvolt = <1800000>;
127+
};
128+
129+
pm8994_l7: l7 {
130+
/* TODO */
131+
};
132+
133+
pm8994_l8: l8 {
134+
regulator-min-microvolt = <1800000>;
135+
regulator-max-microvolt = <1800000>;
136+
};
137+
138+
pm8994_l9: l9 {
139+
regulator-min-microvolt = <1800000>;
140+
regulator-max-microvolt = <1800000>;
141+
};
142+
143+
pm8994_l10: l10 {
144+
regulator-min-microvolt = <1800000>;
145+
regulator-max-microvolt = <1800000>;
146+
};
147+
148+
pm8994_l11: l11 {
149+
regulator-min-microvolt = <1200000>;
150+
regulator-max-microvolt = <1200000>;
151+
};
152+
153+
pm8994_l12: l12 {
154+
regulator-min-microvolt = <1800000>;
155+
regulator-max-microvolt = <1800000>;
156+
};
157+
158+
pm8994_l13: l13 {
159+
regulator-min-microvolt = <1800000>;
160+
regulator-max-microvolt = <2950000>;
161+
};
162+
163+
pm8994_l14: l14 {
164+
regulator-min-microvolt = <1200000>;
165+
regulator-max-microvolt = <1200000>;
166+
};
167+
168+
pm8994_l15: l15 {
169+
regulator-min-microvolt = <1800000>;
170+
regulator-max-microvolt = <1800000>;
171+
};
172+
173+
pm8994_l16: l16 {
174+
regulator-min-microvolt = <2700000>;
175+
regulator-max-microvolt = <2700000>;
176+
};
177+
178+
pm8994_l17: l17 {
179+
regulator-min-microvolt = <2700000>;
180+
regulator-max-microvolt = <2700000>;
181+
};
182+
183+
pm8994_l18: l18 {
184+
regulator-min-microvolt = <3000000>;
185+
regulator-max-microvolt = <3000000>;
186+
};
187+
188+
pm8994_l19: l19 {
189+
regulator-min-microvolt = <1800000>;
190+
regulator-max-microvolt = <1800000>;
191+
};
192+
193+
pm8994_l20: l20 {
194+
regulator-min-microvolt = <2950000>;
195+
regulator-max-microvolt = <2950000>;
196+
regulator-always-on;
197+
regulator-boot-on;
198+
regulator-allow-set-load;
199+
regulator-system-load = <570000>;
200+
};
201+
202+
pm8994_l21: l21 {
203+
regulator-min-microvolt = <1800000>;
204+
regulator-max-microvolt = <1800000>;
205+
regulator-always-on;
206+
};
207+
208+
pm8994_l22: l22 {
209+
regulator-min-microvolt = <3100000>;
210+
regulator-max-microvolt = <3100000>;
211+
};
212+
213+
pm8994_l23: l23 {
214+
regulator-min-microvolt = <2800000>;
215+
regulator-max-microvolt = <2800000>;
216+
};
217+
218+
pm8994_l24: l24 {
219+
regulator-min-microvolt = <3075000>;
220+
regulator-max-microvolt = <3150000>;
221+
};
222+
223+
pm8994_l25: l25 {
224+
regulator-min-microvolt = <1800000>;
225+
regulator-max-microvolt = <1800000>;
226+
};
227+
228+
pm8994_l26: l26 {
229+
/* TODO: value from downstream
230+
regulator-min-microvolt = <987500>;
231+
fails to apply */
232+
};
233+
234+
pm8994_l27: l27 {
235+
regulator-min-microvolt = <1050000>;
236+
regulator-max-microvolt = <1050000>;
237+
};
238+
239+
pm8994_l28: l28 {
240+
regulator-min-microvolt = <1000000>;
241+
regulator-max-microvolt = <1000000>;
242+
};
243+
244+
pm8994_l29: l29 {
245+
/* TODO: Unsupported voltage range.
246+
regulator-min-microvolt = <2800000>;
247+
regulator-max-microvolt = <2800000>;
248+
qcom,init-voltage = <2800000>;
249+
*/
250+
};
251+
252+
pm8994_l30: l30 {
253+
/* TODO: get this verified
254+
regulator-min-microvolt = <1800000>;
255+
regulator-max-microvolt = <1800000>;
256+
qcom,init-voltage = <1800000>;
257+
*/
258+
};
259+
260+
pm8994_l31: l31 {
261+
regulator-min-microvolt = <1262500>;
262+
regulator-max-microvolt = <1262500>;
263+
};
264+
265+
pm8994_l32: l32 {
266+
/* TODO: get this verified
267+
regulator-min-microvolt = <1800000>;
268+
regulator-max-microvolt = <1800000>;
269+
qcom,init-voltage = <1800000>;
270+
*/
271+
};
272+
};
273+
};

arch/arm64/boot/dts/qcom/msm8992.dtsi

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -261,52 +261,6 @@
261261
rpm_requests: rpm-requests {
262262
compatible = "qcom,rpm-msm8994";
263263
qcom,smd-channels = "rpm_requests";
264-
265-
pm8994-regulators {
266-
compatible = "qcom,rpm-pm8994-regulators";
267-
268-
pm8994_s1: s1 {};
269-
pm8994_s2: s2 {};
270-
pm8994_s3: s3 {};
271-
pm8994_s4: s4 {};
272-
pm8994_s5: s5 {};
273-
pm8994_s6: s6 {};
274-
pm8994_s7: s7 {};
275-
276-
pm8994_l1: l1 {};
277-
pm8994_l2: l2 {};
278-
pm8994_l3: l3 {};
279-
pm8994_l4: l4 {};
280-
pm8994_l6: l6 {};
281-
pm8994_l8: l8 {};
282-
pm8994_l9: l9 {};
283-
pm8994_l10: l10 {};
284-
pm8994_l11: l11 {};
285-
pm8994_l12: l12 {};
286-
pm8994_l13: l13 {};
287-
pm8994_l14: l14 {};
288-
pm8994_l15: l15 {};
289-
pm8994_l16: l16 {};
290-
pm8994_l17: l17 {};
291-
pm8994_l18: l18 {};
292-
pm8994_l19: l19 {};
293-
pm8994_l20: l20 {};
294-
pm8994_l21: l21 {};
295-
pm8994_l22: l22 {};
296-
pm8994_l23: l23 {};
297-
pm8994_l24: l24 {};
298-
pm8994_l25: l25 {};
299-
pm8994_l26: l26 {};
300-
pm8994_l27: l27 {};
301-
pm8994_l28: l28 {};
302-
pm8994_l29: l29 {};
303-
pm8994_l30: l30 {};
304-
pm8994_l31: l31 {};
305-
pm8994_l32: l32 {};
306-
307-
pm8994_lvs1: lvs1 {};
308-
pm8994_lvs2: lvs2 {};
309-
};
310264
};
311265
};
312266
};

0 commit comments

Comments
 (0)