android_kernel_msm-6.1_noth.../include/linux/platform_data
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
..
ad5449.h
ad5755.h
ad7266.h
ad7298.h
ad7303.h
ad7791.h
ad7793.h
ad7887.h
adau17x1.h ASoC: Add ADAU1381/ADAU1781 audio CODEC support 2014-05-27 20:54:51 +01:00
adau1977.h ASoC: Add ADAU1977 CODEC driver 2014-02-19 13:36:15 +09:00
ads7828.h
arm-ux500-pm.h
asoc-imx-ssi.h
asoc-kirkwood.h
asoc-mx27vis.h
asoc-palm27x.h
asoc-s3c.h ASoC: samsung: Remove invalid file reference 2014-02-25 21:29:26 +09:00
asoc-s3c24xx_simtec.h ASoC: s3c24xx: Remove invalid file reference 2014-02-25 21:29:31 +09:00
asoc-ti-mcbsp.h ASoC: mcbsp: Trivial cleanup in asoc-ti-mcbsp.h 2013-12-30 11:50:16 +00:00
asoc-ux500-msp.h ARM: ux500: Don't use enums for MSP IDs - for easy DT conversion 2014-01-07 15:36:09 +00:00
at24.h
at91_adc.h iio: adc: at91_adc: Add support for touchscreens without TSMR 2014-05-07 18:28:40 +02:00
ata-pxa.h
ata-samsung_cf.h ata: ata-samsung_cf: cleanup in header file 2014-02-19 14:52:52 +01:00
atmel.h TTY/Serial driver patches for 3.16-rc1 2014-06-03 09:01:02 -07:00
bd6107.h
brcmfmac-sdio.h
bt-nokia-h4p.h staging/bluetooth: Add hci_h4p driver 2014-02-07 10:13:53 -08:00
camera-mx1.h
camera-mx2.h
camera-mx3.h
camera-pxa.h
camera-rcar.h
clk-integrator.h ARM: integrator: switch to fetch clocks from device tree 2014-02-13 11:20:42 +01:00
clk-lpss.h
clk-realview.h
clk-u300.h
clk-ux500.h
coda.h
crypto-atmel.h
crypto-ux500.h
cyttsp4.h
davinci_asp.h ASoC: davinci-mcasp: Rename platform data struct 2014-02-03 18:26:59 +00:00
db8500_thermal.h
dma-atmel.h
dma-coh901318.h
dma-ep93xx.h
dma-imx-sdma.h dma: imx-sdma: Add sdma firmware version 2 support 2013-12-16 09:18:47 +05:30
dma-imx.h dma: imx-sdma: Add new dma type for ssi dual fifo script 2013-12-16 09:18:48 +05:30
dma-mmp_tdma.h dma: Cleanup dma-mmp_tdma.h header 2014-01-13 13:30:30 +05:30
dma-mv_xor.h dma: mv_xor: Cleanup in dma-mv_xor.h header 2014-01-13 13:30:31 +05:30
dma-rcar-audmapp.h shdma: add R-Car Audio DMAC peri peri driver 2014-03-29 19:38:09 +05:30
dma-rcar-hpbdma.h
dma-s3c24xx.h
dma-ste-dma40.h
dmtimer-omap.h
dsp-omap.h
dwc3-exynos.h
dwc3-omap.h
edma.h ARM: edma: Remove redundant/unused parameters from edma_soc_info 2014-05-22 14:55:25 +05:30
efm32-spi.h
efm32-uart.h
ehci-sh.h
elm.h mtd: nand: omap: add support for BCH16_ECC - ELM driver updates 2014-05-20 17:52:14 -07:00
emif_plat.h
eth-netx.h net: Cleanup in eth-netx.h 2014-01-02 03:30:35 -05:00
fsa9480.h
g762.h
gpio-davinci.h gpio: remove obsolete tnetv107x driver 2014-03-05 10:44:44 +08:00
gpio-em.h
gpio-lpc32xx.h ARM: lpc32xx: move custom GPIO header 2013-12-03 11:26:06 +01:00
gpio-omap.h
gpio-rcar.h
gpio-ts5500.h
gpio_backlight.h
hwmon-s3c.h hwmon: (s3c) Trivial cleanup in hwmon-s3c.h 2014-01-14 21:36:52 -08:00
i2c-cbus-gpio.h
i2c-davinci.h
i2c-imx.h
i2c-nuc900.h
i2c-s3c2410.h i2c: s3c2410: Trivial cleanup in header file 2014-03-10 17:32:28 +01:00
ina2xx.h
intel-mid_wdt.h watchdog: add Intel MID watchdog driver support 2014-06-10 21:48:16 +02:00
invensense_mpu6050.h
iommu-omap.h
ipmmu-vmsa.h iommu: Add driver for Renesas VMSA-compatible IPMMU 2014-05-26 11:18:21 +02:00
irda-pxaficp.h
irq-renesas-intc-irqpin.h
irq-renesas-irqc.h
keyboard-pxa930_rotary.h
keyboard-spear.h
keypad-ep93xx.h Input: keypad-ep93xx - cleanup header file 2013-12-27 17:20:21 -08:00
keypad-nomadik-ske.h
keypad-omap.h Input: keypad-omap - cleanup header file 2013-12-27 17:20:22 -08:00
keypad-pxa27x.h
keypad-w90p910.h
keyscan-davinci.h
lcd-mipid.h
leds-kirkwood-netxbig.h leds: kirkwood: Cleanup in header files 2014-01-27 17:28:51 -08:00
leds-kirkwood-ns2.h leds: kirkwood: Cleanup in header files 2014-01-27 17:28:51 -08:00
leds-lm355x.h
leds-lm3642.h
leds-lp55xx.h
leds-omap.h
leds-pca963x.h
leds-s3c24xx.h leds: leds-s3c24xx: Trivial cleanup in header file 2014-02-27 09:57:11 -08:00
lm3630a_bl.h backlight: lm3630: apply chip revision 2013-11-13 12:09:15 +09:00
lm3639_bl.h
lp855x.h backlight: lp855x_bl: support new LP8555 device 2013-11-13 12:09:14 +09:00
lp8727.h
lp8755.h
lv5207lp.h
macb.h
mailbox-omap.h
max197.h hwmon: (max197) add include guard 2014-01-14 21:36:53 -08:00
max3421-hcd.h usb: host: max3421-hcd: Allow platform-data to specify Vbus polarity 2014-05-29 11:19:30 -07:00
max6697.h
mfd-mcp-sa11x0.h mfd: Cleanup mfd-mcp-sa11x0.h header 2014-01-21 08:28:59 +00:00
microread.h
mmc-davinci.h
mmc-esdhc-imx.h
mmc-msm_sdcc.h mmc: msm: Cleanup mmc-msm_sdcc.h header 2014-02-25 15:43:15 -05:00
mmc-mvsdio.h mmc: mvsdio: Cleanup mmc-mvsdio.h header 2014-02-25 15:43:23 -05:00
mmc-mxcmmc.h
mmc-omap.h mmc: omap_hsmmc: Enable SDIO interrupt 2014-07-09 11:26:03 +02:00
mmc-pxamci.h
mmc-s3cmci.h
mmc-sdhci-s3c.h
mmp_audio.h
mmp_dma.h
mouse-pxa930_trkball.h
msm_serial_hs.h
mtd-davinci-aemif.h ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif 2014-02-23 20:33:18 +05:30
mtd-davinci.h
mtd-mxc_nand.h
mtd-nand-omap2.h mtd: nand: omap: add support for BCH16_ECC - GPMC driver updates 2014-05-20 17:52:14 -07:00
mtd-nand-pxa3xx.h mtd: nand: pxa3xx: Use ECC strength and step size devicetree binding 2014-05-21 12:55:09 -07:00
mtd-nand-s3c2410.h mtd: nand: s3c2410: Trivial cleanup in header file 2014-03-10 22:42:26 -07:00
mtd-onenand-omap2.h mtd: omap2: Cleanup header files 2014-01-11 11:39:18 -08:00
mtd-orion_nand.h mtd: orion: Cleanup mtd-orion_nand.h header 2014-01-11 11:39:23 -08:00
mv_usb.h
net-cw1200.h
ntc_thermistor.h
omap-twl4030.h
omap-wd-timer.h
omap1_bl.h
omap_drm.h
pca953x.h
pcmcia-pxa2xx_viper.h
pinctrl-adi2.h
pinctrl-single.h
pn544.h nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
pxa2xx_udc.h
pxa_sdhci.h
rcar-du.h
remoteproc-omap.h
s3c-hsotg.h
s3c-hsudc.h
sa11x0-serial.h
samsung-usbphy.h
sc18is602.h
serial-imx.h serial: imx: Remove init() and exit() platform callbacks 2014-02-28 16:36:45 -08:00
serial-omap.h
serial-sccnxp.h
sh_ipmmu.h
shmob_drm.h
sht15.h hwmon: (sht15) add include guard 2014-01-14 21:36:53 -08:00
shtc1.h hwmon: add support for Sensirion SHTC1 sensor 2014-06-12 08:36:48 -07:00
si5351.h clk: si5351: remove variant from platform_data 2014-01-27 11:20:22 -08:00
simplefb.h
spi-clps711x.h
spi-davinci.h
spi-ep93xx.h
spi-imx.h
spi-nuc900.h spi: nuc900: Cleanup spi-nuc900.h header 2013-12-30 12:46:20 +00:00
spi-omap2-mcspi.h
spi-s3c64xx.h spi/s3c64xx: Trivial cleanup in header file 2014-02-16 09:59:13 +08:00
ssm2518.h
st21nfca.h NFC: ST21NFCA: Add driver for STMicroelectronics ST21NFCA NFC Chip 2014-04-22 00:37:25 +02:00
st1232_pdata.h
st_sensors_pdata.h
syscon.h mfd: syscon: Add platform data with a regmap config name 2014-05-15 17:02:19 +01:00
tegra_emc.h
touchscreen-s3c2410.h Input: s3c2410 - trivial cleanup in header file 2014-02-14 00:09:43 -08:00
tsl2563.h
uio_dmem_genirq.h
uio_pruss.h
usb-davinci.h
usb-ehci-mxc.h
usb-ehci-orion.h usb: ehci: Cleanup usb-ehci-orion.h header 2014-01-03 12:37:57 -08:00
usb-imx_udc.h
usb-musb-ux500.h
usb-mx2.h
usb-ohci-pxa27x.h
usb-ohci-s3c2410.h
usb-omap.h
usb-omap1.h usb: omap1: add extcon to platform data 2013-12-06 14:36:37 -06:00
usb-pxa3xx-ulpi.h
usb-rcar-gen2-phy.h
usb-rcar-phy.h
usb-s3c2410_udc.h
usb3503.h
ux500_wdt.h
video-ep93xx.h video: ep93xx: Cleanup video-ep93xx.h header 2014-01-17 10:57:41 +02:00
video-imxfb.h video: imxfb: Remove unused fields from platform data structure 2014-02-28 12:35:22 +02:00
video-msm_fb.h video: msm: Cleanup video-msm_fb.h header 2014-01-17 10:57:42 +02:00
video-mx3fb.h
video-nuc900fb.h
video-pxafb.h video: pxa: Cleanup video-pxafb.h header 2014-01-17 10:57:42 +02:00
video_s3c.h
voltage-omap.h
vsp1.h [media] v4l: vsp1: Add LUT support 2013-12-11 09:25:20 -02:00
wiznet.h
zforce_ts.h