Commit 657c292c authored by Ulf Hansson's avatar Ulf Hansson Committed by Rafael J. Wysocki

PM / Domains: dt: Allow power-domain property to be a list of specifiers

To be able to describe topologies where devices are partitioned across
multiple power domains, let's extend the power-domain property to allow
being a list of PM domain specifiers.
Suggested-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 3c89adb0
...@@ -111,8 +111,8 @@ Example 3: ...@@ -111,8 +111,8 @@ Example 3:
==PM domain consumers== ==PM domain consumers==
Required properties: Required properties:
- power-domains : A phandle and PM domain specifier as defined by bindings of - power-domains : A list of PM domain specifiers, as defined by bindings of
the power controller specified by phandle. the power controller that is the PM domain provider.
Example: Example:
...@@ -122,9 +122,18 @@ Example: ...@@ -122,9 +122,18 @@ Example:
power-domains = <&power 0>; power-domains = <&power 0>;
}; };
The node above defines a typical PM domain consumer device, which is located leaky-device@12351000 {
inside a PM domain with index 0 of a power controller represented by a node compatible = "foo,i-leak-current";
with the label "power". reg = <0x12351000 0x1000>;
power-domains = <&power 0>, <&power 1> ;
};
The first example above defines a typical PM domain consumer device, which is
located inside a PM domain with index 0 of a power controller represented by a
node with the label "power".
In the second example the consumer device are partitioned across two PM domains,
the first with index 0 and the second with index 1, of a power controller that
is represented by a node with the label "power.
Optional properties: Optional properties:
- required-opps: This contains phandle to an OPP node in another device's OPP - required-opps: This contains phandle to an OPP node in another device's OPP
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment