restart-handler.yaml 1.1 KB

123456789101112131415161718192021222324252627282930
  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/restart-handler.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Restart and shutdown handler Common Properties
  7. maintainers:
  8. - Sebastian Reichel <sre@kernel.org>
  9. description:
  10. Restart and shutdown handler device is responsible for powering off the
  11. system, e.g. my cutting off the power. System might have several restart
  12. handlers, which usually are tried from most precise to last resort.
  13. properties:
  14. priority:
  15. $ref: /schemas/types.yaml#/definitions/uint32
  16. description: |
  17. A priority ranging from 0 to 255 according to the following guidelines::
  18. 0:: Restart handler of last resort, with limited restart capabilities.
  19. 128:: Typical, default restart handler; use if no other restart handler
  20. is expected to be available, and/or if restart functionality is
  21. sufficient to restart the entire system.
  22. 255:: Highest priority restart handler, will preempt all other restart handlers.
  23. minimum: 0
  24. maximum: 255
  25. additionalProperties: true