regulator-poweroff.yaml 870 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/power/reset/regulator-poweroff.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Force-disable power regulator to turn the power off.
  7. maintainers:
  8. - Michael Klein <michael@fossekall.de>
  9. description: |
  10. When the power-off handler is called, a power regulator is disabled by
  11. calling regulator_force_disable(). If the power is still on and the
  12. CPU still running after a 3000ms delay, a warning is emitted.
  13. properties:
  14. compatible:
  15. const: regulator-poweroff
  16. cpu-supply:
  17. description:
  18. regulator to disable on power-down
  19. required:
  20. - compatible
  21. - cpu-supply
  22. additionalProperties: false
  23. examples:
  24. - |
  25. regulator-poweroff {
  26. compatible = "regulator-poweroff";
  27. cpu-supply = <&reg_vcc1v2>;
  28. };
  29. ...