Hantro G1/G2 VPU codecs implemented on i.MX8M SoCs

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

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

Maintainers (maintainers): "Philipp Zabel <p.zabel@pengutronix.de>"

Hantro G1/G2 video decode accelerators present on i.MX8MQ SoCs.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "nxp,imx8mq-vpu"

Deprecated (deprecated): true

Rule 2

Exact value (const): "nxp,imx8mq-vpu-g1"

Rule 3

Exact value (const): "nxp,imx8mq-vpu-g2"

Rule 4

Exact value (const): "nxp,imx8mm-vpu-g1"

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): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mq-clock.h>
#include <dt-bindings/power/imx8mq-power.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

video-codec@38300000 {
    compatible = "nxp,imx8mq-vpu-g1";
    reg = <0x38300000 0x10000>;
    interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>;
    power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G1>;
};
#include <dt-bindings/clock/imx8mq-clock.h>
#include <dt-bindings/power/imx8mq-power.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

video-codec@38300000 {
    compatible = "nxp,imx8mq-vpu-g2";
    reg = <0x38310000 0x10000>;
    interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clk IMX8MQ_CLK_VPU_G2_ROOT>;
    power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G2>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page