linux/Documentation/devicetree/bindings/mmc
Andreas Fenkart 2cd3a2a546 mmc: omap_hsmmc: Enable SDIO interrupt
There have been various patches floating around for enabling
the SDIO IRQ for hsmmc, but none of them ever got merged.

Probably the reason for not merging the SDIO interrupt patches
has been the lack of wake-up path for SDIO on some omaps that
has also needed remuxing the SDIO DAT1 line to a GPIO making
the patches complex.

This patch adds the minimal SDIO IRQ support to hsmmc for
omaps that do have the wake-up path. For those omaps, the
DAT1 line need to have the wake-up enable bit set, and the
wake-up interrupt is the same as for the MMC controller.

This patch has been tested on am3730 es1.2 with mwifiex
connected to MMC3 with mwifiex waking to Ethernet traffic
from off-idle mode. Note that for omaps that do not have
the SDIO wake-up path, this patch will not work for idle
modes and further patches for remuxing DAT1 to GPIO are
needed.

Based on earlier patches [1][2] by David Vrabel
<david.vrabel@csr.com>, Steve Sakoman <steve@sakoman.com>

For now, only support SDIO interrupt if we are booted with
a separate wake-irq configued via device tree. This is
because omaps need the wake-irq for idle states, and some
omaps need special quirks. And we don't want to add new
legacy mux platform init code callbacks any longer as we
are moving to DT based booting anyways.

To use it, you need to specify the wake-irq using the
interrupts-extended property.

[1] http://www.sakoman.com/cgi-bin/gitweb.cgi?p=linux.git;a=commitdiff_plain;h=010810d22f6f49ac03da4ba384969432e0320453
[2] http://comments.gmane.org/gmane.linux.kernel.mmc/20446

Acked-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2014-07-09 11:26:03 +02:00
..
arasan,sdhci.txt mmc: arasan: Add driver for Arasan SDHCI 2014-01-13 12:48:34 -05:00
atmel-hsmci.txt mmc: atmel-mci: document clock properties 2014-02-07 17:20:38 +01:00
brcm,bcm2835-sdhci.txt mmc: add BCM2835 driver 2013-02-11 13:28:49 -05:00
davinci_mmc.txt mmc: davinci_mmc: add DT support 2013-04-04 16:55:05 +05:30
exynos-dw-mshc.txt ARM: dts: Add dwmmc DT nodes for exynos5420 SOC 2013-12-16 04:47:32 +09:00
fsl-esdhc.txt mmc: core: parse voltage from device-tree 2013-08-26 11:31:40 -04:00
fsl-imx-esdhc.txt mmc: sdhci-esdhc-imx: add delay line setting support 2013-10-21 15:58:13 -04:00
fsl-imx-mmc.txt mmc: mxcmmc: DT support 2013-04-12 15:12:34 -04:00
k3-dw-mshc.txt doc: spelling error changes 2014-05-05 15:32:05 +02:00
kona-sdhci.txt Documentation: dt: kona-sdhci: Add clocks property 2013-12-22 23:45:32 -08:00
mmc-spi-slot.txt mmc: dt: Deduplicate binding docs by referencing mmc.txt 2012-07-10 23:04:06 -04:00
mmc.txt mmc: core: add DT bindings for eMMC HS400 1.8/1.2V 2014-05-12 18:08:10 -04:00
mmci.txt mmc: mmci: Mark the DT bindings for highspeed mode as deprecated 2014-05-12 12:52:42 +02:00
moxa,moxart-mmc.txt mmc: moxart: Add MOXA ART SD/MMC driver 2014-05-12 18:05:16 -04:00
mxs-mmc.txt mmc: mxs-mmc: move to use generic DMA helper 2013-04-04 21:22:44 +08:00
nvidia,tegra20-sdhci.txt ARM: tegra: document reset properties in DT bindings 2013-12-11 16:42:13 -07:00
orion-sdio.txt mmc: mvsdio: implement a Device Tree binding 2013-02-11 13:28:54 -05:00
pxa-mmc.txt mmc: pxa-mci: add DT bindings 2012-09-04 13:58:12 -04:00
rockchip-dw-mshc.txt dts: Fix misspelling of Synopsys 2013-09-24 21:13:38 -05:00
samsung-sdhci.txt doc: spelling error changes 2014-05-05 15:32:05 +02:00
sdhci-dove.txt mmc: sdhci-dove: DT support for sdhci-dove 2012-09-04 13:58:15 -04:00
sdhci-msm.txt mmc: sdhci-msm: Qualcomm SDHCI binding documentation 2014-03-26 21:26:11 -04:00
sdhci-pxa.txt mmc: sdhci-pxav3: add support for the Armada 38x SDHCI controller 2014-03-29 12:18:19 -04:00
sdhci-sirf.txt mmc: sdhci-sirf: add mmc host sdhci-pltfm based driver for SiRF SoCs 2013-03-22 13:29:46 -04:00
sdhci-spear.txt mmc: sdhci-spear: Add clk_{un}prepare() support 2012-10-07 17:41:45 -04:00
socfpga-dw-mshc.txt Revert "dts: socfpga: Add support for SD/MMC on the SOCFPGA platform" 2014-03-17 09:04:57 -04:00
sunxi-mmc.txt mmc: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs 2014-06-03 16:52:34 -07:00
synopsys-dw-mshc.txt mmc: dw_mmc: use the mmc_of_parse() instead of local parser 2014-05-12 18:04:32 -04:00
ti-omap-hsmmc.txt mmc: omap_hsmmc: Enable SDIO interrupt 2014-07-09 11:26:03 +02:00
ti-omap.txt mmc: omap: Fix I2C dependency and make driver usable with device tree 2013-11-26 15:51:16 -08:00
tmio_mmc.txt ARM: shmobile: update SDHI DT compatibility string to the <unit>-<soc> format 2013-09-21 09:55:32 -07:00
usdhi6rol0.txt mmc: add a driver for the Renesas usdhi6rol0 SD/SDIO host controller 2014-06-02 21:24:45 -04:00
vt8500-sdmmc.txt mmc: SD/MMC Host Controller for Wondermedia WM8505/WM8650 2012-12-06 13:54:50 -05:00