ARM: EXYNOS: Bind devices to power domains using DT
authorTomasz Figa <t.figa@samsung.com>
Wed, 21 Nov 2012 15:21:17 +0000 (00:21 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 21 Nov 2012 15:38:59 +0000 (00:38 +0900)
commit8a65d2365df0635da13ae30c01e217c477c9ce3e
treea87b1bc99d4f4af42de72e91e1caf2d5bf4ce271
parent7add0ec0fef19d5b7a3ae38c5deb80819a065a17
ARM: EXYNOS: Bind devices to power domains using DT

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>
Documentation/devicetree/bindings/arm/exynos/power_domain.txt
arch/arm/mach-exynos/pm_domains.c