0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: GPIO Based IR receiver
0008
0009 maintainers:
0010 - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
0011
0012 allOf:
0013 - $ref: rc.yaml#
0014
0015 properties:
0016 compatible:
0017 const: gpio-ir-receiver
0018
0019 gpios:
0020 maxItems: 1
0021
0022 linux,autosuspend-period:
0023 description: autosuspend delay time in milliseconds
0024 $ref: /schemas/types.yaml#/definitions/uint32
0025
0026 required:
0027 - compatible
0028 - gpios
0029
0030 unevaluatedProperties: false
0031
0032 examples:
0033 - |
0034 ir-receiver {
0035 compatible = "gpio-ir-receiver";
0036 gpios = <&gpio0 19 1>;
0037 linux,rc-map-name = "rc-rc6-mce";
0038 linux,autosuspend-period = <125>;
0039 };
0040 ...