diff options
author | Axe Yang <axe.yang@mediatek.com> | 2022-07-26 08:28:41 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2022-07-26 16:58:31 +0200 |
commit | 019e442bb0d5e7f25ada8eb4252e22e62d17a95e (patch) | |
tree | 7c6757688498fdf2a640ed3f042e74b6cfa3c75f /drivers/mmc/host/mtk-sd.c | |
parent | dt-bindings: mmc: mtk-sd: extend interrupts and pinctrls properties (diff) | |
download | linux-019e442bb0d5e7f25ada8eb4252e22e62d17a95e.tar.xz linux-019e442bb0d5e7f25ada8eb4252e22e62d17a95e.zip |
mmc: core: Add support for SDIO wakeup interrupt
If wakeup-source flag is set in host dts node, parse EAI information
from SDIO CCCR interrupt externsion segment for in-band wakeup. If
async interrupt is supported by SDIO card then enable it and set
enable_async_irq flag in sdio_cccr structure to 1. The parse flow is
implemented in sdio_read_cccr().
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Axe Yang <axe.yang@mediatek.com>
Link: https://lore.kernel.org/r/20220726062842.18846-3-axe.yang@mediatek.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/mtk-sd.c')
0 files changed, 0 insertions, 0 deletions