[PATCH v5 0/3] mmc: mediatek: add support for SDIO async IRQ

From: Axe Yang
Date: Fri Jan 21 2022 - 02:19:53 EST


Change in v5:
- resort variables to reversed xmas tree order
- restore old copyright year range and add current year back

Change in v4:
- add MMC_CAP2_SDIO_ASYNC_IRQ judge before lookup eint pinctrl
- replace spin_lock_irqsave() variant with spin_lock() in eint irq handler

Changes in v3:
- correct abbreviations with capital letters in commit message
- replace copyright year with 2022 in mtk-sd.c
- remove unnessary pointer casting
- adjust variable order to reversed xmas tree
- remove a redundant blank line
- refine if statement, following standard pattern

Change in v2:
- change flag name from 'cap-sdio-async-int' to 'cap-sdio-async-irq'
- change corresponding macro names from xxx_INT to xxx_IRQ
- resort new member in msdc_host structure
- refine function msdc_request_dat1_eint_irq()
- rename msdc_{suspend,resume} function names, add suffix '_noirq'
- add MMC_CAP2_NO_SDIO judgement before parse eint related pin setting

Axe Yang (3):
dt-bindings: mmc: add cap-sdio-async-irq flag
mmc: core: Add support for SDIO async interrupt
mmc: mediatek: add support for SDIO eint IRQ

.../bindings/mmc/mmc-controller.yaml | 5 +
drivers/mmc/core/host.c | 2 +
drivers/mmc/core/sdio.c | 17 +++
drivers/mmc/host/mtk-sd.c | 123 ++++++++++++++++--
include/linux/mmc/card.h | 3 +-
include/linux/mmc/host.h | 1 +
include/linux/mmc/sdio.h | 5 +
7 files changed, 147 insertions(+), 9 deletions(-)

--
2.25.1