xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,mmcc.yaml (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,mmcc.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Qualcomm Multimedia Clock & Reset Controller Binding
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Jeffrey Hugo <jhugo@codeaurora.org>
11c66ec88fSEmmanuel Vadot  - Taniya Das <tdas@codeaurora.org>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotdescription: |
14c66ec88fSEmmanuel Vadot  Qualcomm multimedia clock control module which supports the clocks, resets and
15c66ec88fSEmmanuel Vadot  power domains.
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadotproperties:
18c66ec88fSEmmanuel Vadot  compatible:
19c66ec88fSEmmanuel Vadot    enum:
20c66ec88fSEmmanuel Vadot      - qcom,mmcc-apq8064
21c66ec88fSEmmanuel Vadot      - qcom,mmcc-apq8084
22c66ec88fSEmmanuel Vadot      - qcom,mmcc-msm8660
23c66ec88fSEmmanuel Vadot      - qcom,mmcc-msm8960
24c66ec88fSEmmanuel Vadot      - qcom,mmcc-msm8974
25*354d7675SEmmanuel Vadot      - qcom,mmcc-msm8992
26*354d7675SEmmanuel Vadot      - qcom,mmcc-msm8994
27c66ec88fSEmmanuel Vadot      - qcom,mmcc-msm8996
28c66ec88fSEmmanuel Vadot      - qcom,mmcc-msm8998
295def4c47SEmmanuel Vadot      - qcom,mmcc-sdm630
305def4c47SEmmanuel Vadot      - qcom,mmcc-sdm660
31c66ec88fSEmmanuel Vadot
32c66ec88fSEmmanuel Vadot  clocks:
33c66ec88fSEmmanuel Vadot    items:
34c66ec88fSEmmanuel Vadot      - description: Board XO source
35c66ec88fSEmmanuel Vadot      - description: Board sleep source
36c66ec88fSEmmanuel Vadot      - description: Global PLL 0 clock
37c66ec88fSEmmanuel Vadot      - description: DSI phy instance 0 dsi clock
38c66ec88fSEmmanuel Vadot      - description: DSI phy instance 0 byte clock
39c66ec88fSEmmanuel Vadot      - description: DSI phy instance 1 dsi clock
40c66ec88fSEmmanuel Vadot      - description: DSI phy instance 1 byte clock
41c66ec88fSEmmanuel Vadot      - description: HDMI phy PLL clock
42c66ec88fSEmmanuel Vadot      - description: DisplayPort phy PLL vco clock
43c66ec88fSEmmanuel Vadot      - description: DisplayPort phy PLL link clock
44c66ec88fSEmmanuel Vadot
45c66ec88fSEmmanuel Vadot  clock-names:
46c66ec88fSEmmanuel Vadot    items:
47c66ec88fSEmmanuel Vadot      - const: xo
48c66ec88fSEmmanuel Vadot      - const: sleep
49c66ec88fSEmmanuel Vadot      - const: gpll0
50c66ec88fSEmmanuel Vadot      - const: dsi0dsi
51c66ec88fSEmmanuel Vadot      - const: dsi0byte
52c66ec88fSEmmanuel Vadot      - const: dsi1dsi
53c66ec88fSEmmanuel Vadot      - const: dsi1byte
54c66ec88fSEmmanuel Vadot      - const: hdmipll
55c66ec88fSEmmanuel Vadot      - const: dpvco
56c66ec88fSEmmanuel Vadot      - const: dplink
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel Vadot  '#clock-cells':
59c66ec88fSEmmanuel Vadot    const: 1
60c66ec88fSEmmanuel Vadot
61c66ec88fSEmmanuel Vadot  '#reset-cells':
62c66ec88fSEmmanuel Vadot    const: 1
63c66ec88fSEmmanuel Vadot
64c66ec88fSEmmanuel Vadot  '#power-domain-cells':
65c66ec88fSEmmanuel Vadot    const: 1
66c66ec88fSEmmanuel Vadot
67c66ec88fSEmmanuel Vadot  reg:
68c66ec88fSEmmanuel Vadot    maxItems: 1
69c66ec88fSEmmanuel Vadot
70c66ec88fSEmmanuel Vadot  protected-clocks:
71c66ec88fSEmmanuel Vadot    description:
72c66ec88fSEmmanuel Vadot      Protected clock specifier list as per common clock binding
73c66ec88fSEmmanuel Vadot
74c66ec88fSEmmanuel Vadot  vdd-gfx-supply:
75c66ec88fSEmmanuel Vadot    description:
76c66ec88fSEmmanuel Vadot      Regulator supply for the GPU_GX GDSC
77c66ec88fSEmmanuel Vadot
78c66ec88fSEmmanuel Vadotrequired:
79c66ec88fSEmmanuel Vadot  - compatible
80c66ec88fSEmmanuel Vadot  - reg
81c66ec88fSEmmanuel Vadot  - '#clock-cells'
82c66ec88fSEmmanuel Vadot  - '#reset-cells'
83c66ec88fSEmmanuel Vadot  - '#power-domain-cells'
84c66ec88fSEmmanuel Vadot
85c66ec88fSEmmanuel VadotadditionalProperties: false
86c66ec88fSEmmanuel Vadot
87c66ec88fSEmmanuel Vadotif:
88c66ec88fSEmmanuel Vadot  properties:
89c66ec88fSEmmanuel Vadot    compatible:
90c66ec88fSEmmanuel Vadot      contains:
91c66ec88fSEmmanuel Vadot        const: qcom,mmcc-msm8998
92c66ec88fSEmmanuel Vadot
93c66ec88fSEmmanuel Vadotthen:
94c66ec88fSEmmanuel Vadot  required:
95c66ec88fSEmmanuel Vadot    - clocks
96c66ec88fSEmmanuel Vadot    - clock-names
97c66ec88fSEmmanuel Vadot
98c66ec88fSEmmanuel Vadotexamples:
99c66ec88fSEmmanuel Vadot  # Example for MMCC for MSM8960:
100c66ec88fSEmmanuel Vadot  - |
101c66ec88fSEmmanuel Vadot    clock-controller@4000000 {
102c66ec88fSEmmanuel Vadot      compatible = "qcom,mmcc-msm8960";
103c66ec88fSEmmanuel Vadot      reg = <0x4000000 0x1000>;
104c66ec88fSEmmanuel Vadot      #clock-cells = <1>;
105c66ec88fSEmmanuel Vadot      #reset-cells = <1>;
106c66ec88fSEmmanuel Vadot      #power-domain-cells = <1>;
107c66ec88fSEmmanuel Vadot    };
108c66ec88fSEmmanuel Vadot...
109