Force-disable power regulator to turn the power off.

Schema identifier ($id): "http://devicetree.org/schemas/power/reset/regulator-poweroff.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Klein <michael@fossekall.de>"

When the power-off handler is called, a power regulator is disabled by calling regulator_force_disable(). If the power is still on and the CPU still running after a 3000ms delay, a warning is emitted.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "regulator-poweroff"

cpu-supply — required here #

regulator to disable on power-down

Required in this object (required): "compatible", "cpu-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

regulator-poweroff {
    compatible = "regulator-poweroff";
    cpu-supply = <&reg_vcc1v2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page