Mediatek ADSP mailbox

Schema identifier ($id): "http://devicetree.org/schemas/mailbox/mtk,adsp-mbox.yaml#"

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

Maintainers (maintainers): "Allen-KH Cheng <Allen-KH.Cheng@mediatek.com>"

The MTK ADSP mailbox Inter-Processor Communication (IPC) enables the SoC to communicate with ADSP by passing messages through two mailbox channels. The MTK ADSP mailbox IPC also provides the ability for one processor to signal the other processor using interrupts.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8186-adsp-mbox", "mediatek,mt8195-adsp-mbox"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8188-adsp-mbox"

Item 2

Exact value (const): "mediatek,mt8186-adsp-mbox"

#mbox-cells — required here #

Exact value (const): 0

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "#mbox-cells", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

adsp_mailbox0:mailbox@10816000 {
    compatible = "mediatek,mt8195-adsp-mbox";
    #mbox-cells = <0>;
    reg = <0x10816000 0x1000>;
    interrupts = <GIC_SPI 702 IRQ_TYPE_LEVEL_HIGH 0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page