phy: qcom-qmp-combo: separate USB and DP devicetree parsing
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 14 Nov 2022 11:06:11 +0000 (12:06 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 24 Nov 2022 17:16:52 +0000 (22:46 +0530)
commitc7fbe5bd14145425d38a3b1e4d59f1b3acff3eba
treebce2834c52ba20ce04e52c9c2bd472d8f01f94a7
parentdae95d7f667d20ab81976f846ed0bf2c71dbfe18
phy: qcom-qmp-combo: separate USB and DP devicetree parsing

Separate the devicetree parsing of the USB and DP child nodes in two
dedicated helpers in preparation for merging the driver data.

Note that only the USB part of the PHY has a pipe clock and that the DP
implementation only uses the tx/tx2 and pcs register regions.

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