phy: qcom-qmp-pcie: split pcs_misc init cfg for ipq8074 pcs table
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 3 Nov 2022 21:21:24 +0000 (22:21 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 10 Nov 2022 07:08:07 +0000 (12:38 +0530)
commit2584068a9ef4a7bff3b9302dd058a4c95ce68631
tree5bdb0640d3c97969b703f44eb5c158493f5bac45
parent6c37a02b25180350ed7bd199c074a79fe6d16e51
phy: qcom-qmp-pcie: split pcs_misc init cfg for ipq8074 pcs table

Commit af6643242d3a ("phy: qcom-qmp-pcie: split pcs_misc region for ipq6018
pcie gen3") reworked the pcs regs values and removed the 0x400 offset
for each pcs_misc regs.

This change caused the malfunction of ipq8074 downstream since it still
has the legacy pcs table where pcs_misc are not placed on a different
table and instead put together assuming the offset of 0x400 for the
related pcs_misc regs.

Split pcs_misc init cfg from the ipq8074 pcs init table to be handled
correctly to prepare for actual support for gen3 pcie for ipq8074.

Fixes: af6643242d3a ("phy: qcom-qmp-pcie: split pcs_misc region for ipq6018 pcie gen3")
Reported-by: Robert Marko <robimarko@gmail.com>
Tested-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20221103212125.17156-1-ansuelsmth@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c