]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: omap_hsmmc: Pin remux workaround to support SDIO interrupt on AM335x
authorAndreas Fenkart <afenkart@gmail.com>
Thu, 29 May 2014 08:28:05 +0000 (10:28 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Jul 2014 09:26:06 +0000 (11:26 +0200)
commit14649b9934cbd8954cad5d7742d3f3d3fc460aa0
tree6d1e4b37041d8d7a7f7ac983143663fa64fb1289
parenta54a7e3cbafa3c47ba97e88387c09cfd674b13e1
mmc: omap_hsmmc: Pin remux workaround to support SDIO interrupt on AM335x

The am335x can't detect pending cirq in PM runtime suspend.
This patch reconfigures dat1 as a GPIO before going to suspend.
SDIO interrupts are detected with the GPIO, the GPIO will only wake
the module from suspend, SDIO irq detection will still happen through the
IP block.

Idea of remuxing the pins by Tony Lindgren. Code contributions from
Tony Lindgren and Balaji T K <balajitk@ti.com>

Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt
drivers/mmc/host/omap_hsmmc.c