OSDN Git Service

amba: Add support for attach/detach of PM domains
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 19 Sep 2014 18:27:42 +0000 (20:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Sep 2014 13:57:40 +0000 (15:57 +0200)
commit207f1a2d294e3781b56d1acecd48aaa3b4b7b2ad
treee056e2f1e8638fadd81c7b0cca87a7348a3026b3
parent676e7c257a339b44b8a613be145b22b85cf2ffc4
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.

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>
drivers/amba/bus.c