mmc: sdhci-of-dwcmshc: Add tuning support for Sophgo CV1800B and SG200X
authorJisheng Zhang <jszhang@kernel.org>
Sat, 20 Apr 2024 02:14:29 +0000 (10:14 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 26 Apr 2024 04:47:04 +0000 (06:47 +0200)
commitb1b661c47cc49aca830d8de57ae9d8dda639cbbd
treea86af42ff0f1cfff3206b7a02dc3256db6472c52
parent7a5149d3ce806758f0d99efb7af6276ae1d10acc
mmc: sdhci-of-dwcmshc: Add tuning support for Sophgo CV1800B and SG200X

Implement the .platform_execute_tuning for Sophgo CV1800B and SG200X.
Some code is borrowed from sdhci-esdhc-imx.c. The tuning result is
similar as the one of SoC vendor's SDK.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240420021429.454-1-jszhang@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-dwcmshc.c