Skip to content

Commit 0073367

Browse files
Ke LiuDivya Sharma
authored andcommitted
ARM: dts: msm: move external power supply configuration for msm8926-v2
Move external power supply configurations from msm8926 to msm8926-v2-ext-buck file as external power supply only exists for some msm8926-v2 chips. CRs-fixed: 607899 Change-Id: I73d333b8b7d0489f06fa1f5e34a8cb9576a86062 Signed-off-by: Ke Liu <[email protected]> Signed-off-by: Divya Sharma <[email protected]>
1 parent bd8107f commit 0073367

2 files changed

Lines changed: 39 additions & 36 deletions

File tree

arch/arm/boot/dts/msm8926-v2-ext-buck.dtsi

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,45 @@
1212

1313
/include/ "msm8926-v2.dtsi"
1414

15+
&i2c_0 {
16+
qcom,sda-gpio = <&msmgpio 14 0>;
17+
qcom,scl-gpio = <&msmgpio 15 0>;
18+
19+
ncp6335d: ncp6335d-regulator@1c {
20+
compatible = "onnn,ncp6335d-regulator";
21+
reg = <0x1c>;
22+
onnn,vsel = <0>;
23+
onnn,slew-ns = <2666>;
24+
onnn,step-size = <10000>;
25+
onnn,min-slew-ns = <333>;
26+
onnn,max-slew-ns = <2666>;
27+
regulator-min-microvolt = <1050000>;
28+
regulator-max-microvolt = <1350000>;
29+
onnn,min-setpoint = <600000>;
30+
onnn,vsel-gpio = <&msmgpio 2 1>;
31+
onnn,discharge-enable;
32+
onnn,restore-reg;
33+
onnn,tlmm-config = <0x80 0x0>;
34+
};
35+
36+
fan53555: fan53555-regulator@60 {
37+
compatible = "fairchild,fan53555-regulator";
38+
reg = <0x60>;
39+
fairchild,backup-vsel = <1>;
40+
regulator-min-microvolt = <1050000>;
41+
regulator-max-microvolt = <1350000>;
42+
regulator-ramp-delay = <8000>;
43+
fairchild,vsel-gpio = <&msmgpio 2 1>;
44+
fairchild,restore-reg;
45+
fairchild,disable-suspend;
46+
};
47+
};
48+
49+
&apc_vreg_corner {
50+
vdd-apc-optional-prim-supply = <&ncp6335d>;
51+
vdd-apc-optional-sec-supply = <&fan53555>;
52+
};
53+
1554
&soc {
1655
qcom,spm@f9012000 {
1756
compatible = "qcom,spm-v2";

arch/arm/boot/dts/msm8926.dtsi

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -24,40 +24,6 @@
2424
compatible = "qcom,msm8926";
2525
};
2626

27-
&i2c_0 {
28-
qcom,sda-gpio = <&msmgpio 14 0>;
29-
qcom,scl-gpio = <&msmgpio 15 0>;
30-
31-
ncp6335d: ncp6335d-regulator@1c {
32-
compatible = "onnn,ncp6335d-regulator";
33-
reg = <0x1c>;
34-
onnn,vsel = <0>;
35-
onnn,slew-ns = <2666>;
36-
onnn,step-size = <10000>;
37-
onnn,min-slew-ns = <333>;
38-
onnn,max-slew-ns = <2666>;
39-
regulator-min-microvolt = <1050000>;
40-
regulator-max-microvolt = <1350000>;
41-
onnn,min-setpoint = <600000>;
42-
onnn,vsel-gpio = <&msmgpio 2 1>;
43-
onnn,discharge-enable;
44-
onnn,restore-reg;
45-
onnn,tlmm-config = <0x80 0x0>;
46-
};
47-
48-
fan53555: fan53555-regulator@60 {
49-
compatible = "fairchild,fan53555-regulator";
50-
reg = <0x60>;
51-
fairchild,backup-vsel = <1>;
52-
regulator-min-microvolt = <1050000>;
53-
regulator-max-microvolt = <1350000>;
54-
regulator-ramp-delay = <8000>;
55-
fairchild,vsel-gpio = <&msmgpio 2 1>;
56-
fairchild,restore-reg;
57-
fairchild,disable-suspend;
58-
};
59-
};
60-
6127
&soc {
6228
qcom,mss@fc880000 {
6329
reg = <0xfc880000 0x100>,
@@ -183,8 +149,6 @@
183149
qcom,cpr-down-threshold = <1>;
184150
qcom,cpr-apc-volt-step = <10000>;
185151
qcom,cpr-quotient-adjustment = <96>;
186-
vdd-apc-optional-prim-supply = <&ncp6335d>;
187-
vdd-apc-optional-sec-supply = <&fan53555>;
188152
};
189153

190154
&tsens {

0 commit comments

Comments
 (0)