phy: qcom-qmp-combo: add clock registration helper
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 21 Nov 2022 08:50:51 +0000 (09:50 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 24 Nov 2022 17:21:51 +0000 (22:51 +0530)
commit74401c85fb3b134d884d5de968c66784527d12d1
treed87b7f58773d61f1e3e221af86154b3057f41e6f
parent55b1c39b4990ebdab2faa2e4c06d17476d6d2d3c
phy: qcom-qmp-combo: add clock registration helper

In preparation for supporting devicetree bindings which do not use child
nodes, add a clock registration helper to handle the registration of
both the USB and DP clocks.

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-9-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c