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