Restart and shutdown handler Common Properties

Schema identifier ($id): "http://devicetree.org/schemas/power/reset/restart-handler.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sebastian Reichel <sre@kernel.org>"

Restart and shutdown handler device is responsible for powering off the system, e.g. my cutting off the power. System might have several restart handlers, which usually are tried from most precise to last resort.

Properties and child nodes (properties) #

priority — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

A priority ranging from 0 to 255 according to the following guidelines::
  0::   Restart handler of last resort, with limited restart capabilities.
  128:: Typical, default restart handler; use if no other restart handler
        is expected to be available, and/or if restart functionality is
        sufficient to restart the entire system.
  255:: Highest priority restart handler, will preempt all other restart handlers.

Minimum value (minimum): 0

Maximum value (maximum): 255

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page