提交 9f20d681 编写于 作者: V Viresh Kumar 提交者: Rafael J. Wysocki

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: NNishanth Menon <nm@ti.com>
Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
Acked-by: NNishanth Menon <nm@ti.com>
Acked-by: NRob Herring <robh@kernel.org>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 a9a80e7e
...@@ -120,6 +120,9 @@ Optional properties: ...@@ -120,6 +120,9 @@ Optional properties:
frequency for a short duration of time limited by the device's power, current frequency for a short duration of time limited by the device's power, current
and thermal limits. 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. - status: Marks the node enabled/disabled.
Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states together. 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. ...@@ -159,6 +162,7 @@ Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states together.
opp-microvolt = <970000 975000 985000>; opp-microvolt = <970000 975000 985000>;
opp-microamp = <70000>; opp-microamp = <70000>;
clock-latency-ns = <300000>; clock-latency-ns = <300000>;
opp-suspend;
}; };
opp01 { opp01 {
opp-hz = <1100000000>; opp-hz = <1100000000>;
...@@ -237,6 +241,7 @@ independently. ...@@ -237,6 +241,7 @@ independently.
opp-microvolt = <970000 975000 985000>; opp-microvolt = <970000 975000 985000>;
opp-microamp = <70000>; opp-microamp = <70000>;
clock-latency-ns = <300000>; clock-latency-ns = <300000>;
opp-suspend;
}; };
opp01 { opp01 {
opp-hz = <1100000000>; opp-hz = <1100000000>;
...@@ -312,6 +317,7 @@ DVFS state together. ...@@ -312,6 +317,7 @@ DVFS state together.
opp-microvolt = <970000 975000 985000>; opp-microvolt = <970000 975000 985000>;
opp-microamp = <70000>; opp-microamp = <70000>;
clock-latency-ns = <300000>; clock-latency-ns = <300000>;
opp-suspend;
}; };
opp01 { opp01 {
opp-hz = <1100000000>; opp-hz = <1100000000>;
...@@ -337,6 +343,7 @@ DVFS state together. ...@@ -337,6 +343,7 @@ DVFS state together.
opp-microvolt = <1045000 1050000 1055000>; opp-microvolt = <1045000 1050000 1055000>;
opp-microamp = <95000>; opp-microamp = <95000>;
clock-latency-ns = <400000>; clock-latency-ns = <400000>;
opp-suspend;
}; };
opp11 { opp11 {
opp-hz = <1400000000>; opp-hz = <1400000000>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册