zephyr/dts/bindings/power/state.yaml
Flavio Ceolin 2ca2a34669 dts: power: Add power states support
Add power state property binding and include this property in cpu.
The pm-state attribute is a enum that matches with enum pm_state right
now the only timing attribute is the minimum residency that is the
minimum time for a power state be worthwhile.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2020-12-09 16:39:33 -05:00

27 lines
710 B
YAML

# Copyright (c) 2020, Intel Corporation
# SPDX-License-Identifier: Apache-2.0
description: Properties for power management state
compatible: "pm-state"
properties:
pm-state:
type: string
required: true
description: indicates a power state
enum:
- "active"
- "runtime-idle"
- "suspend-to-idle"
- "standby"
- "suspend-to-ram"
- "suspend-to-disk"
- "soft-off"
min-residency-us:
type: int
required: false
description: |
Minimum residency duration in microseconds. It is the minimum time for a
given idle state to be worthwhile energywise.