NVIDIA Tegra Video Decoder Engine

Schema identifier ($id): "http://devicetree.org/schemas/media/nvidia,tegra-vde.yaml#"

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

Maintainers (maintainers): "Dmitry Osipenko <digetx@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>", "Thierry Reding <thierry.reding@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "nvidia,tegra132-vde", "nvidia,tegra124-vde", "nvidia,tegra114-vde"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra30-vde"

Item 2

Exact value (const): "nvidia,tegra20-vde"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra20-vde"

reg — required here #

Maximum number of items (maxItems): 9

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "sxe"

Item 2

Exact value (const): "bsev"

Item 3

Exact value (const): "mbe"

Item 4

Exact value (const): "ppe"

Item 5

Exact value (const): "mce"

Item 6

Exact value (const): "tfe"

Item 7

Exact value (const): "ppb"

Item 8

Exact value (const): "vdma"

Item 9

Exact value (const): "frameid"

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 2

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "vde"

Item 2

Exact value (const): "mc"

interrupts — required here #

Maximum number of items (maxItems): 3

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "sync-token"

Item 2

Exact value (const): "bsev"

Item 3

Exact value (const): "sxe"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

iram — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle of the SRAM MMIO node.

operating-points-v2 — not listed as required here #

Should contain freqs and voltages and opp-supported-hw property, which is a bitfield indicating SoC speedo or process ID mask.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Phandle to the SoC core power domain.

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

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

false

Not allowed by this rule.

Examples (examples) #

video-codec@6001a000 {
  compatible = "nvidia,tegra20-vde";
  reg = <0x6001a000 0x1000>, /* Syntax Engine */
        <0x6001b000 0x1000>, /* Video Bitstream Engine */
        <0x6001c000  0x100>, /* Macroblock Engine */
        <0x6001c200  0x100>, /* Post-processing Engine */
        <0x6001c400  0x100>, /* Motion Compensation Engine */
        <0x6001c600  0x100>, /* Transform Engine */
        <0x6001c800  0x100>, /* Pixel prediction block */
        <0x6001ca00  0x100>, /* Video DMA */
        <0x6001d800  0x300>; /* Video frame controls */
  reg-names = "sxe", "bsev", "mbe", "ppe", "mce",
              "tfe", "ppb", "vdma", "frameid";
  iram = <&iram>; /* IRAM MMIO region */
  interrupts = <0  9 4>, /* Sync token */
               <0 10 4>, /* BSE-V */
               <0 12 4>; /* SXE */
  interrupt-names = "sync-token", "bsev", "sxe";
  clocks = <&clk 61>;
  reset-names = "vde", "mc";
  resets = <&rst 61>, <&mem 13>;
  iommus = <&mem 15>;
  operating-points-v2 = <&dvfs_opp_table>;
  power-domains = <&domain>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page