Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / power / domain-idle-state.yaml
blob6a12efdf436af624ef1603bdf397502f8dd7d7cf
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/power/domain-idle-state.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PM Domain Idle States binding description
9 maintainers:
10   - Ulf Hansson <ulf.hansson@linaro.org>
12 description:
13   A domain idle state node represents the state parameters that will be used to
14   select the state when there are no active components in the PM domain.
16 properties:
17   $nodename:
18     const: domain-idle-states
20 patternProperties:
21   "^(cpu|cluster|domain)-":
22     type: object
23     description:
24       Each state node represents a domain idle state description.
26     properties:
27       compatible:
28         const: domain-idle-state
30       entry-latency-us:
31         description:
32           The worst case latency in microseconds required to enter the idle
33           state. Note that, the exit-latency-us duration may be guaranteed only
34           after the entry-latency-us has passed.
36       exit-latency-us:
37         description:
38           The worst case latency in microseconds required to exit the idle
39           state.
41       min-residency-us:
42         description:
43           The minimum residency duration in microseconds after which the idle
44           state will yield power benefits, after overcoming the overhead while
45           entering the idle state.
47     required:
48       - compatible
49       - entry-latency-us
50       - exit-latency-us
51       - min-residency-us
53 additionalProperties: false
55 examples:
56   - |
58     domain-idle-states {
59       domain_retention: domain-retention {
60         compatible = "domain-idle-state";
61         entry-latency-us = <20>;
62         exit-latency-us = <40>;
63         min-residency-us = <80>;
64       };
65     };
66 ...