# Audio Graph Card 'port'

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

> Device-tree binding reference for Audio Graph Card 'port'.

<!-- 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;sound&#47;audio&#45;graph&#45;port&#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;Kuninori Morimoto &#60;kuninori&#46;morimoto&#46;gx&#64;renesas&#46;com&#62;&#34;</code></span>

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

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

<code>false</code>

Not selected automatically by this rule.

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

## Reusable definitions (<code>definitions</code>)

<a id="dt-23c8ace9b66b375a2e09"></a>

### <code>port&#45;base</code>

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

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

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

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c642507c49594309f542">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;&#36;defs&#47;port&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-61dbefbf4cdd7cc4556a>)</span>

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

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f717eb79d6932cabbead">[<code>&#47;schemas&#47;sound&#47;dai&#45;params&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-params.md#dt-root>)</span>

<a id="dt-1520d34e1489fc610f66"></a>

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

<a id="dt-18b11c104000d78653ff"></a>

**<code>mclk&#45;fs</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e981645e093fd018d83c">[<code>simple&#45;card&#46;yaml&#35;&#47;definitions&#47;mclk&#45;fs</code>](</kernel/hardware/devicetree-bindings/dt-sound/simple-card.md#dt-704baca6eb95d5a6bae1>)</span>

<a id="dt-40e5bb4d14f7b68b13e8"></a>

**<code>playback&#45;only</code> — not listed as required here**

<div id="dt-4761d5f0841e10e0cd7c">
<p style="white-space: pre-wrap">port connection used only for playback</p>
</div>

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

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

**<code>capture&#45;only</code> — not listed as required here**

<div id="dt-ca86ef9995b6975d348f">
<p style="white-space: pre-wrap">port connection used only for capture</p>
</div>

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

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

**<code>link&#45;trigger&#45;order</code> — not listed as required here**

<div id="dt-b52247ddfca022045509">
<p style="white-space: pre-wrap">trigger order for both start/stop</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c1ebd00eba16a23a0ff6">[<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>

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

**<code>link&#45;trigger&#45;order&#45;start</code> — not listed as required here**

<div id="dt-1d462aee938e0fd44d39">
<p style="white-space: pre-wrap">trigger order for start</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1adeeaffcc03add79797">[<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>

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

**<code>link&#45;trigger&#45;order&#45;stop</code> — not listed as required here**

<div id="dt-eae96adcae06c9c86f82">
<p style="white-space: pre-wrap">trigger order for stop</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f2acbffabc545f71d047">[<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>

<a id="dt-738955ccf6e62803d61f"></a>

### <code>endpoint&#45;base</code>

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

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

<a id="dt-66ebea049d86c42d448a"></a>

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3199e79e2ba673584215">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;&#36;defs&#47;endpoint&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-7415ffe8e57fb59e2968>)</span>

<a id="dt-466cd0f8854a0c137b1b"></a>

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fabd59d477a4e6e3a854">[<code>&#47;schemas&#47;sound&#47;dai&#45;params&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-params.md#dt-root>)</span>

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

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

<a id="dt-407c5176ee6a1eca0947"></a>

**<code>mclk&#45;fs</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5ed243e70ccbad59eb51">[<code>simple&#45;card&#46;yaml&#35;&#47;definitions&#47;mclk&#45;fs</code>](</kernel/hardware/devicetree-bindings/dt-sound/simple-card.md#dt-704baca6eb95d5a6bae1>)</span>

<a id="dt-51266f4f86a127741975"></a>

**<code>frame&#45;inversion</code> — not listed as required here**

<div id="dt-1978e288bed505f43129">
<p style="white-space: pre-wrap">dai-link uses frame clock inversion</p>
</div>

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

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

**<code>bitclock&#45;inversion</code> — not listed as required here**

<div id="dt-952f66ee0d4ebe8ea1e7">
<p style="white-space: pre-wrap">dai-link uses bit clock inversion</p>
</div>

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

<a id="dt-794c3d63b687dd80e527"></a>

**<code>frame&#45;master</code> — not listed as required here**

<div id="dt-cc7898df586e4a6d398f">
<p style="white-space: pre-wrap">Indicates dai-link frame master.</p>
</div>

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

**Exactly one of these rules must match (<code>oneOf</code>)**

<a id="dt-59383264e924670954ae"></a>

**Rule 1**

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

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

**Rule 2**

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

<a id="dt-317a13fbedf74072b99c"></a>

**<code>bitclock&#45;master</code> — not listed as required here**

<div id="dt-5f21762723ad5f1637c8">
<p style="white-space: pre-wrap">Indicates dai-link bit clock master</p>
</div>

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

**Exactly one of these rules must match (<code>oneOf</code>)**

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

**Rule 1**

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

<a id="dt-4a2aec776bf8e3462bdf"></a>

**Rule 2**

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

<a id="dt-360ce23c0c1cd8215940"></a>

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

<div id="dt-ac3ee8768c64416118cf">
<p style="white-space: pre-wrap">Indicates system clock</p>
</div>

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

<a id="dt-56e038bd7f5c95b99a88"></a>

**<code>system&#45;clock&#45;frequency</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c669ec04f37de0fdb8ec">[<code>simple&#45;card&#46;yaml&#35;&#47;definitions&#47;system&#45;clock&#45;frequency</code>](</kernel/hardware/devicetree-bindings/dt-sound/simple-card.md#dt-8de2e0caa4a9604efc3e>)</span>

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

**<code>system&#45;clock&#45;direction&#45;out</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7374bf83fa6161dcd153">[<code>simple&#45;card&#46;yaml&#35;&#47;definitions&#47;system&#45;clock&#45;direction&#45;out</code>](</kernel/hardware/devicetree-bindings/dt-sound/simple-card.md#dt-a74a3a07b77f5ff9c3f6>)</span>

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

**<code>system&#45;clock&#45;fixed</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3fb36bf0e90dcef063a5">[<code>simple&#45;card&#46;yaml&#35;&#47;definitions&#47;system&#45;clock&#45;fixed</code>](</kernel/hardware/devicetree-bindings/dt-sound/simple-card.md#dt-8ef685acabf4285d4284>)</span>

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

**<code>dai&#45;format</code> — not listed as required here**

<div id="dt-9accf0f5fe40f073fae9">
<p style="white-space: pre-wrap">audio format.</p>
</div>

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-518beb17c34487dca53d"></a> <span id="dt-8d868e436a63026519bf"><code>&#34;i2s&#34;</code></span>, <span id="dt-d227153e778b38a60273"><code>&#34;right&#95;j&#34;</code></span>, <span id="dt-88c808f6104ada324fc3"><code>&#34;left&#95;j&#34;</code></span>, <span id="dt-5de0ff1f7fa67430859a"><code>&#34;dsp&#95;a&#34;</code></span>, <span id="dt-865a5cfe1fad8b90469d"><code>&#34;dsp&#95;b&#34;</code></span>, <span id="dt-9ac422a90415b2e73650"><code>&#34;ac97&#34;</code></span>, <span id="dt-efa1cb0fff59e0589f94"><code>&#34;pdm&#34;</code></span>, <span id="dt-0d51a168bc0d1b819fb7"><code>&#34;msb&#34;</code></span>, <span id="dt-7cfbd822dac656e1f723"><code>&#34;lsb&#34;</code></span>

<a id="dt-4bb56ef9e3aa5e93bbbc"></a>

**<code>dai&#45;tdm&#45;slot&#45;num</code> — not listed as required here**

<div id="dt-31693e6cb39f0d1f72a2">
<p style="white-space: pre-wrap">Number of slots in use.</p>
</div>

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

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

**<code>dai&#45;tdm&#45;slot&#45;width</code> — not listed as required here**

<div id="dt-ccdeabfde8fd2be10079">
<p style="white-space: pre-wrap">Width in bits for each slot.</p>
</div>

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

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

**<code>dai&#45;tdm&#45;slot&#45;width&#45;map</code> — not listed as required here**

<div id="dt-138fbb8a90a2cdf2e5ea">
<p style="white-space: pre-wrap">Mapping of sample widths to slot widths. For hardware that cannot support a fixed slot width or a slot width always equal to sample width. A matrix of one or more 3-tuples.</p>
</div>

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

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

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

> <a id="dt-bde1392bc4be3ed25f22"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-a1c29737868032b518b0"></a>
>
> **Item 1**
>
> > <div id="dt-d3261c3bd9f7285ec46f">
> > <p style="white-space: pre-wrap">Sample width in bits</p>
> > </div>
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-1e88889f1d877d75a0de"><code>8</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-0fb1676b43fcd7e81ac8"><code>64</code></span>
>
> <a id="dt-32c7f47ff117de7c9408"></a>
>
> **Item 2**
>
> > <div id="dt-8f7e87e09199d4efbc6c">
> > <p style="white-space: pre-wrap">Slot width in bits</p>
> > </div>
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-0cee0fcc69656315dc80"><code>8</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-274917ff4a7bdbd9f3f0"><code>256</code></span>
>
> <a id="dt-2e69a9792b6af981b49f"></a>
>
> **Item 3**
>
> > <div id="dt-cbe7bd2d0c62d94ae503">
> > <p style="white-space: pre-wrap">Slot count</p>
> > </div>
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-77ee25b5043bc3a74ecb"><code>1</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-f5dd90cc4075c2cf326e"><code>64</code></span>

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

### <code>ports</code>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2c3a9409dc1aaf5d2cf9">[<code>&#35;&#47;definitions&#47;port&#45;base</code>](<#dt-23c8ace9b66b375a2e09>)</span>

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

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

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

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

<a id="dt-807a5f40f6fdfb03e310"></a>

**<code>&#94;port&#40;&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-af58b9435caf4827c6fa">[<code>&#35;&#47;definitions&#47;port&#45;base</code>](<#dt-23c8ace9b66b375a2e09>)</span>

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

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-93bd8660372d1780ac54"></a>

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

<a id="dt-334d7214015e10026c7f"></a>

**<code>&#94;endpoint&#40;&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#41;&#63;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bcc59ace75a22393a9ff">[<code>&#35;&#47;definitions&#47;endpoint&#45;base</code>](<#dt-738955ccf6e62803d61f>)</span>

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

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

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

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>&#35;&#47;definitions&#47;port&#45;base</code>](<#dt-23c8ace9b66b375a2e09>)</span>

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

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

<a id="dt-7316a7fba22907b2d1b4"></a>

### <code>&#94;endpoint&#40;&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#41;&#63;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-89a539db37cd6ba37429">[<code>&#35;&#47;definitions&#47;endpoint&#45;base</code>](<#dt-738955ccf6e62803d61f>)</span>

<a id="dt-36a300d5fb8345fa85d7"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<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-only OR BSD-2-Clause)</span></p>

</details>
