Align reset names with DT binding.

Signed-off-by: Michal Simek <[email protected]>
---

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);
-- 
2.43.0

base-commit: a5286b15d0db5b7deaab481921bf1008a6fad23a
branch: debian-sent3

Reply via email to