summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorPramod Gurav <pramod.gurav@smartplayin.com>2014-08-29 20:00:57 +0530
committerKumar Gala <galak@codeaurora.org>2014-09-11 11:47:58 -0500
commitcd6dd11a23e1b4d630c6fe517b74a44ed7c54ab9 (patch)
tree78a3188ddfd62e85adbc1d7dd84a4b3d8710f58f /arch/arm
parent8b8936fc358f830e514bafdebe109e06a4a7aabd (diff)
downloadblackbird-op-linux-cd6dd11a23e1b4d630c6fe517b74a44ed7c54ab9.tar.gz
blackbird-op-linux-cd6dd11a23e1b4d630c6fe517b74a44ed7c54ab9.zip
ARM: DT: APQ8064: Add node for ps_hold function in pinctrl
This patch adds DT support to configure GPIO_78 as function ps_hold on apq8064. CC: Rob Herring <robh+dt@kernel.org> CC: Pawel Moll <pawel.moll@arm.com> CC: Mark Rutland <mark.rutland@arm.com> CC: Ian Campbell <ijc+devicetree@hellion.org.uk> CC: Kumar Gala <galak@codeaurora.org> CC: devicetree@vger.kernel.org CC: linux-arm-kernel@lists.infradead.org Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com> Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/qcom-apq8064.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 23745f264212..2a897b0788ff 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -80,6 +80,16 @@
interrupt-controller;
#interrupt-cells = <2>;
interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&ps_hold>;
+
+ ps_hold: ps_hold {
+ mux {
+ pins = "gpio78";
+ function = "ps_hold";
+ };
+ };
};
intc: interrupt-controller@2000000 {
OpenPOWER on IntegriCloud