# MediaTek Video Decode Accelerator With Multi Hardware

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings_

> Device-tree binding reference for MediaTek Video Decode Accelerator With Multi Hardware.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;media&#47;mediatek&#44;vcodec&#45;subdev&#45;decoder&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Yunfei Dong &#60;yunfei&#46;dong&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">MediaTek Video Decode Accelerator is the video decoding hardware present in
MediaTek SoCs that supports high-resolution decoding functionalities.
It consists of parent and child nodes.</p>
<p style="white-space: pre-wrap">The decoder hardware block diagram is shown below:</p>
<pre><code>  +------------------------------------------------+------------------------------+
  |                                                |                              |
  |  input -&gt; LAT-SoC HW -&gt; LAT HW -&gt; LAT buffer --|--&gt; Core HW -&gt; output buffer  |
  |              ||           ||                   |       ||                     |
  +--------------||-----------||-------------------+-------||---------------------+
                  LAT Workqueue                    |  Core Workqueue       &lt;parent&gt;
  ---------------||-----------||-------------------|-------||----------------------
                 ||&lt;----------||---------HW index---------&gt;||              &lt;child&gt;
                 \/           \/                           \/
         +-------------------------------------------------------------+
         |                          enable/disable                     |
         |                 clk     power    irq    iommu               |
         |                   (lat/lat-soc/core0/core1)                 |
         +-------------------------------------------------------------+</code></pre>
<p style="white-space: pre-wrap">The child nodes represent the individual hardware blocks within the decoding
pipeline, such as LAT-SoC, LAT and Core.
Each child node is responsible for managing the dedicated resources of the
hardware, such as clocks, power domains, interrupts and IOMMUs.</p>
<p style="white-space: pre-wrap">The parent node is a central point of control for the child nodes.
It identifies the specific video decoding pipeline architecture used by the
SoC, manages the shared resources like workqueues and platform data, and
handles V4L2 API calls on behalf of the underlying hardware.</p>
<pre><code>The parent utilizes two workqueues to manage the decoding process.
1. LAT Workqueue, for LAT-SoC and LAT decoder:
   Its workers take input bitstream and LAT buffer, enable the hardware for
   decoding tasks, write the result to LAT buffer, and disable the hardware
   after the LAT decoding is done.
2. Core Workqueue, for Core decoder:
   Its workers take LAT buffer and output buffer, enable the hardware for
   decoding tasks, write the result to output buffer, and disable the hardware
   after the Core decoding is done.</code></pre>
<p style="white-space: pre-wrap">These hardware decode each frame cyclically.</p>
<p style="white-space: pre-wrap">The hardware might be associated with different SMI-common devices.
To prevent IOMMU faults during DRAM access in such cases, each hardware with
the unique SMI-common device must be placed under a separate parent node in
the device tree.</p>
<p style="white-space: pre-wrap">LAT-SoC refers to another hardware block that connected to additional LARB
(local arbiter) ports, such as RDMA and UFO.
It requires independent power and clock control to work with LAT decoder, and
it doesn't have a dedicated interrupt.</p>
<pre><code>The used video decoding pipeline architecture across various Mediatek SoC:
  MT8195: LAT-SoC + LAT + Core
  MT8192: LAT + Core
  MT8188: LAT + Core
  MT8186: Core</code></pre>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;mediatek&#44;mt8192&#45;vcodec&#45;dec&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mediatek&#44;mt8186&#45;vcodec&#45;dec&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;mediatek&#44;mt8188&#45;vcodec&#45;dec&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;mediatek&#44;mt8195&#45;vcodec&#45;dec&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

<a id="dt-b6190d107f3246c9804f"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c90b61e446f8f3080e3c"></a>

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">VDEC_SYS register space</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">VDEC_RACING_CTRL register space</p>
> </div>

<a id="dt-a36eed19b18515184df2"></a>

### <code>iommus</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-967a522939223804c619"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e4a101d772fc97cb1dd0"><code>32</code></span>

<div id="dt-d0107bd8d2225cdbefb8">
<p style="white-space: pre-wrap">List of the hardware port in respective IOMMU block for current Socs.
Refer to bindings/iommu/mediatek,iommu.yaml.</p>
</div>

<a id="dt-da1090c98d9b11d5d7ba"></a>

### <code>mediatek&#44;scp</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e70a6bf975c1273566f2">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-647824cff3cc080de21d">
<p style="white-space: pre-wrap">The node of system control processor (SCP), using
the remoteproc &amp; rpmsg framework.</p>
</div>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>2</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>2</code></span>

<a id="dt-1e6b10cf5f67a6a268f5"></a>

### <code>ranges</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-60c81b0ab1dafb6feeb8"></a>

### <code>&#94;video&#45;codec&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-0b1243a0c1ddf8c99fe5"><code>&#34;object&#34;</code></span>

<a id="dt-8ffecbc1d6d775c66804"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-9232dfebb330e0a66db7"></a>

**<code>compatible</code> — required here**

**Allowed values (<code>enum</code>):** <a id="dt-38c89d7b4742659d8ce4"></a> <span id="dt-1ecf0bc2674d5eac2a86"><code>&#34;mediatek&#44;mtk&#45;vcodec&#45;core&#34;</code></span>, <span id="dt-861a6a2cc0f6b6179543"><code>&#34;mediatek&#44;mtk&#45;vcodec&#45;lat&#34;</code></span>, <span id="dt-436e9588074567ae9672"><code>&#34;mediatek&#44;mtk&#45;vcodec&#45;lat&#45;soc&#34;</code></span>

<a id="dt-3d2d879ee041a7ba7957"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ec28b44207e7fc42a754"><code>1</code></span>

<div id="dt-174f3854f9e06161e5c7">
<p style="white-space: pre-wrap">VDEC_MISC register space</p>
</div>

<a id="dt-5cc2d3ba0fc5e731af6f"></a>

**<code>interrupts</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9d39e1ee17063e0ed795"><code>1</code></span>

<a id="dt-f35f4db7f6850ee12262"></a>

**<code>iommus</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-c115dcd35b5f87b24063"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-1e41630c4931943c321a"><code>32</code></span>

<div id="dt-92966936364fbabf66a2">
<p style="white-space: pre-wrap">List of the hardware port in respective IOMMU block for current Socs.
Refer to bindings/iommu/mediatek,iommu.yaml.</p>
</div>

<a id="dt-4653f6fd9bf13bf471fd"></a>

**<code>clocks</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-08ce87ca15ab7d48294b"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c1a32ed7613af40a78da"><code>5</code></span>

<a id="dt-95bf33adf7a0b15bc36e"></a>

**<code>clock&#45;names</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-ca1f4de952ae9144fece"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-bcd5daf079b71e450933"><code>5</code></span>

<a id="dt-dfc268a47e89212c3924"></a>

**<code>assigned&#45;clocks</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-181203fba82c9b437313"><code>1</code></span>

<a id="dt-104407cc0f4ec1dd404a"></a>

**<code>assigned&#45;clock&#45;parents</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-580da29ff9c44cc16c1d"><code>1</code></span>

<a id="dt-7a3440bf0de942f04cbb"></a>

**<code>power&#45;domains</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-66b8d5f1d4644ad4a11f"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-0084e953b8b3ae57ffe6"></a> <span id="dt-2269897d85a8c994337e"><code>&#34;compatible&#34;</code></span>, <span id="dt-f17882b2916ebc5ff458"><code>&#34;reg&#34;</code></span>, <span id="dt-e1bb2c99cff4d007b2de"><code>&#34;iommus&#34;</code></span>, <span id="dt-5d330d9e455c7e002cb6"><code>&#34;clocks&#34;</code></span>, <span id="dt-14bd61266c02c5e61e97"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-aa3a4c24594f86ed892d"><code>&#34;assigned&#45;clocks&#34;</code></span>, <span id="dt-3e13461851ce41778038"><code>&#34;assigned&#45;clock&#45;parents&#34;</code></span>, <span id="dt-9848d4a2cdc1714621cb"><code>&#34;power&#45;domains&#34;</code></span>

<a id="dt-8967b3e8a823e76d7a33"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;iommus&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;mediatek&#44;scp&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;ranges&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-33b6ed092215f2be8801"></a> <span id="dt-9dc9072d1f2469ee9637"><code>&#34;mediatek&#44;mtk&#45;vcodec&#45;core&#34;</code></span>, <span id="dt-5b5b6c5b8f914dcc6d1d"><code>&#34;mediatek&#44;mtk&#45;vcodec&#45;lat&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;interrupts&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;mediatek&#44;mt8192&#45;vcodec&#45;dec&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-935ce0cf7d790018ed2d"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-0f31b3430a92dd449f6c"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-4728af709128b6802243"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-031a7dbe2c066f868c35"><code>&#34;sel&#34;</code></span>
> >
> > <a id="dt-499faf6f3c1e6a2de32b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-14ea8009c50633baa575"><code>&#34;soc&#45;vdec&#34;</code></span>
> >
> > <a id="dt-68e48919ba73efad2634"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-28720a6003e8b65201ce"><code>&#34;soc&#45;lat&#34;</code></span>
> >
> > <a id="dt-2b5e504807fea168972d"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-173cbd8240ef7df98917"><code>&#34;vdec&#34;</code></span>
> >
> > <a id="dt-43984fef6d9f4daddd97"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-f508c12dce6e92d2db66"><code>&#34;top&#34;</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;mediatek&#44;mt8195&#45;vcodec&#45;dec&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-dde63784a5285c3f925c"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-07c804bf76c975c5a644"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-855b6229a724a1e988d5"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d22ff96126d7db564137"><code>&#34;sel&#34;</code></span>
> >
> > <a id="dt-fbbb17d593cc6352303b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1c6351ea0af6cbead296"><code>&#34;vdec&#34;</code></span>
> >
> > <a id="dt-c8b31f2db7bbcbe11358"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4cfacbda270425cafd45"><code>&#34;lat&#34;</code></span>
> >
> > <a id="dt-fce74aba9d8a9d8485cd"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-eb00a5766b022f484e2c"><code>&#34;top&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/memory/mt8192-larb-port.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/clock/mt8192-clk.h&gt;
#include &lt;dt-bindings/power/mt8192-power.h&gt;

bus@16000000 {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;
    ranges = &lt;0 0x16000000 0x16000000 0 0x40000&gt;;

    video-codec@16000000 {
        compatible = "mediatek,mt8192-vcodec-dec";
        mediatek,scp = &lt;&amp;scp&gt;;
        iommus = &lt;&amp;iommu0 M4U_PORT_L4_VDEC_MC_EXT&gt;;
        #address-cells = &lt;2&gt;;
        #size-cells = &lt;2&gt;;
        ranges = &lt;0 0 0 0x16000000 0 0x40000&gt;;
        reg = &lt;0 0x16000000 0 0x1000&gt;;		/* VDEC_SYS */
        video-codec@10000 {
            compatible = "mediatek,mtk-vcodec-lat";
            reg = &lt;0 0x10000 0 0x800&gt;;
            interrupts = &lt;GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH 0&gt;;
            iommus = &lt;&amp;iommu0 M4U_PORT_L5_VDEC_LAT0_VLD_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L5_VDEC_LAT0_VLD2_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L5_VDEC_LAT0_AVC_MV_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L5_VDEC_LAT0_PRED_RD_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L5_VDEC_LAT0_TILE_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L5_VDEC_LAT0_WDMA_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L5_VDEC_LAT0_RG_CTRL_DMA_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L5_VDEC_UFO_ENC_EXT&gt;;
            clocks = &lt;&amp;topckgen CLK_TOP_VDEC_SEL&gt;,
                &lt;&amp;vdecsys_soc CLK_VDEC_SOC_VDEC&gt;,
                &lt;&amp;vdecsys_soc CLK_VDEC_SOC_LAT&gt;,
                &lt;&amp;vdecsys_soc CLK_VDEC_SOC_LARB1&gt;,
                &lt;&amp;topckgen CLK_TOP_MAINPLL_D4&gt;;
            clock-names = "sel", "soc-vdec", "soc-lat", "vdec", "top";
            assigned-clocks = &lt;&amp;topckgen CLK_TOP_VDEC_SEL&gt;;
            assigned-clock-parents = &lt;&amp;topckgen CLK_TOP_MAINPLL_D4&gt;;
            power-domains = &lt;&amp;spm MT8192_POWER_DOMAIN_VDEC&gt;;
        };

        video-codec@25000 {
            compatible = "mediatek,mtk-vcodec-core";
            reg = &lt;0 0x25000 0 0x1000&gt;;
            interrupts = &lt;GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH 0&gt;;
            iommus = &lt;&amp;iommu0 M4U_PORT_L4_VDEC_MC_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L4_VDEC_UFO_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L4_VDEC_PP_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L4_VDEC_PRED_RD_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L4_VDEC_PRED_WR_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L4_VDEC_PPWRAP_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L4_VDEC_TILE_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L4_VDEC_VLD_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L4_VDEC_VLD2_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L4_VDEC_AVC_MV_EXT&gt;,
                &lt;&amp;iommu0 M4U_PORT_L4_VDEC_RG_CTRL_DMA_EXT&gt;;
            clocks = &lt;&amp;topckgen CLK_TOP_VDEC_SEL&gt;,
                &lt;&amp;vdecsys CLK_VDEC_VDEC&gt;,
                &lt;&amp;vdecsys CLK_VDEC_LAT&gt;,
                &lt;&amp;vdecsys CLK_VDEC_LARB1&gt;,
                &lt;&amp;topckgen CLK_TOP_MAINPLL_D4&gt;;
            clock-names = "sel", "soc-vdec", "soc-lat", "vdec", "top";
            assigned-clocks = &lt;&amp;topckgen CLK_TOP_VDEC_SEL&gt;;
            assigned-clock-parents = &lt;&amp;topckgen CLK_TOP_MAINPLL_D4&gt;;
            power-domains = &lt;&amp;spm MT8192_POWER_DOMAIN_VDEC2&gt;;
        };
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 107:</strong> <span> Required child node:</span></p>

</details>
