Documentation/devicetree/bindings/leds/trigger-source.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/leds/trigger-source.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/leds/trigger-source.yaml
Extension
.yaml
Size
674 bytes
Lines
27
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# 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 <jacek.anaszewski@gmail.com>
  - Pavel Machek <pavel@ucw.cz>

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

...

Annotation

Implementation Notes