1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,msm8998-gpucc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Graphics Clock & Reset Controller Binding for MSM8998
8
9maintainers:
10  - Taniya Das <tdas@codeaurora.org>
11
12description: |
13  Qualcomm graphics clock control module which supports the clocks, resets and
14  power domains on MSM8998.
15
16  See also dt-bindings/clock/qcom,gpucc-msm8998.h.
17
18properties:
19  compatible:
20    const: qcom,msm8998-gpucc
21
22  clocks:
23    items:
24      - description: Board XO source
25      - description: GPLL0 main branch source (gcc_gpu_gpll0_clk_src)
26
27  clock-names:
28    items:
29      - const: xo
30      - const: gpll0
31
32  '#clock-cells':
33    const: 1
34
35  '#reset-cells':
36    const: 1
37
38  '#power-domain-cells':
39    const: 1
40
41  reg:
42    maxItems: 1
43
44required:
45  - compatible
46  - reg
47  - clocks
48  - clock-names
49  - '#clock-cells'
50  - '#reset-cells'
51  - '#power-domain-cells'
52
53examples:
54  - |
55    #include <dt-bindings/clock/qcom,gcc-msm8998.h>
56    #include <dt-bindings/clock/qcom,rpmcc.h>
57    clock-controller@5065000 {
58      compatible = "qcom,msm8998-gpucc";
59      #clock-cells = <1>;
60      #reset-cells = <1>;
61      #power-domain-cells = <1>;
62      reg = <0x05065000 0x9000>;
63      clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GPLL0_OUT_MAIN>;
64      clock-names = "xo", "gpll0";
65    };
66...
67