mmc: core: Add host specific tuning support for eMMC HS400 mode
authorWenbin Mei <wenbin.mei@mediatek.com>
Fri, 17 Sep 2021 12:48:02 +0000 (20:48 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 12 Oct 2021 08:21:18 +0000 (10:21 +0200)
commitf614fb60a1983819e83796198de2b607fba75e99
tree384b93edfbd507d9a8114175f66944792192d1ab
parentfb4708e6cb5c70a0dca5437640f1f85b9042256e
mmc: core: Add host specific tuning support for eMMC HS400 mode

This adds a ->execute_hs400_tuning() host callback to enable optional
support for host specific tuning for eMMC HS400 mode. Additionally, share
mmc_get_ext_csd() through the public host headerfile, to allow it to be
used by the host drivers, which is needed to support the HS400 tuning.

Signed-off-by: Wenbin Mei <wenbin.mei@mediatek.com>
Link: https://lore.kernel.org/r/20210917124803.22871-3-wenbin.mei@mediatek.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c
drivers/mmc/core/mmc_ops.h
include/linux/mmc/host.h