OSDN Git Service

phy: qcom-qmp-combo: rework regs layout arrays
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 13 Jan 2023 21:21:02 +0000 (23:21 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 18 Jan 2023 17:24:09 +0000 (22:54 +0530)
commitaa14cff16b9d09166c6e1261231a2a1c561adea1
tree83b33c460a093bf8bf2401b84ff65f524abc67e2
parent34d562babf7fcc34f731c8a7b118aa95f19091c3
phy: qcom-qmp-combo: 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/20230113212102.421491-2-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c