diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-04-13 10:37:39 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-04-13 10:37:39 +0200 |
commit | 1c1bf62c5892b1db1da8d385018c712e3d845e03 (patch) | |
tree | d839ef4277ef9a9811d69b80fdaebf21520b42e2 /dts/Bindings/power | |
parent | 38504401dae231611f489b10734d9e9ab34082d5 (diff) | |
download | barebox-1c1bf62c5892b1db1da8d385018c712e3d845e03.tar.gz barebox-1c1bf62c5892b1db1da8d385018c712e3d845e03.tar.xz |
dts: update to v4.0-rc4
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/power')
-rw-r--r-- | dts/Bindings/power/power_domain.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dts/Bindings/power/power_domain.txt b/dts/Bindings/power/power_domain.txt index 98c16672ab..0f8ed3710c 100644 --- a/dts/Bindings/power/power_domain.txt +++ b/dts/Bindings/power/power_domain.txt @@ -19,6 +19,16 @@ Required properties: providing multiple PM domains (e.g. power controllers), but can be any value as specified by device tree binding documentation of particular provider. +Optional properties: + - power-domains : A phandle and PM domain specifier as defined by bindings of + the power controller specified by phandle. + Some power domains might be powered from another power domain (or have + other hardware specific dependencies). For representing such dependency + a standard PM domain consumer binding is used. When provided, all domains + created by the given provider should be subdomains of the domain + specified by this binding. More details about power domain specifier are + available in the next section. + Example: power: power-controller@12340000 { @@ -30,6 +40,25 @@ Example: The node above defines a power controller that is a PM domain provider and expects one cell as its phandle argument. +Example 2: + + parent: power-controller@12340000 { + compatible = "foo,power-controller"; + reg = <0x12340000 0x1000>; + #power-domain-cells = <1>; + }; + + child: power-controller@12340000 { + compatible = "foo,power-controller"; + reg = <0x12341000 0x1000>; + power-domains = <&parent 0>; + #power-domain-cells = <1>; + }; + +The nodes above define two power controllers: 'parent' and 'child'. +Domains created by the 'child' power controller are subdomains of '0' power +domain provided by the 'parent' power controller. + ==PM domain consumers== Required properties: |