add non-standard SDIO card support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | sdio: allow non-standard SDIO cardsdrivers/ include/ | +32 | 0 replies | |
| 2/3 | omap_hsmmc: add init_card pass-through callbackarch/ drivers/ | +12 | 0 replies | |
| 3/3 | omap: pandora: pass wl1251 information to SDIO corearch/ arch/ arch/ | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] add non-standard SDIO card support
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(-)