Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/trigger-source/pwm-trigger.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Generic trigger source using PWM
8
9description: Remaps a PWM channel as a trigger source.
10
11maintainers:
12 - David Lechner <dlechner@baylibre.com>
13
14properties:
15 compatible:
16 const: pwm-trigger
17
18 '#trigger-source-cells':
19 const: 0
20
21 pwms:
22 maxItems: 1
23
24required:
25 - compatible
26 - '#trigger-source-cells'
27 - pwms
28
29additionalProperties: false
30
31examples:
32 - |
33 trigger {
34 compatible = "pwm-trigger";
35 #trigger-source-cells = <0>;
36 pwms = <&pwm 0 1000000 0>;
37 };