[PATCH v2 0/3] Enable eMMC and SD card support for QCS615
Balaji Selvanathan
balaji.selvanathan at oss.qualcomm.com
Tue Apr 21 15:00:07 CEST 2026
This patch series enables eMMC and SD card support on the Qualcomm
QCS615 platform by adding the necessary clock support, fixing device
type detection for proper EFI boot handling, and addressing controller
timeout issues.
Patch 1 adds clock support for SDCC1 (eMMC) and SDCC2 (SD card) controllers
Patch 2 fixes the block device removable flag to correctly distinguish
between eMMC (non-removable) and SD cards (removable).
Patch 3 limits the maximum MMC transfer size to prevent controller
timeouts that occur with very large block operations
Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
---
Changes in v2:
- Moved removable flag update from generic mmc-uclass.c to platform-
specific msm_sdhci.c driver.
- Set CONFIG_SYS_MMC_MAX_BLK_COUNT to deal with controller timeout.
- Link to v1: https://lore.kernel.org/u-boot/20260324-emmc_sd-v1-0-883a45538b6e@oss.qualcomm.com/
---
Balaji Selvanathan (3):
clk: qcom: qcs615: Add SDCC1 and SDCC2 clock support
drivers: mmc: uclass: Set removable flag based on device tree property
configs: qcom_defconfig: Limit MMC transfer size to prevent controller timeout
configs/qcom_defconfig | 1 +
drivers/clk/qcom/clock-qcom.h | 2 ++
drivers/clk/qcom/clock-qcs615.c | 46 ++++++++++++++++++++++++++++++++++++++++-
drivers/mmc/msm_sdhci.c | 7 +++++++
4 files changed, 55 insertions(+), 1 deletion(-)
---
base-commit: e3405917a1806971d9e72a94186b299f05581e1a
change-id: 20260421-emmc-4c0a286779be
Best regards,
--
Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
More information about the U-Boot
mailing list