GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / clock / qcom,gcc-sm8250.yaml
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-sm8250.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Global Clock & Reset Controller Binding for SM8250
8
9 maintainers:
10   - Stephen Boyd <sboyd@kernel.org>
11   - Taniya Das <tdas@codeaurora.org>
12
13 description: |
14   Qualcomm global clock control module which supports the clocks, resets and
15   power domains on SM8250.
16
17   See also:
18   - dt-bindings/clock/qcom,gcc-sm8250.h
19
20 properties:
21   compatible:
22     const: qcom,gcc-sm8250
23
24   clocks:
25     items:
26       - description: Board XO source
27       - description: Sleep clock source
28
29   clock-names:
30     items:
31       - const: bi_tcxo
32       - const: sleep_clk
33
34 required:
35   - compatible
36   - clocks
37   - clock-names
38
39 allOf:
40   - $ref: qcom,gcc.yaml#
41
42 unevaluatedProperties: false
43
44 examples:
45   - |
46     #include <dt-bindings/clock/qcom,rpmh.h>
47     clock-controller@100000 {
48       compatible = "qcom,gcc-sm8250";
49       reg = <0x00100000 0x1f0000>;
50       clocks = <&rpmhcc RPMH_CXO_CLK>,
51                <&sleep_clk>;
52       clock-names = "bi_tcxo", "sleep_clk";
53       #clock-cells = <1>;
54       #reset-cells = <1>;
55       #power-domain-cells = <1>;
56     };
57 ...