1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/leds/irled/ 4 $id: http://devicetree.org/schemas/leds/irled/pwm-ir-tx.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: IR LED connected through PWM pin 7 title: IR LED connected through PWM pin 8 8 9 maintainers: 9 maintainers: 10 - Sean Young <sean@mess.org> 10 - Sean Young <sean@mess.org> 11 11 12 description: 12 description: 13 IR LED connected through PWM pin which is us 13 IR LED connected through PWM pin which is used as remote controller 14 transmitter. 14 transmitter. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 oneOf: 18 oneOf: 19 - const: pwm-ir-tx 19 - const: pwm-ir-tx 20 - const: nokia,n900-ir 20 - const: nokia,n900-ir 21 deprecated: true 21 deprecated: true 22 22 23 pwms: 23 pwms: 24 maxItems: 1 24 maxItems: 1 25 25 26 required: 26 required: 27 - compatible 27 - compatible 28 - pwms 28 - pwms 29 29 30 additionalProperties: false 30 additionalProperties: false 31 31 32 examples: 32 examples: 33 - | 33 - | 34 irled { 34 irled { 35 compatible = "pwm-ir-tx"; 35 compatible = "pwm-ir-tx"; 36 pwms = <&pwm0 0 10000000>; 36 pwms = <&pwm0 0 10000000>; 37 }; 37 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.