From: Viresh Kumar <viresh.kumar@linaro.org>
To: Rafael Wysocki <rjw@rjwysocki.net>, nm@ti.com, sboyd@codeaurora.org
Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org,
khilman@linaro.org, Viresh Kumar <viresh.kumar@linaro.org>
Subject: [PATCH 0/6] PM / OPP: Add debugfs support
Date: Mon, 10 Aug 2015 12:01:56 +0530 [thread overview]
Message-ID: <cover.1439187821.git.viresh.kumar@linaro.org> (raw)
Hi Guys,
This isn't necessarily 4.3 material.
This series is targeted towards exposing opp information at user space.
I wasn't really sure about adding them to sysfs, as its mostly static
(fixed) data and so debugfs looked to be better place.
This series starts with 2 cleanup patches, and then moves all opp stuff
to a new directory as its expanding enough now.
The last patch adds debugfs support for OPPs and works for both old and
new v2 bindings.
Rebased over: pm/bleeding-edge branch.
Viresh Kumar (6):
PM / OPP: reuse of_parse_phandle()
PM / OPP: restructure _of_init_opp_table_v2()
PM / OPP: Prefix exported opp routines with dev_pm_opp_
PM / OPP: Move opp core to its own directory
PM / OPP: Move cpu specific code to opp/cpu.c
PM / OPP: Add debugfs support
drivers/base/power/Makefile | 2 +-
drivers/base/power/opp/Makefile | 3 +
drivers/base/power/{opp.c => opp/core.c} | 372 ++++---------------------------
drivers/base/power/opp/cpu.c | 268 ++++++++++++++++++++++
drivers/base/power/opp/debugfs.c | 165 ++++++++++++++
drivers/base/power/opp/opp.h | 179 +++++++++++++++
drivers/cpufreq/Makefile | 1 -
drivers/cpufreq/cpufreq-dt.c | 10 +-
drivers/cpufreq/cpufreq_opp.c | 114 ----------
include/linux/pm_opp.h | 16 +-
10 files changed, 672 insertions(+), 458 deletions(-)
create mode 100644 drivers/base/power/opp/Makefile
rename drivers/base/power/{opp.c => opp/core.c} (80%)
create mode 100644 drivers/base/power/opp/cpu.c
create mode 100644 drivers/base/power/opp/debugfs.c
create mode 100644 drivers/base/power/opp/opp.h
delete mode 100644 drivers/cpufreq/cpufreq_opp.c
--
2.4.0
next reply other threads:[~2015-08-10 6:32 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 6:31 Viresh Kumar [this message]
2015-08-10 6:31 ` [PATCH 1/6] PM / OPP: reuse of_parse_phandle() Viresh Kumar
2015-08-10 6:31 ` Viresh Kumar
2015-08-11 6:02 ` Stephen Boyd
2015-08-11 6:10 ` Viresh Kumar
2015-08-11 6:23 ` Stephen Boyd
2015-08-11 6:42 ` Viresh Kumar
2015-08-10 6:31 ` [PATCH 2/6] PM / OPP: restructure _of_init_opp_table_v2() Viresh Kumar
2015-08-10 6:31 ` Viresh Kumar
2015-08-10 19:23 ` Stephen Boyd
2015-08-11 0:23 ` Viresh Kumar
2015-08-11 0:31 ` Stephen Boyd
2015-08-11 2:25 ` Viresh Kumar
2015-08-11 6:08 ` Stephen Boyd
2015-08-11 6:57 ` Viresh Kumar
2015-08-11 8:37 ` Viresh Kumar
2015-08-11 2:33 ` Viresh Kumar
2015-08-11 6:09 ` Stephen Boyd
2015-08-10 6:31 ` [PATCH 3/6] PM / OPP: Prefix exported opp routines with dev_pm_opp_ Viresh Kumar
2015-08-10 6:31 ` Viresh Kumar
2015-08-10 19:24 ` Stephen Boyd
2015-08-10 6:32 ` [PATCH 4/6] PM / OPP: Move opp core to its own directory Viresh Kumar
2015-08-10 6:32 ` Viresh Kumar
2015-08-10 19:51 ` Stephen Boyd
2015-08-11 0:25 ` Viresh Kumar
2015-08-10 6:32 ` [PATCH 5/6] PM / OPP: Move cpu specific code to opp/cpu.c Viresh Kumar
2015-08-10 6:32 ` Viresh Kumar
2015-08-11 6:09 ` Stephen Boyd
2015-08-10 6:32 ` [PATCH 6/6] PM / OPP: Add debugfs support Viresh Kumar
2015-08-10 6:32 ` Viresh Kumar
2015-08-10 19:50 ` Stephen Boyd
2015-08-11 6:35 ` Viresh Kumar
2015-08-11 6:37 ` Viresh Kumar
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.1439187821.git.viresh.kumar@linaro.org \
--to=viresh.kumar@linaro.org \
--cc=khilman@linaro.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-pm@vger.kernel.org \
--cc=nm@ti.com \
--cc=rjw@rjwysocki.net \
--cc=sboyd@codeaurora.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.