Skip to content

Commit 20b5c6a

Browse files
lumagvinodkoul
authored andcommitted
phy: qcom-qmp-ufs: populate offsets configuration
Populate offsets configuration for the rest of UFS PHYs to make it possible to switch them to the new (single-node) bindings style. Reviewed-by: Bjorn Andersson <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent dc5cb63 commit 20b5c6a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

drivers/phy/qualcomm/phy-qcom-qmp-ufs.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,8 @@ static const struct qmp_ufs_offsets qmp_ufs_offsets_v6 = {
833833
static const struct qmp_phy_cfg msm8996_ufsphy_cfg = {
834834
.lanes = 1,
835835

836+
.offsets = &qmp_ufs_offsets,
837+
836838
.tbls = {
837839
.serdes = msm8996_ufsphy_serdes,
838840
.serdes_num = ARRAY_SIZE(msm8996_ufsphy_serdes),
@@ -924,6 +926,8 @@ static const struct qmp_phy_cfg sc8280xp_ufsphy_cfg = {
924926
static const struct qmp_phy_cfg sdm845_ufsphy_cfg = {
925927
.lanes = 2,
926928

929+
.offsets = &qmp_ufs_offsets,
930+
927931
.tbls = {
928932
.serdes = sdm845_ufsphy_serdes,
929933
.serdes_num = ARRAY_SIZE(sdm845_ufsphy_serdes),
@@ -1038,6 +1042,8 @@ static const struct qmp_phy_cfg sm8150_ufsphy_cfg = {
10381042
static const struct qmp_phy_cfg sm8250_ufsphy_cfg = {
10391043
.lanes = 2,
10401044

1045+
.offsets = &qmp_ufs_offsets,
1046+
10411047
.tbls = {
10421048
.serdes = sm8150_ufsphy_serdes,
10431049
.serdes_num = ARRAY_SIZE(sm8150_ufsphy_serdes),
@@ -1070,6 +1076,8 @@ static const struct qmp_phy_cfg sm8250_ufsphy_cfg = {
10701076
static const struct qmp_phy_cfg sm8350_ufsphy_cfg = {
10711077
.lanes = 2,
10721078

1079+
.offsets = &qmp_ufs_offsets,
1080+
10731081
.tbls = {
10741082
.serdes = sm8350_ufsphy_serdes,
10751083
.serdes_num = ARRAY_SIZE(sm8350_ufsphy_serdes),
@@ -1102,6 +1110,8 @@ static const struct qmp_phy_cfg sm8350_ufsphy_cfg = {
11021110
static const struct qmp_phy_cfg sm8450_ufsphy_cfg = {
11031111
.lanes = 2,
11041112

1113+
.offsets = &qmp_ufs_offsets,
1114+
11051115
.tbls = {
11061116
.serdes = sm8350_ufsphy_serdes,
11071117
.serdes_num = ARRAY_SIZE(sm8350_ufsphy_serdes),

0 commit comments

Comments
 (0)