1# Copyright (c) 2022, CSIRO
2# SPDX-License-Identifier: Apache-2.0
3
4description: Simple GPIO controlled power domain
5
6compatible: "power-domain-gpio"
7
8include: power-domain.yaml
9
10properties:
11  enable-gpios:
12    type: phandle-array
13    required: true
14    description: |
15      GPIO to use to enable/disable the regulator.
16
17      Unlike the gpio property in the Linux bindings this array must
18      provide the GPIO polarity and open-drain status in the phandle
19      selector.  The Linux enable-active-high and gpio-open-drain
20      properties are not valid for Zephyr devicetree files.
21
22  startup-delay-us:
23    type: int
24    default: 0
25    description: Startup time, in microseconds
26
27  off-on-delay-us:
28    type: int
29    default: 0
30    description: Off delay time, in microseconds
31
32  "#power-domain-cells":
33    const: 0
34