xref: /linux/Documentation/devicetree/bindings/clock/qcom,gcc-msm8974.yaml (revision 8a922b7728a93d837954315c98b84f6b78de0c4f)
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
7title: Qualcomm Global Clock & Reset Controller on MSM8974 (including Pro) and MSM8226
8  Controller
9
10maintainers:
11  - Stephen Boyd <sboyd@kernel.org>
12  - Taniya Das <quic_tdas@quicinc.com>
13
14description: |
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
24properties:
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
42required:
43  - compatible
44
45unevaluatedProperties: false
46
47examples:
48  - |
49    #include <dt-bindings/clock/qcom,rpmh.h>
50    clock-controller@fc400000 {
51        compatible = "qcom,gcc-msm8974";
52        reg = <0x00100000 0x94000>;
53        #clock-cells = <1>;
54        #reset-cells = <1>;
55        #power-domain-cells = <1>;
56
57        clock-names = "xo", "sleep_clk";
58        clocks = <&xo_board>,
59                 <&sleep_clk>;
60    };
61...
62