zephyr/dts/bindings/power/state.yaml
Flavio Ceolin c5e82ecec3 power: Add substate-id property for a power state
There are platforms that have multiple states that maps to a specific
Zephyr power state. To accommodate this sort of situation this commit
adds an additional property to a power state that can be used by the
platform.

The power state now consists of two properties, a category and a
substate-id. The former property is the current power state.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2021-01-22 09:31:20 -05:00

31 lines
842 B
YAML

# Copyright (c) 2020, Intel Corporation
# SPDX-License-Identifier: Apache-2.0
description: Properties for power management state
compatible: "zephyr,power-state"
properties:
power-state-name:
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"
substate-id:
type: int
required: false
description: Platform specific identification.
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.