Skip to content

Commit 371f30d

Browse files
decsnycfriedt
authored andcommitted
dts: bindings: zephyr,power-state: Clarify min-residency-us
Clarify the min-residency-us property meaning. Signed-off-by: Declan Snyder <[email protected]>
1 parent 37cc1ff commit 371f30d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

dts/bindings/power/zephyr,power-state.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Copyright (c) 2020, Intel Corporation
2+
# Copyright 2025 NXP
23
# SPDX-License-Identifier: Apache-2.0
34

4-
description: Properties for power management state
5+
description: |
6+
Properties for power management idle states.
57
68
compatible: "zephyr,power-state"
79

@@ -24,9 +26,13 @@ properties:
2426
min-residency-us:
2527
type: int
2628
description: |
27-
Minimum residency duration in microseconds. It is the minimum time for a
28-
given idle state to be worthwhile energywise. It includes the time to enter
29-
in this state.
29+
Minimum residency duration in microseconds.
30+
31+
How much time the residency in a given idle state must last for state entry
32+
to be worthwhile energywise. It includes the time to enter into this state
33+
and represents the "break-even" time to justify the time and power spent
34+
on the work needed for entering and exiting the state based on how much actual energy
35+
is saved once in the state, compared to choosing the next shallowest state.
3036
exit-latency-us:
3137
type: int
3238
description: |

0 commit comments

Comments
 (0)