xref: /linux/Documentation/devicetree/bindings/clock/qcom,gcc-msm8994.yaml (revision 9f2c9170934eace462499ba0bfe042cc72900173)
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-msm8994.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller on MSM8994
8
9maintainers:
10  - Konrad Dybcio <konrad.dybcio@somainline.org>
11
12description: |
13  Qualcomm global clock control module provides the clocks, resets and power
14  domains on MSM8994 and MSM8992.
15
16  See also:: include/dt-bindings/clock/qcom,gcc-msm8994.h
17
18properties:
19  compatible:
20    enum:
21      - qcom,gcc-msm8992
22      - qcom,gcc-msm8994
23
24  clocks:
25    items:
26      - description: Board XO source
27      - description: Sleep clock source
28
29  clock-names:
30    items:
31      - const: xo
32      - const: sleep
33
34required:
35  - compatible
36  - clocks
37  - clock-names
38
39allOf:
40  - $ref: qcom,gcc.yaml#
41
42unevaluatedProperties: false
43
44examples:
45  - |
46    clock-controller@300000 {
47      compatible = "qcom,gcc-msm8994";
48      reg = <0x00300000 0x90000>;
49      clocks = <&xo_board>, <&sleep_clk>;
50      clock-names = "xo", "sleep";
51      #clock-cells = <1>;
52      #reset-cells = <1>;
53      #power-domain-cells = <1>;
54    };
55
56...
57