Debian Codegraph @

Documentation/devicetree/bindings/clock/qcom,sm7150-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,sm7150-gcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Global Clock & Reset Controller on SM7150
8
9 maintainers:
10 - Bjorn Andersson <[email protected]>
11 - Danila Tikhonov <[email protected]>
12 - David Wronek <[email protected]>
13
14 description: |
15 Qualcomm global clock control module provides the clocks, resets and power
16 domains on SM7150
17
18 See also: include/dt-bindings/clock/qcom,sm7150-gcc.h
19
20 properties:
21 compatible:
22 const: qcom,sm7150-gcc
23
24 clocks:
25 items:
26 - description: Board XO source
27 - description: Board XO Active-Only source
28 - description: Sleep clock source
29
30 required:
31 - compatible
32 - clocks
33 - '#power-domain-cells'
34
35 allOf:
36 - $ref: qcom,gcc.yaml#
37
38 unevaluatedProperties: false
39
40 examples:
41 - |
42 #include <dt-bindings/clock/qcom,rpmh.h>
43 clock-controller@100000 {
44 compatible = "qcom,sm7150-gcc";
45 reg = <0x00100000 0x001f0000>;
46 clocks = <&rpmhcc RPMH_CXO_CLK>,
47 <&rpmhcc RPMH_CXO_CLK_A>,
48 <&sleep_clk>;
49 #clock-cells = <1>;
50 #reset-cells = <1>;
51 #power-domain-cells = <1>;
52 };
53 ...