PM Domain Idle States

Schema identifier ($id): "http://devicetree.org/schemas/power/domain-idle-state.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Ulf Hansson <ulf.hansson@linaro.org>"

A domain idle state node represents the state parameters that will be used to select the state when there are no active components in the PM domain.

Properties and child nodes (properties) #

$nodename — not listed as required here #

Exact value (const): "domain-idle-states"

Properties matching a name pattern (patternProperties) #

^(cpu|cluster|domain)- — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Each state node represents a domain idle state description.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "domain-idle-state"

entry-latency-us — required here

The worst case latency in microseconds required to enter the idle state. Note that, the exit-latency-us duration may be guaranteed only after the entry-latency-us has passed.

exit-latency-us — required here

The worst case latency in microseconds required to exit the idle state.

min-residency-us — required here

The minimum residency duration in microseconds after which the idle state will yield power benefits, after overcoming the overhead while entering the idle state.

arm,psci-suspend-param — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

power_state parameter to pass to the ARM PSCI suspend call.

Device tree nodes that require usage of PSCI CPU_SUSPEND function (i.e. idle states node with entry-method property is set to "psci") must specify this property.

idle-state-name — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

A string used as a descriptive name for the idle state.

Required in this object (required): "compatible", "entry-latency-us", "exit-latency-us", "min-residency-us"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #


domain-idle-states {
  domain_retention: domain-retention {
    compatible = "domain-idle-state";
    entry-latency-us = <20>;
    exit-latency-us = <40>;
    min-residency-us = <80>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page