TAP and SCC handling is Renesas specific, so it should be moved to the SDHI driver. After previous refactoring, this is possible now. And feasible, too, to simplify further HS400 corrections. IMHO it also makes the driver less complicated. See the patches why this series is still RFC. This is based on top of the series: [RFC PATCH v2 0/5] mmc: renesas_sdhi: add manual correction A branch can be found here: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/sdhi/new_manual_calib It has been tested with a Renesas Salvator-XS boards, one with a R-Car M3-N and one with H3-ES2.0. Tuning to HS400 still works. Wolfram Sang (6): mmc: tmio: refactor tuning execution into SDHI driver mmc: renesas_sdhi: complain loudly if driver needs update mmc: tmio: give callback a generic name mmc: tmio: enforce retune after runtime suspend mmc: tmio: factor out TAP usage mmc: tmio: remove superfluous callback wrappers drivers/mmc/host/renesas_sdhi.h | 5 ++ drivers/mmc/host/renesas_sdhi_core.c | 90 +++++++++++++++++----------- drivers/mmc/host/tmio_mmc.h | 11 +--- drivers/mmc/host/tmio_mmc_core.c | 77 +++--------------------- 4 files changed, 71 insertions(+), 112 deletions(-) -- 2.20.1