OSDN Git Service

phy: qcom-qmp-ufs: restructure PHY creation
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 24 Oct 2022 09:00:40 +0000 (11:00 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 28 Oct 2022 13:00:30 +0000 (18:30 +0530)
commitc64d39b403d8dc751ea6a56f97962f93f811fed4
tree8d9e8036ffe852a1a863bc3d79fcc2a803902abd
parent7741f31ae44568f9c32046aaf4c6c41a51359f6d
phy: qcom-qmp-ufs: 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.

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