All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 Resend 0/5] PM / OPP: Add debugfs support
@ 2015-09-01  4:58 Viresh Kumar
  2015-09-01  4:58   ` Viresh Kumar
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: Viresh Kumar @ 2015-09-01  4:58 UTC (permalink / raw)
  To: Rafael Wysocki, sboyd; +Cc: linaro-kernel, linux-pm, nm, khilman, Viresh Kumar

Hi Guys,

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.

V2->V2-Resend:
- V2 1/6 is dropped as its already merged, rest unchanged.

V1->V2:
- Moved the second patch to the top as its a fix (Dan Carpenter &
  Stephen).
- Also updated it to fix things properly.
- rearranged opp entry in drivers/base/power/Makefile (Stephen)
- Device-directory name also includes its parent name now, to make it
  more unique (Stephen).
- Migrate debugfs directory properly if unregistered for the owner
  device (Stephen).

Viresh Kumar (5):
  PM / OPP: reuse of_parse_phandle()
  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} | 356 +++----------------------------
 drivers/base/power/opp/cpu.c             | 268 +++++++++++++++++++++++
 drivers/base/power/opp/debugfs.c         | 217 +++++++++++++++++++
 drivers/base/power/opp/opp.h             | 186 ++++++++++++++++
 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, 722 insertions(+), 451 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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-09-03  4:32 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-01  4:58 [PATCH V2 Resend 0/5] PM / OPP: Add debugfs support Viresh Kumar
2015-09-01  4:58 ` [PATCH V2 Resend 1/5] PM / OPP: reuse of_parse_phandle() Viresh Kumar
2015-09-01  4:58   ` Viresh Kumar
2015-09-01 22:48   ` Stephen Boyd
2015-09-01  4:58 ` [PATCH V2 Resend 2/5] PM / OPP: Prefix exported opp routines with dev_pm_opp_ Viresh Kumar
2015-09-01  4:58   ` Viresh Kumar
2015-09-01 19:03   ` Pavel Machek
2015-09-02  7:22     ` Viresh Kumar
2015-09-02  7:25       ` Viresh Kumar
2015-09-03  0:00         ` Stephen Boyd
2015-09-01  4:58 ` [PATCH V2 Resend 3/5] PM / OPP: Move opp core to its own directory Viresh Kumar
2015-09-01  4:58   ` Viresh Kumar
2015-09-01 22:51   ` Stephen Boyd
2015-09-02  7:13     ` Viresh Kumar
2015-09-01  4:58 ` [PATCH V2 Resend 4/5] PM / OPP: Move cpu specific code to opp/cpu.c Viresh Kumar
2015-09-01  4:58   ` Viresh Kumar
2015-09-01  4:58 ` [PATCH V2 Resend 5/5] PM / OPP: Add debugfs support Viresh Kumar
2015-09-01  4:58   ` Viresh Kumar
2015-09-01 23:00   ` Stephen Boyd
2015-09-03  1:05 ` [PATCH V2 Resend 0/5] " Rafael J. Wysocki
2015-09-03  4:32   ` Viresh Kumar

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.