* [PATCH] ARM: DT: apq8064: Add Support for SD Card Detect for ifc6410 board
@ 2014-10-20 11:39 Pramod Gurav
[not found] ` <1413805194-4360-1-git-send-email-pramod.gurav-edOiRQu9Xnj5XLMNweQjbQ@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Pramod Gurav @ 2014-10-20 11:39 UTC (permalink / raw)
To: linux-kernel, linux-arm-kernel, devicetree
Cc: Pramod Gurav, Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell,
Kumar Gala, Russell King, Srinivas Kandagatla
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>;
};
/* WLAN */
sdcc4: sdcc@121c0000 {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1413805194-4360-1-git-send-email-pramod.gurav-edOiRQu9Xnj5XLMNweQjbQ@public.gmane.org>]
* Re: [PATCH] ARM: DT: apq8064: Add Support for SD Card Detect for ifc6410 board [not found] ` <1413805194-4360-1-git-send-email-pramod.gurav-edOiRQu9Xnj5XLMNweQjbQ@public.gmane.org> @ 2014-10-20 11:46 ` Pramod Gurav 2014-10-20 14:38 ` Stanimir Varbanov 0 siblings, 1 reply; 3+ messages in thread From: Pramod Gurav @ 2014-10-20 11:46 UTC (permalink / raw) To: Pramod Gurav Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King, Srinivas Kandagatla, linux-arm-msm +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-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> > Cc: Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org> > Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org> > Cc: Ian Campbell <ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org> > Cc: Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> > Cc: Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org> > Cc: Srinivas Kandagatla <srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> > > Signed-off-by: Pramod Gurav <pramod.gurav-edOiRQu9Xnj5XLMNweQjbQ@public.gmane.org> > > --- > 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 devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: DT: apq8064: Add Support for SD Card Detect for ifc6410 board 2014-10-20 11:46 ` Pramod Gurav @ 2014-10-20 14:38 ` Stanimir Varbanov 0 siblings, 0 replies; 3+ messages in thread From: Stanimir Varbanov @ 2014-10-20 14:38 UTC (permalink / raw) To: Pramod Gurav Cc: linux-kernel, linux-arm-kernel, devicetree, Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, Russell King, Srinivas Kandagatla, linux-arm-msm 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-20 14:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-20 11:39 [PATCH] ARM: DT: apq8064: Add Support for SD Card Detect for ifc6410 board 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 14:38 ` Stanimir Varbanov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).