162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
262306a36Sopenharmony_ci%YAML 1.2
362306a36Sopenharmony_ci---
462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/power/reset/regulator-poweroff.yaml#
562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
662306a36Sopenharmony_ci
762306a36Sopenharmony_cititle: Force-disable power regulator to turn the power off.
862306a36Sopenharmony_ci
962306a36Sopenharmony_cimaintainers:
1062306a36Sopenharmony_ci  - Michael Klein <michael@fossekall.de>
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_cidescription: |
1362306a36Sopenharmony_ci  When the power-off handler is called, a power regulator is disabled by
1462306a36Sopenharmony_ci  calling regulator_force_disable(). If the power is still on and the
1562306a36Sopenharmony_ci  CPU still running after a 3000ms delay, a warning is emitted.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciproperties:
1862306a36Sopenharmony_ci  compatible:
1962306a36Sopenharmony_ci    const: regulator-poweroff
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci  cpu-supply:
2262306a36Sopenharmony_ci    description:
2362306a36Sopenharmony_ci      regulator to disable on power-down
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_cirequired:
2662306a36Sopenharmony_ci  - compatible
2762306a36Sopenharmony_ci  - cpu-supply
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciadditionalProperties: false
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciexamples:
3262306a36Sopenharmony_ci  - |
3362306a36Sopenharmony_ci    regulator-poweroff {
3462306a36Sopenharmony_ci        compatible = "regulator-poweroff";
3562306a36Sopenharmony_ci        cpu-supply = <&reg_vcc1v2>;
3662306a36Sopenharmony_ci    };
3762306a36Sopenharmony_ci...
38