Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: qcom-qmp-pcie-msm8996: rework regs layout arrays

Use symbolic names for the values inside reg layout arrays. New register
names are added following the PCS register layout that is used by the
particular PHY.

Note: ipq8074 tables appear to use a mixture of v2 and v3 registers.
This might need additional fixes.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20221110192248.873973-6-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Dmitry Baryshkov and committed by
Vinod Koul
61f21e0e bbe207a1

+3 -3
+3 -3
drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
··· 84 84 [QPHY_COM_POWER_DOWN_CONTROL] = 0x404, 85 85 [QPHY_COM_START_CONTROL] = 0x408, 86 86 [QPHY_COM_PCS_READY_STATUS] = 0x448, 87 - [QPHY_SW_RESET] = 0x00, 88 - [QPHY_START_CTRL] = 0x08, 89 - [QPHY_PCS_STATUS] = 0x174, 87 + [QPHY_SW_RESET] = QPHY_V2_PCS_SW_RESET, 88 + [QPHY_START_CTRL] = QPHY_V2_PCS_START_CONTROL, 89 + [QPHY_PCS_STATUS] = QPHY_V2_PCS_PCI_PCS_STATUS, 90 90 }; 91 91 92 92 static const struct qmp_phy_init_tbl msm8996_pcie_serdes_tbl[] = {