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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -166,8 +166,8 @@ static const unsigned int sdm845_ufsphy_regs_layout[] = {
};

static const unsigned int sm8150_ufsphy_regs_layout[] = {
	[QPHY_START_CTRL]		= 0x00,
	[QPHY_PCS_READY_STATUS]		= 0x180,
	[QPHY_START_CTRL]		= QPHY_V4_PHY_START,
	[QPHY_PCS_READY_STATUS]		= QPHY_V4_PCS_READY_STATUS,
};

static const struct qmp_phy_init_tbl msm8996_pcie_serdes_tbl[] = {