This series contains the change for selection of bus speed mode.
Previous implementation is complicated and some sequence is duplicated.
And specially, HS400 mode eMMC5.0 is introduced this time.
This patch-set has been tested in Exynos SoC.
Note:
This patch-set depends on "[PATCH RESEND v3 1/7] mmc: clarify DDR timing mode
between SD-UHS and eMMC".
Changes in v5:
(5/5) Added callback operation for HS400 target operation frequency
instead of specific timing identifier.
(2/5) Removed using union declaration.
Changes in v4:
(5/5)Reverting to HS mode is included in mmc_select_hs400() using
__mmc_switch().
Changes in v3:
Removed the function to check DDR type(mmc_snoop_ddr).
Rebased with the latest branch.
Seungwon Jeon (5):
mmc: drop the speed mode of card's state
mmc: identify available device type to select
mmc: step power class after final selection of bus mode
mmc: rework selection of bus speed mode
mmc: add support for HS400 mode of eMMC5.0
drivers/mmc/core/bus.c | 9 +-
drivers/mmc/core/core.c | 3 +-
drivers/mmc/core/debugfs.c | 5 +-
drivers/mmc/core/mmc.c | 666 ++++++++++++++++++++++++++------------------
drivers/mmc/core/sd.c | 16 +-
drivers/mmc/core/sd.h | 1 -
drivers/mmc/core/sdio.c | 8 +-
include/linux/mmc/card.h | 27 +--
include/linux/mmc/host.h | 43 +++-
include/linux/mmc/mmc.h | 23 ++-
10 files changed, 480 insertions(+), 321 deletions(-)
Thanks,
sw-j
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html