ARM: dts: qcom: msm8960: add clocks to the GCC device node
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 23 Jun 2022 12:04:16 +0000 (15:04 +0300)
committerBjorn Andersson <andersson@kernel.org>
Wed, 14 Sep 2022 02:58:52 +0000 (21:58 -0500)
As we are converting this platform to use DT clock bindings, add clocks
and clock-names properties to the GCC device tree node.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: David Heidelberg <david@ixit.cz> # tested on Nexus 7 (2013)
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220623120418.250589-14-dmitry.baryshkov@linaro.org
arch/arm/boot/dts/qcom-msm8960.dtsi

index 5aa9895776115b6872c39bfc9d601d58996b8f2c..38dd52cdaf60e5f81e396c359329280fd8ba33ec 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
+#include <dt-bindings/clock/qcom,lcc-msm8960.h>
 #include <dt-bindings/mfd/qcom-rpm.h>
 #include <dt-bindings/soc/qcom,gsbi.h>
 
@@ -56,7 +57,7 @@
        };
 
        clocks {
-               cxo_board {
+               cxo_board: cxo_board {
                        compatible = "fixed-clock";
                        #clock-cells = <0>;
                        clock-frequency = <19200000>;
                        #power-domain-cells = <1>;
                        #reset-cells = <1>;
                        reg = <0x900000 0x4000>;
+                       clocks = <&cxo_board>,
+                                <&pxo_board>,
+                                <&lcc PLL4>;
+                       clock-names = "cxo", "pxo", "pll4";
                };
 
                lcc: clock-controller@28000000 {