
Hi,
On 9/1/20 5:57 PM, Yangbo Lu wrote:
This patch-set is to support eMMC HS200 and HS400 speed modes for eSDHC, and enable them on LX2160ARDB board.
looks good to me.
Reviewed-by: Jaehoon Chung jh80.chung@samsung.com
Best Regards, Jaehoon Chung
CI build link https://travis-ci.org/github/yangbolu1991/u-boot-test/builds/720875619
Changes for v2:
- Added two patches to fix stability issue.
Changes for v3:
- Explained more in commit messages.
- Added HS400 exit code for downgrade.
Changes for v4:
- Checked returning of mmc_hs400_prepare_ddr().
- Added Reviewed-by.
- Rebased.
Yangbo Lu (11): mmc: add a reinit() API mmc: fsl_esdhc: add a reinit() callback mmc: fsl_esdhc: support tuning for eMMC HS200 mmc: fsl_esdhc: clean TBCTL[TB_EN] manually during init mmc: add a hs400_tuning flag mmc: add a mmc_hs400_prepare_ddr() interface mmc: fsl_esdhc: support eMMC HS400 mode mmc: fsl_esdhc: fix mmc->clock with actual clock mmc: fsl_esdhc: fix eMMC HS400 stability issue arm: dts: lx2160ardb: support eMMC HS400 mode configs: lx2160ardb: enable eMMC HS400 mode support
arch/arm/dts/fsl-lx2160a-rdb.dts | 2 + configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 1 + configs/lx2160ardb_tfa_defconfig | 1 + configs/lx2160ardb_tfa_stmm_defconfig | 1 + drivers/mmc/fsl_esdhc.c | 176 ++++++++++++++++++++++++++- drivers/mmc/mmc-uclass.c | 30 +++++ drivers/mmc/mmc.c | 14 ++- include/fsl_esdhc.h | 29 ++++- include/mmc.h | 26 +++- 9 files changed, 270 insertions(+), 10 deletions(-)