Commit 730430dc authored by Vinod Koul's avatar Vinod Koul Committed by Kishon Vijay Abraham I

phy: qcom-qmp: Use register defines

We already define register offsets so use them in register layout.
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Reviewed-by: default avatarManu Gautam <mgautam@codeaurora.org>
Reviewed-by: default avatarCan Guo <cang@codeaurora.org>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 97844253
...@@ -166,8 +166,8 @@ static const unsigned int sdm845_ufsphy_regs_layout[] = { ...@@ -166,8 +166,8 @@ static const unsigned int sdm845_ufsphy_regs_layout[] = {
}; };
static const unsigned int sm8150_ufsphy_regs_layout[] = { static const unsigned int sm8150_ufsphy_regs_layout[] = {
[QPHY_START_CTRL] = 0x00, [QPHY_START_CTRL] = QPHY_V4_PHY_START,
[QPHY_PCS_READY_STATUS] = 0x180, [QPHY_PCS_READY_STATUS] = QPHY_V4_PCS_READY_STATUS,
}; };
static const struct qmp_phy_init_tbl msm8996_pcie_serdes_tbl[] = { static const struct qmp_phy_init_tbl msm8996_pcie_serdes_tbl[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment