aha/drivers/mmc/core
Anton Vorontsov 28f52482b4 mmc: add support for card-detection polling
Some hosts (and boards that use mmc_spi) do not use interrupts on the CD
line, so they can't trigger mmc_detect_change. We want to poll the card
and see if there was a change. 1 second poll interval seems resonable.

This patch also implements .get_cd() host operation, that could be used
by the hosts that are able to report card-detect status without need to
talk MMC.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-07-15 14:14:41 +02:00
..
bus.c mmc: use sysfs groups to handle conditional attributes 2008-03-22 17:02:20 -07:00
bus.h mmc: use sysfs groups to handle conditional attributes 2008-03-22 17:02:20 -07:00
core.c mmc: add support for card-detection polling 2008-07-15 14:14:41 +02:00
core.h mmc: proper prototypes for mmc_attach_*() 2008-04-18 20:05:32 +02:00
host.c mmc: set controller name early 2008-04-18 20:05:26 +02:00
host.h mmc: refactor host class handling 2007-07-09 21:28:01 +02:00
Kconfig mmc: Use menuconfig objects 2007-05-08 22:41:55 +02:00
Makefile mmc: use sysfs groups to handle conditional attributes 2008-03-22 17:02:20 -07:00
mmc.c mmc: use sysfs groups to handle conditional attributes 2008-03-22 17:02:20 -07:00
mmc_ops.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
mmc_ops.h MMC core learns about SPI 2007-09-23 21:51:30 +02:00
sd.c mmc: use sysfs groups to handle conditional attributes 2008-03-22 17:02:20 -07:00
sd_ops.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
sd_ops.h drivers/mmc/core/: make 3 functions static 2007-07-26 02:05:57 +02:00
sdio.c mmc: use sysfs groups to handle conditional attributes 2008-03-22 17:02:20 -07:00
sdio_bus.c uevent environment changes fallout 2007-10-14 08:53:33 -07:00
sdio_bus.h mmc: basic SDIO device model 2007-09-23 19:45:31 +02:00
sdio_cis.c sdio: store vendor strings 2007-09-23 21:28:01 +02:00
sdio_cis.h sdio: split up common and function CIS parsing 2007-09-23 20:44:22 +02:00
sdio_io.c sdio: add sdio_f0_readb() and sdio_f0_writeb() 2007-09-23 21:24:27 +02:00
sdio_irq.c mmc: use shorter, equivalent set_current_state() 2008-04-18 20:05:27 +02:00
sdio_ops.c mmc: sdio_ops.c should #include "sdio_ops.h" 2008-04-18 20:05:33 +02:00
sdio_ops.h sdio: extend sdio_readsb() and friends to handle any length of buffer 2007-09-23 21:21:32 +02:00