xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-msm8976.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2e67e8565SEmmanuel Vadot%YAML 1.2
3e67e8565SEmmanuel Vadot---
4e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8976.yaml#
5e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6e67e8565SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on MSM8976
8e67e8565SEmmanuel Vadot
9e67e8565SEmmanuel Vadotmaintainers:
10e67e8565SEmmanuel Vadot  - Stephen Boyd <sboyd@kernel.org>
11aa1a8ff2SEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
12e67e8565SEmmanuel Vadot
13e67e8565SEmmanuel Vadotdescription: |
148bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
158bab661aSEmmanuel Vadot  domains on MSM8976.
16e67e8565SEmmanuel Vadot
178bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,gcc-msm8976.h
18e67e8565SEmmanuel Vadot
19e67e8565SEmmanuel Vadotproperties:
20e67e8565SEmmanuel Vadot  compatible:
21e67e8565SEmmanuel Vadot    enum:
22e67e8565SEmmanuel Vadot      - qcom,gcc-msm8976
23e67e8565SEmmanuel Vadot      - qcom,gcc-msm8976-v1.1
24e67e8565SEmmanuel Vadot
25e67e8565SEmmanuel Vadot  clocks:
26e67e8565SEmmanuel Vadot    items:
27e67e8565SEmmanuel Vadot      - description: XO source
28e67e8565SEmmanuel Vadot      - description: Always-on XO source
29e67e8565SEmmanuel Vadot      - description: Pixel clock from DSI PHY0
30e67e8565SEmmanuel Vadot      - description: Byte clock from DSI PHY0
31e67e8565SEmmanuel Vadot      - description: Pixel clock from DSI PHY1
32e67e8565SEmmanuel Vadot      - description: Byte clock from DSI PHY1
33e67e8565SEmmanuel Vadot
34e67e8565SEmmanuel Vadot  clock-names:
35e67e8565SEmmanuel Vadot    items:
36e67e8565SEmmanuel Vadot      - const: xo
37e67e8565SEmmanuel Vadot      - const: xo_a
38e67e8565SEmmanuel Vadot      - const: dsi0pll
39e67e8565SEmmanuel Vadot      - const: dsi0pllbyte
40e67e8565SEmmanuel Vadot      - const: dsi1pll
41e67e8565SEmmanuel Vadot      - const: dsi1pllbyte
42e67e8565SEmmanuel Vadot
43e67e8565SEmmanuel Vadot  vdd_gfx-supply:
44e67e8565SEmmanuel Vadot    description:
45e67e8565SEmmanuel Vadot      Phandle to voltage regulator providing power to the GX domain.
46e67e8565SEmmanuel Vadot
47e67e8565SEmmanuel Vadotrequired:
48e67e8565SEmmanuel Vadot  - compatible
49e67e8565SEmmanuel Vadot  - clocks
50e67e8565SEmmanuel Vadot  - clock-names
51e67e8565SEmmanuel Vadot  - vdd_gfx-supply
52*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
53e67e8565SEmmanuel Vadot
547ef62cebSEmmanuel VadotallOf:
557ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
567ef62cebSEmmanuel Vadot
577ef62cebSEmmanuel VadotunevaluatedProperties: false
58e67e8565SEmmanuel Vadot
59e67e8565SEmmanuel Vadotexamples:
60e67e8565SEmmanuel Vadot  - |
61e67e8565SEmmanuel Vadot    clock-controller@1800000 {
62e67e8565SEmmanuel Vadot      compatible = "qcom,gcc-msm8976";
63e67e8565SEmmanuel Vadot      #clock-cells = <1>;
64e67e8565SEmmanuel Vadot      #reset-cells = <1>;
65e67e8565SEmmanuel Vadot      #power-domain-cells = <1>;
66e67e8565SEmmanuel Vadot      reg = <0x1800000 0x80000>;
67e67e8565SEmmanuel Vadot
68e67e8565SEmmanuel Vadot      clocks = <&xo_board>,
69e67e8565SEmmanuel Vadot               <&xo_board>,
70e67e8565SEmmanuel Vadot               <&dsi0_phy 1>,
71e67e8565SEmmanuel Vadot               <&dsi0_phy 0>,
72e67e8565SEmmanuel Vadot               <&dsi1_phy 1>,
73e67e8565SEmmanuel Vadot               <&dsi1_phy 0>;
74e67e8565SEmmanuel Vadot
75e67e8565SEmmanuel Vadot      clock-names = "xo",
76e67e8565SEmmanuel Vadot                    "xo_a",
77e67e8565SEmmanuel Vadot                    "dsi0pll",
78e67e8565SEmmanuel Vadot                    "dsi0pllbyte",
79e67e8565SEmmanuel Vadot                    "dsi1pll",
80e67e8565SEmmanuel Vadot                    "dsi1pllbyte";
81e67e8565SEmmanuel Vadot
82e67e8565SEmmanuel Vadot      vdd_gfx-supply = <&pm8004_s5>;
83e67e8565SEmmanuel Vadot    };
84e67e8565SEmmanuel Vadot...
85