~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/power/power-domain.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/power/power-domain.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/power/power-domain.yaml (Version linux-5.18.19)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/power/power      4 $id: http://devicetree.org/schemas/power/power-domain.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Generic PM domains                           7 title: Generic PM domains
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Rafael J. Wysocki <rjw@rjwysocki.net>           10   - Rafael J. Wysocki <rjw@rjwysocki.net>
 11   - Kevin Hilman <khilman@kernel.org>               11   - Kevin Hilman <khilman@kernel.org>
 12   - Ulf Hansson <ulf.hansson@linaro.org>            12   - Ulf Hansson <ulf.hansson@linaro.org>
 13                                                    13 
 14 description: |+                                    14 description: |+
 15   System on chip designs are often divided int     15   System on chip designs are often divided into multiple PM domains that can be
 16   used for power gating of selected IP blocks  !!  16   used for power gating of selected IP blocks for power saving by reduced leakage
 17   leakage current. Moreover, in some cases the !!  17   current.
 18   capable of scaling performance for a group o << 
 19                                                    18 
 20   This device tree binding can be used to bind     19   This device tree binding can be used to bind PM domain consumer devices with
 21   their PM domains provided by PM domain provi     20   their PM domains provided by PM domain providers. A PM domain provider can be
 22   represented by any node in the device tree a     21   represented by any node in the device tree and can provide one or more PM
 23   domains. A consumer node can refer to the pr     22   domains. A consumer node can refer to the provider by a phandle and a set of
 24   phandle arguments (so called PM domain speci     23   phandle arguments (so called PM domain specifiers) of length specified by the
 25   \#power-domain-cells property in the PM doma     24   \#power-domain-cells property in the PM domain provider node.
 26                                                    25 
 27 properties:                                        26 properties:
 28   $nodename:                                       27   $nodename:
 29     pattern: "^(power-controller|power-domain| !!  28     pattern: "^(power-controller|power-domain)([@-].*)?$"
 30                                                    29 
 31   domain-idle-states:                              30   domain-idle-states:
 32     $ref: /schemas/types.yaml#/definitions/pha     31     $ref: /schemas/types.yaml#/definitions/phandle-array
 33     items:                                         32     items:
 34       maxItems: 1                                  33       maxItems: 1
 35     description: |                                 34     description: |
 36       Phandles of idle states that defines the     35       Phandles of idle states that defines the available states for the
 37       power-domain provider. The idle state de     36       power-domain provider. The idle state definitions are compatible with the
 38       domain-idle-state bindings, specified in     37       domain-idle-state bindings, specified in ./domain-idle-state.yaml.
 39                                                    38 
 40       Note that, the domain-idle-state propert     39       Note that, the domain-idle-state property reflects the idle states of this
 41       PM domain and not the idle states of the     40       PM domain and not the idle states of the devices or sub-domains in the PM
 42       domain. Devices and sub-domains have the     41       domain. Devices and sub-domains have their own idle states independent of
 43       the parent domain's idle states. In the      42       the parent domain's idle states. In the absence of this property, the
 44       domain would be considered as capable of     43       domain would be considered as capable of being powered-on or powered-off.
 45                                                    44 
 46   operating-points-v2:                             45   operating-points-v2:
                                                   >>  46     $ref: /schemas/types.yaml#/definitions/phandle-array
                                                   >>  47     items:
                                                   >>  48       maxItems: 1
 47     description:                                   49     description:
 48       Phandles to the OPP tables of power doma !!  50       Phandles to the OPP tables of power domains provided by a power domain
 49       performance, provided by a power domain  !!  51       provider. If the provider provides a single power domain only or all
 50       a single power domain only or all the po !!  52       the power domains provided by the provider have identical OPP tables,
 51       provider have identical OPP tables, then !!  53       then this shall contain a single phandle. Refer to ../opp/opp-v2-base.yaml
 52       phandle. Refer to ../opp/opp-v2-base.yam !!  54       for more information.
 53                                                    55 
 54   "#power-domain-cells":                           56   "#power-domain-cells":
 55     description:                                   57     description:
 56       Number of cells in a PM domain specifier     58       Number of cells in a PM domain specifier. Typically 0 for nodes
 57       representing a single PM domain and 1 fo     59       representing a single PM domain and 1 for nodes providing multiple PM
 58       domains (e.g. power controllers), but ca     60       domains (e.g. power controllers), but can be any value as specified
 59       by device tree binding documentation of      61       by device tree binding documentation of particular provider.
 60                                                    62 
 61   power-domains:                                   63   power-domains:
 62     description:                                   64     description:
 63       A phandle and PM domain specifier as def     65       A phandle and PM domain specifier as defined by bindings of the power
 64       controller specified by phandle. Some po     66       controller specified by phandle. Some power domains might be powered
 65       from another power domain (or have other     67       from another power domain (or have other hardware specific
 66       dependencies). For representing such dep     68       dependencies). For representing such dependency a standard PM domain
 67       consumer binding is used. When provided,     69       consumer binding is used. When provided, all domains created
 68       by the given provider should be subdomai     70       by the given provider should be subdomains of the domain specified
 69       by this binding.                             71       by this binding.
 70                                                    72 
 71 required:                                          73 required:
 72   - "#power-domain-cells"                          74   - "#power-domain-cells"
 73                                                    75 
 74 additionalProperties: true                         76 additionalProperties: true
 75                                                    77 
 76 examples:                                          78 examples:
 77   - |                                              79   - |
 78     power: power-controller@12340000 {             80     power: power-controller@12340000 {
 79         compatible = "foo,power-controller";       81         compatible = "foo,power-controller";
 80         reg = <0x12340000 0x1000>;                 82         reg = <0x12340000 0x1000>;
 81         #power-domain-cells = <1>;                 83         #power-domain-cells = <1>;
 82     };                                             84     };
 83                                                    85 
 84     // The node above defines a power controll     86     // The node above defines a power controller that is a PM domain provider and
 85     // expects one cell as its phandle argumen     87     // expects one cell as its phandle argument.
 86                                                    88 
 87   - |                                              89   - |
 88     parent2: power-controller@12340000 {           90     parent2: power-controller@12340000 {
 89         compatible = "foo,power-controller";       91         compatible = "foo,power-controller";
 90         reg = <0x12340000 0x1000>;                 92         reg = <0x12340000 0x1000>;
 91         #power-domain-cells = <1>;                 93         #power-domain-cells = <1>;
 92     };                                             94     };
 93                                                    95 
 94     child2: power-controller@12341000 {            96     child2: power-controller@12341000 {
 95         compatible = "foo,power-controller";       97         compatible = "foo,power-controller";
 96         reg = <0x12341000 0x1000>;                 98         reg = <0x12341000 0x1000>;
 97         power-domains = <&parent2 0>;              99         power-domains = <&parent2 0>;
 98         #power-domain-cells = <1>;                100         #power-domain-cells = <1>;
 99     };                                            101     };
100                                                   102 
101     // The nodes above define two power contro    103     // The nodes above define two power controllers: 'parent' and 'child'.
102     // Domains created by the 'child' power co    104     // Domains created by the 'child' power controller are subdomains of '0' power
103     // domain provided by the 'parent' power c    105     // domain provided by the 'parent' power controller.
104                                                   106 
105   - |                                             107   - |
106     parent3: power-controller@12340000 {          108     parent3: power-controller@12340000 {
107         compatible = "foo,power-controller";      109         compatible = "foo,power-controller";
108         reg = <0x12340000 0x1000>;                110         reg = <0x12340000 0x1000>;
109         #power-domain-cells = <0>;                111         #power-domain-cells = <0>;
110         domain-idle-states = <&DOMAIN_RET>, <&    112         domain-idle-states = <&DOMAIN_RET>, <&DOMAIN_PWR_DN>;
111     };                                            113     };
112                                                   114 
113     child3: power-controller@12341000 {           115     child3: power-controller@12341000 {
114         compatible = "foo,power-controller";      116         compatible = "foo,power-controller";
115         reg = <0x12341000 0x1000>;                117         reg = <0x12341000 0x1000>;
116         power-domains = <&parent3>;               118         power-domains = <&parent3>;
117         #power-domain-cells = <0>;                119         #power-domain-cells = <0>;
118         domain-idle-states = <&DOMAIN_PWR_DN>;    120         domain-idle-states = <&DOMAIN_PWR_DN>;
119     };                                            121     };
120                                                   122 
121     domain-idle-states {                          123     domain-idle-states {
122         DOMAIN_RET: domain-retention {            124         DOMAIN_RET: domain-retention {
123             compatible = "domain-idle-state";     125             compatible = "domain-idle-state";
124             entry-latency-us = <1000>;            126             entry-latency-us = <1000>;
125             exit-latency-us = <2000>;             127             exit-latency-us = <2000>;
126             min-residency-us = <10000>;           128             min-residency-us = <10000>;
127         };                                        129         };
128                                                   130 
129         DOMAIN_PWR_DN: domain-pwr-dn {            131         DOMAIN_PWR_DN: domain-pwr-dn {
130             compatible = "domain-idle-state";     132             compatible = "domain-idle-state";
131             entry-latency-us = <5000>;            133             entry-latency-us = <5000>;
132             exit-latency-us = <8000>;             134             exit-latency-us = <8000>;
133             min-residency-us = <7000>;            135             min-residency-us = <7000>;
134         };                                        136         };
135     };                                            137     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php