Recently we added support to manage multiple PM domains per device. Consumer drivers were provided an API, dev_pm_domain_attach_by_id() to associate its device with one of its PM domain, by using an index. Let's extend this to allow the association to be done using a name based lookup, which follows the similar concept as for other resource types, such as clocks for example. Ulf Hansson (3): PM / Domains: dt: Add a power-domain-names property PM / Domains: Introduce option to attach a device by name to genpd PM / Domains: Introduce dev_pm_domain_attach_by_name() .../bindings/power/power_domain.txt | 8 +++++++ drivers/base/power/common.c | 17 +++++++++++++ drivers/base/power/domain.c | 24 +++++++++++++++++++ include/linux/pm_domain.h | 15 ++++++++++++ 4 files changed, 64 insertions(+) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html