| 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# |
| 6 |
|
| 7 |
title: PM Domain Idle States |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Ulf Hansson <[email protected]> |
| 11 |
|
| 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. |
| 15 |
|
| 16 |
properties: |
| 17 |
$nodename: |
| 18 |
const: domain-idle-states |
| 19 |
|
| 20 |
patternProperties: |
| 21 |
"^(cpu|cluster|domain)-": |
| 22 |
type: object |
| 23 |
additionalProperties: false |
| 24 |
description: |
| 25 |
Each state node represents a domain idle state description. |
| 26 |
|
| 27 |
properties: |
| 28 |
compatible: |
| 29 |
const: domain-idle-state |
| 30 |
|
| 31 |
entry-latency-us: |
| 32 |
description: |
| 33 |
The worst case latency in microseconds required to enter the idle |
| 34 |
state. Note that, the exit-latency-us duration may be guaranteed only |
| 35 |
after the entry-latency-us has passed. |
| 36 |
|
| 37 |
exit-latency-us: |
| 38 |
description: |
| 39 |
The worst case latency in microseconds required to exit the idle |
| 40 |
state. |
| 41 |
|
| 42 |
min-residency-us: |
| 43 |
description: |
| 44 |
The minimum residency duration in microseconds after which the idle |
| 45 |
state will yield power benefits, after overcoming the overhead while |
| 46 |
entering the idle state. |
| 47 |
|
| 48 |
arm,psci-suspend-param: |
| 49 |
$ref: /schemas/types.yaml#/definitions/uint32 |
| 50 |
description: | |
| 51 |
power_state parameter to pass to the ARM PSCI suspend call. |
| 52 |
|
| 53 |
Device tree nodes that require usage of PSCI CPU_SUSPEND function |
| 54 |
(i.e. idle states node with entry-method property is set to "psci") |
| 55 |
must specify this property. |
| 56 |
|
| 57 |
idle-state-name: |
| 58 |
$ref: /schemas/types.yaml#/definitions/string |
| 59 |
description: |
| 60 |
A string used as a descriptive name for the idle state. |
| 61 |
|
| 62 |
required: |
| 63 |
- compatible |
| 64 |
- entry-latency-us |
| 65 |
- exit-latency-us |
| 66 |
- min-residency-us |
| 67 |
|
| 68 |
additionalProperties: false |
| 69 |
|
| 70 |
examples: |
| 71 |
- | |
| 72 |
|
| 73 |
domain-idle-states { |
| 74 |
domain_retention: domain-retention { |
| 75 |
compatible = "domain-idle-state"; |
| 76 |
entry-latency-us = <20>; |
| 77 |
exit-latency-us = <40>; |
| 78 |
min-residency-us = <80>; |
| 79 |
}; |
| 80 |
}; |
| 81 |
... |