1# Copyright (c) 2023 Google LLC
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Simple monitorig power domain
6
7  This power domain monitors the state of a GPIO pin to detect whether a power
8  rail is on/off. Therefore, performing resume/suspend on power domain won't
9  change physical state of power rails and that action won't be triggered on
10  child nodes. Additionally, due to the asynchronous nature of monitoring, a
11  pending transaction won't be interrupted by power state change.
12
13compatible: "power-domain-gpio-monitor"
14
15include: power-domain.yaml
16
17properties:
18  gpios:
19    type: phandle-array
20    required: true
21    description: |
22      GPIO to use to sense if rail is powered on.
23
24  "#power-domain-cells":
25    const: 0
26