mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
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>
This commit is contained in:
parent
494de1dd83
commit
6900fdf496
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue