GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / clock / qcom,gcc-msm8660.yaml
1 # SPDX-License-Identifier: GPL-2.0-only
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/clock/qcom,gcc-msm8660.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Global Clock & Reset Controller Binding for MSM8660
8
9 maintainers:
10   - Stephen Boyd <sboyd@kernel.org>
11   - Taniya Das <quic_tdas@quicinc.com>
12
13 description: |
14   Qualcomm global clock control module which supports the clocks and resets on
15   MSM8660
16
17   See also:
18   - dt-bindings/clock/qcom,gcc-msm8660.h
19   - dt-bindings/reset/qcom,gcc-msm8660.h
20
21 allOf:
22   - $ref: "qcom,gcc.yaml#"
23
24 properties:
25   compatible:
26     enum:
27       - qcom,gcc-msm8660
28
29   clocks:
30     maxItems: 2
31
32   clock-names:
33     items:
34       - const: pxo
35       - const: cxo
36
37 required:
38   - compatible
39
40 unevaluatedProperties: false
41
42 examples:
43   # Example for GCC for MSM8974:
44   - |
45     clock-controller@900000 {
46       compatible = "qcom,gcc-msm8660";
47       reg = <0x900000 0x4000>;
48       #clock-cells = <1>;
49       #reset-cells = <1>;
50       #power-domain-cells = <1>;
51       clocks = <&pxo_board>, <&cxo_board>;
52       clock-names = "pxo", "cxo";
53     };
54 ...