1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 28bab661aSEmmanuel Vadot%YAML 1.2 38bab661aSEmmanuel Vadot--- 48bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/power/reset/restart-handler.yaml# 58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68bab661aSEmmanuel Vadot 7f126890aSEmmanuel Vadottitle: Restart and shutdown handler Common Properties 88bab661aSEmmanuel Vadot 98bab661aSEmmanuel Vadotmaintainers: 108bab661aSEmmanuel Vadot - Sebastian Reichel <sre@kernel.org> 118bab661aSEmmanuel Vadot 128bab661aSEmmanuel Vadotdescription: 138bab661aSEmmanuel Vadot Restart and shutdown handler device is responsible for powering off the 148bab661aSEmmanuel Vadot system, e.g. my cutting off the power. System might have several restart 158bab661aSEmmanuel Vadot handlers, which usually are tried from most precise to last resort. 168bab661aSEmmanuel Vadot 178bab661aSEmmanuel Vadotproperties: 188bab661aSEmmanuel Vadot priority: 198bab661aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 208bab661aSEmmanuel Vadot description: | 218bab661aSEmmanuel Vadot A priority ranging from 0 to 255 according to the following guidelines:: 228bab661aSEmmanuel Vadot 0:: Restart handler of last resort, with limited restart capabilities. 238bab661aSEmmanuel Vadot 128:: Typical, default restart handler; use if no other restart handler 248bab661aSEmmanuel Vadot is expected to be available, and/or if restart functionality is 258bab661aSEmmanuel Vadot sufficient to restart the entire system. 268bab661aSEmmanuel Vadot 255:: Highest priority restart handler, will preempt all other restart handlers. 278bab661aSEmmanuel Vadot minimum: 0 288bab661aSEmmanuel Vadot maximum: 255 298bab661aSEmmanuel Vadot 308bab661aSEmmanuel VadotadditionalProperties: true 31