From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: [PATCH 00/10] OPP: Support multiple power-domains per device Date: Fri, 29 Jun 2018 11:49:30 +0530 Message-ID: Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Rafael Wysocki , ulf.hansson@linaro.org, Kevin Hilman , Len Brown , Nishanth Menon , Pavel Machek , Stephen Boyd , Viresh Kumar Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Rajendra Nayak , linux-kernel@vger.kernel.org List-Id: linux-pm@vger.kernel.org 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