Atmel MMC Controller Driver

The MMC controller driver included with the STK1000 BSP has not yet been forward-ported to the experimental patchset. There are several reasons for this:

  1. There is already an at91_mci driver in the kernel. We should re-use as much as possible from this on AVR32.
  2. The BSP-supplied driver depends on a DMA controller framework that was not very well received by the other kernel maintainers.

So, before MMC support for AVR32 can be merged with mainstream, the DMA controller framework needs to be rewritten, possibly based on the "DMA Engine" framework already in the kernel (the one supporting Intel's I/OAT DMA engine.) Also, some solution must be found to separate the DMA-dependent parts of the at91 driver so that the other parts can be re-used by the AVR32 driver.

It could be that the changes needed in the at91_mci driver to make it able to cope with a different DMA controller are too extensive to be worth it. Also, the atmel-mci driver seems to work pretty well on AVR32, so switching to the at91_mci driver would require a lot of testing in order to avoid regressions.

Patches

Against 2.6.22-rc5

Attachment sort Action Size Date Who Comment
elseatmel-mci-driver.patch manage 40.4 K 21 Jun 2007 - 09:24 HaavardSkinnemoen Driver for the Atmel MCI controller (against 2.6.22-rc5)