Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / clock / qcom,sm6375-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,sm6375-gcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Global Clock & Reset Controller on SM6375
8
9 maintainers:
10   - Konrad Dybcio <konrad.dybcio@somainline.org>
11
12 description: |
13   Qualcomm global clock control module provides the clocks, resets and power
14   domains on SM6375
15
16   See also:: include/dt-bindings/clock/qcom,sm6375-gcc.h
17
18 allOf:
19   - $ref: qcom,gcc.yaml#
20
21 properties:
22   compatible:
23     const: qcom,sm6375-gcc
24
25   clocks:
26     items:
27       - description: Board XO source
28       - description: Board XO Active-Only source
29       - description: Sleep clock source
30
31 required:
32   - compatible
33   - clocks
34
35 unevaluatedProperties: false
36
37 examples:
38   - |
39     #include <dt-bindings/clock/qcom,rpmcc.h>
40     clock-controller@1400000 {
41       compatible = "qcom,sm6375-gcc";
42       reg = <0x01400000 0x1f0000>;
43       clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
44                <&rpmcc RPM_SMD_XO_A_CLK_SRC>,
45                <&sleep_clk>;
46       #clock-cells = <1>;
47       #reset-cells = <1>;
48       #power-domain-cells = <1>;
49     };
50
51 ...