Re: [PATCH] mmc: meson: Parse devicetree properties

Neil Armstrong <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot,io.groups.u-boot-amlogic
Organization Linaro
Message-ID <[email protected]>
On 8/24/26 14:53, Sean Anderson via groups.io wrote:
> Parse devicetree properties so things like max-frequency are respected.
> 
> Upstream-Status: Pending

Please drop this tag

> Signed-off-by: Sean Anderson <[email protected]>
> ---
> 
>   drivers/mmc/meson_gx_mmc.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/mmc/meson_gx_mmc.c b/drivers/mmc/meson_gx_mmc.c
> index 76af3873e15..b5b4e60d8ec 100644
> --- a/drivers/mmc/meson_gx_mmc.c
> +++ b/drivers/mmc/meson_gx_mmc.c
> @@ -351,6 +351,9 @@ static int meson_mmc_probe(struct udevice *dev)
>   	cfg->f_max = 40000000; /* 40 MHz */
>   	cfg->b_max = 511; /* max 512 - 1 blocks */
>   	cfg->name = dev->name;
> +	ret = mmc_of_parse(dev, cfg);
> +	if (ret)
> +		return ret;
>   
>   	if (IS_ENABLED(CONFIG_SPL_BUILD)) {
>   		cfg->host_caps &= ~(MMC_MODE_HS_52MHz | MMC_MODE_HS);
> ---
> base-commit: d3e8597e46b635ec556a057bc42f0b0859654bdf
> branch: meson_mmc_dt
> 

Otherwise:

Reviewed-by: Neil Armstrong <[email protected]>

Thanks,
Neil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.