diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2024-10-02 14:22:25 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2024-10-10 14:13:49 +0200 |
commit | 98d277a79126a2df8a2617215846d01f823cfffa (patch) | |
tree | 859ad995197612bb024959e4689c22fdc38748b7 /tools/perf/scripts/python/task-analyzer.py | |
parent | 0e8158b4a82eb5bfb69df17510d210b073896f00 (diff) |
PM: domains: Support required OPPs in dev_pm_domain_attach_list()
In the multiple PM domain case we need platform code to specify the index
of the corresponding required OPP in DT for a device, which is what
*_opp_attach_genpd() is there to help us with.
However, attaching a device to its PM domains is in general better done
with dev_pm_domain_attach_list(). To avoid having two different ways to
manage this and to prepare for the removal of *_opp_attach_genpd(), let's
extend dev_pm_domain_attach|detach_list() to manage the required OPPs too.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20241002122232.194245-5-ulf.hansson@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions