xref: /linux/Documentation/devicetree/bindings/power/pd-samsung.yaml (revision 02680c23d7b3febe45ea3d4f9818c2b2dc89020a)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/power/pd-samsung.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung Exynos SoC Power Domains
8
9maintainers:
10  - Krzysztof Kozlowski <krzk@kernel.org>
11
12description: |+
13  Exynos processors include support for multiple power domains which are used
14  to gate power to one or more peripherals on the processor.
15
16allOf:
17  - $ref: power-domain.yaml#
18
19properties:
20  compatible:
21    enum:
22      - samsung,exynos4210-pd
23      - samsung,exynos5433-pd
24
25  reg:
26    maxItems: 1
27
28  clocks:
29    deprecated: true
30    maxItems: 1
31
32  clock-names:
33    deprecated: true
34    maxItems: 1
35
36  label:
37    description:
38      Human readable string with domain name. Will be visible in userspace
39      to let user to distinguish between multiple domains in SoC.
40
41  "#power-domain-cells":
42    const: 0
43
44  power-domains:
45    maxItems: 1
46
47required:
48  - compatible
49  - "#power-domain-cells"
50  - reg
51
52unevaluatedProperties: false
53
54examples:
55  - |
56    lcd0_pd: power-domain@10023c80 {
57        compatible = "samsung,exynos4210-pd";
58        reg = <0x10023c80 0x20>;
59        #power-domain-cells = <0>;
60        label = "LCD0";
61    };
62
63    mfc_pd: power-domain@10044060 {
64        compatible = "samsung,exynos4210-pd";
65        reg = <0x10044060 0x20>;
66        #power-domain-cells = <0>;
67        label = "MFC";
68    };
69