2016-05-30 19:56:50 +00:00
|
|
|
Change DT to use new smb208 regulator driver.
|
|
|
|
|
|
|
|
Signed-off-by: Adrian Panella <ianchi74@outlook.com>
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
|
|
|
|
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
|
|
|
|
@@ -167,45 +167,37 @@
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
- smb208_s1a: smb208-s1a {
|
|
|
|
- compatible = "qcom,rpm-smb208";
|
|
|
|
- reg = <QCOM_RPM_SMB208_S1a>;
|
|
|
|
+ regulators {
|
|
|
|
+ compatible = "qcom,rpm-smb208-regulators";
|
|
|
|
|
2016-06-26 12:45:12 +00:00
|
|
|
- regulator-min-microvolt = <1050000>;
|
|
|
|
- regulator-max-microvolt = <1150000>;
|
2016-05-30 19:56:50 +00:00
|
|
|
+ smb208_s1a: s1a {
|
|
|
|
+ regulator-min-microvolt = <1050000>;
|
|
|
|
+ regulator-max-microvolt = <1150000>;
|
|
|
|
|
2016-06-26 12:45:12 +00:00
|
|
|
- qcom,switch-mode-frequency = <1200000>;
|
|
|
|
+ qcom,switch-mode-frequency = <1200000>;
|
|
|
|
|
|
|
|
- };
|
|
|
|
-
|
2016-05-30 19:56:50 +00:00
|
|
|
- smb208_s1b: smb208-s1b {
|
|
|
|
- compatible = "qcom,rpm-smb208";
|
|
|
|
- reg = <QCOM_RPM_SMB208_S1b>;
|
2016-06-26 12:45:12 +00:00
|
|
|
-
|
2016-05-30 19:56:50 +00:00
|
|
|
- regulator-min-microvolt = <1050000>;
|
|
|
|
- regulator-max-microvolt = <1150000>;
|
|
|
|
+ };
|
|
|
|
|
2016-06-26 12:45:12 +00:00
|
|
|
- qcom,switch-mode-frequency = <1200000>;
|
|
|
|
- };
|
|
|
|
-
|
2016-05-30 19:56:50 +00:00
|
|
|
- smb208_s2a: smb208-s2a {
|
|
|
|
- compatible = "qcom,rpm-smb208";
|
|
|
|
- reg = <QCOM_RPM_SMB208_S2a>;
|
|
|
|
+ smb208_s1b: s1b {
|
|
|
|
+ regulator-min-microvolt = <1050000>;
|
|
|
|
+ regulator-max-microvolt = <1150000>;
|
|
|
|
|
|
|
|
- regulator-min-microvolt = < 800000>;
|
|
|
|
- regulator-max-microvolt = <1250000>;
|
|
|
|
+ qcom,switch-mode-frequency = <1200000>;
|
|
|
|
+ };
|
|
|
|
|
|
|
|
- qcom,switch-mode-frequency = <1200000>;
|
|
|
|
- };
|
|
|
|
+ smb208_s2a: s2a {
|
|
|
|
+ regulator-min-microvolt = < 800000>;
|
|
|
|
+ regulator-max-microvolt = <1250000>;
|
|
|
|
|
|
|
|
- smb208_s2b: smb208-s2b {
|
|
|
|
- compatible = "qcom,rpm-smb208";
|
|
|
|
- reg = <QCOM_RPM_SMB208_S2b>;
|
|
|
|
+ qcom,switch-mode-frequency = <1200000>;
|
|
|
|
+ };
|
|
|
|
|
|
|
|
- regulator-min-microvolt = < 800000>;
|
|
|
|
- regulator-max-microvolt = <1250000>;
|
|
|
|
+ smb208_s2b: s2b {
|
|
|
|
+ regulator-min-microvolt = < 800000>;
|
|
|
|
+ regulator-max-microvolt = <1250000>;
|
|
|
|
|
|
|
|
- qcom,switch-mode-frequency = <1200000>;
|
|
|
|
+ qcom,switch-mode-frequency = <1200000>;
|
|
|
|
+ };
|
|
|
|
};
|
|
|
|
};
|
2016-06-26 12:45:12 +00:00
|
|
|
|
2016-06-21 09:50:05 +00:00
|
|
|
--- a/arch/arm/boot/dts/qcom-ipq8065.dtsi
|
|
|
|
+++ b/arch/arm/boot/dts/qcom-ipq8065.dtsi
|
|
|
|
@@ -311,45 +311,37 @@
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
- smb208_s1a: smb208-s1a {
|
|
|
|
- compatible = "qcom,rpm-smb208";
|
|
|
|
- reg = <QCOM_RPM_SMB208_S1a>;
|
|
|
|
+ regulators {
|
|
|
|
+ compatible = "qcom,rpm-smb208-regulators";
|
|
|
|
|
2016-06-26 12:45:12 +00:00
|
|
|
- regulator-min-microvolt = <1050000>;
|
|
|
|
- regulator-max-microvolt = <1150000>;
|
2016-06-21 09:50:05 +00:00
|
|
|
+ smb208_s1a: s1a {
|
|
|
|
+ regulator-min-microvolt = <1050000>;
|
|
|
|
+ regulator-max-microvolt = <1150000>;
|
|
|
|
|
2016-06-26 12:45:12 +00:00
|
|
|
- qcom,switch-mode-frequency = <1200000>;
|
|
|
|
+ qcom,switch-mode-frequency = <1200000>;
|
|
|
|
|
|
|
|
- };
|
|
|
|
-
|
2016-06-21 09:50:05 +00:00
|
|
|
- smb208_s1b: smb208-s1b {
|
|
|
|
- compatible = "qcom,rpm-smb208";
|
|
|
|
- reg = <QCOM_RPM_SMB208_S1b>;
|
2016-06-26 12:45:12 +00:00
|
|
|
-
|
2016-06-21 09:50:05 +00:00
|
|
|
- regulator-min-microvolt = <1050000>;
|
|
|
|
- regulator-max-microvolt = <1150000>;
|
|
|
|
+ };
|
2016-05-30 19:56:50 +00:00
|
|
|
|
2016-06-26 12:45:12 +00:00
|
|
|
- qcom,switch-mode-frequency = <1200000>;
|
|
|
|
- };
|
|
|
|
-
|
2016-06-21 09:50:05 +00:00
|
|
|
- smb208_s2a: smb208-s2a {
|
|
|
|
- compatible = "qcom,rpm-smb208";
|
|
|
|
- reg = <QCOM_RPM_SMB208_S2a>;
|
|
|
|
+ smb208_s1b: s1b {
|
|
|
|
+ regulator-min-microvolt = <1050000>;
|
|
|
|
+ regulator-max-microvolt = <1150000>;
|
|
|
|
|
|
|
|
- regulator-min-microvolt = < 800000>;
|
|
|
|
- regulator-max-microvolt = <1275000>;
|
|
|
|
+ qcom,switch-mode-frequency = <1200000>;
|
|
|
|
+ };
|
|
|
|
|
|
|
|
- qcom,switch-mode-frequency = <1400000>;
|
|
|
|
- };
|
|
|
|
+ smb208_s2a: s2a {
|
|
|
|
+ regulator-min-microvolt = < 800000>;
|
|
|
|
+ regulator-max-microvolt = <1275000>;
|
|
|
|
|
|
|
|
- smb208_s2b: smb208-s2b {
|
|
|
|
- compatible = "qcom,rpm-smb208";
|
|
|
|
- reg = <QCOM_RPM_SMB208_S2b>;
|
|
|
|
+ qcom,switch-mode-frequency = <1400000>;
|
|
|
|
+ };
|
|
|
|
|
|
|
|
- regulator-min-microvolt = < 800000>;
|
|
|
|
- regulator-max-microvolt = <1275000>;
|
|
|
|
+ smb208_s2b: s2b {
|
|
|
|
+ regulator-min-microvolt = < 800000>;
|
|
|
|
+ regulator-max-microvolt = <1275000>;
|
|
|
|
|
|
|
|
- qcom,switch-mode-frequency = <1400000>;
|
|
|
|
+ qcom,switch-mode-frequency = <1400000>;
|
|
|
|
+ };
|
|
|
|
};
|
2016-06-26 12:45:12 +00:00
|
|
|
|
|
|
|
cxo_clk: cxo-clk {
|