Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1525118

[PATCH 1/2] PM / Domains: Introduce domain-performance-state binding

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding
Date 2016-11-18 10:30 +0100
Message-ID <sENEB-5bP-1@gated-at.bofh.it> (permalink)
References <sENEB-5bP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Some platforms have the capability to configure the performance state of
their Power Domains. The performance levels are represented by positive
integer values, a lower value represents lower performance state.

The power-domains until now were only concentrating on the idle state
management of the device and this needs to change in order to reuse the
infrastructure of power domains for active state management.

This patch introduces a new optional property for the consumers of the
power-domains: domain-performance-state.

If the consumers don't need the capability of switching to different
domain performance states at runtime, then they can simply define their
required domain performance state in their node directly. Otherwise the
consumers can define their requirements with help of other
infrastructure, for example the OPP table.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 Documentation/devicetree/bindings/power/power_domain.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/power/power_domain.txt b/Documentation/devicetree/bindings/power/power_domain.txt
index e1650364b296..db42eacf8b5c 100644
--- a/Documentation/devicetree/bindings/power/power_domain.txt
+++ b/Documentation/devicetree/bindings/power/power_domain.txt
@@ -106,6 +106,12 @@ domain provided by the 'parent' power controller.
  - power-domains : A phandle and PM domain specifier as defined by bindings of
                    the power controller specified by phandle.
 
+Optional properties:
+- domain-performance-state: A positive integer value representing the minimum
+  performance level (of the parent domain) required by the consumer for its
+  working. The integer value '1' represents the lowest performance level and the
+  highest value represents the highest performance level.
+
 Example:
 
 	leaky-device@12350000 {
-- 
2.7.1.410.g6faf27b

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] PM / Domains: Introduce domain-performance-state binding Viresh Kumar <viresh.kumar@linaro.org> - 2016-11-18 10:30 +0100
  Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state  binding Rob Herring <robh@kernel.org> - 2016-11-21 16:10 +0100
    Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state  binding Viresh Kumar <viresh.kumar@linaro.org> - 2016-11-22 04:20 +0100
      Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding Kevin Hilman <khilman@baylibre.com> - 2016-11-22 19:20 +0100
        Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding Vincent Guittot <vincent.guittot@linaro.org> - 2016-11-22 19:50 +0100
          Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state  binding Viresh Kumar <viresh.kumar@linaro.org> - 2016-11-23 04:30 +0100
          Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding Vincent Guittot <vincent.guittot@linaro.org> - 2016-11-23 17:00 +0100
            Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding Kevin Hilman <khilman@baylibre.com> - 2016-11-23 23:40 +0100
              Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state  binding Stephen Boyd <sboyd@codeaurora.org> - 2016-11-24 03:10 +0100
                Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state  binding Viresh Kumar <viresh.kumar@linaro.org> - 2016-11-24 05:50 +0100
          Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding Kevin Hilman <khilman@baylibre.com> - 2016-11-23 17:00 +0100

csiph-web