Skip to contentSkip to conversation

mmc: meson_gx_mmc: reduce maximum frequency

PATCH In review Nick Xie 2 participants 2 messages Dec 9, 2025 – Dec 11, 2025

Subsystems (2)
lore
Share & tools
lore

Nick Xie

author
#0 lore raw

PATCH 1/1 mmc: meson_gx_mmc: reduce maximum frequency

Reduce the maximum frequency to 40MHz to be compatible with more eMMC. And the Amlogic vendor U-Boot also use the maximum frequency of 40MHz.

---
 drivers/mmc/meson_gx_mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/meson_gx_mmc.c +1 -1
index 5852b24c6d2..87c5f04da0f 100644
@@ -278,7 +278,7 @@ static int meson_mmc_probe(struct udevice *dev)
 	cfg->host_caps = MMC_MODE_8BIT | MMC_MODE_4BIT |
 			MMC_MODE_HS_52MHz | MMC_MODE_HS;
 	cfg->f_min = DIV_ROUND_UP(SD_EMMC_CLKSRC_24M, CLK_MAX_DIV);
-	cfg->f_max = 100000000; /* 100 MHz */
+	cfg->f_max = 40000000; /* 40 MHz */
 	cfg->b_max = 511; /* max 512 - 1 blocks */
 	cfg->name = dev->name;
 
Signature · 1 line
2.17.1
maintainer
#1 lore raw

Hi,

Quoted 5 lines · Nick Xie

Reduce the maximum frequency to 40MHz to be compatible with more eMMC. And the Amlogic vendor U-Boot also use the maximum frequency of 40MHz.

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boot-amlogic)

[1/1] mmc: meson_gx_mmc: reduce maximum frequency

      https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/867750c2d9b1f42e9a6e54e4f816fae04cff0dd7
Signature · 1 line
Neil