This patch adds DT support to configure GPIO_78 as function ps_hold
on apq8064.

CC: Rob Herring <robh...@kernel.org>
CC: Pawel Moll <pawel.m...@arm.com>
CC: Mark Rutland <mark.rutl...@arm.com>
CC: Ian Campbell <ijc+devicet...@hellion.org.uk>
CC: Kumar Gala <ga...@codeaurora.org>
CC: devicet...@vger.kernel.org
CC: linux-arm-ker...@lists.infradead.org

Signed-off-by: Pramod Gurav <pramod.gu...@smartplayin.com>
---
 arch/arm/boot/dts/qcom-apq8064.dtsi |   10 ++++++++++
 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 e23303e..35c1907 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -82,6 +82,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 {
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to