xref: /linux/Documentation/devicetree/bindings/clock/qcom,gcc-msm8976.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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-msm8976.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller on MSM8976
8
9maintainers:
10  - Stephen Boyd <sboyd@kernel.org>
11  - Taniya Das <quic_tdas@quicinc.com>
12
13description: |
14  Qualcomm global clock control module provides the clocks, resets and power
15  domains on MSM8976.
16
17  See also:: include/dt-bindings/clock/qcom,gcc-msm8976.h
18
19properties:
20  compatible:
21    enum:
22      - qcom,gcc-msm8976
23      - qcom,gcc-msm8976-v1.1
24
25  clocks:
26    items:
27      - description: XO source
28      - description: Always-on XO source
29      - description: Pixel clock from DSI PHY0
30      - description: Byte clock from DSI PHY0
31      - description: Pixel clock from DSI PHY1
32      - description: Byte clock from DSI PHY1
33
34  clock-names:
35    items:
36      - const: xo
37      - const: xo_a
38      - const: dsi0pll
39      - const: dsi0pllbyte
40      - const: dsi1pll
41      - const: dsi1pllbyte
42
43  vdd_gfx-supply:
44    description:
45      Phandle to voltage regulator providing power to the GX domain.
46
47required:
48  - compatible
49  - clocks
50  - clock-names
51  - vdd_gfx-supply
52  - '#power-domain-cells'
53
54allOf:
55  - $ref: qcom,gcc.yaml#
56
57unevaluatedProperties: false
58
59examples:
60  - |
61    clock-controller@1800000 {
62      compatible = "qcom,gcc-msm8976";
63      #clock-cells = <1>;
64      #reset-cells = <1>;
65      #power-domain-cells = <1>;
66      reg = <0x1800000 0x80000>;
67
68      clocks = <&xo_board>,
69               <&xo_board>,
70               <&dsi0_phy 1>,
71               <&dsi0_phy 0>,
72               <&dsi1_phy 1>,
73               <&dsi1_phy 0>;
74
75      clock-names = "xo",
76                    "xo_a",
77                    "dsi0pll",
78                    "dsi0pllbyte",
79                    "dsi1pll",
80                    "dsi1pllbyte";
81
82      vdd_gfx-supply = <&pm8004_s5>;
83    };
84...
85