Skip to content

Commit 6b20edd

Browse files
Ansuelandersson
authored andcommitted
ARM: dts: qcom: add missing clock configuration for kpss-acc-v1
Add missing clock configuration by adding clocks, clock-names, clock-output-names and #clock-cells bindings for each kpss-acc-v1 clock-controller to reflect Documentation schema. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230116204751.23045-7-ansuelsmth@gmail.com
1 parent a9e6d16 commit 6b20edd

3 files changed

Lines changed: 32 additions & 0 deletions

File tree

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,21 +388,37 @@
388388
acc0: clock-controller@2088000 {
389389
compatible = "qcom,kpss-acc-v1";
390390
reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
391+
clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
392+
clock-names = "pll8_vote", "pxo";
393+
clock-output-names = "acpu0_aux";
394+
#clock-cells = <0>;
391395
};
392396

393397
acc1: clock-controller@2098000 {
394398
compatible = "qcom,kpss-acc-v1";
395399
reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
400+
clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
401+
clock-names = "pll8_vote", "pxo";
402+
clock-output-names = "acpu1_aux";
403+
#clock-cells = <0>;
396404
};
397405

398406
acc2: clock-controller@20a8000 {
399407
compatible = "qcom,kpss-acc-v1";
400408
reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
409+
clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
410+
clock-names = "pll8_vote", "pxo";
411+
clock-output-names = "acpu2_aux";
412+
#clock-cells = <0>;
401413
};
402414

403415
acc3: clock-controller@20b8000 {
404416
compatible = "qcom,kpss-acc-v1";
405417
reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
418+
clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
419+
clock-names = "pll8_vote", "pxo";
420+
clock-output-names = "acpu3_aux";
421+
#clock-cells = <0>;
406422
};
407423

408424
saw0: power-controller@2089000 {

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,10 @@
579579
acc0: clock-controller@2088000 {
580580
compatible = "qcom,kpss-acc-v1";
581581
reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
582+
clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
583+
clock-names = "pll8_vote", "pxo";
584+
clock-output-names = "acpu0_aux";
585+
#clock-cells = <0>;
582586
};
583587

584588
saw0: regulator@2089000 {
@@ -590,6 +594,10 @@
590594
acc1: clock-controller@2098000 {
591595
compatible = "qcom,kpss-acc-v1";
592596
reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
597+
clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
598+
clock-names = "pll8_vote", "pxo";
599+
clock-output-names = "acpu1_aux";
600+
#clock-cells = <0>;
593601
};
594602

595603
saw1: regulator@2099000 {

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,19 @@
207207
acc0: clock-controller@2088000 {
208208
compatible = "qcom,kpss-acc-v1";
209209
reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
210+
clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
211+
clock-names = "pll8_vote", "pxo";
212+
clock-output-names = "acpu0_aux";
213+
#clock-cells = <0>;
210214
};
211215

212216
acc1: clock-controller@2098000 {
213217
compatible = "qcom,kpss-acc-v1";
214218
reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
219+
clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
220+
clock-names = "pll8_vote", "pxo";
221+
clock-output-names = "acpu1_aux";
222+
#clock-cells = <0>;
215223
};
216224

217225
saw0: regulator@2089000 {

0 commit comments

Comments
 (0)