# DMA Engine Common Properties

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

> Device-tree binding reference for DMA Engine Common Properties.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;dma&#47;dma&#45;common&#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;Vinod Koul &#60;vkoul&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Generic binding to provide a way for a driver using DMA Engine to retrieve the DMA request or channel information that goes from a hardware device to a DMA controller.</p>
</div>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

<code>false</code>

Not selected automatically by this rule.

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

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

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

### <code>&#35;dma&#45;cells</code> — required here

**Minimum value (<code>minimum</code>):** <span id="dt-8f8b83a64ec0d193780c"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-6716015b16321833f453"><code>255</code></span>

<div id="dt-5c46628e19decc12e0c0">
<p style="white-space: pre-wrap">Used to provide DMA controller specific information.</p>
</div>

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

### <code>dma&#45;channel&#45;mask</code> — not listed as required here

<div id="dt-b6500e445691c90d1246">
<p style="white-space: pre-wrap">Bitmask of available DMA channels in ascending order that are not reserved by firmware and are available to the kernel. i.e. first channel corresponds to LSB. The first item in the array is for channels 0-31, the second is for channels 32-63, etc.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2efa5eba21f67c3a448c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-760b362f54fcdbb4dfe5"><code>255</code></span>

<a id="dt-53e09d9983ff92ef2a90"></a>

### <code>dma&#45;channels</code> — not listed as required here

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

<div id="dt-a2ad3cd905e05e2f82fd">
<p style="white-space: pre-wrap">Number of DMA channels supported by the controller.</p>
</div>

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

### <code>dma&#45;requests</code> — not listed as required here

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

<div id="dt-37cfbef5a4985c58f341">
<p style="white-space: pre-wrap">Number of DMA request signals supported by the controller.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;dma&#45;cells&#34;</code></span>

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

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

<code>true</code>

Allowed by this rule.

## 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</span></p>

<p id="dt-comment-1"><strong>Line 22:</strong> <span> Should be enough</span></p>

<p id="dt-comment-2"><strong>Line 36:</strong> <span> Should be enough</span></p>

</details>
