ramips: revert faulty 4.4 config change from 9c242270907
[oweals/openwrt.git] / target / linux / ipq806x / patches-4.4 / 168-ARM-qcom-add-smb208-DT.patch
1 Change DT to use new smb208 regulator driver.
2
3 Signed-off-by: Adrian Panella <ianchi74@outlook.com>
4
5 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
6 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
7 @@ -162,45 +162,37 @@
8                         #address-cells = <1>;
9                         #size-cells = <0>;
10  
11 -                       smb208_s1a: smb208-s1a {
12 -                               compatible = "qcom,rpm-smb208";
13 -                               reg = <QCOM_RPM_SMB208_S1a>;
14 +                       regulators {
15 +                               compatible = "qcom,rpm-smb208-regulators";
16  
17 -                               regulator-min-microvolt = <1050000>;
18 -                               regulator-max-microvolt = <1150000>;
19 +                               smb208_s1a: s1a {
20 +                                       regulator-min-microvolt = <1050000>;
21 +                                       regulator-max-microvolt = <1150000>;
22  
23 -                               qcom,switch-mode-frequency = <1200000>;
24 +                                       qcom,switch-mode-frequency = <1200000>;
25  
26 -                       };
27 -
28 -                       smb208_s1b: smb208-s1b {
29 -                               compatible = "qcom,rpm-smb208";
30 -                               reg = <QCOM_RPM_SMB208_S1b>;
31 -
32 -                               regulator-min-microvolt = <1050000>;
33 -                               regulator-max-microvolt = <1150000>;
34 +                               };
35  
36 -                               qcom,switch-mode-frequency = <1200000>;
37 -                       };
38 -
39 -                       smb208_s2a: smb208-s2a {
40 -                               compatible = "qcom,rpm-smb208";
41 -                               reg = <QCOM_RPM_SMB208_S2a>;
42 +                               smb208_s1b: s1b {
43 +                                       regulator-min-microvolt = <1050000>;
44 +                                       regulator-max-microvolt = <1150000>;
45  
46 -                               regulator-min-microvolt = < 800000>;
47 -                               regulator-max-microvolt = <1250000>;
48 +                                       qcom,switch-mode-frequency = <1200000>;
49 +                               };
50  
51 -                               qcom,switch-mode-frequency = <1200000>;
52 -                       };
53 +                               smb208_s2a: s2a {
54 +                                       regulator-min-microvolt = < 800000>;
55 +                                       regulator-max-microvolt = <1250000>;
56  
57 -                       smb208_s2b: smb208-s2b {
58 -                               compatible = "qcom,rpm-smb208";
59 -                               reg = <QCOM_RPM_SMB208_S2b>;
60 +                                       qcom,switch-mode-frequency = <1200000>;
61 +                               };
62  
63 -                               regulator-min-microvolt = < 800000>;
64 -                               regulator-max-microvolt = <1250000>;
65 +                               smb208_s2b: s2b {
66 +                                       regulator-min-microvolt = < 800000>;
67 +                                       regulator-max-microvolt = <1250000>;
68  
69 -                               qcom,switch-mode-frequency = <1200000>;
70 +                                       qcom,switch-mode-frequency = <1200000>;
71 +                               };
72                         };
73                 };
74