zephyr/dts/bindings/base/pm.yaml
Gerard Marull-Paretas f989711a60 pm: s/power-domain/power-domains and add power-domain-names
Some devices may belong to >1 power domain, so with the current design
this is something not possible to describe. It's worth to note that
Linux also uses the `power-domains` naming scheme, not `power-domain`.
This patch also introduces `power-domain-names` so that each entry in
`power-domains` can be given a name if needed. `#power-domain-cells`
is now required as well.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-10-18 17:45:21 +01:00

29 lines
885 B
YAML

# Copyright (c) 2021 Intel Corporation.
# SPDX-License-Identifier: Apache-2.0
# Properties for Power Management (PM)
properties:
wakeup-source:
type: boolean
description: |
Property to identify that a device can be used as wake up source.
When this property is provided a specific flag is set into the
device that tells the system that the device is capable of
wake up the system.
Wake up capable devices are disabled (interruptions will not wake up
the system) by default but they can be enabled at runtime if necessary.
zephyr,pm-device-runtime-auto:
type: boolean
description: |
Automatically configure the device for runtime power management after the
init function runs.
zephyr,disabling-power-states:
type: phandles
description: |
List of power states that will disable this device power.