Debian Codegraph @

Documentation/devicetree/bindings/clock/qcom,sm6375-gcc.yaml

raw
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 <[email protected]>
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 - '#power-domain-cells'
35
36 unevaluatedProperties: false
37
38 examples:
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 ...