This series enables SDHI to be reset via a reset controller. Please let me know about your (and BSP team's) thoughts. Changes since RFC v2 (thanks Geert for the review!): * use devm_reset_control_get_optional_exclusive() * select RESET_CONTROLLER * given reason in commit message of patch 2 Tested on a Salvator-XS with a Renesas R-Car M3-N. Shimoda-san: I think we need to get this series upstream first. On top of this, I will work on the better irq_mask handling. Wolfram Sang (2): mmc: tmio: abort DMA before reset mmc: renesas_sdhi: do hard reset if possible drivers/mmc/host/Kconfig | 1 + drivers/mmc/host/renesas_sdhi.h | 2 ++ drivers/mmc/host/renesas_sdhi_core.c | 15 ++++++++++++++- drivers/mmc/host/tmio_mmc_core.c | 4 ++-- 4 files changed, 19 insertions(+), 3 deletions(-) -- 2.30.0