[RESEND v4 0/3] mmc: mediatek: Add HS400 online tuning support

From: Wenbin Mei
Date: Fri Sep 17 2021 - 08:48:10 EST


Change in v4:
- split driver patch into a core patch and a mtk-sd patch
- use mmc_get_ext_csd function
- move mmc_get_ext_csd() to include/linux/mmc/host.h
- modify some commit message.

Change in v3:
- add detail descripthion for hs400 dly3

Change in v2:
- remove the check "mmc_can_ext_csd"
- change the hs400 tuning condition for "msdc_cmd_done" function and
"msdc_cmd_next" function
- use "-EIO" instead of "-ERANGE"

Wenbin Mei (3):
dt-bindings: mmc: mtk-sd: add hs400 dly3 setting
mmc: core: add tuning support for HS400 mode
mmc: mediatek: Add HS400 online tuning support

.../devicetree/bindings/mmc/mtk-sd.yaml | 12 +++
drivers/mmc/core/mmc.c | 8 ++
drivers/mmc/core/mmc_ops.h | 1 -
drivers/mmc/host/mtk-sd.c | 79 ++++++++++++++++++-
include/linux/mmc/host.h | 4 +
5 files changed, 101 insertions(+), 3 deletions(-)

--
2.25.1