xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-msm8976.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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
53allOf:
54  - $ref: qcom,gcc.yaml#
55
56unevaluatedProperties: false
57
58examples:
59  - |
60    clock-controller@1800000 {
61      compatible = "qcom,gcc-msm8976";
62      #clock-cells = <1>;
63      #reset-cells = <1>;
64      #power-domain-cells = <1>;
65      reg = <0x1800000 0x80000>;
66
67      clocks = <&xo_board>,
68               <&xo_board>,
69               <&dsi0_phy 1>,
70               <&dsi0_phy 0>,
71               <&dsi1_phy 1>,
72               <&dsi1_phy 0>;
73
74      clock-names = "xo",
75                    "xo_a",
76                    "dsi0pll",
77                    "dsi0pllbyte",
78                    "dsi1pll",
79                    "dsi1pllbyte";
80
81      vdd_gfx-supply = <&pm8004_s5>;
82    };
83...
84