]> git.baikalelectronics.ru Git - kernel.git/commit
phy: qcom-qmp: Add SM8250 PCIe QMP PHYs
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 27 Oct 2020 17:00:30 +0000 (22:30 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 16 Nov 2020 05:58:01 +0000 (11:28 +0530)
commit64720c4fbe7b2d0540d6e6b2b71bf5143109b0c4
treee595fa1711b4a6c822a152d2c850be1220db42ee
parenteaed36c5e6acf677c0691532f5aec0299c82137a
phy: qcom-qmp: Add SM8250 PCIe QMP PHYs

SM8250 has multiple different PHY versions:
QMP GEN3x1 PHY - 1 lane
QMP GEN3x2 PHY - 2 lanes
QMP Modem PHY - 2 lanes

Add support for these with relevant init sequence. In order to abstract
the init sequence, this commit introduces secondary tables which can
be used to factor out the unique sequence for each PHY while the former
tables can have the common sequence.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20201027170033.8475-3-manivannan.sadhasivam@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp.c
drivers/phy/qualcomm/phy-qcom-qmp.h