Amlogic Meson IR remote control receiver

Schema identifier ($id): "http://devicetree.org/schemas/media/amlogic,meson6-ir.yaml#"

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "amlogic,meson6-ir", "amlogic,meson8b-ir", "amlogic,meson-gxbb-ir", "amlogic,meson-s4-ir"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "amlogic,meson-gx-ir"

Item 2

Exact value (const): "amlogic,meson-gxbb-ir"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
ir-receiver@c8100480 {
    compatible = "amlogic,meson6-ir";
    reg = <0xc8100480 0x20>;
    interrupts = <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page