From: Pramod Gurav Date: Fri, 29 Aug 2014 14:30:57 +0000 (+0530) Subject: ARM: DT: APQ8064: Add node for ps_hold function in pinctrl X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cd6dd11a23e1b4d630c6fe517b74a44ed7c54ab9;p=linux-beck.git 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 CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: devicetree@vger.kernel.org CC: linux-arm-kernel@lists.infradead.org Signed-off-by: Pramod Gurav Signed-off-by: Kumar Gala --- 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 {