aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-06-22 14:23:27 +0200
committerViresh Kumar <viresh.kumar@linaro.org>2016-04-01 10:52:57 +0530
commit95e8729396617244cbda11b53412feafad6a467c (patch)
tree047eed601bc07750f9489273453b373a04a13694
parent8c297d8d05325d2f54c8df091337c75efabadbec (diff)
PM / OPP: Add binding for 'opp-suspend'
On few platforms, for power efficiency, we want the device to be configured for a specific OPP while we put the device in suspend state. Add an optional property in operating-points-v2 bindings for that. Suggested-by: Nishanth Menon <nm@ti.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Nishanth Menon <nm@ti.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--Documentation/devicetree/bindings/power/opp.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/opp.txt b/Documentation/devicetree/bindings/power/opp.txt
index 3d5d32ca0f97..0d5e7c978121 100644
--- a/Documentation/devicetree/bindings/power/opp.txt
+++ b/Documentation/devicetree/bindings/power/opp.txt
@@ -120,6 +120,9 @@ Optional properties:
frequency for a short duration of time limited by the device's power, current
and thermal limits.
+- opp-suspend: Marks the OPP to be used during device suspend. Only one OPP in
+ the table should have this.
+
- status: Marks the node enabled/disabled.
Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states together.
@@ -159,6 +162,7 @@ Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states together.
opp-microvolt = <970000 975000 985000>;
opp-microamp = <70000>;
clock-latency-ns = <300000>;
+ opp-suspend;
};
opp01 {
opp-hz = <1100000000>;
@@ -237,6 +241,7 @@ independently.
opp-microvolt = <970000 975000 985000>;
opp-microamp = <70000>;
clock-latency-ns = <300000>;
+ opp-suspend;
};
opp01 {
opp-hz = <1100000000>;
@@ -312,6 +317,7 @@ DVFS state together.
opp-microvolt = <970000 975000 985000>;
opp-microamp = <70000>;
clock-latency-ns = <300000>;
+ opp-suspend;
};
opp01 {
opp-hz = <1100000000>;
@@ -337,6 +343,7 @@ DVFS state together.
opp-microvolt = <1045000 1050000 1055000>;
opp-microamp = <95000>;
clock-latency-ns = <400000>;
+ opp-suspend;
};
opp11 {
opp-hz = <1400000000>;