mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-07 14:19:35 +00:00

Documentation/process/license-rules.rst and checkpatch expect the SPDX identifier syntax for multiple licenses to use capital "OR". Correct it to keep consistent format and avoid copy-paste issues. Correct also the format // -> .* in few Allwinner binding headers as pointed out by checkpatch: WARNING: Improper SPDX comment style for 'include/dt-bindings/reset/sun50i-h6-ccu.h', please use '/*' instead Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20230823084540.112602-1-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/power/reset/restart-handler.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Restart and shutdown handler Common Properties
|
|
|
|
maintainers:
|
|
- Sebastian Reichel <sre@kernel.org>
|
|
|
|
description:
|
|
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:
|
|
priority:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: |
|
|
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: 0
|
|
maximum: 255
|
|
|
|
additionalProperties: true
|