linux/Documentation/devicetree/bindings/leds/trigger-source.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

...