GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / leds / irled / gpio-ir-tx.yaml
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/leds/irled/gpio-ir-tx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: IR LED connected through GPIO pin
8
9 maintainers:
10   - Sean Young <sean@mess.org>
11
12 description:
13   IR LED connected through GPIO pin which is used as remote controller
14   transmitter.
15
16 properties:
17   compatible:
18     const: gpio-ir-tx
19
20   gpios:
21     maxItems: 1
22
23 required:
24   - compatible
25   - gpios
26
27 additionalProperties: false
28
29 examples:
30   - |
31     #include <dt-bindings/gpio/gpio.h>
32
33     irled {
34         compatible = "gpio-ir-tx";
35         gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
36     };