summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml
blob: 61072745b983b16dab7bed67bba05f3bd5fb2013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: GPIO Based IR receiver

maintainers:
  - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>

allOf:
  - $ref: rc.yaml#

properties:
  compatible:
    const: gpio-ir-receiver

  gpios:
    maxItems: 1

  linux,autosuspend-period:
    description: autosuspend delay time in milliseconds
    $ref: /schemas/types.yaml#/definitions/uint32

required:
  - compatible
  - gpios

unevaluatedProperties: false

examples:
  - |
    ir-receiver {
        compatible = "gpio-ir-receiver";
        gpios = <&gpio0 19 1>;
        linux,rc-map-name = "rc-rc6-mce";
        linux,autosuspend-period = <125>;
    };
...