Hi,
this patch-set provides SDHI driver support for eMMC HS400.
Based on mmc-v4.18-rc1
Dependencies for applying these patches:
* none
Dependencies to test eMMC HS400:
* [PATCH] clk: renesas: rcar-gen3: Fix SD divider setting
* [PATCH v2] arm64: dts: salvator-common: Enable HS400 of SDHI2
To assist testing and review this patch and the above mentioned
dependencies, which are necessary and sufficient to enable HS400 on
R-Car {H3,M3-W,M3-N} / Salvator-{X,XS}.
https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/hs400-v5
Changes since v4:
* Refactor host tuning operations as suggested by Ulf
* Differeniate between 4 tap and 8 tap support for HS400
* Support HS400 with R-Car M3-N (r8a77965)
Changes since v3:
* As a follow-up to discussion with Ulf and Wolfram I have proposed
two new HS400 tuning host operations. These are provided, and explained,
in "mmc: core: more fine-grained hooks for HS400 tuning".
The following driver patches have been updated to use these new operations.
And "mmc: tmio: add eMMC HS400 mode support" proposes a minor cleanup
to make it a little cleaner to add the proposed new host operations to
the MMC core.
Changes since v2:
* Consolidate disable_scc and reset_hs400_mode into reset_hs400_tuning
callback
* Reuse renesas_sdhi_reset_hs400_mode() in renesas_sdhi_hw_reset()
* Factor out renesas_sdhi_reset_scc()
Masaharu Hayakawa (2):
mmc: tmio: add eMMC HS400 mode support
mmc: renesas_sdhi: add eMMC HS400 mode support
Simon Horman (1):
mmc: core: more fine-grained hooks for HS400 tuning
drivers/mmc/core/mmc.c | 10 ++
drivers/mmc/host/renesas_sdhi_core.c | 127 +++++++++++++++++++++-----
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 20 +++-
drivers/mmc/host/renesas_sdhi_sys_dmac.c | 17 +++-
drivers/mmc/host/tmio_mmc.h | 6 ++
drivers/mmc/host/tmio_mmc_core.c | 47 +++++++++-
include/linux/mfd/tmio.h | 3 +
include/linux/mmc/host.h | 7 ++
8 files changed, 209 insertions(+), 28 deletions(-)
--
2.11.0