Skip to contentSkip to conversation

configs: am64x_evm_a53: Enable MMC UHS modes

PATCH In review Judith Mendez 2 participants 2 messages Apr 24, 2025 – May 3, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: am64x_evm_a53: Enable MMC UHS modes

Enable UHS modes for SD by enabling configs for voltage regulator drivers, IO voltage switching, and configs to support UHS modes.

The am64x SoC has an internal LDO which does voltage switching, but the MMC_IO_VOLTAGE config is still required to be able to switch voltage for SD.

While we are here, am64x HS400 mode has been descoped as per datasheet [0] even though we still initialize to HS200, clean this up by switching to MMC_HS200_SUPPORT config options.

[0] https://www.ti.com/lit/gpn/am6442

---
 configs/am64x_evm_a53_defconfig | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
configs/am64x_evm_a53_defconfig +9 -2
index 1bb6d7c4eb6..bc666fdf68d 100644
@@ -116,8 +116,12 @@ CONFIG_SYS_I2C_OMAP24XX=y
 CONFIG_DM_MAILBOX=y
 CONFIG_K3_SEC_PROXY=y
 CONFIG_SUPPORT_EMMC_BOOT=y
-CONFIG_MMC_HS400_SUPPORT=y
-CONFIG_SPL_MMC_HS400_SUPPORT=y
+CONFIG_MMC_IO_VOLTAGE=y
+CONFIG_SPL_MMC_IO_VOLTAGE=y
+CONFIG_MMC_UHS_SUPPORT=y
+CONFIG_SPL_MMC_UHS_SUPPORT=y
+CONFIG_MMC_HS200_SUPPORT=y
+CONFIG_SPL_MMC_HS200_SUPPORT=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ADMA=y
 CONFIG_SPL_MMC_SDHCI_ADMA=y
@@ -151,6 +155,9 @@ CONFIG_TI_SCI_POWER_DOMAIN=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_TPS65219=y
 CONFIG_DM_REGULATOR=y
+CONFIG_SPL_DM_REGULATOR=y
+CONFIG_DM_REGULATOR_FIXED=y
+CONFIG_SPL_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_TPS65219=y
 CONFIG_K3_SYSTEM_CONTROLLER=y
 CONFIG_RESET_TI_SCI=y
Signature · 1 line
2.49.0
#1 lore raw
Quoted 8 lines · Judith Mendez

Enable UHS modes for SD by enabling configs for voltage regulator drivers, IO voltage switching, and configs to support UHS modes.

The am64x SoC has an internal LDO which does voltage switching, but the MMC_IO_VOLTAGE config is still required to be able to switch voltage for SD.

[...]

Applied to u-boot/master, thanks!

[1/1] configs: am64x_evm_a53: Enable MMC UHS modes

      commit: 4b033d47c4fc051c47513441547f1ad155d2f9b4
Signature · 1 line
Tom