1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/media/gpio- 4 $id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: GPIO Based IR receiver 7 title: GPIO Based IR receiver 8 8 9 maintainers: 9 maintainers: 10 - Sebastian Hesselbarth <sebastian.hesselbart 10 - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> 11 11 12 allOf: 12 allOf: 13 - $ref: rc.yaml# 13 - $ref: rc.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: gpio-ir-receiver 17 const: gpio-ir-receiver 18 18 19 gpios: 19 gpios: 20 maxItems: 1 20 maxItems: 1 21 21 22 linux,autosuspend-period: 22 linux,autosuspend-period: 23 description: autosuspend delay time in mil 23 description: autosuspend delay time in milliseconds 24 $ref: /schemas/types.yaml#/definitions/uin 24 $ref: /schemas/types.yaml#/definitions/uint32 25 25 26 wakeup-source: 26 wakeup-source: 27 description: IR receiver can wake-up the s 27 description: IR receiver can wake-up the system. 28 28 29 required: 29 required: 30 - compatible 30 - compatible 31 - gpios 31 - gpios 32 32 33 unevaluatedProperties: false 33 unevaluatedProperties: false 34 34 35 examples: 35 examples: 36 - | 36 - | 37 ir-receiver { 37 ir-receiver { 38 compatible = "gpio-ir-receiver"; 38 compatible = "gpio-ir-receiver"; 39 gpios = <&gpio0 19 1>; 39 gpios = <&gpio0 19 1>; 40 linux,rc-map-name = "rc-rc6-mce"; 40 linux,rc-map-name = "rc-rc6-mce"; 41 linux,autosuspend-period = <125>; 41 linux,autosuspend-period = <125>; 42 }; 42 }; 43 ... 43 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.