summaryrefslogtreecommitdiffstats
path: root/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2023-01-13 21:55:15 +0200
committerVinod Koul <vkoul@kernel.org>2023-01-18 22:53:00 +0530
commit6900fdf496fd05d7285748f5e66a041ecfd3e945 (patch)
tree384c4c1861f98752c4e349c284373d643bda7604 /drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
parent494de1dd8353de2cefeb692947c52b5ebc14a4d1 (diff)
downloadlinux-stable-6900fdf496fd05d7285748f5e66a041ecfd3e945.tar.gz
linux-stable-6900fdf496fd05d7285748f5e66a041ecfd3e945.tar.bz2
linux-stable-6900fdf496fd05d7285748f5e66a041ecfd3e945.zip
phy: qualcomm: qmp-ufs: rename qmp_ufs_offsets_v5 to qmp_ufs_offsets
All currently known QMP UFS PHYs have the same offsets for register sub-regions. Instead of using qmp_ufs_offsets_v5 for older generations of PHYs, rename the offsets struct instance to remove _v5 suffix. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20230113195515.407866-1-dmitry.baryshkov@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-qmp-ufs.c')
-rw-r--r--drivers/phy/qualcomm/phy-qcom-qmp-ufs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
index 110d8fb9309f..b66a7d1c2e99 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
@@ -717,7 +717,7 @@ static const char * const qmp_phy_vreg_l[] = {
"vdda-phy", "vdda-pll",
};
-static const struct qmp_ufs_offsets qmp_ufs_offsets_v5 = {
+static const struct qmp_ufs_offsets qmp_ufs_offsets = {
.serdes = 0,
.pcs = 0xc00,
.tx = 0x400,
@@ -752,7 +752,7 @@ static const struct qmp_phy_cfg msm8996_ufsphy_cfg = {
static const struct qmp_phy_cfg sc8280xp_ufsphy_cfg = {
.lanes = 2,
- .offsets = &qmp_ufs_offsets_v5,
+ .offsets = &qmp_ufs_offsets,
.tbls = {
.serdes = sm8350_ufsphy_serdes,
@@ -812,7 +812,7 @@ static const struct qmp_phy_cfg sdm845_ufsphy_cfg = {
static const struct qmp_phy_cfg sm6115_ufsphy_cfg = {
.lanes = 1,
- .offsets = &qmp_ufs_offsets_v5,
+ .offsets = &qmp_ufs_offsets,
.tbls = {
.serdes = sm6115_ufsphy_serdes,