xref: /linux/Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml (revision 7ae0d493a5af9dcd929b721d31a3cfad21f5fbda)
1d6e33fc8SMichael Klein# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2d6e33fc8SMichael Klein%YAML 1.2
3d6e33fc8SMichael Klein---
4d6e33fc8SMichael Klein$id: http://devicetree.org/schemas/power/reset/regulator-poweroff.yaml#
5d6e33fc8SMichael Klein$schema: http://devicetree.org/meta-schemas/core.yaml#
6d6e33fc8SMichael Klein
7d6e33fc8SMichael Kleintitle: Force-disable power regulator to turn the power off.
8d6e33fc8SMichael Klein
9d6e33fc8SMichael Kleinmaintainers:
10d6e33fc8SMichael Klein  - Michael Klein <michael@fossekall.de>
11d6e33fc8SMichael Klein
12d6e33fc8SMichael Kleindescription: |
13d6e33fc8SMichael Klein  When the power-off handler is called, a power regulator is disabled by
14d6e33fc8SMichael Klein  calling regulator_force_disable(). If the power is still on and the
15d6e33fc8SMichael Klein  CPU still running after a 3000ms delay, a warning is emitted.
16d6e33fc8SMichael Klein
17d6e33fc8SMichael Kleinproperties:
18d6e33fc8SMichael Klein  compatible:
19*7ae0d493SKrzysztof Kozlowski    const: regulator-poweroff
20d6e33fc8SMichael Klein
21d6e33fc8SMichael Klein  cpu-supply:
22d6e33fc8SMichael Klein    description:
23d6e33fc8SMichael Klein      regulator to disable on power-down
24d6e33fc8SMichael Klein
25d6e33fc8SMichael Kleinrequired:
26d6e33fc8SMichael Klein  - compatible
27d6e33fc8SMichael Klein  - cpu-supply
28d6e33fc8SMichael Klein
29d6e33fc8SMichael KleinadditionalProperties: false
30d6e33fc8SMichael Klein
31d6e33fc8SMichael Kleinexamples:
32d6e33fc8SMichael Klein  - |
33d6e33fc8SMichael Klein    regulator-poweroff {
34d6e33fc8SMichael Klein        compatible = "regulator-poweroff";
35d6e33fc8SMichael Klein        cpu-supply = <&reg_vcc1v2>;
36d6e33fc8SMichael Klein    };
37d6e33fc8SMichael Klein...
38