phy: qcom-qmp-usb: rework regs layout arrays
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 10 Nov 2022 19:22:46 +0000 (22:22 +0300)
committerVinod Koul <vkoul@kernel.org>
Thu, 12 Jan 2023 17:18:42 +0000 (22:48 +0530)
commit83cb72b4e343b35f1b86d2f64bd8a764b492ece6
treead51bc2a1801a41ad4a51ed725e221188579fc9a
parent5c45d28845e2a7a812b15f1f56e9a3f92a0f8125
phy: qcom-qmp-usb: 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-12-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcs-v2.h
drivers/phy/qualcomm/phy-qcom-qmp-usb.c