Skip to content

latest MMC-over-SPI patchset

David Brownell linux-spi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7CRC7 supportDocumentation/DocBook/kernel-api.tmpl include/linux/crc7.h lib/Kconfig +2 more+94 -10 replies
2/7SD 4wire bugfixdrivers/mmc/core/sd.c+1 -10 replies
3/7SPI "exclusive access" (experimental)drivers/spi/spi_bitbang.c include/linux/spi/spi.h include/linux/spi/spi_bitbang.h+148 -50 replies
4/7MMC headers understand SPIinclude/linux/mmc/core.h include/linux/mmc/host.h include/linux/mmc/mmc.h+68 -90 replies
5/7MMC core understands SPIdrivers/mmc/core/core.c drivers/mmc/core/mmc.c drivers/mmc/core/mmc_ops.c +3 more+166 -540 replies
6/7MMC block understands SPIdrivers/mmc/card/block.c+13 -70 replies
7/7mmc_spi host driverdrivers/mmc/host/Kconfig drivers/mmc/host/Makefile drivers/mmc/host/mmc_spi.c +1 more+1508 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 2.6.22-rc4 0/7] latest MMC-over-SPI patchset

It's been a while since the mmc-over-spi host driver has been updated, and I think it's time to do so ... and start getting it mergeable. Hence the following series of patches.

Kudos to Mike Lavender, original author; Hans-Peter Nilsson, who got this version to really work; Jan Nikitenko, who made more rough edges vanish and added CRC support; and Pierre Ossman, who has supported the notion of a bit more surgery on mmc-core to help keep some crap out of the host driver!

The first few patches are pretty separable:

- CRC7 support (already in MM)
- SD 4wire bugfix (submitted to Pierre)
- SPI "exclusive mode" patch ... experimental, optional

The rest are the guts of the MMC-over-SPI support, following Pierre's suggestion to teach the mmc core about SPI so that the host adapter doesn't have so much work to do.

- MMC headers expose SPI constants; add mmc_host_is_spi()
- MMC core uses those to support MMC or SD enumeration
- MMC block needed tweaks too
- Last but not least ... mmc_spi host adapter.

This is distributed for testing and comments. I believe that Pierre will have a few issues with the core patches. The SPI "exclusive mode" patch will remain experimental for some time.

I'd also like to see someone sign up as mmc_spi maintainer; ideally that person would start sheparding this the rest of the way upstream.

- Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/