Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,sc7180-gpucc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Graphics Clock & Reset Controller Binding for SC7180
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 SC7180.
15
16 See also dt-bindings/clock/qcom,gpucc-sc7180.h.
17
18properties:
19 compatible:
20 const: qcom,sc7180-gpucc
21
22 clocks:
23 items:
24 - description: Board XO source
25 - description: GPLL0 main branch source
26 - description: GPLL0 div branch source
27
28 clock-names:
29 items:
30 - const: bi_tcxo
31 - const: gcc_gpu_gpll0_clk_src
32 - const: gcc_gpu_gpll0_div_clk_src
33
34 '#clock-cells':
35 const: 1
36
37 '#reset-cells':
38 const: 1
39
40 '#power-domain-cells':
41 const: 1
42
43 reg:
44 maxItems: 1
45
46required:
47 - compatible
48 - reg
49 - clocks
50 - clock-names
51 - '#clock-cells'
52 - '#reset-cells'
53 - '#power-domain-cells'
54
55examples:
56 - |
57 #include <dt-bindings/clock/qcom,gcc-sc7180.h>
58 #include <dt-bindings/clock/qcom,rpmh.h>
59 clock-controller@5090000 {
60 compatible = "qcom,sc7180-gpucc";
61 reg = <0 0x05090000 0 0x9000>;
62 clocks = <&rpmhcc RPMH_CXO_CLK>,
63 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
64 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
65 clock-names = "bi_tcxo",
66 "gcc_gpu_gpll0_clk_src",
67 "gcc_gpu_gpll0_div_clk_src";
68 #clock-cells = <1>;
69 #reset-cells = <1>;
70 #power-domain-cells = <1>;
71 };
72...