Mediatek MT8173 Video Processor Unit

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

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

Maintainers (maintainers): "Ariel D'Alessandro <ariel.dalessandro@collabora.com>"

Video Processor Unit is a HW video controller. It controls HW Codec including H.264/VP8/VP9 Decode, H.264/VP8 Encode and Image Processor (scale/rotate/color convert).

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "mediatek,mt8173-vpu"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "tcm"

Item 2

Exact value (const): "cfg_reg"

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "main"

memory-region — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

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

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    vpu: vpu@10020000 {
        compatible = "mediatek,mt8173-vpu";
        reg = <0 0x10020000 0 0x30000>,
              <0 0x10050000 0 0x100>;
        reg-names = "tcm", "cfg_reg";
        interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&topckgen CLK_TOP_SCP_SEL>;
        clock-names = "main";
        memory-region = <&vpu_dma_reserved>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page