This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

regulator-fixed

Vendor: Generic or vendor-independent

Description

GPIO-controlled regulators

Properties

Properties not inherited from the base binding file.

Name

Type

Details

regulator-name

string

A string used as a descriptive name for regulator outputs

This property is required.

enable-gpios

phandle-array

GPIO to use to enable/disable the regulator.

Unlike the gpio property in the Linux bindings this array must
provide the GPIO polarity and open-drain status in the phandle
selector.  The Linux enable-active-high and gpio-open-drain
properties are not valid for Zephyr devicetree files.

This property is required.

startup-delay-us

int

Startup time, in microseconds

off-on-delay-us

int

Off delay time, in microseconds

regulator-always-on

boolean

boolean, regulator should never be disabled

regulator-boot-on

boolean

bootloader/firmware enabled regulator.
It's expected that this regulator was left on by the bootloader.
If the bootloader didn't leave it on then OS should turn it on
at boot but shouldn't prevent it from being turned off later.
This property is intended to only be used for regulators where
software cannot read the state of the regulator.