summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock/qcom,glymur-evacc.yaml
blob: fb0bc1acc920e906033e04fe38bf500c24247e5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/qcom,glymur-evacc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm EVA Clock & Reset Controller on Glymur SoC

maintainers:
  - Taniya Das <taniya.das@oss.qualcomm.com>

description: |
  Qualcomm EVA clock control module which supports the clocks, resets and
  power domains for the EVA instances on Glymur SoC.

  See also:
  - include/dt-bindings/clock/qcom,glymur-evacc.h

properties:
  compatible:
    const: qcom,glymur-evacc

  clocks:
    items:
      - description: Interface clock from GCC
      - description: Board XO source
      - description: Sleep clock source

  power-domains:
    items:
      - description: MMCX power domain
      - description: MXC power domain

  required-opps:
    description:
      Required OPP nodes for the MMCX and MXC power domains.
    items:
      - description: MMCX performance point
      - description: MXC performance point

required:
  - compatible
  - clocks
  - power-domains
  - required-opps
  - '#power-domain-cells'

allOf:
  - $ref: qcom,gcc.yaml#

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/clock/qcom,glymur-gcc.h>
    #include <dt-bindings/clock/qcom,rpmh.h>
    #include <dt-bindings/power/qcom,rpmhpd.h>
    clock-controller@ab00000 {
        compatible = "qcom,glymur-evacc";
        reg = <0x0ab00000 0x10000>;
        clocks = <&gcc GCC_EVA_AHB_CLK>,
                 <&rpmhcc RPMH_CXO_CLK>,
                 <&sleep_clk>;
        power-domains = <&rpmhpd RPMHPD_MMCX>,
                        <&rpmhpd RPMHPD_MXC>;
        required-opps = <&rpmhpd_opp_low_svs>,
                        <&rpmhpd_opp_low_svs>;
        #clock-cells = <1>;
        #reset-cells = <1>;
        #power-domain-cells = <1>;
    };
...