File Index
Files and directories
Sign in
FILE

mediatek,mt8195-scpsys.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml YAML
 1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/mfd/mediatek,mt8195-scpsys.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: MediaTek System Control Processor System
 8
 9maintainers:
10  - MandyJH Liu <mandyjh.liu@mediatek.com>
11
12description:
13  MediaTek System Control Processor System (SCPSYS) has several
14  power management tasks. The tasks include MTCMOS power
15  domain control, thermal measurement, DVFS, etc.
16
17properties:
18  compatible:
19    items:
20      - enum:
21          - mediatek,mt6893-scpsys
22          - mediatek,mt8167-scpsys
23          - mediatek,mt8173-scpsys
24          - mediatek,mt8183-scpsys
25          - mediatek,mt8186-scpsys
26          - mediatek,mt8188-scpsys
27          - mediatek,mt8192-scpsys
28          - mediatek,mt8195-scpsys
29          - mediatek,mt8365-scpsys
30      - const: syscon
31      - const: simple-mfd
32
33  reg:
34    maxItems: 1
35
36  power-controller:
37    $ref: /schemas/power/mediatek,power-controller.yaml#
38
39required:
40  - compatible
41  - reg
42
43additionalProperties: false
44
45examples:
46  - |
47    #include <dt-bindings/clock/mt8195-clk.h>
48    #include <dt-bindings/power/mt8195-power.h>
49
50    syscon@10006000 {
51      compatible = "mediatek,mt8195-scpsys", "syscon", "simple-mfd";
52      reg = <0x10006000 0x100>;
53
54      spm: power-controller {
55        compatible = "mediatek,mt8195-power-controller";
56        #address-cells = <1>;
57        #size-cells = <0>;
58        #power-domain-cells = <1>;
59
60        /* sample of power domain nodes */
61        power-domain@MT8195_POWER_DOMAIN_PCIE_PHY {
62          reg = <MT8195_POWER_DOMAIN_PCIE_PHY>;
63          #power-domain-cells = <0>;
64        };
65
66        power-domain@MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY {
67          reg = <MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY>;
68          #power-domain-cells = <0>;
69        };
70      };
71    };
~/ Read-only file preview.