]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
atmel-mci: Platform code for supporting multiple mmc slots
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Thu, 7 Aug 2008 12:08:49 +0000 (14:08 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 5 Oct 2008 18:39:21 +0000 (20:39 +0200)
commit6b918657b7431e4c5c953b8222ae2f4fc1b2576a
treebb3bb53d91501064821ea860a490dc1b3633df52
parent945533b538c6c6185afc77ba4a81eeba8f6ef8dd
atmel-mci: Platform code for supporting multiple mmc slots

Add the necessary platform infrastructure to support multiple mmc/sdcard
slots all at once through a single controller. Currently, the driver
will use the first valid slot it finds and stick with that, but later
patches will add support for switching between several slots on the fly.

Extend the platform data structure with per-slot information: MMC/SDcard
bus width and card detect/write protect pins. This will affect the pin
muxing as well as the capabilities announced to the mmc core.

Note that board code is now required to supply a mci_platform_data
struct to at32_add_device_mci().

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/boards/atngw100/setup.c
arch/avr32/boards/atstk1000/atstk1002.c
arch/avr32/boards/atstk1000/atstk1003.c
arch/avr32/boards/atstk1000/atstk1004.c
arch/avr32/include/asm/atmel-mci.h
arch/avr32/mach-at32ap/at32ap700x.c
drivers/mmc/host/atmel-mci-regs.h
drivers/mmc/host/atmel-mci.c