xref: /freebsd/sys/contrib/device-tree/Bindings/leds/irled/pwm-ir-tx.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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/pwm-ir-tx.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: IR LED connected through PWM pin
8
9maintainers:
10  - Sean Young <sean@mess.org>
11
12description:
13  IR LED connected through PWM pin which is used as remote controller
14  transmitter.
15
16properties:
17  compatible:
18    oneOf:
19      - const: pwm-ir-tx
20      - const: nokia,n900-ir
21        deprecated: true
22
23  pwms:
24    maxItems: 1
25
26required:
27  - compatible
28  - pwms
29
30additionalProperties: false
31
32examples:
33  - |
34    irled {
35        compatible = "pwm-ir-tx";
36        pwms = <&pwm0 0 10000000>;
37    };
38