1# Copyright (c) 2022 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Fake regulator, to be used as a mock or stub in tests.
6
7  An arbitrary number of children can be defined.
8
9compatible: "zephyr,fake-regulator"
10
11child-binding:
12  include: regulator.yaml
13
14  properties:
15    fake-is-enabled-in-hardware:
16      type: boolean
17      description: |
18        Sets the is_enabled flag passed to regulator_common_init.
19        Allows test cases where the regulator is enabled in hardware.
20