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