linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: Rafael Wysocki <rjw@rjwysocki.net>,
	ulf.hansson@linaro.org, Kevin Hilman <khilman@kernel.org>,
	Len Brown <len.brown@intel.com>, Nishanth Menon <nm@ti.com>,
	Pavel Machek <pavel@ucw.cz>, Stephen Boyd <sboyd@kernel.org>,
	Viresh Kumar <vireshk@kernel.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>,
	linux-pm@vger.kernel.org,
	Vincent Guittot <vincent.guittot@linaro.org>,
	Rajendra Nayak <rnayak@codeaurora.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 00/10] OPP: Support multiple power-domains per device
Date: Fri, 29 Jun 2018 11:49:30 +0530	[thread overview]
Message-ID: <cover.1530252803.git.viresh.kumar@linaro.org> (raw)

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

             reply	other threads:[~2018-06-29  6:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29  6:19 Viresh Kumar [this message]
2018-06-29  6:19 ` [PATCH 01/10] OPP: Parse OPP table's DT properties from _of_init_opp_table() Viresh Kumar
2018-06-29  6:19 ` [PATCH 02/10] OPP: Identify and mark genpd OPP tables Viresh Kumar
2018-06-29  6:19 ` [PATCH 03/10] OPP: Separate out custom OPP handler specific code Viresh Kumar
2018-06-29  6:19 ` [PATCH 04/10] OPP: Populate required opp tables from "required-opps" property Viresh Kumar
2018-06-29  6:19 ` [PATCH 05/10] OPP: Populate OPPs " Viresh Kumar
2018-06-29  6:19 ` [PATCH 06/10] OPP: Add dev_pm_opp_{set|put}_required_device() helper Viresh Kumar
2018-09-10 14:18   ` Ulf Hansson
2018-06-29  6:19 ` [PATCH 07/10] PM / Domains: Add genpd_opp_to_performance_state() Viresh Kumar
2018-06-29  6:19 ` [PATCH 08/10] OPP: Configure all required OPPs Viresh Kumar
2018-06-29  6:19 ` [PATCH 09/10] OPP: Rename and relocate of_genpd_opp_to_performance_state() Viresh Kumar
2018-06-29  6:19 ` [PATCH 10/10] OPP: Remove of_dev_pm_opp_find_required_opp() Viresh Kumar
2018-06-29  9:06 ` [PATCH 00/10] OPP: Support multiple power-domains per device Rafael J. Wysocki
2018-06-29  9:48   ` Viresh Kumar
2018-07-16  4:32 ` Viresh Kumar
2018-07-16  9:04   ` Ulf Hansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1530252803.git.viresh.kumar@linaro.org \
    --to=viresh.kumar@linaro.org \
    --cc=khilman@kernel.org \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=pavel@ucw.cz \
    --cc=rjw@rjwysocki.net \
    --cc=rnayak@codeaurora.org \
    --cc=sboyd@kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=vincent.guittot@linaro.org \
    --cc=vireshk@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).