brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · ec1f6f6 Raw
77 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/power/domain-idle-state.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: PM Domain Idle States8 9maintainers:10  - Ulf Hansson <ulf.hansson@linaro.org>11 12description:13  A domain idle state node represents the state parameters that will be used to14  select the state when there are no active components in the PM domain.15 16properties:17  $nodename:18    const: domain-idle-states19 20patternProperties:21  "^(cpu|cluster|domain)-":22    type: object23    additionalProperties: false24    description:25      Each state node represents a domain idle state description.26 27    properties:28      compatible:29        const: domain-idle-state30 31      entry-latency-us:32        description:33          The worst case latency in microseconds required to enter the idle34          state. Note that, the exit-latency-us duration may be guaranteed only35          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 idle40          state.41 42      min-residency-us:43        description:44          The minimum residency duration in microseconds after which the idle45          state will yield power benefits, after overcoming the overhead while46          entering the idle state.47 48      arm,psci-suspend-param:49        $ref: /schemas/types.yaml#/definitions/uint3250        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 function54          (i.e. idle states node with entry-method property is set to "psci")55          must specify this property.56 57    required:58      - compatible59      - entry-latency-us60      - exit-latency-us61      - min-residency-us62 63additionalProperties: false64 65examples:66  - |67 68    domain-idle-states {69      domain_retention: domain-retention {70        compatible = "domain-idle-state";71        entry-latency-us = <20>;72        exit-latency-us = <40>;73        min-residency-us = <80>;74      };75    };76...77