1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/power/reset 4 $id: http://devicetree.org/schemas/power/reset/restart-handler.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Restart and shutdown handler Common Pro 7 title: Restart and shutdown handler Common Properties 8 8 9 maintainers: 9 maintainers: 10 - Sebastian Reichel <sre@kernel.org> 10 - Sebastian Reichel <sre@kernel.org> 11 11 12 description: 12 description: 13 Restart and shutdown handler device is respo 13 Restart and shutdown handler device is responsible for powering off the 14 system, e.g. my cutting off the power. Syst 14 system, e.g. my cutting off the power. System might have several restart 15 handlers, which usually are tried from most 15 handlers, which usually are tried from most precise to last resort. 16 16 17 properties: 17 properties: 18 priority: 18 priority: 19 $ref: /schemas/types.yaml#/definitions/uin 19 $ref: /schemas/types.yaml#/definitions/uint32 20 description: | 20 description: | 21 A priority ranging from 0 to 255 accordi 21 A priority ranging from 0 to 255 according to the following guidelines:: 22 0:: Restart handler of last resort, 22 0:: Restart handler of last resort, with limited restart capabilities. 23 128:: Typical, default restart handler 23 128:: Typical, default restart handler; use if no other restart handler 24 is expected to be available, and 24 is expected to be available, and/or if restart functionality is 25 sufficient to restart the entire 25 sufficient to restart the entire system. 26 255:: Highest priority restart handler 26 255:: Highest priority restart handler, will preempt all other restart handlers. 27 minimum: 0 27 minimum: 0 28 maximum: 255 28 maximum: 255 29 29 30 additionalProperties: true 30 additionalProperties: true
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.