mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
In order to add meta-schema checks for additional/unevaluatedProperties being present, all schema need to make this explicit. As common/shared schema are included by other schemas, they should always allow for additionalProperties. Acked-by: Mark Brown <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Acked-by: Sebastian Reichel <[email protected]> Acked-by: Chanwoo Choi <[email protected]> Acked-By: Vinod Koul <[email protected]> Acked-by: Lee Jones <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Acked-by: Srinivas Kandagatla <[email protected]> Acked-by: Ulf Hansson <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Acked-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
27 lines
674 B
YAML
27 lines
674 B
YAML
# SPDX-License-Identifier: GPL-2.0-only
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/leds/trigger-source.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Trigger source providers
|
|
|
|
maintainers:
|
|
- Jacek Anaszewski <[email protected]>
|
|
- Pavel Machek <[email protected]>
|
|
|
|
description:
|
|
Each trigger source provider should be represented by a device tree node. It
|
|
may be e.g. a USB port or an Ethernet device.
|
|
|
|
properties:
|
|
'#trigger-source-cells':
|
|
description:
|
|
Number of cells in a source trigger. Typically 0 for nodes of simple
|
|
trigger sources (e.g. a specific USB port).
|
|
enum: [ 0, 1 ]
|
|
|
|
additionalProperties: true
|
|
|
|
...
|