linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* omap_hsmmc.c and MMC_CAP_SDIO_IRQ
@ 2012-01-24 14:33 Michael Hunold
  2012-01-27 14:09 ` Steve Sakoman
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Hunold @ 2012-01-24 14:33 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-mmc

Hi,

I am experimenting with an SDIO card on the Beagleboard. I have started
my experiments with Linux-3.1.4 some time ago and basically everything
is working.

Except the fact that currently no native SDIO interrupts are used, but
the status register is polled to recognise the interrupts. Ugh.

So I tried to find out the current state of MMC_CAP_SDIO_IRQ support.

0. No support for MMC_CAP_SDIO_IRQ in omap_hsmmc.c is present in mainline.

1. The "beagleboard-validation" kernel seems to have support for
MMC_CAP_SDIO_IRQ in omap_hsmmc.c:

http://gitorious.org/beagleboard-validation/linux/blobs/beagleboardXM/drivers/mmc/host/omap_hsmmc.c

But this is an ancient 2.6.32 kernel. I tried to use it anyway, but
compilation failed for me. I did not try to find the route cause of the
problem.

2. Another indication of MMC_CAP_SDIO_IRQ support in omap_hsmmc.c can be
found here:

http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/tree/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0013-Enable-the-use-of-SDIO-card-interrupts.patch?id=1735237550d85da337ea57cb5d6be9ccc8c0355c

I don't use Angstrom, so I just got a 2.6.39.4 kernel and tried to apply
that patch (and the
0012-Don-t-turn-SDIO-cards-off-to-save-power.-Doing-so-wi.patch) patch
as well, but they did not apply cleanly.

I tried to apply these patches to my 3.1.4 kernel, but of course they
did not apply cleanly either.

3. There is one discussion from October 2009:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg17802.html

4. There is patchset from David Vrabel from Februrary 2010:
http://www.spinics.net/lists/linux-mmc/msg01184.html

This seems to be the same as in 2.

So what is the current state of MMC_CAP_SDIO_IRQ support in omap_hsmmc.c?

Any hints how to proceed or which road to take?

I noticed that the Pandaboard uses a wifi SDIO adapter. AFAIK the OMAP4
uses omap_hsmmc.c as well. Is it true that interrupt polling is used
there, too?

CU
Michael.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-08 16:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-24 14:33 omap_hsmmc.c and MMC_CAP_SDIO_IRQ Michael Hunold
2012-01-27 14:09 ` Steve Sakoman
2012-01-29 17:37   ` S, Venkatraman
2012-02-08 16:51     ` Steve Sakoman
2012-01-30 11:16   ` Michael Hunold

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).