xref: /freebsd/sys/contrib/device-tree/Bindings/power/pd-samsung.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
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
52examples:
53  - |
54    lcd0_pd: power-domain@10023c80 {
55        compatible = "samsung,exynos4210-pd";
56        reg = <0x10023c80 0x20>;
57        #power-domain-cells = <0>;
58        label = "LCD0";
59    };
60
61    mfc_pd: power-domain@10044060 {
62        compatible = "samsung,exynos4210-pd";
63        reg = <0x10044060 0x20>;
64        #power-domain-cells = <0>;
65        label = "MFC";
66    };
67