MediaTek Video Companion Processor (VCP) mailbox

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

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

Maintainers (maintainers): "Jjian Zhou <Jjian.Zhou@mediatek.com>"

The MTK VCP mailbox enables the SoC to communicate with the VCP by passing messages through 64 32-bit wide registers. It has 32 interrupt vectors in either direction for signalling purposes.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt8196-vcp-mbox"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#mbox-cells — required here #

Exact value (const): 0

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

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>

mailbox@31b80000 {
    compatible = "mediatek,mt8196-vcp-mbox";
    reg = <0x31b80000 0x1000>;
    interrupts = <GIC_SPI 789 IRQ_TYPE_LEVEL_HIGH 0>;
    #mbox-cells = <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