Files
rockchip-kernel/drivers/amba
Ulf Hansson 87d287f036 UPSTREAM: amba: Add support for attach/detach of PM domains
AMBA devices may on some SoCs resides in PM domains. To be able to
manage these devices from there, let's try to attach devices to their
corresponding PM domain during the probe phase.

To reverse these actions at the remove phase, we try to detach the
device from its PM domain.

BUG=chrome-os-partner:30167
TEST=Build and boot; future power domain patches can work

Change-Id: Ie09d4d80ce73dd8d9ebe52ec717b51035c33ad74
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>
(cherry picked from git.kernel.org rafael/linux-pm.git linux-next
 commit 207f1a2d29)
Reviewed-on: https://chromium-review.googlesource.com/217920
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
2014-10-01 01:49:06 +00:00
..
2012-05-08 13:30:49 -06:00