[PATCH] ufs: amd-versal2: Fix reset names with binding

Neil Armstrong neil.armstrong at linaro.org
Mon Jan 5 16:18:34 CET 2026


Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>

Thanks,
NeilOn 12/15/25 16:40, Michal Simek wrote:
> Align reset names with DT binding.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
> Binding is available here:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/ufs/amd,versal2-ufs.yaml?h=v6.19-rc1
> ---
>   drivers/ufs/ufs-amd-versal2.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/ufs/ufs-amd-versal2.c b/drivers/ufs/ufs-amd-versal2.c
> index bf23439e59d7..97de0756f70a 100644
> --- a/drivers/ufs/ufs-amd-versal2.c
> +++ b/drivers/ufs/ufs-amd-versal2.c
> @@ -1,6 +1,6 @@
>   // SPDX-License-Identifier: GPL-2.0
>   /*
> - * Copyright (C) 2024 Advanced Micro Devices, Inc.
> + * Copyright (C) 2024-2025 Advanced Micro Devices, Inc.
>    */
>   
>   #include <clk.h>
> @@ -319,12 +319,12 @@ static int ufs_versal2_init(struct ufs_hba *hba)
>   	}
>   	priv->host_clk = core_clk_rate;
>   
> -	priv->rstc = devm_reset_control_get(hba->dev, "ufshc-rst");
> +	priv->rstc = devm_reset_control_get(hba->dev, "host");
>   	if (IS_ERR(priv->rstc)) {
>   		dev_err(hba->dev, "failed to get reset ctl: ufshc-rst\n");
>   		return PTR_ERR(priv->rstc);
>   	}
> -	priv->rstphy = devm_reset_control_get(hba->dev, "ufsphy-rst");
> +	priv->rstphy = devm_reset_control_get(hba->dev, "phy");
>   	if (IS_ERR(priv->rstphy)) {
>   		dev_err(hba->dev, "failed to get reset ctl: ufsphy-rst\n");
>   		return PTR_ERR(priv->rstphy);



More information about the U-Boot mailing list