aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/patches-4.4/168-ARM-qcom-add-smb208-DT.patch
diff options
context:
space:
mode:
authorPavel Kubelun <be.dissent@gmail.com>2016-06-21 11:50:05 +0200
committerJohn Crispin <john@phrozen.org>2016-06-22 19:32:05 +0200
commit4cd67a4f212c5a5eeeadefaf894a790853d95754 (patch)
treeb65949e3fa78ad8593abb122cb88b1c4fedbf0a0 /target/linux/ipq806x/patches-4.4/168-ARM-qcom-add-smb208-DT.patch
parent84b3d92180143001e6968db11ce431208d55b5bc (diff)
downloadupstream-4cd67a4f212c5a5eeeadefaf894a790853d95754.tar.gz
upstream-4cd67a4f212c5a5eeeadefaf894a790853d95754.tar.bz2
upstream-4cd67a4f212c5a5eeeadefaf894a790853d95754.zip
ipq806x: move smb208 nodes into a regulator subnode
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Diffstat (limited to 'target/linux/ipq806x/patches-4.4/168-ARM-qcom-add-smb208-DT.patch')
-rw-r--r--target/linux/ipq806x/patches-4.4/168-ARM-qcom-add-smb208-DT.patch69
1 files changed, 69 insertions, 0 deletions
diff --git a/target/linux/ipq806x/patches-4.4/168-ARM-qcom-add-smb208-DT.patch b/target/linux/ipq806x/patches-4.4/168-ARM-qcom-add-smb208-DT.patch
index 503654d988..ef81ed2e55 100644
--- a/target/linux/ipq806x/patches-4.4/168-ARM-qcom-add-smb208-DT.patch
+++ b/target/linux/ipq806x/patches-4.4/168-ARM-qcom-add-smb208-DT.patch
@@ -71,4 +71,73 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
+ };
};
};
+
+--- 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>;
+-
+- regulator-min-microvolt = <1050000>;
+- regulator-max-microvolt = <1150000>;
++ regulators {
++ compatible = "qcom,rpm-smb208-regulators";
+
+- qcom,switch-mode-frequency = <1200000>;
+-
+- };
++ smb208_s1a: s1a {
++ regulator-min-microvolt = <1050000>;
++ regulator-max-microvolt = <1150000>;
+
+- smb208_s1b: smb208-s1b {
+- compatible = "qcom,rpm-smb208";
+- reg = <QCOM_RPM_SMB208_S1b>;
++ qcom,switch-mode-frequency = <1200000>;
+
+- regulator-min-microvolt = <1050000>;
+- regulator-max-microvolt = <1150000>;
+-
+- qcom,switch-mode-frequency = <1200000>;
+- };
++ };
+- 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>;
++ };
+ };
+ };