[PATCH RFC/RFT 4/5] ufs: ufs-qcom: Rename "mcq_sqd" to "mcq_opr"
From: Konrad Dybcio
Date: Fri Jul 04 2025 - 13:40:00 EST
From: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
SQD is a confusing name for the register block that hosts all the
opregions, each one of which contains SQD/CQD/SQI/CQI subregions.
Rename it since there are not even dt-bindings for this and therefore
no users
Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
---
drivers/ufs/host/ufs-qcom.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/ufs/host/ufs-qcom.c b/drivers/ufs/host/ufs-qcom.c
index 52dc0da042cb62a6c28b40e429773808299e102f..2953b86029cfa1e5fdaa75e2917cad79576947e2 100644
--- a/drivers/ufs/host/ufs-qcom.c
+++ b/drivers/ufs/host/ufs-qcom.c
@@ -1896,21 +1896,21 @@ static int ufs_qcom_mcq_config_resource(struct ufs_hba *hba)
{
struct platform_device *pdev = to_platform_device(hba->dev);
struct ufs_qcom_host *host = ufshcd_get_variant(hba);
- struct resource *sqd_res;
+ struct resource *opr_res;
hba->mcq_base = devm_platform_ioremap_resource_byname(pdev, "mcq");
if (!hba->mcq_base)
return -EINVAL;
- sqd_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mcq_sqd");
- if (!sqd_res)
+ opr_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mcq_opr");
+ if (!opr_res)
return -EINVAL;
- host->opr_start_base = devm_ioremap_resource(hba->dev, sqd_res);
+ host->opr_start_base = devm_ioremap_resource(hba->dev, opr_res);
if (!host->opr_start_base)
return -EINVAL;
- host->opr_start_off = sqd_res->start - hba->hci_res->start;
+ host->opr_start_off = opr_res->start - hba->hci_res->start;
host->mcq_vs_base = devm_platform_ioremap_resource_byname(pdev, "mcq_vs");
if (!host->mcq_vs_base)
--
2.50.0