1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2b97ee269SEmmanuel Vadot%YAML 1.2 3b97ee269SEmmanuel Vadot--- 4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml# 5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6b97ee269SEmmanuel Vadot 7b97ee269SEmmanuel Vadottitle: GPIO Based IR receiver 8b97ee269SEmmanuel Vadot 9b97ee269SEmmanuel Vadotmaintainers: 10b97ee269SEmmanuel Vadot - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> 11b97ee269SEmmanuel Vadot 12b97ee269SEmmanuel VadotallOf: 13b97ee269SEmmanuel Vadot - $ref: rc.yaml# 14b97ee269SEmmanuel Vadot 15b97ee269SEmmanuel Vadotproperties: 16b97ee269SEmmanuel Vadot compatible: 17b97ee269SEmmanuel Vadot const: gpio-ir-receiver 18b97ee269SEmmanuel Vadot 19b97ee269SEmmanuel Vadot gpios: 20b97ee269SEmmanuel Vadot maxItems: 1 21b97ee269SEmmanuel Vadot 22b97ee269SEmmanuel Vadot linux,autosuspend-period: 23b97ee269SEmmanuel Vadot description: autosuspend delay time in milliseconds 24b97ee269SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 25b97ee269SEmmanuel Vadot 26*fac71e4eSEmmanuel Vadot wakeup-source: 27*fac71e4eSEmmanuel Vadot description: IR receiver can wake-up the system. 28*fac71e4eSEmmanuel Vadot 29b97ee269SEmmanuel Vadotrequired: 30b97ee269SEmmanuel Vadot - compatible 31b97ee269SEmmanuel Vadot - gpios 32b97ee269SEmmanuel Vadot 33b97ee269SEmmanuel VadotunevaluatedProperties: false 34b97ee269SEmmanuel Vadot 35b97ee269SEmmanuel Vadotexamples: 36b97ee269SEmmanuel Vadot - | 37b97ee269SEmmanuel Vadot ir-receiver { 38b97ee269SEmmanuel Vadot compatible = "gpio-ir-receiver"; 39b97ee269SEmmanuel Vadot gpios = <&gpio0 19 1>; 40b97ee269SEmmanuel Vadot linux,rc-map-name = "rc-rc6-mce"; 41b97ee269SEmmanuel Vadot linux,autosuspend-period = <125>; 42b97ee269SEmmanuel Vadot }; 43b97ee269SEmmanuel Vadot... 44