[PATCH v2 2/9] mmc: mmc-uclass: Use max-frequency from device tree with default handling
Peng Fan
peng.fan at oss.nxp.com
Thu Dec 11 11:10:13 CET 2025
On Wed, Dec 03, 2025 at 04:21:32AM -0800, Tanmay Kathpalia wrote:
>When the max-frequency property is not specified in the device tree,
>the function now explicitly defaults to 0 instead of leaving cfg->f_max
>uninitialized. This allows sdhci_setup_cfg() to properly detect the
>absence of a device tree specified frequency and fall back to using
>the host controller's maximum base clock frequency from the capabilities
>register.
>
>Signed-off-by: Tanmay Kathpalia <tanmay.kathpalia at altera.com>
Reviewed-by: Peng Fan <peng.fan at nxp.com>
More information about the U-Boot
mailing list