phy: qcom-qmp-usb: restructure PHY creation
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 28 Oct 2022 16:04:34 +0000 (18:04 +0200)
committerVinod Koul <vkoul@kernel.org>
Sat, 5 Nov 2022 07:29:42 +0000 (12:59 +0530)
commit183462e8c92cce5cbfabecc1719fb61c61b70833
tree8f9a2f950c164e2eaa83722dbf19434fd0ac7f8e
parente8e58e29a0c9310a917448d0c4a1857f0dbfd917
phy: qcom-qmp-usb: 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
and dp_com resources 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/20221028160435.26948-13-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-usb.c