xref: /freebsd/sys/contrib/device-tree/Bindings/leds/irled/pwm-ir-tx.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
18bab661aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
28bab661aSEmmanuel Vadot%YAML 1.2
38bab661aSEmmanuel Vadot---
48bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/leds/irled/pwm-ir-tx.yaml#
58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68bab661aSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: IR LED connected through PWM pin
88bab661aSEmmanuel Vadot
98bab661aSEmmanuel Vadotmaintainers:
108bab661aSEmmanuel Vadot  - Sean Young <sean@mess.org>
118bab661aSEmmanuel Vadot
128bab661aSEmmanuel Vadotdescription:
138bab661aSEmmanuel Vadot  IR LED connected through PWM pin which is used as remote controller
148bab661aSEmmanuel Vadot  transmitter.
158bab661aSEmmanuel Vadot
168bab661aSEmmanuel Vadotproperties:
178bab661aSEmmanuel Vadot  compatible:
18*84943d6fSEmmanuel Vadot    oneOf:
19*84943d6fSEmmanuel Vadot      - const: pwm-ir-tx
20*84943d6fSEmmanuel Vadot      - const: nokia,n900-ir
21*84943d6fSEmmanuel Vadot        deprecated: true
228bab661aSEmmanuel Vadot
238bab661aSEmmanuel Vadot  pwms:
248bab661aSEmmanuel Vadot    maxItems: 1
258bab661aSEmmanuel Vadot
268bab661aSEmmanuel Vadotrequired:
278bab661aSEmmanuel Vadot  - compatible
288bab661aSEmmanuel Vadot  - pwms
298bab661aSEmmanuel Vadot
308bab661aSEmmanuel VadotadditionalProperties: false
318bab661aSEmmanuel Vadot
328bab661aSEmmanuel Vadotexamples:
338bab661aSEmmanuel Vadot  - |
348bab661aSEmmanuel Vadot    irled {
358bab661aSEmmanuel Vadot        compatible = "pwm-ir-tx";
368bab661aSEmmanuel Vadot        pwms = <&pwm0 0 10000000>;
378bab661aSEmmanuel Vadot    };
38