This patch adds a way to specify bindings between devices and power domains using device tree. A device can be bound to particular power domain by adding a power-domain property containing a phandle to the domain. The device will be bound to the domain before binding a driver to it and unbound after unbinding a driver from it. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
29 lines
738 B
Plaintext
29 lines
738 B
Plaintext
* Samsung Exynos Power Domains
|
|
|
|
Exynos processors include support for multiple power domains which are used
|
|
to gate power to one or more peripherals on the processor.
|
|
|
|
Required Properties:
|
|
- compatible: should be one of the following.
|
|
* samsung,exynos4210-pd - for exynos4210 type power domain.
|
|
- reg: physical base address of the controller and length of memory mapped
|
|
region.
|
|
|
|
Node of a device using power domains must have a samsung,power-domain property
|
|
defined with a phandle to respective power domain.
|
|
|
|
Example:
|
|
|
|
lcd0: power-domain-lcd0 {
|
|
compatible = "samsung,exynos4210-pd";
|
|
reg = <0x10023C00 0x10>;
|
|
};
|
|
|
|
Example of the node using power domain:
|
|
|
|
node {
|
|
/* ... */
|
|
samsung,power-domain = <&lcd0>;
|
|
/* ... */
|
|
};
|