mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 21:25:22 +00:00
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>
27 lines
710 B
YAML
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.
|