Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751214AbaJTLn1 (ORCPT ); Mon, 20 Oct 2014 07:43:27 -0400 Received: from smtp81.ord1c.emailsrvr.com ([108.166.43.81]:51121 "EHLO smtp81.ord1c.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750716AbaJTLnZ (ORCPT ); Mon, 20 Oct 2014 07:43:25 -0400 X-Sender-Id: pramod.gurav@smartplayin.com Message-ID: <5444F62D.1090801@smartplayin.com> Date: Mon, 20 Oct 2014 17:16:53 +0530 From: Pramod Gurav User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Pramod Gurav CC: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Srinivas Kandagatla , linux-arm-msm Subject: Re: [PATCH] ARM: DT: apq8064: Add Support for SD Card Detect for ifc6410 board References: <1413805194-4360-1-git-send-email-pramod.gurav@smartplayin.com> In-Reply-To: <1413805194-4360-1-git-send-email-pramod.gurav@smartplayin.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +linux-arm-msm On Monday 20 October 2014 05:09 PM, Pramod Gurav wrote: > This changes muxes in gpio26 pin to function as gpio and adds support > for sd card detect for apq8064 based IFC6410 board. > > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar Gala > Cc: Russell King > Cc: Srinivas Kandagatla > > Signed-off-by: Pramod Gurav > > --- > arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts > index b396c83..bf6262f 100644 > --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts > +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts > @@ -12,6 +12,14 @@ > function = "gsbi1"; > }; > }; > + > + card_detect: card_detect { > + mux { > + pins = "gpio26"; > + function = "gpio"; > + bias-disable; > + }; > + }; > }; > > gsbi@12440000 { > @@ -49,6 +57,9 @@ > /* External micro SD card */ > sdcc3: sdcc@12180000 { > status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&card_detect>; > + cd-gpios = <&tlmm_pinmux 26 1>; > }; > /* WLAN */ > sdcc4: sdcc@121c0000 { > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/