Searched hist:"27 dceb81f445c58b1d10d27d26eaf4ac2e9e0b00" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/base/power/ |
H A D | common.c | diff 27dceb81f445c58b1d10d27d26eaf4ac2e9e0b00 Fri Jun 29 06:04:32 CDT 2018 Ulf Hansson <ulf.hansson@linaro.org> PM / Domains: Introduce dev_pm_domain_attach_by_name()
For the multiple PM domain case, let's introduce a new API called dev_pm_domain_attach_by_name(). This allows a consumer driver to associate its device with one of its PM domains, by using a name based lookup.
Do note that, currently it's only genpd that supports multiple PM domains per device, but dev_pm_domain_attach_by_name() can easily by extended to cover other PM domain types, if/when needed.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Rajendra Nayak <rnayak@codeaurora.org> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
/openbmc/linux/include/linux/ |
H A D | pm_domain.h | diff 27dceb81f445c58b1d10d27d26eaf4ac2e9e0b00 Fri Jun 29 06:04:32 CDT 2018 Ulf Hansson <ulf.hansson@linaro.org> PM / Domains: Introduce dev_pm_domain_attach_by_name()
For the multiple PM domain case, let's introduce a new API called dev_pm_domain_attach_by_name(). This allows a consumer driver to associate its device with one of its PM domains, by using a name based lookup.
Do note that, currently it's only genpd that supports multiple PM domains per device, but dev_pm_domain_attach_by_name() can easily by extended to cover other PM domain types, if/when needed.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Rajendra Nayak <rnayak@codeaurora.org> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|