GPIO Based IR receiver

Schema identifier ($id): "http://devicetree.org/schemas/media/gpio-ir-receiver.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): rc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "gpio-ir-receiver"

gpios — required here #

Maximum number of items (maxItems): 1

linux,autosuspend-period — not listed as required here #

autosuspend delay time in milliseconds

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

wakeup-source — not listed as required here #

IR receiver can wake-up the system.

Required in this object (required): "compatible", "gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page