[PATCH 00/10] OPP: Support multiple power-domains per device
From: Viresh Kumar
Date: Fri Jun 29 2018 - 02:20:03 EST
Hi,
This series improves the OPP core (and a bit of genpd core as well) to
support multiple phandles in the "required-opps" property, which are
only used for multiple power-domains per device for now.
We still don't propagate the changes to master domains for the
sub-domains, but this patchset is an important stepping stone for that
to happen.
Tested on Hikey960 after faking some power domains for CPUs.
--
viresh
Viresh Kumar (10):
OPP: Parse OPP table's DT properties from _of_init_opp_table()
OPP: Identify and mark genpd OPP tables
OPP: Separate out custom OPP handler specific code
OPP: Populate required opp tables from "required-opps" property
OPP: Populate OPPs from "required-opps" property
OPP: Add dev_pm_opp_{set|put}_required_device() helper
PM / Domains: Add genpd_opp_to_performance_state()
OPP: Configure all required OPPs
OPP: Rename and relocate of_genpd_opp_to_performance_state()
OPP: Remove of_dev_pm_opp_find_required_opp()
drivers/base/power/domain.c | 82 ++++----
drivers/opp/core.c | 228 ++++++++++++++-------
drivers/opp/of.c | 382 ++++++++++++++++++++++++++++++------
drivers/opp/opp.h | 18 ++
include/linux/pm_domain.h | 7 +-
include/linux/pm_opp.h | 16 +-
6 files changed, 557 insertions(+), 176 deletions(-)
--
2.18.0.rc1.242.g61856ae69a2c