MediaTek Consumer Infrared Receiver on-SoC Controller

Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mt7622-cir.yaml#"

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

Maintainers (maintainers): "Sean Wang <sean.wang@mediatek.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "mediatek,mt7622-cir", "mediatek,mt7623-cir"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "clk"

Item 2

Exact value (const): "bus"

Required in this object (required): "reg", "interrupts", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt2701-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

ir@10013000 {
    compatible = "mediatek,mt7623-cir";
    reg = <0x10013000 0x1000>;
    interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>;
    clocks = <&infracfg CLK_INFRA_IRRX>, <&topckgen CLK_TOP_AXI_SEL>;
    clock-names = "clk", "bus";
    linux,rc-map-name = "rc-rc6-mce";
};

Source notes #

Annotations retained from the schema source

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

Edit this page