[U-Boot] [PATCH 3/4] mmc: stm32_sdmmc2: Update DT properties with v4.19 bindings

Patrice CHOTARD patrice.chotard at st.com
Wed Feb 13 10:45:04 UTC 2019


I will send a V2, i forgot to remove the "Reviewed-by: CITOOLS ..."

Sorry

On 2/13/19 11:39 AM, Patrice Chotard wrote:
> From: Patrick Delaunay <patrick.delaunay at st.com>
> 
> Some properties name has been updated:
>   - st,dirpol becomes st,sig-dir
>   - st,negedge becomes st,neg-edge
>   - st,pin-ckin becomes st,use-ckin
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> Reviewed-by: CITOOLS <smet-aci-reviews at lists.codex.cro.st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
> 
>  drivers/mmc/stm32_sdmmc2.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/mmc/stm32_sdmmc2.c b/drivers/mmc/stm32_sdmmc2.c
> index a36612dd937e..bab7efe754aa 100644
> --- a/drivers/mmc/stm32_sdmmc2.c
> +++ b/drivers/mmc/stm32_sdmmc2.c
> @@ -585,11 +585,11 @@ static int stm32_sdmmc2_probe(struct udevice *dev)
>  	if (priv->base == FDT_ADDR_T_NONE)
>  		return -EINVAL;
>  
> -	if (dev_read_bool(dev, "st,negedge"))
> +	if (dev_read_bool(dev, "st,neg-edge"))
>  		priv->clk_reg_msk |= SDMMC_CLKCR_NEGEDGE;
> -	if (dev_read_bool(dev, "st,dirpol"))
> +	if (dev_read_bool(dev, "st,sig-dir"))
>  		priv->pwr_reg_msk |= SDMMC_POWER_DIRPOL;
> -	if (dev_read_bool(dev, "st,pin-ckin"))
> +	if (dev_read_bool(dev, "st,use-ckin"))
>  		priv->clk_reg_msk |= SDMMC_CLKCR_SELCLKRX_CKIN;
>  
>  	ret = clk_get_by_index(dev, 0, &priv->clk);
> 


More information about the U-Boot mailing list