diff options
author | Bhushan Shah <bshah@kde.org> | 2016-07-29 02:09:07 -0400 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-09-02 14:48:22 -0400 |
commit | 73bae19c3a3fde589b4508f3bfcc68d2f4b06f39 (patch) | |
tree | 8dee77133925258ef5cab80a978c8671e167ac01 | |
parent | 0485ef8e045e2f295098bfa0f12e1b2cc243431c (diff) |
ARM: dts: msm8974: Move vreg_boost node from the honami to msm8974
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>
-rw-r--r-- | arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts | 22 | ||||
-rw-r--r-- | arch/arm/boot/dts/qcom-msm8974.dtsi | 17 | ||||
-rw-r--r-- | arch/arm/boot/dts/qcom-pm8941.dtsi | 5 |
3 files changed, 22 insertions, 22 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts index 0d414ef9d3d0..e7c1577d56f4 100644 --- a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts +++ b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts | |||
@@ -257,23 +257,6 @@ | |||
257 | }; | 257 | }; |
258 | }; | 258 | }; |
259 | }; | 259 | }; |
260 | |||
261 | vreg_boost: vreg-boost { | ||
262 | compatible = "regulator-fixed"; | ||
263 | |||
264 | regulator-name = "vreg-boost"; | ||
265 | regulator-min-microvolt = <3150000>; | ||
266 | regulator-max-microvolt = <3150000>; | ||
267 | |||
268 | regulator-always-on; | ||
269 | regulator-boot-on; | ||
270 | |||
271 | gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>; | ||
272 | enable-active-high; | ||
273 | |||
274 | pinctrl-names = "default"; | ||
275 | pinctrl-0 = <&boost_bypass_n_pin>; | ||
276 | }; | ||
277 | }; | 260 | }; |
278 | 261 | ||
279 | &soc { | 262 | &soc { |
@@ -446,11 +429,6 @@ | |||
446 | }; | 429 | }; |
447 | 430 | ||
448 | gpios@c000 { | 431 | gpios@c000 { |
449 | boost_bypass_n_pin: boost-bypass { | ||
450 | pins = "gpio21"; | ||
451 | function = "normal"; | ||
452 | }; | ||
453 | |||
454 | gpio_keys_pin_a: gpio-keys-active { | 432 | gpio_keys_pin_a: gpio-keys-active { |
455 | pins = "gpio2", "gpio3", "gpio4", "gpio5"; | 433 | pins = "gpio2", "gpio3", "gpio4", "gpio5"; |
456 | function = "normal"; | 434 | function = "normal"; |
diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index d41154273827..d2109475bdfd 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | #include <dt-bindings/interrupt-controller/arm-gic.h> | 3 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
4 | #include <dt-bindings/clock/qcom,gcc-msm8974.h> | 4 | #include <dt-bindings/clock/qcom,gcc-msm8974.h> |
5 | #include <dt-bindings/gpio/gpio.h> | ||
5 | #include "skeleton.dtsi" | 6 | #include "skeleton.dtsi" |
6 | 7 | ||
7 | / { | 8 | / { |
@@ -728,6 +729,22 @@ | |||
728 | }; | 729 | }; |
729 | }; | 730 | }; |
730 | 731 | ||
732 | vreg_boost: vreg-boost { | ||
733 | compatible = "regulator-fixed"; | ||
734 | |||
735 | regulator-name = "vreg-boost"; | ||
736 | regulator-min-microvolt = <3150000>; | ||
737 | regulator-max-microvolt = <3150000>; | ||
738 | |||
739 | regulator-always-on; | ||
740 | regulator-boot-on; | ||
741 | |||
742 | gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>; | ||
743 | enable-active-high; | ||
744 | |||
745 | pinctrl-names = "default"; | ||
746 | pinctrl-0 = <&boost_bypass_n_pin>; | ||
747 | }; | ||
731 | vreg_vph_pwr: vreg-vph-pwr { | 748 | vreg_vph_pwr: vreg-vph-pwr { |
732 | compatible = "regulator-fixed"; | 749 | compatible = "regulator-fixed"; |
733 | regulator-name = "vph-pwr"; | 750 | regulator-name = "vph-pwr"; |
diff --git a/arch/arm/boot/dts/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom-pm8941.dtsi index d95edb6f6265..f8eb5e31c920 100644 --- a/arch/arm/boot/dts/qcom-pm8941.dtsi +++ b/arch/arm/boot/dts/qcom-pm8941.dtsi | |||
@@ -88,6 +88,11 @@ | |||
88 | <0 0xe1 0 IRQ_TYPE_NONE>, | 88 | <0 0xe1 0 IRQ_TYPE_NONE>, |
89 | <0 0xe2 0 IRQ_TYPE_NONE>, | 89 | <0 0xe2 0 IRQ_TYPE_NONE>, |
90 | <0 0xe3 0 IRQ_TYPE_NONE>; | 90 | <0 0xe3 0 IRQ_TYPE_NONE>; |
91 | |||
92 | boost_bypass_n_pin: boost-bypass { | ||
93 | pins = "gpio21"; | ||
94 | function = "normal"; | ||
95 | }; | ||
91 | }; | 96 | }; |
92 | 97 | ||
93 | pm8941_mpps: mpps@a000 { | 98 | pm8941_mpps: mpps@a000 { |