phy: qcom-qmp-combo: restructure PHY creation
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 21 Nov 2022 08:50:47 +0000 (09:50 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 24 Nov 2022 17:21:50 +0000 (22:51 +0530)
commitb3982f2144e10bd542189e38cd47709e55389606
treef3e6abebd159f81b89d3c4576e5d8cef4324c136
parent774903ca6c499887f554234bb019c91aa0a8f741
phy: qcom-qmp-combo: restructure PHY creation

In preparation for supporting devicetree bindings which do not use child
nodes, move the PHY creation to probe() proper and parse the serdes,
dp_com and dp_serdes resources in a dedicated 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/20221121085058.31213-5-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c