Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / clock / qcom,sm7150-gcc.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,sm7150-gcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Global Clock & Reset Controller on SM7150
8
9 maintainers:
10   - Bjorn Andersson <andersson@kernel.org>
11   - Danila Tikhonov <danila@jiaxyga.com>
12   - David Wronek <davidwronek@gmail.com>
13
14 description: |
15   Qualcomm global clock control module provides the clocks, resets and power
16   domains on SM7150
17
18   See also:: include/dt-bindings/clock/qcom,sm7150-gcc.h
19
20 properties:
21   compatible:
22     const: qcom,sm7150-gcc
23
24   clocks:
25     items:
26       - description: Board XO source
27       - description: Board XO Active-Only source
28       - description: Sleep clock source
29
30 required:
31   - compatible
32   - clocks
33
34 allOf:
35   - $ref: qcom,gcc.yaml#
36
37 unevaluatedProperties: false
38
39 examples:
40   - |
41     #include <dt-bindings/clock/qcom,rpmh.h>
42     clock-controller@100000 {
43       compatible = "qcom,sm7150-gcc";
44       reg = <0x00100000 0x001f0000>;
45       clocks = <&rpmhcc RPMH_CXO_CLK>,
46                <&rpmhcc RPMH_CXO_CLK_A>,
47                <&sleep_clk>;
48       #clock-cells = <1>;
49       #reset-cells = <1>;
50       #power-domain-cells = <1>;
51     };
52 ...