arm64: dts: qcom: msm8996: Define parent clocks for gcc
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 6 Jan 2020 08:05:46 +0000 (00:05 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 6 Mar 2020 05:37:32 +0000 (21:37 -0800)
The CLKREF clocks in GCC are parented by RPM_SMD_LN_BB_CLK, through the
CXO2 pad. Wire this up so that this is properly enabled when need by the
various PHYs.

Reviewed-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20200106080546.3192125-3-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi

index 4afd0d8..7b800b1 100644 (file)
                        #reset-cells = <1>;
                        #power-domain-cells = <1>;
                        reg = <0x00300000 0x90000>;
+
+                       clocks = <&rpmcc RPM_SMD_LN_BB_CLK>;
+                       clock-names = "cxo2";
                };
 
                tsens0: thermal-sensor@4a9000 {