phy: qcom-qmp-pcie: restructure PHY creation
authorJohan Hovold <johan+linaro@kernel.org>
Sat, 5 Nov 2022 14:59:35 +0000 (15:59 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 10 Nov 2022 07:04:54 +0000 (12:34 +0530)
commit7bc609e34899dd3065fc9cbc73bb8a4902e257df
tree792443f5b8c137a51d5364dedf70fb5d8bf12022
parent306382305c5cefce892784da8686c242956f5fd2
phy: qcom-qmp-pcie: restructure PHY creation

In preparation for supporting devicetree bindings which do not use a
child node, move the PHY creation to probe() proper and parse the serdes
resource in what is now the legacy devicetree helper.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221105145939.20318-13-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c