zephyr/dts/bindings/regulator/regulator.yaml
Peter A. Bigot b7639551ee drivers: add infrastructure for regulator devices
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>
2020-10-28 15:22:53 +01:00

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