]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: add DT bindings for more MMC capability flags
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 15 Feb 2013 15:14:01 +0000 (16:14 +0100)
committerChris Ball <cjb@laptop.org>
Mon, 18 Feb 2013 13:07:38 +0000 (08:07 -0500)
commit3d1ed8d342421f7438f4761c8d4cfe499e7daf9f
tree66a25efb5bf89e8377d7121cd9197745656cf1d9
parentc1ee16847314f4c6a9e775c423415a0d9eaa3ea0
mmc: add DT bindings for more MMC capability flags

Many MMC capability flags are platform-dependent and are traditionally set
in platform data. With DT often each such capability requires a special
binding. Add bindings for MMC_CAP_SD_HIGHSPEED, MMC_CAP_MMC_HIGHSPEED,
MMC_CAP_POWER_OFF_CARD and MMC_CAP_SDIO_IRQ capabilities. Also add code to
DT parser to look up "keep-power-in-suspend" and "enable-sdio-wakeup"
bindings and set MMC_PM_KEEP_POWER and MMC_PM_WAKE_SDIO_IRQ respectively,
if found.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Documentation/devicetree/bindings/mmc/mmc.txt
drivers/mmc/core/host.c