aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/tmio.h
diff options
context:
space:
mode:
authorArnd Hannemann <arnd@arndnet.de>2010-12-28 23:22:31 +0100
committerChris Ball <cjb@laptop.org>2011-01-08 23:52:30 -0500
commit845ecd20239c28e97e766ff54078a58be19f3a91 (patch)
treeac25a1b5e5769c9207c9fd886acd4380a3184701 /include/linux/mfd/tmio.h
parentmfd: sdhi: require the tmio-mmc driver to bounce unaligned buffers (diff)
downloadlinux-dev-845ecd20239c28e97e766ff54078a58be19f3a91.tar.xz
linux-dev-845ecd20239c28e97e766ff54078a58be19f3a91.zip
mmc: tmio_mmc: implement SDIO IRQ support
This patch implements SDIO IRQ support for mfds which announce the TMIO_MMC_SDIO_IRQ flag for tmio_mmc. If MMC_CAP_SDIO_IRQ is also set SDIO IRQ signalling is activated. Tested with a b43-based wireless SDIO card and sh_mobile_sdhi. Signed-off-by: Arnd Hannemann <arnd@arndnet.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mfd/tmio.h')
-rw-r--r--include/linux/mfd/tmio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index dbfc053b1f95..8e70310ee945 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -57,6 +57,10 @@
* is configured in 4-bit mode.
*/
#define TMIO_MMC_BLKSZ_2BYTES (1 << 1)
+/*
+ * Some controllers can support SDIO IRQ signalling.
+ */
+#define TMIO_MMC_SDIO_IRQ (1 << 2)
int tmio_core_mmc_enable(void __iomem *cnf, int shift, unsigned long base);
int tmio_core_mmc_resume(void __iomem *cnf, int shift, unsigned long base);