phy: qcom-qmp-pcie: Add support for SM8550 g3x2 and g4x2 PCIEs
authorAbel Vesa <abel.vesa@linaro.org>
Wed, 8 Feb 2023 18:00:17 +0000 (20:00 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 10 Feb 2023 16:58:01 +0000 (22:28 +0530)
commit269b70e85282e7d754746498962b267392e9da99
treedb402dc27cfb692f2326ba028b8647ed781de41e
parentd38360e12fbc1b41ae6a2a243ce0b01ce27e5cab
phy: qcom-qmp-pcie: Add support for SM8550 g3x2 and g4x2 PCIEs

Add the SM8550 both g4 and g3 configurations. In addition, there is a
new "lane shared" table that needs to be configured for g4, along with
the No-CSR list of resets. The no-CSR allows resetting the PHY without
actually dropping the PHY configuration. The no-CSR needs to be
deasserted only after the PHY has been configured and the PLL has
stabilized.

Co-developed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230208180020.2761766-9-abel.vesa@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c