Debian Codegraph @

Documentation/devicetree/bindings/clock/qcom,gcc-msm8974.yaml

raw
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,gcc-msm8974.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Global Clock & Reset Controller on MSM8974 (including Pro) and MSM8226
8 Controller
9
10 maintainers:
11 - Stephen Boyd <[email protected]>
12 - Taniya Das <[email protected]>
13
14 description: |
15 Qualcomm global clock control module provides the clocks, resets and power
16 domains on MSM8974 (all variants) and MSM8226.
17
18 See also::
19 include/dt-bindings/clock/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
20 include/dt-bindings/reset/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
21
22 $ref: qcom,gcc.yaml#
23
24 properties:
25 compatible:
26 enum:
27 - qcom,gcc-msm8226
28 - qcom,gcc-msm8974
29 - qcom,gcc-msm8974pro
30 - qcom,gcc-msm8974pro-ac
31
32 clocks:
33 items:
34 - description: XO source
35 - description: Sleep clock source
36
37 clock-names:
38 items:
39 - const: xo
40 - const: sleep_clk
41
42 required:
43 - compatible
44 - '#power-domain-cells'
45
46 unevaluatedProperties: false
47
48 examples:
49 - |
50 #include <dt-bindings/clock/qcom,rpmh.h>
51 clock-controller@fc400000 {
52 compatible = "qcom,gcc-msm8974";
53 reg = <0x00100000 0x94000>;
54 #clock-cells = <1>;
55 #reset-cells = <1>;
56 #power-domain-cells = <1>;
57
58 clock-names = "xo", "sleep_clk";
59 clocks = <&xo_board>,
60 <&sleep_clk>;
61 };
62 ...