# PM Domain Idle States

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Power bindings_

> Device-tree binding reference for PM Domain Idle States.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;power&#47;domain&#45;idle&#45;state&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Ulf Hansson &#60;ulf&#46;hansson&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">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.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8cca737a574136d30da2"><code>&#34;domain&#45;idle&#45;states&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-457f1c2bca3c93da24fa"></a>

### <code>&#94;&#40;cpu&#124;cluster&#124;domain&#41;&#45;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-53b47afd69f424d483ef"><code>&#34;object&#34;</code></span>

<a id="dt-89de66303a4541cdcaaa"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-ade1b9f72f3a5da40095">
<p style="white-space: pre-wrap">Each state node represents a domain idle state description.</p>
</div>

<a id="dt-0aba37c7c2efcfedee9b"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-a00c8d104e2ef79bc8c3"></a>

**<code>compatible</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-8c480cfbae4419ae5b53"><code>&#34;domain&#45;idle&#45;state&#34;</code></span>

<a id="dt-9849913d10db1a54a183"></a>

**<code>entry&#45;latency&#45;us</code> — required here**

<div id="dt-e2d4994c92a31c8b72f6">
<p style="white-space: pre-wrap">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.</p>
</div>

<a id="dt-de923dedeab7a6d7ebbe"></a>

**<code>exit&#45;latency&#45;us</code> — required here**

<div id="dt-208b86f8332b45e745c5">
<p style="white-space: pre-wrap">The worst case latency in microseconds required to exit the idle state.</p>
</div>

<a id="dt-675d9737147f27d34090"></a>

**<code>min&#45;residency&#45;us</code> — required here**

<div id="dt-e8988d3ae8bd9ef7851d">
<p style="white-space: pre-wrap">The minimum residency duration in microseconds after which the idle state will yield power benefits, after overcoming the overhead while entering the idle state.</p>
</div>

<a id="dt-0b7d4e56a2648264d862"></a>

**<code>arm&#44;psci&#45;suspend&#45;param</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-40dc140c2de8c1279014">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-be9ff42a43c38ab8085a">
<p style="white-space: pre-wrap">power_state parameter to pass to the ARM PSCI suspend call.</p>
<p style="white-space: pre-wrap">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.</p>
</div>

<a id="dt-d635c5f17f1ecdfe7166"></a>

**<code>idle&#45;state&#45;name</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b4c888dca8aaac1026a4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-5ba55f58f9e6958e495c">
<p style="white-space: pre-wrap">A string used as a descriptive name for the idle state.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-60b8569c049df2097c3c"></a> <span id="dt-0ca4ea4879e1fd541ea5"><code>&#34;compatible&#34;</code></span>, <span id="dt-9c4e0cafc990bcbe8b68"><code>&#34;entry&#45;latency&#45;us&#34;</code></span>, <span id="dt-85438a8c3c5d0fac83c4"><code>&#34;exit&#45;latency&#45;us&#34;</code></span>, <span id="dt-bab44bf3487412767595"><code>&#34;min&#45;residency&#45;us&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">
domain-idle-states {
  domain_retention: domain-retention {
    compatible = "domain-idle-state";
    entry-latency-us = &lt;20&gt;;
    exit-latency-us = &lt;40&gt;;
    min-residency-us = &lt;80&gt;;
  };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: GPL-2.0</span></p>

</details>
