Generic trigger source using PWM

Schema identifier ($id): "http://devicetree.org/schemas/trigger-source/pwm-trigger.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Remaps a PWM channel as a trigger source.

Maintainers (maintainers): "David Lechner <dlechner@baylibre.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "pwm-trigger"

#trigger-source-cells — required here #

Exact value (const): 0

pwms — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#trigger-source-cells", "pwms"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

trigger {
    compatible = "pwm-trigger";
    #trigger-source-cells = <0>;
    pwms = <&pwm 0 1000000 0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page