ARM: dts: msm8974: Move vreg_boost node from the honami to msm8974
authorBhushan Shah <bshah@kde.org>
Fri, 29 Jul 2016 06:09:07 +0000 (11:39 +0530)
committerAndy Gross <andy.gross@linaro.org>
Fri, 2 Sep 2016 18:48:22 +0000 (13:48 -0500)
vreg_boost is Qualcomm platform specific and is also used in hammerhead
device.

Cc: Andy Gross <andy.gross@linaro.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: David Brown <david.brown@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-soc@vger.kernel.org
Cc: devicetree@vger.kernel.org
Signed-off-by: Bhushan Shah <bshah@kde.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts
arch/arm/boot/dts/qcom-msm8974.dtsi
arch/arm/boot/dts/qcom-pm8941.dtsi

index 0d414ef..e7c1577 100644 (file)
                        };
                };
        };
-
-       vreg_boost: vreg-boost {
-               compatible = "regulator-fixed";
-
-               regulator-name = "vreg-boost";
-               regulator-min-microvolt = <3150000>;
-               regulator-max-microvolt = <3150000>;
-
-               regulator-always-on;
-               regulator-boot-on;
-
-               gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
-
-               pinctrl-names = "default";
-               pinctrl-0 = <&boost_bypass_n_pin>;
-     };
 };
 
 &soc {
                };
 
                gpios@c000 {
-                       boost_bypass_n_pin: boost-bypass {
-                               pins = "gpio21";
-                               function = "normal";
-                       };
-
                        gpio_keys_pin_a: gpio-keys-active {
                                pins = "gpio2", "gpio3", "gpio4", "gpio5";
                                function = "normal";
index d411542..d210947 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/clock/qcom,gcc-msm8974.h>
+#include <dt-bindings/gpio/gpio.h>
 #include "skeleton.dtsi"
 
 / {
                };
        };
 
+       vreg_boost: vreg-boost {
+               compatible = "regulator-fixed";
+
+               regulator-name = "vreg-boost";
+               regulator-min-microvolt = <3150000>;
+               regulator-max-microvolt = <3150000>;
+
+               regulator-always-on;
+               regulator-boot-on;
+
+               gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&boost_bypass_n_pin>;
+       };
        vreg_vph_pwr: vreg-vph-pwr {
                compatible = "regulator-fixed";
                regulator-name = "vph-pwr";
index d95edb6..f8eb5e3 100644 (file)
                                     <0 0xe1 0 IRQ_TYPE_NONE>,
                                     <0 0xe2 0 IRQ_TYPE_NONE>,
                                     <0 0xe3 0 IRQ_TYPE_NONE>;
+
+                       boost_bypass_n_pin: boost-bypass {
+                               pins = "gpio21";
+                               function = "normal";
+                       };
                };
 
                pm8941_mpps: mpps@a000 {