U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] qcom: Enable HS200/HS400 eMMC modes on Qualcomm platforms
@ 2026-11-10 11:45 Aswin Murugan
  2026-11-10 11:45 ` [PATCH v4 1/4] mmc: msm_sdhci: move definitions to msm_sdhci.h Aswin Murugan
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Aswin Murugan @ 2026-11-10 11:45 UTC (permalink / raw)
  To: casey.connolly, neil.armstrong, sumit.garg, trini, peng.fan,
	jh80.chung, tanmay.kathpalia, aswin.murugan, nathbappai,
	balaji.selvanathan, Michael.Srba, u-boot-qcom, u-boot

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.

Changes in v4:
- Split the series into logical chunks to reduce review complexity.
- Introduce msm_sdhci.h for shared definitions and improve driver organization.

Link to v3: https://lore.kernel.org/u-boot/20261030134145.2349821-1-aswin.murugan@oss.qualcomm.com/

Changes in v3:
- guard execute_tuning under CONFIG_MMC_SUPPORTS_TUNING to fix undefined
  reference to mmc_send_tuning when tuning is disabled in SPL builds
- Dropped the "fix max-frequency read into wrong-sized variable" patch
  from this series, as it has already been picked up.

Link to v2: https://lore.kernel.org/u-boot/20260902170559.3225833-1-aswin.murugan@oss.qualcomm.com/

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/20260827073325.4113071-1-aswin.murugan@oss.qualcomm.com/

Aswin Murugan (4):
  mmc: msm_sdhci: move definitions to msm_sdhci.h
  mmc: msm_sdhci: add CM_DLL init and HS200 tuning support
  mmc: msm_sdhci: add HS400 DDR/SDC4 DLL calibration
  configs: qcom: enable CONFIG_MMC_HS400_SUPPORT

 configs/qcom_defconfig  |   1 +
 drivers/mmc/msm_sdhci.c | 722 +++++++++++++++++++++++++++++++++++++---
 drivers/mmc/msm_sdhci.h | 127 +++++++
 3 files changed, 805 insertions(+), 45 deletions(-)
 create mode 100644 drivers/mmc/msm_sdhci.h

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-23 15:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-10 11:45 [PATCH v4 0/4] qcom: Enable HS200/HS400 eMMC modes on Qualcomm platforms Aswin Murugan
2026-11-10 11:45 ` [PATCH v4 1/4] mmc: msm_sdhci: move definitions to msm_sdhci.h Aswin Murugan
2026-11-10 11:45 ` [PATCH v4 2/4] mmc: msm_sdhci: add CM_DLL init and HS200 tuning support Aswin Murugan
2026-11-23 15:05   ` Stephan Gerhold
2026-11-10 11:45 ` [PATCH v4 3/4] mmc: msm_sdhci: add HS400 DDR/SDC4 DLL calibration Aswin Murugan
2026-11-23 15:06   ` Stephan Gerhold
2026-11-10 11:45 ` [PATCH v4 4/4] configs: qcom: enable CONFIG_MMC_HS400_SUPPORT Aswin Murugan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox