linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] add non-standard SDIO card support
@ 2010-06-29 13:49 Grazvydas Ignotas
  2010-06-29 13:49 ` [PATCH 1/3] sdio: allow non-standard SDIO cards Grazvydas Ignotas
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Grazvydas Ignotas @ 2010-06-29 13:49 UTC (permalink / raw)
  To: linux-mmc
  Cc: linux-omap, Andrew Morton, Adrian Hunter, Tony Lindgren,
	Bob Copeland, Kalle Valo, Grazvydas Ignotas

This is my attempt to make SDIO interfaced TI WL1251 wifi chip usable
on mainline kernels. It's driver has already been merged several releases
back, but the problem is current SDIO core can't detect the card because
it's not following SDIO standards and does not have any required SDIO
registers. Currenty attempting to use this chip only results in several
pages of complains about invalid register data from SDIO core.
WL1251 is used on various HTC devices and Pandora handheld at least.

People wanting to use this are forced to use forked trees or patches.
My solution to this problem is to add new MMC quirk that will tell SDIO
core not to access any SDIO registers and rely on host's init_card
callback instead, which is now responsible for filling card related
structures for SDIO core to function. Patches 2 and 3 set up the card
for pandora, similar method could be used for MSM too.

Only patches 2,3 depend on each other, so patch 1 can be merged separately.

Grazvydas Ignotas (3):
  sdio: allow non-standard SDIO cards
  omap_hsmmc: add init_card pass-through callback
  omap: pandora: pass information about wl1251 to SDIO core

 arch/arm/mach-omap2/board-omap3pandora.c |   16 +++++++++++++
 arch/arm/mach-omap2/hsmmc.c              |    1 +
 arch/arm/mach-omap2/hsmmc.h              |    4 +++
 arch/arm/plat-omap/include/plat/mmc.h    |    2 +
 drivers/mmc/core/sdio.c                  |   36 +++++++++++++++++++++++++-----
 drivers/mmc/host/omap_hsmmc.c            |   10 ++++++++
 include/linux/mmc/card.h                 |    2 +
 7 files changed, 65 insertions(+), 6 deletions(-)


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

end of thread, other threads:[~2010-06-29 13:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 13:49 [PATCH 0/3] add non-standard SDIO card support Grazvydas Ignotas
2010-06-29 13:49 ` [PATCH 1/3] sdio: allow non-standard SDIO cards Grazvydas Ignotas
2010-06-29 13:49 ` [PATCH 2/3] omap_hsmmc: add init_card pass-through callback Grazvydas Ignotas
2010-06-29 13:49 ` [PATCH 3/3] omap: pandora: pass wl1251 information to SDIO core Grazvydas Ignotas

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