| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/trigger/trigger-source.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Trigger source provider |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- David Lechner <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
A trigger source providers are an abstraction for anything that provides a |
| 14 |
signal to trigger an event. For example, this could be a disk activity signal |
| 15 |
that triggers a LED to turn on or off or it could be a data ready signal |
| 16 |
that triggers a SPI offload to read data without a software interrupt. Each |
| 17 |
trigger source provider should be represented by a device tree node. |
| 18 |
|
| 19 |
select: true |
| 20 |
|
| 21 |
properties: |
| 22 |
'#trigger-source-cells': |
| 23 |
description: |
| 24 |
Number of cells required to specify a trigger source. This property is |
| 25 |
is applied to the trigger source provider. |
| 26 |
|
| 27 |
trigger-sources: |
| 28 |
$ref: /schemas/types.yaml#/definitions/phandle-array |
| 29 |
description: |
| 30 |
This property is applied to the trigger source consumer to describe the |
| 31 |
connection to a trigger source provider. |
| 32 |
|
| 33 |
additionalProperties: true |