Hantro G1 VPU encoders implemented on Rockchip SoCs

Schema identifier ($id): "http://devicetree.org/schemas/media/rockchip,rk3568-vepu.yaml#"

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

Maintainers (maintainers): "Nicolas Frattaroli <frattaroli.nicolas@gmail.com>"

Hantro G1 video encode-only accelerators present on Rockchip SoCs.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3568-vepu", "rockchip,rk3588-vepu121"

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): "aclk"

Item 2

Exact value (const): "hclk"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

iommus — not listed as required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

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

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

    vepu: video-codec@fdee0000 {
        compatible = "rockchip,rk3568-vepu";
        reg = <0x0 0xfdee0000 0x0 0x800>;
        interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&cru ACLK_JENC>, <&cru HCLK_JENC>;
        clock-names = "aclk", "hclk";
        iommus = <&vepu_mmu>;
        power-domains = <&power RK3568_PD_RGA>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page