summary refs log tree commit diff
path: root/drivers/opp/Kconfig
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2017-09-26 15:12:40 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-10-03 02:45:12 +0200
commit7813dd6fc75fb375d4caf002e7f80a826fc3153a (patch)
tree37326fb95800c931382c3abda492d207c81aef41 /drivers/opp/Kconfig
parent9e66317d3c92ddaab330c125dfe9d06eee268aff (diff)
downloadlinux-7813dd6fc75fb375d4caf002e7f80a826fc3153a.tar.gz
PM / OPP: Move the OPP directory out of power/
The drivers/base/power/ directory is special and contains code related
to power management core like system suspend/resume, hibernation, etc.
It was fine to keep the OPP code inside it when we had just one file for
it, but it is growing now and already has a directory for itself.

Lets move it directly under drivers/ directory, just like cpufreq and
cpuidle.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/opp/Kconfig')
-rw-r--r--drivers/opp/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/opp/Kconfig b/drivers/opp/Kconfig
new file mode 100644
index 000000000000..a7fbb93f302c
--- /dev/null
+++ b/drivers/opp/Kconfig
@@ -0,0 +1,13 @@
+config PM_OPP
+	bool
+	select SRCU
+	---help---
+	  SOCs have a standard set of tuples consisting of frequency and
+	  voltage pairs that the device will support per voltage domain. This
+	  is called Operating Performance Point or OPP. The actual definitions
+	  of OPP varies over silicon within the same family of devices.
+
+	  OPP layer organizes the data internally using device pointers
+	  representing individual voltage domains and provides SOC
+	  implementations a ready to use framework to manage OPPs.
+	  For more information, read <file:Documentation/power/opp.txt>