mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 15:25:22 +00:00
This PR follows Linux in defining devicetree content for generic voltage and current regulators, and an initial driver API for controlling them. A regulator itself may depend on a power source, so it needs to support the properties that enable that power source. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
18 lines
466 B
YAML
18 lines
466 B
YAML
# Copyright 2019-2020, Peter Bigot Consulting, LLC
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Voltage/Current Regulators
|
|
|
|
include: [base.yaml, power.yaml]
|
|
|
|
# Linux defines several dozen properties. We're providing only the ones
|
|
# currently useful to Zephyr.
|
|
properties:
|
|
regulator-always-on:
|
|
type: boolean
|
|
description: regulator should always be on
|
|
|
|
regulator-boot-on:
|
|
type: boolean
|
|
description: regulator should be turned on at startup
|