]> asedeno.scripts.mit.edu Git - linux.git/blob - Documentation/devicetree/bindings/power/pd-samsung.txt
soc: samsung: pm_domains: Read domain name from the new label property
[linux.git] / Documentation / devicetree / bindings / power / pd-samsung.txt
1 * Samsung Exynos Power Domains
2
3 Exynos processors include support for multiple power domains which are used
4 to gate power to one or more peripherals on the processor.
5
6 Required Properties:
7 - compatible: should be one of the following.
8     * samsung,exynos4210-pd - for exynos4210 type power domain.
9 - reg: physical base address of the controller and length of memory mapped
10     region.
11 - #power-domain-cells: number of cells in power domain specifier;
12     must be 0.
13
14 Optional Properties:
15 - label: Human readable string with domain name. Will be visible in userspace
16         to let user to distinguish between multiple domains in SoC.
17 - clocks: List of clock handles. The parent clocks of the input clocks to the
18         devices in this power domain are set to oscclk before power gating
19         and restored back after powering on a domain. This is required for
20         all domains which are powered on and off and not required for unused
21         domains.
22 - clock-names: The following clocks can be specified:
23         - oscclk: Oscillator clock.
24         - clkN: Input clocks to the devices in this power domain. These clocks
25                 will be reparented to oscclk before swithing power domain off.
26                 Their original parent will be brought back after turning on
27                 the domain. Maximum of 4 clocks (N = 0 to 3) are supported.
28         - asbN: Clocks required by asynchronous bridges (ASB) present in
29                 the power domain. These clock should be enabled during power
30                 domain on/off operations.
31 - power-domains: phandle pointing to the parent power domain, for more details
32                  see Documentation/devicetree/bindings/power/power_domain.txt
33
34 Node of a device using power domains must have a power-domains property
35 defined with a phandle to respective power domain.
36
37 Example:
38
39         lcd0: power-domain-lcd0 {
40                 compatible = "samsung,exynos4210-pd";
41                 reg = <0x10023C00 0x10>;
42                 #power-domain-cells = <0>;
43                 label = "LCD0";
44         };
45
46         mfc_pd: power-domain@10044060 {
47                 compatible = "samsung,exynos4210-pd";
48                 reg = <0x10044060 0x20>;
49                 clocks = <&clock CLK_FIN_PLL>, <&clock CLK_MOUT_USER_ACLK333>;
50                 clock-names = "oscclk", "clk0";
51                 #power-domain-cells = <0>;
52                 label = "MFC";
53         };
54
55 See Documentation/devicetree/bindings/power/power_domain.txt for description
56 of consumer-side bindings.