IR LED connected through GPIO pin

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

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

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

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

Properties and child nodes (properties) #

compatible — required here #

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

gpios — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

irled {
    compatible = "gpio-ir-tx";
    gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page