xref: /freebsd/sys/contrib/device-tree/Bindings/power/reset/regulator-poweroff.yaml (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/power/reset/regulator-poweroff.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Force-disable power regulator to turn the power off.
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Michael Klein <michael@fossekall.de>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotdescription: |
135def4c47SEmmanuel Vadot  When the power-off handler is called, a power regulator is disabled by
145def4c47SEmmanuel Vadot  calling regulator_force_disable(). If the power is still on and the
155def4c47SEmmanuel Vadot  CPU still running after a 3000ms delay, a warning is emitted.
165def4c47SEmmanuel Vadot
175def4c47SEmmanuel Vadotproperties:
185def4c47SEmmanuel Vadot  compatible:
19*b97ee269SEmmanuel Vadot    const: regulator-poweroff
205def4c47SEmmanuel Vadot
215def4c47SEmmanuel Vadot  cpu-supply:
225def4c47SEmmanuel Vadot    description:
235def4c47SEmmanuel Vadot      regulator to disable on power-down
245def4c47SEmmanuel Vadot
255def4c47SEmmanuel Vadotrequired:
265def4c47SEmmanuel Vadot  - compatible
275def4c47SEmmanuel Vadot  - cpu-supply
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel VadotadditionalProperties: false
305def4c47SEmmanuel Vadot
315def4c47SEmmanuel Vadotexamples:
325def4c47SEmmanuel Vadot  - |
335def4c47SEmmanuel Vadot    regulator-poweroff {
345def4c47SEmmanuel Vadot        compatible = "regulator-poweroff";
355def4c47SEmmanuel Vadot        cpu-supply = <&reg_vcc1v2>;
365def4c47SEmmanuel Vadot    };
375def4c47SEmmanuel Vadot...
38