linux-uconsole/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 iio:dac: Add support for the AD7303 2013-06-11 20:25:58 +01:00
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 ARM: ux500: move PM-related PRCMU functions to machine 2013-04-08 13:57:53 +02:00
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 misc: (at24) move header to linux/platform_data/ 2013-09-30 06:02:34 +02:00
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 backlight: Add ROHM BD6107 backlight driver 2013-07-16 13:01:19 +09:00
brcmfmac-sdio.h brcmfmac: abstract tx packet processing functions 2013-08-15 16:07:55 -04:00
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 [media] V4L2: mx3_camera: add support for asynchronous subdevice registration 2013-08-18 09:06:37 -03:00
camera-pxa.h
camera-rcar.h [media] V4L2: soc_camera: Renesas R-Car VIN driver 2013-08-18 09:01:10 -03:00
clk-integrator.h ARM: integrator: switch to fetch clocks from device tree 2014-02-13 11:20:42 +01:00
clk-lpss.h ACPI / LPSS: register clock device for Lynxpoint DMA properly 2013-05-14 10:23:58 +05:30
clk-realview.h
clk-u300.h
clk-ux500.h clk: ux500: Copy u8500_clk_init() ready for DT enablement 2013-09-26 11:05:26 +02:00
coda.h media: coda: use genalloc API 2013-04-29 18:28:13 -07:00
crypto-atmel.h ARM: AT91SAM9G45: same platform data structure for all crypto peripherals 2013-03-10 16:46:41 +08:00
crypto-ux500.h
cyttsp4.h Input: cyttsp4 - add core driver for Cypress TMA4XX touchscreen devices 2013-06-30 21:24:21 -07:00
davinci_asp.h ASoC: davinci-mcasp: Rename platform data struct 2014-02-03 18:26:59 +00:00
db8500_thermal.h
dma-atmel.h dmaengine: at_hdmac: extend hardware handshaking interface identification 2013-07-05 11:40:29 +05:30
dma-coh901318.h dma: coh901318: create a proper platform data file 2013-01-07 17:35:57 +01:00
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: add driver for R-Car HPB-DMAC 2013-09-02 17:35:55 +05:30
dma-s3c24xx.h ARM: S3C24XX: add dma pdata for s3c2410, s3c2440 and s3c2442 2013-10-21 05:32:48 +09:00
dma-ste-dma40.h dmaengine: ste_dma40: Allow memcpy channels to be configured from DT 2013-06-04 11:12:11 +02:00
dmtimer-omap.h
dsp-omap.h
dwc3-exynos.h
dwc3-omap.h usb: dwc3: omap: remove platform data associated with dwc3-omap 2013-03-18 11:16:38 +02:00
edma.h ARM: edma: Remove redundant/unused parameters from edma_soc_info 2014-05-22 14:55:25 +05:30
efm32-spi.h spi: new controller driver for efm32 SoCs 2013-08-09 17:32:57 +01:00
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 memory: emif: Handle devices which are not rated for >85C 2013-03-25 13:18:12 -07:00
eth-netx.h net: Cleanup in eth-netx.h 2014-01-02 03:30:35 -05:00
fsa9480.h
g762.h Add support for GMT G762/G763 PWM fan controllers 2013-06-27 10:31:42 -07:00
gpio-davinci.h gpio: remove obsolete tnetv107x driver 2014-03-05 10:44:44 +08:00
gpio-em.h gpio: em: Add pinctrl support 2013-07-21 17:24:41 +02:00
gpio-lpc32xx.h ARM: lpc32xx: move custom GPIO header 2013-12-03 11:26:06 +01:00
gpio-omap.h
gpio-rcar.h gpio-rcar: Add RCAR_GP_PIN macro 2013-06-04 21:03:56 +09:00
gpio-ts5500.h
gpio_backlight.h backlight: Add GPIO-based backlight driver 2013-07-16 13:01:05 +09:00
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 Invensense MPU6050 Device Driver. 2013-02-10 17:42:43 +00:00
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 irqchip: intc-irqpin: GPL header for platform data 2013-03-18 21:26:06 +09:00
irq-renesas-irqc.h irqchip: Renesas IRQC driver 2013-03-18 21:26:06 +09:00
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 Input: pxa27x-keypad - use matrix_keymap for matrix keys 2013-06-18 22:56:51 -07:00
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: lp55xx: handle enable pin in driver 2013-10-25 10:13:25 -07:00
leds-omap.h
leds-pca963x.h leds-pca9633: Rename to leds-pca963x 2013-08-26 17:22:14 -07:00
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 regulator: lp8755: new driver for LP8755 2012-12-24 16:32:34 +00:00
lv5207lp.h backlight: Add Sanyo LV5207LP backlight driver 2013-07-16 13:01:10 +09:00
macb.h
mailbox-omap.h ARM: OMAP2+: add user and fifo info to mailbox platform data 2013-06-11 11:41:30 -05:00
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 hwmon: Driver for Maxim MAX6697 and compatibles 2013-02-06 09:57:56 -08:00
mfd-mcp-sa11x0.h mfd: Cleanup mfd-mcp-sa11x0.h header 2014-01-21 08:28:59 +00:00
microread.h NFC: Initial support for Inside Secure microread 2013-02-03 20:37:42 +01:00
mmc-davinci.h ARM: davinci: mmc: derive version information from device name 2013-04-03 09:42:16 +05:30
mmc-esdhc-imx.h mmc: sdhci-esdhc-imx: add delay line setting support 2013-10-21 15:58:13 -04:00
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 ARM: pxa: propagate errors from regulator_enable() to pxamci 2013-07-23 12:15:15 -07:00
mmc-s3cmci.h
mmc-sdhci-s3c.h mmc: sdhci-s3c: remove platform dependencies 2013-04-19 13:51:23 +02:00
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 usb: mv_usb: remove clock name from pdata 2013-04-02 11:42:47 +03:00
net-cw1200.h cw1200: rename the cw1200 platform definition header 2013-06-03 15:54:56 -04:00
ntc_thermistor.h hwmon: Fix CamelCase checkpatch warnings 2013-04-07 21:16:40 -07:00
omap-twl4030.h
omap-wd-timer.h
omap1_bl.h
omap_drm.h
pca953x.h gpio: (gpio-pca953x) move header to linux/platform_data/ 2013-08-29 12:33:52 -07:00
pcmcia-pxa2xx_viper.h
pinctrl-adi2.h pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x. 2013-09-19 14:37:27 +02:00
pinctrl-single.h pinctrl: single: Add support for auxdata 2013-10-10 15:30:47 -07:00
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 drm/rcar-du: Rework output routing support 2013-08-09 23:17:52 +02:00
remoteproc-omap.h remoteproc/omap: fix a sparse warning 2013-07-01 15:30:51 +03:00
s3c-hsotg.h ARM defconfigs: add missing inclusions of linux/platform_device.h 2013-02-14 15:14:32 -08:00
s3c-hsudc.h
sa11x0-serial.h
samsung-usbphy.h usb: phy: samsung: Introducing usb phy driver for hsotg 2013-01-18 15:06:30 +02:00
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: OMAP: Remove the slave idle handling from the driver 2013-05-19 16:37:08 -06:00
serial-sccnxp.h Revert "serial: sccnxp: Add DT support" 2013-08-02 15:25:19 +08:00
sh_ipmmu.h iommu/shmobile: Add iommu driver for Renesas IPMMU modules 2013-02-06 10:57:25 +01:00
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 fbdev changes for 3.12: 2013-09-05 09:49:32 -07:00
spi-clps711x.h
spi-davinci.h ARM: davinci: move private EDMA API to arm/common 2013-06-18 10:52:03 +05:30
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: spi-omap2-mcspi.c: Toggle CS after each word 2013-01-26 17:00:04 +08:00
spi-s3c64xx.h spi/s3c64xx: Trivial cleanup in header file 2014-02-16 09:59:13 +08:00
ssm2518.h ASoC: Add ssm2518 support 2013-05-25 10:33:30 -04:00
st21nfca.h NFC: ST21NFCA: Add driver for STMicroelectronics ST21NFCA NFC Chip 2014-04-22 00:37:25 +02:00
st1232_pdata.h Input: st1232 - add reset pin handling 2013-04-15 10:00:44 -07:00
st_sensors_pdata.h iio: Added ST-sensors platform data to select the DRDY interrupt pin 2013-08-03 18:40:28 +01:00
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 iio:light:tsl2563 move out of staging 2013-01-27 17:37:24 +00:00
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: musb: ux500: move channel number knowledge into the driver 2013-06-04 11:12:02 +02:00
usb-mx2.h
usb-ohci-pxa27x.h
usb-ohci-s3c2410.h
usb-omap.h mfd: omap-usb-host: override number of ports from platform data 2013-02-13 13:22:49 +02:00
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: phy: Add RCAR Gen2 USB phy 2013-10-10 11:59:48 -05:00
usb-rcar-phy.h phy-rcar-usb: add R8A7778 support 2013-06-11 16:11:16 +09:00
usb-s3c2410_udc.h
usb3503.h usb: misc: usb3503: Add to select the ports to disable 2013-05-30 21:32:52 +09:00
ux500_wdt.h watchdog: Add support for ux500_wdt watchdog 2013-02-14 00:22:53 +01:00
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 video/s3c: move platform_data out of arch/arm 2013-04-11 14:49:20 +03:00
voltage-omap.h
vsp1.h [media] v4l: vsp1: Add LUT support 2013-12-11 09:25:20 -02:00
wiznet.h
zforce_ts.h Input: add driver for Neonode zForce based touchscreens 2013-10-31 08:46:08 -07:00