ARM: dts: qcom: add and fix clock configuration for kpss-gcc nodes
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 16 Jan 2023 20:47:49 +0000 (21:47 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 15 Mar 2023 23:41:09 +0000 (16:41 -0700)
Add missing clock configuration by adding clocks, clock-names
and #clock-cells bindings for each kpss-acc-v1 clock-controller
node for apq8064 and msm8960 to reflect Documentation schema.
Add missing #clock-cells binding and remove useless clock-output-names for
ipq806x dtsi.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230116204751.23045-6-ansuelsmth@gmail.com
arch/arm/boot/dts/qcom-apq8064.dtsi
arch/arm/boot/dts/qcom-ipq8064.dtsi
arch/arm/boot/dts/qcom-msm8960.dtsi

index 6ebf33e2e699f6f97347f45feb019ef4518af612..70d6ed1ac62c941d0402e07a1ed792fe8e26665f 100644 (file)
                l2cc: clock-controller@2011000 {
                        compatible = "qcom,kpss-gcc-apq8064", "qcom,kpss-gcc", "syscon";
                        reg = <0x2011000 0x1000>;
+                       clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
+                       clock-names = "pll8_vote", "pxo";
+                       #clock-cells = <0>;
                };
 
                rpm: rpm@108000 {
index 6e49b54f53d7b14f69d431da3f7f8917ba9a9d05..e45da8f01ba0c0924cfa0d23545de1b39d24cded 100644 (file)
                        reg = <0x02011000 0x1000>;
                        clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
                        clock-names = "pll8_vote", "pxo";
-                       clock-output-names = "acpu_l2_aux";
+                       #clock-cells = <0>;
                };
 
                acc0: clock-controller@2088000 {
index 4fdbb867532c47718ee6ba54735ce4810fffe926..026480efe8ec3de18fdcf2bd7ce16e2b996fb941 100644 (file)
                l2cc: clock-controller@2011000 {
                        compatible = "qcom,kpss-gcc-msm8960", "qcom,kpss-gcc", "syscon";
                        reg = <0x2011000 0x1000>;
+                       clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
+                       clock-names = "pll8_vote", "pxo";
+                       #clock-cells = <0>;
                };
 
                rpm: rpm@108000 {