linux/Documentation/devicetree/bindings
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
..
arc
arm Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm 2014-06-29 13:40:08 -07:00
ata Merge branch 'for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata 2014-06-09 14:58:36 -07:00
bus Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial into next 2014-06-04 08:50:34 -07:00
c6x
clock This pull request contains the second half the of the clk changes for 2014-06-15 16:02:20 -10:00
cpufreq
crypto crypto: s5p-sss - Add support for SSS module on Exynos 2014-05-08 21:58:14 +08:00
dma Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2014-06-10 10:28:45 -07:00
drm drm/bridge: Add PTN3460 bridge driver 2014-03-24 00:36:37 +09:00
extcon
fb
gpio Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-06-09 18:46:02 -07:00
gpu drm/tegra: dsi - Implement VDD supply support 2014-06-05 23:09:28 +02:00
hid
hsi HSI: Introduce Nokia N900 modem driver 2014-05-16 00:55:42 +02:00
hwmon hwmon: (ntc_thermistor) Use the manufacturer name properly 2014-06-25 07:09:13 -07:00
hwrng
i2c i2c: sunxi: add P2WI DT bindings documentation 2014-06-12 00:24:05 +02:00
iio First round of IIO new driver, functionality and cleanups for the 3.16 cycle. 2014-04-26 08:12:25 -07:00
input Input: tsc2005 - add DT support 2014-05-29 00:06:00 -07:00
interrupt-controller Documentation: brcmstb-l2: Add Broadcom STB Level-2 interrupt controller binding 2014-05-27 14:43:36 +00:00
iommu documentation/iommu: Add note on existing DT binding status 2014-05-14 15:25:19 +02:00
leds leds: lp55xx: add DT bindings for LP55231 2014-05-08 14:28:08 +08:00
lpddr2
media Merge branches 'topic/vsp1' and 'topic/adv76xx' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media into next 2014-06-06 11:58:47 -07:00
memory-controllers memory: mvebu-devbus: add a devbus, keep-config property 2014-04-29 13:17:10 +00:00
metag
mfd This pull-request contains some misplaced patches from Tony 2014-06-12 12:42:32 -07:00
mipi
mips
misc dt/bindings: add binding for ARM Versatile character LCD 2014-05-03 19:26:25 -04:00
mmc mmc: omap_hsmmc: Enable SDIO interrupt 2014-07-09 11:26:03 +02:00
mtd MTD updates for 3.16: 2014-06-11 08:35:34 -07:00
net amd-xgbe: AMD 10GbE device bindings documentation 2014-06-05 15:26:51 -07:00
nvec
panel drm/panel: simple - Add AUO B133XTN01 panel support 2014-06-09 12:17:21 +02:00
pci Merge branches 'pci/host-designware', 'pci/host-imx6', 'pci/host-mvebu' and 'pci/host-tegra' into next 2014-06-03 08:45:42 -06:00
phy Documentation: dt: Add new compatible for the A31 USB Phy 2014-05-14 19:41:13 +05:30
pinctrl Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial into next 2014-06-04 08:50:34 -07:00
power Documentation: dt: add bindings for keystone reset driver 2014-05-27 09:46:32 -04:00
power_supply power: reset: Add Axxia system reset driver 2014-05-23 18:18:45 +02:00
powerpc Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2014-06-10 18:54:22 -07:00
pps
pwm Documentation: dt: Add Kona PWM binding 2014-04-28 13:05:18 +02:00
regulator Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial into next 2014-06-04 08:50:34 -07:00
reserved-memory of: document bindings for reserved-memory nodes 2014-03-04 16:44:23 +08:00
reset ARM: SoC driver changes 2014-06-02 16:35:49 -07:00
rng
rtc drivers/rtc/rtc-hym8563.c: add optional clock-output-names property 2014-06-06 16:08:08 -07:00
serial serial: uart: add hw flow control support configuration 2014-05-28 13:04:46 -07:00
serio
soc/qcom soc: qcom: Add device tree binding for GSBI 2014-05-23 11:38:53 -05:00
sound ASoC: Final updates for v3.16 2014-06-03 11:51:14 +02:00
spi spi: qup: Remove chip select function 2014-06-22 11:48:09 +01:00
spmi spmi: of: fixup generic SPMI devicetree binding example 2014-05-28 13:45:15 -07:00
staging staging: imx-drm: add LVDS666 support for parallel display 2014-04-25 16:11:03 -07:00
thermal Merge branches 'armada-375-380-soc-support', 'eduardo-thermal-soc-fixes', 'intel-soc-dts-thermal' and 'thermal-soc-fixes' of .git into next 2014-05-15 17:18:02 +08:00
timer clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation 2014-05-23 10:12:04 +02:00
ufs
usb DeviceTree for 3.16: 2014-06-04 10:02:38 -07:00
video Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-06-12 11:32:30 -07:00
virtio
w1
watchdog ARM: mvebu: Add A375/A380 watchdog binding documentation 2014-06-10 21:45:23 +02:00
x86
ABI.txt
eeprom.txt
graph.txt Documentation: of: Document graph bindings 2014-03-06 17:41:34 +01:00
marvell.txt
open-pic.txt
resource-names.txt
submitting-patches.txt
vendor-prefixes.txt devicetree: bindings: Document murata vendor prefix 2014-06-25 07:08:57 -07:00
xilinx.txt