Add #clock-cells property to the HDMI PHY device node to let other nodes
resolve the hdmipll clock. While we are at it, also add the XO clock to
the device node.

Signed-off-by: Dmitry Baryshkov <[email protected]>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi 
b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 9932186f7ceb..c0def6dd7f00 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -960,9 +960,13 @@ hdmi_phy: hdmi-phy@9a0600 {
                                            "hdmi_phy";
 
                                clocks = <&mmcc MDSS_AHB_CLK>,
-                                        <&gcc GCC_HDMI_CLKREF_CLK>;
+                                        <&gcc GCC_HDMI_CLKREF_CLK>,
+                                        <&xo_board>;
                                clock-names = "iface",
-                                             "ref";
+                                             "ref",
+                                             "xo";
+
+                               #clock-cells = <0>;
 
                                status = "disabled";
                        };
-- 
2.35.1

Reply via email to