1440b075bSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 23f5b93f4SKrzysztof Kozlowski%YAML 1.2 33f5b93f4SKrzysztof Kozlowski--- 43f5b93f4SKrzysztof Kozlowski$id: http://devicetree.org/schemas/power/reset/restart-handler.yaml# 53f5b93f4SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 63f5b93f4SKrzysztof Kozlowski 7800e7524SRob Herringtitle: Restart and shutdown handler Common Properties 83f5b93f4SKrzysztof Kozlowski 93f5b93f4SKrzysztof Kozlowskimaintainers: 103f5b93f4SKrzysztof Kozlowski - Sebastian Reichel <sre@kernel.org> 113f5b93f4SKrzysztof Kozlowski 123f5b93f4SKrzysztof Kozlowskidescription: 133f5b93f4SKrzysztof Kozlowski Restart and shutdown handler device is responsible for powering off the 143f5b93f4SKrzysztof Kozlowski system, e.g. my cutting off the power. System might have several restart 153f5b93f4SKrzysztof Kozlowski handlers, which usually are tried from most precise to last resort. 163f5b93f4SKrzysztof Kozlowski 173f5b93f4SKrzysztof Kozlowskiproperties: 183f5b93f4SKrzysztof Kozlowski priority: 193f5b93f4SKrzysztof Kozlowski $ref: /schemas/types.yaml#/definitions/uint32 203f5b93f4SKrzysztof Kozlowski description: | 213f5b93f4SKrzysztof Kozlowski A priority ranging from 0 to 255 according to the following guidelines:: 223f5b93f4SKrzysztof Kozlowski 0:: Restart handler of last resort, with limited restart capabilities. 233f5b93f4SKrzysztof Kozlowski 128:: Typical, default restart handler; use if no other restart handler 243f5b93f4SKrzysztof Kozlowski is expected to be available, and/or if restart functionality is 253f5b93f4SKrzysztof Kozlowski sufficient to restart the entire system. 263f5b93f4SKrzysztof Kozlowski 255:: Highest priority restart handler, will preempt all other restart handlers. 273f5b93f4SKrzysztof Kozlowski minimum: 0 283f5b93f4SKrzysztof Kozlowski maximum: 255 293f5b93f4SKrzysztof Kozlowski 303f5b93f4SKrzysztof KozlowskiadditionalProperties: true 31