Skip to content

Commit

Permalink
PM / OPP: Add binding for 'opp-suspend'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Viresh Kumar authored and Rafael J. Wysocki committed Jun 22, 2015
1 parent a9a80e7 commit 9f20d68
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Documentation/devicetree/bindings/power/opp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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>;
Expand Down Expand Up @@ -237,6 +241,7 @@ independently.
opp-microvolt = <970000 975000 985000>;
opp-microamp = <70000>;
clock-latency-ns = <300000>;
opp-suspend;
};
opp01 {
opp-hz = <1100000000>;
Expand Down Expand Up @@ -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>;
Expand All @@ -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>;
Expand Down

0 comments on commit 9f20d68

Please sign in to comment.