mmc: mmci: stm32: add SDIO in-band interrupt mode
authorChristophe Kerello <christophe.kerello@foss.st.com>
Wed, 8 Nov 2023 14:16:37 +0000 (15:16 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 7 Dec 2023 13:08:44 +0000 (14:08 +0100)
commit1bcfbfd7c9aa716f61a01682345a1b329f6a6e66
tree88f0b93072b7ca260a91bbfddce61f64c8ecd596
parent37c8ceb6d92c955f5dd8223c3f6c90b277322210
mmc: mmci: stm32: add SDIO in-band interrupt mode

Add the support of SDIO in-band interrupt mode for STM32 and Ux500
variants.
It allows the SD I/O card to interrupt the host on SDMMC_D1 data line.
It is not enabled by default on Ux500 variant as this is unstable and
Ux500 users should use out-of-band IRQs.

Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com>
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231108141637.119497-1-yann.gautier@foss.st.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.h