ARM: DT: APQ8064: Add node for ps_hold function in pinctrl
authorPramod Gurav <pramod.gurav@smartplayin.com>
Fri, 29 Aug 2014 14:30:57 +0000 (20:00 +0530)
committerKumar Gala <galak@codeaurora.org>
Thu, 11 Sep 2014 16:47:58 +0000 (11:47 -0500)
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>
arch/arm/boot/dts/qcom-apq8064.dtsi

index 23745f2..2a897b0 100644 (file)
                        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 {