xref: /linux/Documentation/devicetree/bindings/clock/qcom,sm6375-gcc.yaml (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
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
7title: Qualcomm Global Clock & Reset Controller on SM6375
8
9maintainers:
10  - Konrad Dybcio <konrad.dybcio@somainline.org>
11
12description: |
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
18allOf:
19  - $ref: qcom,gcc.yaml#
20
21properties:
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
31required:
32  - compatible
33  - clocks
34
35unevaluatedProperties: false
36
37examples:
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...
52