IR LED connected through PWM pin

Schema identifier ($id): "http://devicetree.org/schemas/leds/irled/pwm-ir-tx.yaml#"

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

Maintainers (maintainers): "Sean Young <sean@mess.org>"

IR LED connected through PWM pin which is used as remote controller transmitter.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "pwm-ir-tx"

Rule 2

Exact value (const): "nokia,n900-ir"

Deprecated (deprecated): true

pwms — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "pwms"

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

false

Not allowed by this rule.

Examples (examples) #

irled {
    compatible = "pwm-ir-tx";
    pwms = <&pwm0 0 10000000>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page