ARM: dts: qcom: msm8960: add clocks to the LCC device node
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 23 Jun 2022 12:04:14 +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 LCC 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-12-dmitry.baryshkov@linaro.org
arch/arm/boot/dts/qcom-msm8960.dtsi

index a5f1eda707b53833fdf7041b0349184ae2a8d1f3..5aa9895776115b6872c39bfc9d601d58996b8f2c 100644 (file)
@@ -63,7 +63,7 @@
                        clock-output-names = "cxo_board";
                };
 
-               pxo_board {
+               pxo_board: pxo_board {
                        compatible = "fixed-clock";
                        #clock-cells = <0>;
                        clock-frequency = <27000000>;
                        reg = <0x28000000 0x1000>;
                        #clock-cells = <1>;
                        #reset-cells = <1>;
+                       clocks = <&pxo_board>,
+                                <&gcc PLL4_VOTE>,
+                                <0>,
+                                <0>, <0>,
+                                <0>, <0>,
+                                <0>;
+                       clock-names = "pxo",
+                                     "pll4_vote",
+                                     "mi2s_codec_clk",
+                                     "codec_i2s_mic_codec_clk",
+                                     "spare_i2s_mic_codec_clk",
+                                     "codec_i2s_spkr_codec_clk",
+                                     "spare_i2s_spkr_codec_clk",
+                                     "pcm_codec_clk";
                };
 
                clock-controller@4000000 {