This series adds HS200 and HS400 support for Qualcomm SDHCI controllers by implementing the required DLL initialization, tuning, and calibration sequences in the msm_sdhci driver.
Qualcomm SDHCI controllers were previously limited to High Speed and DDR52 modes due to the lack of HS200 tuning and HS400 DLL calibration support. This series enables higher-speed eMMC modes by adding the required controller-specific programming sequences while preserving support for the existing SDCC core variants. In addition, the series fixes an issue in the handling of the "max-frequency" device tree property and enables HS400 support in Qualcomm defconfigs. Changes in v2: - Address review feedback by simplifying tuning logic, removing dead code, and improving HS400 error handling. Link to v1: https://lore.kernel.org/u-boot/[email protected]/ Aswin Murugan (3): mmc: msm_sdhci: fix max-frequency read into wrong-sized variable mmc: msm_sdhci: add HS200/HS400 support configs: qcom: enable CONFIG_MMC_HS400_SUPPORT configs/qcom_defconfig | 1 + drivers/mmc/msm_sdhci.c | 785 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 783 insertions(+), 3 deletions(-) -- 2.34.1
