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 const: pwm-ir-tx 19 - const: pwm-ir-tx << 20 - const: nokia,n900-ir << 21 deprecated: true << 22 19 23 pwms: 20 pwms: 24 maxItems: 1 21 maxItems: 1 25 22 26 required: 23 required: 27 - compatible 24 - compatible 28 - pwms 25 - pwms 29 26 30 additionalProperties: false 27 additionalProperties: false 31 28 32 examples: 29 examples: 33 - | 30 - | 34 irled { 31 irled { 35 compatible = "pwm-ir-tx"; 32 compatible = "pwm-ir-tx"; 36 pwms = <&pwm0 0 10000000>; 33 pwms = <&pwm0 0 10000000>; 37 }; 34 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.