Skip to content

Commit 56c121d

Browse files
lumagandersson
authored andcommitted
dt-bindings: clock: qcom,msm8996-cbf: Describe the MSM8996 CBF clock controller
MSM8996 Core Bus Fabric (CBF) clock controller clocks an interconnect between two CPU clusters. The CBF clock should follow the CPU frequencies to provide enough bandwidth between clusters. Thus a single driver implements both a clock and an interconnect to set the clock rate. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230120061417.2623751-2-dmitry.baryshkov@linaro.org
1 parent 0277263 commit 56c121d

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/qcom,msm8996-cbf.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm MSM8996 Core Bus Fabric (CBF) clock controller
8+
9+
maintainers:
10+
- Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
11+
12+
description: >
13+
The clock controller for the Qualcomm MSM8996 CBF clock, which drives the
14+
interconnect between two CPU clusters.
15+
16+
properties:
17+
compatible:
18+
const: qcom,msm8996-cbf
19+
20+
reg:
21+
maxItems: 1
22+
23+
clocks:
24+
items:
25+
- description: XO source
26+
- description: SYS APCS AUX clock
27+
28+
'#clock-cells':
29+
const: 0
30+
31+
'#interconnect-cells':
32+
const: 1
33+
34+
required:
35+
- compatible
36+
- reg
37+
- clocks
38+
- '#clock-cells'
39+
- '#interconnect-cells'
40+
41+
additionalProperties: false
42+
43+
examples:
44+
- |
45+
#include <dt-bindings/clock/qcom,rpmcc.h>
46+
clock-controller@9a11000 {
47+
compatible = "qcom,msm8996-cbf";
48+
reg = <0x09a11000 0x10000>;
49+
clocks = <&rpmcc RPM_SMD_BB_CLK1>, <&apcs_glb>;
50+
#clock-cells = <0>;
51+
#interconnect-cells = <1>;
52+
};
53+
...

0 commit comments

Comments
 (0)