Debian Codegraph @

Documentation/devicetree/bindings/clock/qcom,gcc-sdm660.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,gcc-sdm660.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm SDM660/SDM630/SDM636 Global Clock & Reset Controller
8
9 maintainers:
10 - Stephen Boyd <[email protected]>
11 - Taniya Das <[email protected]>
12
13 description: |
14 Qualcomm global clock control module provides the clocks, resets and power
15 domains on SDM630, SDM636 and SDM660
16
17 See also::
18 include/dt-bindings/clock/qcom,gcc-sdm660.h (qcom,gcc-sdm630 and qcom,gcc-sdm660)
19
20 $ref: qcom,gcc.yaml#
21
22 properties:
23 compatible:
24 enum:
25 - qcom,gcc-sdm630
26 - qcom,gcc-sdm660
27
28 clocks:
29 items:
30 - description: XO source
31 - description: Sleep clock source
32
33 clock-names:
34 items:
35 - const: xo
36 - const: sleep_clk
37
38 power-domains:
39 maxItems: 1
40
41 required:
42 - compatible
43 - '#power-domain-cells'
44
45 unevaluatedProperties: false
46
47 examples:
48 # Example for GCC for SDM660:
49 - |
50 #include <dt-bindings/clock/qcom,rpmh.h>
51 clock-controller@100000 {
52 compatible = "qcom,gcc-sdm660";
53 reg = <0x00100000 0x94000>;
54 #clock-cells = <1>;
55 #reset-cells = <1>;
56 #power-domain-cells = <1>;
57
58 clock-names = "xo", "sleep_clk";
59 clocks = <&xo_board>,
60 <&sleep_clk>;
61 };
62 ...