All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
To: Wolfram Sang <w.sang@pengutronix.de>
Cc: "Eric Bénard" <eric@eukrea.com>,
	"Zhu Richard-R65037" <r65037@freescale.com>,
	linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 0/6] SD/MMC driver for MX25/35/51
Date: Fri, 15 Oct 2010 23:20:41 +0200	[thread overview]
Message-ID: <87fww7up92.fsf@lechat.rtp-net.org> (raw)
In-Reply-To: <20101015102534.GA4276@pengutronix.de> (Wolfram Sang's message of "Fri\, 15 Oct 2010 12\:25\:34 +0200")

Wolfram Sang <w.sang@pengutronix.de> writes:

Hi,

> On Wed, Oct 13, 2010 at 11:28:15AM +0200, Arnaud Patard wrote:
>
>> >> it's actually not yet supported by the driver. There is a wp_gpio in
>> >> struct esdhc_platform_data (arch/arm/plat-mxc/include/mach/esdhc.h)
>> >> but it's not yet used by the driver.
>> >
>> > It's all prepared. I finally will have a look into it today.
>> 
>> oh, great. I was thinking about doing it but I'll wait for your patches
>> then. I'm sure I need support for WP on GPIO but I may also need support
>> for CD on GPIO so I'll be happy to test any patch you have.
>
> Just to keep you updated: Got a bit distracted again but I hope to
> finish it on Saturday. Looks like a patch for the gpiolib is also
> needed...

ok. Take your time. It turns out that the infos I had were a bit
misleading. I've been told the mmc driver was using some gpios and the
gpios are GPIO_1_0/1_1 and GPIO_1_7/1_8... which are in fact the esdhc1
and esdhc2 CD and WP. 

This means :
- with proper iomux configuration, WP detection is working fine
- I should still be able to test WP on GPIO

Thanks,
Arnaud

WARNING: multiple messages have this Message-ID (diff)
From: arnaud.patard@rtp-net.org (Arnaud Patard (Rtp))
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/6] SD/MMC driver for MX25/35/51
Date: Fri, 15 Oct 2010 23:20:41 +0200	[thread overview]
Message-ID: <87fww7up92.fsf@lechat.rtp-net.org> (raw)
In-Reply-To: <20101015102534.GA4276@pengutronix.de> (Wolfram Sang's message of "Fri\, 15 Oct 2010 12\:25\:34 +0200")

Wolfram Sang <w.sang@pengutronix.de> writes:

Hi,

> On Wed, Oct 13, 2010 at 11:28:15AM +0200, Arnaud Patard wrote:
>
>> >> it's actually not yet supported by the driver. There is a wp_gpio in
>> >> struct esdhc_platform_data (arch/arm/plat-mxc/include/mach/esdhc.h)
>> >> but it's not yet used by the driver.
>> >
>> > It's all prepared. I finally will have a look into it today.
>> 
>> oh, great. I was thinking about doing it but I'll wait for your patches
>> then. I'm sure I need support for WP on GPIO but I may also need support
>> for CD on GPIO so I'll be happy to test any patch you have.
>
> Just to keep you updated: Got a bit distracted again but I hope to
> finish it on Saturday. Looks like a patch for the gpiolib is also
> needed...

ok. Take your time. It turns out that the infos I had were a bit
misleading. I've been told the mmc driver was using some gpios and the
gpios are GPIO_1_0/1_1 and GPIO_1_7/1_8... which are in fact the esdhc1
and esdhc2 CD and WP. 

This means :
- with proper iomux configuration, WP detection is working fine
- I should still be able to test WP on GPIO

Thanks,
Arnaud

  reply	other threads:[~2010-10-15 21:19 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-11 14:21 [PATCH 0/6] SD/MMC driver for MX25/35/51 Wolfram Sang
2010-10-11 14:21 ` Wolfram Sang
2010-10-11 14:21 ` [PATCH 1/6] mmc: sdhci-pltfm: Add structure for host-specific data Wolfram Sang
2010-10-11 14:21   ` Wolfram Sang
2010-10-11 14:21 ` [PATCH 2/6] mmc: sdhci-pltfm: move .h-file into apropriate subdir Wolfram Sang
2010-10-11 14:21   ` Wolfram Sang
2010-10-11 14:21 ` [PATCH 3/6] mmc: sdhci: introduce private get_ro Wolfram Sang
2010-10-11 14:21   ` Wolfram Sang
2010-10-11 14:21 ` [PATCH 4/6] mmc: sdhci_pltfm: pass more data on custom init-call Wolfram Sang
2010-10-11 14:21   ` Wolfram Sang
2010-10-11 14:21 ` [PATCH 5/6] mmc: sdhci-of-esdhc: factor out common stuff Wolfram Sang
2010-10-11 14:21   ` Wolfram Sang
2010-10-11 17:10   ` [PATCH v2 " Wolfram Sang
2010-10-11 17:10     ` Wolfram Sang
2010-10-11 18:33     ` Chris Ball
2010-10-11 18:33       ` Chris Ball
2010-10-13 10:22       ` Zhu Richard-R65037
2010-10-13 10:22         ` Zhu Richard-R65037
2010-10-13 10:31         ` Wolfram Sang
2010-10-13 10:31           ` Wolfram Sang
2010-10-11 14:21 ` [PATCH 6/6] mmc: sdhci-pltfm: add pltfm-driver for imx35/51 Wolfram Sang
2010-10-11 14:21   ` Wolfram Sang
2010-10-14  3:07   ` Chris Ball
2010-10-14  3:07     ` Chris Ball
2010-10-11 16:32 ` [PATCH 0/6] SD/MMC driver for MX25/35/51 Chris Ball
2010-10-11 16:32   ` Chris Ball
2010-10-11 16:44   ` Wolfram Sang
2010-10-11 16:44     ` Wolfram Sang
2010-10-11 16:59     ` Chris Ball
2010-10-11 16:59       ` Chris Ball
2010-10-12 22:06 ` Arnaud Patard
2010-10-12 22:06   ` Arnaud Patard (Rtp)
2010-10-13  8:15   ` Eric Bénard
2010-10-13  8:15     ` Eric Bénard
2010-10-13  8:29     ` Wolfram Sang
2010-10-13  8:29       ` Wolfram Sang
2010-10-13  9:28       ` Arnaud Patard
2010-10-13  9:28         ` Arnaud Patard (Rtp)
2010-10-13  9:53         ` Zhu Richard-R65037
2010-10-13  9:53           ` Zhu Richard-R65037
2010-10-13 10:06           ` Wolfram Sang
2010-10-13 10:06             ` Wolfram Sang
2010-10-13 10:09             ` Eric Bénard
2010-10-13 10:09               ` Eric Bénard
2010-10-13 10:13               ` Zhu Richard-R65037
2010-10-13 10:13                 ` Zhu Richard-R65037
2010-10-13 10:20                 ` Wolfram Sang
2010-10-13 10:20                   ` Wolfram Sang
2010-10-15 10:27                   ` Wolfram Sang
2010-10-15 10:27                     ` Wolfram Sang
2010-10-18  3:29                     ` Zhu Richard-R65037
2010-10-18  3:29                       ` Zhu Richard-R65037
2010-10-18  8:48                     ` Zhu Richard-R65037
2010-10-18  8:48                       ` Zhu Richard-R65037
2010-10-18  9:36                       ` Eric Bénard
2010-10-18  9:36                         ` Eric Bénard
2010-10-18  9:44                         ` Zhu Richard-R65037
2010-10-18  9:44                           ` Zhu Richard-R65037
2010-10-18 11:38                         ` Wolfram Sang
2010-10-18 11:38                           ` Wolfram Sang
2010-10-18 11:51                           ` Eric Bénard
2010-10-18 11:51                             ` Eric Bénard
2010-10-18 11:36                       ` Wolfram Sang
2010-10-18 11:36                         ` Wolfram Sang
2010-10-15 10:25         ` Wolfram Sang
2010-10-15 10:25           ` Wolfram Sang
2010-10-15 21:20           ` Arnaud Patard [this message]
2010-10-15 21:20             ` Arnaud Patard (Rtp)

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=87fww7up92.fsf@lechat.rtp-net.org \
    --to=arnaud.patard@rtp-net.org \
    --cc=eric@eukrea.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=r65037@freescale.com \
    --cc=w.sang@pengutronix.de \
    /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.