Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / media / gpio-ir-receiver.yaml
blob008c007ed702b6e3d9881d8bb95798d2541d9f45
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO Based IR receiver
9 maintainers:
10   - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
12 allOf:
13   - $ref: rc.yaml#
15 properties:
16   compatible:
17     const: gpio-ir-receiver
19   gpios:
20     maxItems: 1
22   linux,autosuspend-period:
23     description: autosuspend delay time in milliseconds
24     $ref: /schemas/types.yaml#/definitions/uint32
26   wakeup-source:
27     description: IR receiver can wake-up the system.
29 required:
30   - compatible
31   - gpios
33 unevaluatedProperties: false
35 examples:
36   - |
37     ir-receiver {
38         compatible = "gpio-ir-receiver";
39         gpios = <&gpio0 19 1>;
40         linux,rc-map-name = "rc-rc6-mce";
41         linux,autosuspend-period = <125>;
42     };
43 ...