All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanimir Varbanov <svarbanov@mm-sol.com>
To: Pramod Gurav <pramod.gurav@smartplayin.com>
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Russell King <linux@arm.linux.org.uk>,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
	linux-arm-msm <linux-arm-msm@vger.kernel.org>
Subject: Re: [PATCH] ARM: DT: apq8064: Add Support for SD Card Detect for ifc6410 board
Date: Mon, 20 Oct 2014 17:38:42 +0300	[thread overview]
Message-ID: <54451E72.6060900@mm-sol.com> (raw)
In-Reply-To: <5444F62D.1090801@smartplayin.com>

On 10/20/2014 02:46 PM, Pramod Gurav wrote:
> +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 <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: Russell King <linux@arm.linux.org.uk>
>> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>>
>> Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
>>
>> ---
>>  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>;

pls use the defines in gpio.h.

<&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;

-- 
regards,
Stan

WARNING: multiple messages have this Message-ID (diff)
From: svarbanov@mm-sol.com (Stanimir Varbanov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: DT: apq8064: Add Support for SD Card Detect for ifc6410 board
Date: Mon, 20 Oct 2014 17:38:42 +0300	[thread overview]
Message-ID: <54451E72.6060900@mm-sol.com> (raw)
In-Reply-To: <5444F62D.1090801@smartplayin.com>

On 10/20/2014 02:46 PM, Pramod Gurav wrote:
> +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 <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: Russell King <linux@arm.linux.org.uk>
>> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>>
>> Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
>>
>> ---
>>  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 at 12440000 {
>> @@ -49,6 +57,9 @@
>>  			/* External micro SD card */
>>  			sdcc3: sdcc at 12180000 {
>>  				status = "okay";
>> +				pinctrl-names	= "default";
>> +				pinctrl-0	= <&card_detect>;
>> +				cd-gpios	= <&tlmm_pinmux 26 1>;

pls use the defines in gpio.h.

<&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;

-- 
regards,
Stan

  reply	other threads:[~2014-10-20 14:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-20 11:39 [PATCH] ARM: DT: apq8064: Add Support for SD Card Detect for ifc6410 board Pramod Gurav
2014-10-20 11:39 ` Pramod Gurav
     [not found] ` <1413805194-4360-1-git-send-email-pramod.gurav-edOiRQu9Xnj5XLMNweQjbQ@public.gmane.org>
2014-10-20 11:46   ` Pramod Gurav
2014-10-20 11:46     ` Pramod Gurav
2014-10-20 11:46     ` Pramod Gurav
2014-10-20 14:38     ` Stanimir Varbanov [this message]
2014-10-20 14:38       ` Stanimir Varbanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54451E72.6060900@mm-sol.com \
    --to=svarbanov@mm-sol.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=pramod.gurav@smartplayin.com \
    --cc=robh+dt@kernel.org \
    --cc=srinivas.kandagatla@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.