lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54451E72.6060900@mm-sol.com>
Date:	Mon, 20 Oct 2014 17:38:42 +0300
From:	Stanimir Varbanov <svarbanov@...sol.com>
To:	Pramod Gurav <pramod.gurav@...rtplayin.com>
CC:	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	devicetree@...r.kernel.org, Rob Herring <robh+dt@...nel.org>,
	Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	Kumar Gala <galak@...eaurora.org>,
	Russell King <linux@....linux.org.uk>,
	Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
	linux-arm-msm <linux-arm-msm@...r.kernel.org>
Subject: Re: [PATCH] ARM: DT: apq8064: Add Support for SD Card Detect for
 ifc6410 board

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@...nel.org>
>> Cc: Pawel Moll <pawel.moll@....com>
>> Cc: Mark Rutland <mark.rutland@....com>
>> Cc: Ian Campbell <ijc+devicetree@...lion.org.uk>
>> Cc: Kumar Gala <galak@...eaurora.org>
>> Cc: Russell King <linux@....linux.org.uk>
>> Cc: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
>>
>> Signed-off-by: Pramod Gurav <pramod.gurav@...rtplayin.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@...40000 {
>> @@ -49,6 +57,9 @@
>>  			/* External micro SD card */
>>  			sdcc3: sdcc@...80000 {
>>  				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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ