drm/msm/hdmi: make hdmi_phy_8996 OF clk provider
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 4 Jul 2022 16:11:47 +0000 (19:11 +0300)
committerRob Clark <robdclark@chromium.org>
Sun, 18 Sep 2022 16:38:07 +0000 (09:38 -0700)
commite8b595f7b058c7909e410f3e0736d95e8f909d01
tree472242f857d2b8a61d2ccd514ab07ba3849e854b
parente3ea01f4187461d0685b5b97915f86d6d6a0425c
drm/msm/hdmi: make hdmi_phy_8996 OF clk provider

On MSM8996 the HDMI PHY provides the PLL clock to the MMCC. As we are
preparing to convert the MSM8996 to use DT clocks properties (rather
than global clock names), register the OF clock provider.

While we are at it, also change the driver to use clk_parent_data rather
parent_names to setup a link to the XO clock.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/492318/
Link: https://lore.kernel.org/r/20220704161148.814510-3-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c