summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/mediatek,mt8173-mfgtop.yaml
blob: 03db1ee9e5944cc82676b1a863c0da9cf24500c9 (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
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---

$id: http://devicetree.org/schemas/clock/mediatek,mt8173-mfgtop.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MediaTek MT8173 MFG TOP controller

maintainers:
  - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

description:
  The MFG TOP glue layer controls various signals going to the MFG (GPU)
  block on the MT8173.

properties:
  compatible:
    const: mediatek,mt8173-mfgtop

  reg:
    maxItems: 1

  clocks:
    maxItems: 4

  clock-names:
    items:
      - const: sys
      - const: mem
      - const: core
      - const: clk26m

  power-domains:
    maxItems: 1

  '#clock-cells':
    const: 1

  '#power-domain-cells':
    const: 0

required:
  - compatible
  - reg
  - clocks
  - clock-names
  - power-domains
  - '#clock-cells'
  - '#power-domain-cells'

additionalProperties: false

examples:
  - |
        #include <dt-bindings/clock/mt8173-clk.h>
        #include <dt-bindings/power/mt8173-power.h>

        clock-controller@13fff000 {
            compatible = "mediatek,mt8173-mfgtop";
            reg = <0x13fff000 0x1000>;
            clocks = <&topckgen CLK_TOP_AXI_MFG_IN_SEL>,
                     <&topckgen CLK_TOP_MEM_MFG_IN_SEL>,
                     <&topckgen CLK_TOP_MFG_SEL>,
                     <&clk26m>;
            clock-names = "sys", "mem", "core", "clk26m";
            power-domains = <&spm MT8173_POWER_DOMAIN_MFG>;
            #clock-cells = <1>;
            #power-domain-cells = <0>;
        };