xref: /linux/Documentation/devicetree/bindings/clock/qcom,sm6375-gcc.yaml (revision c94cd9508b1335b949fd13ebd269313c65492df0)
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 <konradybcio@kernel.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  - '#power-domain-cells'
35
36unevaluatedProperties: false
37
38examples:
39  - |
40    #include <dt-bindings/clock/qcom,rpmcc.h>
41    clock-controller@1400000 {
42      compatible = "qcom,sm6375-gcc";
43      reg = <0x01400000 0x1f0000>;
44      clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
45               <&rpmcc RPM_SMD_XO_A_CLK_SRC>,
46               <&sleep_clk>;
47      #clock-cells = <1>;
48      #reset-cells = <1>;
49      #power-domain-cells = <1>;
50    };
51
52...
53