Skip to content

Commit a9e6d16

Browse files
Ansuelandersson
authored andcommitted
ARM: dts: qcom: add and fix clock configuration for kpss-gcc nodes
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
1 parent b74ca4a commit a9e6d16

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

arch/arm/boot/dts/qcom-apq8064.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,9 @@
881881
l2cc: clock-controller@2011000 {
882882
compatible = "qcom,kpss-gcc-apq8064", "qcom,kpss-gcc", "syscon";
883883
reg = <0x2011000 0x1000>;
884+
clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
885+
clock-names = "pll8_vote", "pxo";
886+
#clock-cells = <0>;
884887
};
885888

886889
rpm: rpm@108000 {

arch/arm/boot/dts/qcom-ipq8064.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@
573573
reg = <0x02011000 0x1000>;
574574
clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
575575
clock-names = "pll8_vote", "pxo";
576-
clock-output-names = "acpu_l2_aux";
576+
#clock-cells = <0>;
577577
};
578578

579579
acc0: clock-controller@2088000 {

arch/arm/boot/dts/qcom-msm8960.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@
184184
l2cc: clock-controller@2011000 {
185185
compatible = "qcom,kpss-gcc-msm8960", "qcom,kpss-gcc", "syscon";
186186
reg = <0x2011000 0x1000>;
187+
clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
188+
clock-names = "pll8_vote", "pxo";
189+
#clock-cells = <0>;
187190
};
188191

189192
rpm: rpm@108000 {

0 commit comments

Comments
 (0)