# Audio bindings

---

# Analog Devices ADAU1372 CODEC

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

> Device-tree binding reference for Analog Devices ADAU1372 CODEC.

<!-- 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;adi&#44;adau1372&#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;Alexandre Belloni &#60;alexandre&#46;belloni&#64;bootlin&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Analog Devices ADAU1372 four inputs and two outputs codec.
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;adi&#44;adau1372&#34;</code></span>

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

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

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

<a id="dt-18291f1487c1b45c6138"></a>

### <code>powerdown&#45;gpios</code> — not listed as required here

<div id="dt-2e6eeac1c3055c8550d6">
<p style="white-space: pre-wrap">GPIO used for hardware power-down.</p>
</div>

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    audio-codec@3c {
            compatible = "adi,adau1372";
            reg = &lt;0x3c&gt;;
            #sound-dai-cells = &lt;0&gt;;
            clock-names = "mclk";
            clocks = &lt;&amp;adau1372z_xtal&gt;;
    };
};

adau1372z_xtal: clock {
    compatible = "fixed-clock";
    #clock-cells = &lt;0&gt;;
    clock-frequency = &lt;12288000&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>

</details>

---

# Analog Devices ADAU1373 CODEC

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

> Device-tree binding reference for Analog Devices ADAU1373 CODEC.

<!-- 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;adi&#44;adau1373&#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;Nuno Sá &#60;nuno&#46;sa&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Analog Devices ADAU1373 Low power codec with speaker and headphone amplifiers.
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1373.pdf</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;adi&#44;adau1373&#34;</code></span>

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-18291f1487c1b45c6138"></a>

### <code>powerdown&#45;gpios</code> — not listed as required here

<div id="dt-2e6eeac1c3055c8550d6">
<p style="white-space: pre-wrap">GPIO used for hardware power-down.</p>
</div>

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

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

### <code>adi&#44;micbias1&#45;microvolt</code> — not listed as required here

<div id="dt-35f7a01ddc2ec6f92496">
<p style="white-space: pre-wrap">This property sets the microphone bias voltage for the first microphone.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-13ff5fe5bdc65ee94256"></a> <span id="dt-0381a74a7e38503e551d"><code>1800000</code></span>, <span id="dt-b2468dee20b007864334"><code>2200000</code></span>, <span id="dt-174d3f7c987dce0cacf4"><code>2600000</code></span>, <span id="dt-b381adf46438aa636568"><code>2900000</code></span>

**Default value (<code>default</code>):** <span id="dt-4c7ac35eb43cfdfbcfac"><code>2900000</code></span>

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

### <code>adi&#44;micbias2&#45;microvolt</code> — not listed as required here

<div id="dt-7e36932b5975124193b9">
<p style="white-space: pre-wrap">This property sets the microphone bias voltage for the second microphone.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-138ba9ea6e76fd3c9d70"></a> <span id="dt-fa66c1b90c4247d6316e"><code>1800000</code></span>, <span id="dt-dc63095a835165538b2e"><code>2200000</code></span>, <span id="dt-f377f5aeb1b6197b73cd"><code>2600000</code></span>, <span id="dt-ed69bae320d915e933da"><code>2900000</code></span>

**Default value (<code>default</code>):** <span id="dt-a2fd3fe6b9b7dc36ff58"><code>2900000</code></span>

<a id="dt-65618a545f4f087140a3"></a>

### <code>adi&#44;input1&#45;differential</code> — not listed as required here

<div id="dt-0c38b2493e0c62b908df">
<p style="white-space: pre-wrap">This property sets the first analog input as differential.</p>
</div>

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

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

### <code>adi&#44;input2&#45;differential</code> — not listed as required here

<div id="dt-b14f315c670ca2e6cb4a">
<p style="white-space: pre-wrap">This property sets the second analog input as differential.</p>
</div>

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

<a id="dt-06890b82322bf9e8cb69"></a>

### <code>adi&#44;input3&#45;differential</code> — not listed as required here

<div id="dt-e290eb762629a8eabb7f">
<p style="white-space: pre-wrap">This property sets the third analog input as differential.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-465a24c7fe6067f5fdcf"><code>&#34;boolean&#34;</code></span>

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

### <code>adi&#44;input4&#45;differential</code> — not listed as required here

<div id="dt-73d2b12ea11f4df3f514">
<p style="white-space: pre-wrap">This property sets the fourth analog input as differential.</p>
</div>

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

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

### <code>adi&#44;lineout&#45;differential</code> — not listed as required here

<div id="dt-99f3bde2e8e06ce4e3f6">
<p style="white-space: pre-wrap">This property sets the line output as differential.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-11f79ca374a2498512d1"><code>&#34;boolean&#34;</code></span>

<a id="dt-8446fa2e2a43b8abdc86"></a>

### <code>adi&#44;lineout&#45;gnd&#45;sense</code> — not listed as required here

<div id="dt-0659d66964b5ba2a69da">
<p style="white-space: pre-wrap">This property enables the line output ground sense control.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-3d5cc269d42d19ff1570"><code>&#34;boolean&#34;</code></span>

<a id="dt-106543e6ab1d15a740c3"></a>

### <code>adi&#44;drc&#45;settings</code> — not listed as required here

<div id="dt-74dc25d3a9b96f08936a">
<p style="white-space: pre-wrap">This setting is used to control the dynamic range of the signal. The device provides a maximum of three full band DRCs with 13 entries each.</p>
</div>

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

<a id="dt-05808dbbc79e1c24da9c"></a>

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

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

**Rule 1**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-1ac6dc8143f60235ec9c"><code>13</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-3afd0d6c8e939b12cd5c"><code>13</code></span>

<a id="dt-839724b8f7ea1ad1f2b8"></a>

**Rule 2**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-7549b42df6fcd5b01153"><code>26</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-147bc50eb9951f9659b9"><code>26</code></span>

<a id="dt-01e7cfff00fc1b981841"></a>

**Rule 3**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-3591265ba6b8e43f69b5"><code>39</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-6ebf7ab433b66a85b2bf"><code>39</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    audio-codec@1a {
        compatible = "adi,adau1373";
        reg = &lt;0x1a&gt;;
        #sound-dai-cells = &lt;0&gt;;
        powerdown-gpios = &lt;&amp;gpio 100 GPIO_ACTIVE_LOW&gt;;
        adi,input2-differential;
        adi,input1-differential;
        adi,lineout-differential;
        adi,micbias2-microvolt = &lt;1800000&gt;;
        adi,drc-settings = /bits/ 8 &lt;
            0xff 0xff 0x1 0x2 0xa 0xa 0xd 0x1 0xff 0xff 0x5 0xd 0xff
        &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>

</details>

---

# Analog Devices ADAU1361/ADAU1461/ADAU1761/ADAU1961/ADAU1381/ADAU1781 Codec

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

> Device-tree binding reference for Analog Devices ADAU1361/ADAU1461/ADAU1761/ADAU1961/ADAU1381/ADAU1781 Codec.

<!-- 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;adi&#44;adau17x1&#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;Lars&#45;Peter Clausen &#60;lars&#64;metafoo&#46;de&#62;&#34;</code></span>

<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;adi&#44;adau1361&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;adau1381&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;adi&#44;adau1461&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;adi&#44;adau1761&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;adi&#44;adau1781&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;adi&#44;adau1961&#34;</code></span>

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

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">The i2c address. Value depends on the state of ADDR0 and ADDR1, as wired in hardware.</p>
</div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">provides the audio master clock for the device.</p>
> </div>

**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>

<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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  audio-codec@38 {
    compatible = "adi,adau1761";
    reg = &lt;0x38&gt;;
    clock-names = "mclk";
    clocks = &lt;&amp;audio_clock&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>

</details>

---

# Analog Devices ADAU1977/ADAU1978/ADAU1979 Quad ADC with Diagnostics

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

> Device-tree binding reference for Analog Devices ADAU1977/ADAU1978/ADAU1979 Quad ADC with Diagnostics.

<!-- 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;adi&#44;adau1977&#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;Lars&#45;Peter Clausen &#60;lars&#64;metafoo&#46;de&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Bogdan Togorean &#60;bogdan&#46;togorean&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Analog Devices ADAU1977 and similar quad ADC with Diagnostics
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1977.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1978.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1979.pdf</p>
</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;adi&#44;adau1977&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;adau1978&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;adi&#44;adau1979&#34;</code></span>

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

### <code>reset&#45;gpios</code> — not listed as required here

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

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">Analog power support for the device.</p>
</div>

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

### <code>DVDD&#45;supply</code> — not listed as required here

<div id="dt-ef89d6f7bbce0e649a3a">
<p style="white-space: pre-wrap">Supply voltage for digital core.</p>
</div>

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

### <code>adi&#44;micbias</code> — not listed as required here

<div id="dt-652f94b53ebfdf123f5a">
<p style="white-space: pre-wrap">Configures the voltage setting for the MICBIAS pin.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-1809395505aee49ce429"></a> <span id="dt-90e70fa7c7ab057598b5"><code>0</code></span>, <span id="dt-230596fb70f51e46a44d"><code>1</code></span>, <span id="dt-83a79933dc31449d4494"><code>2</code></span>, <span id="dt-d88e82911928648925ba"><code>3</code></span>, <span id="dt-cb9a3816a43dd1356901"><code>4</code></span>, <span id="dt-8725c437aa365a197f7f"><code>5</code></span>, <span id="dt-53b1d8994ee2f700096b"><code>6</code></span>, <span id="dt-81afd68ec091ef89e3d8"><code>7</code></span>, <span id="dt-cb1d322a48da1116aa03"><code>8</code></span>

**Default value (<code>default</code>):** <span id="dt-1f9d7c7ddabc2276ffef"><code>7</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;reg&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;AVDD&#45;supply&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

### Rule 2

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

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    adau1977_spi: adau1977@0 {
        compatible = "adi,adau1977";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;600000&gt;;

        AVDD-supply = &lt;&amp;regulator&gt;;
        DVDD-supply = &lt;&amp;regulator_digital&gt;;

        reset-gpios = &lt;&amp;gpio 10 GPIO_ACTIVE_LOW&gt;;

        adi,micbias = &lt;3&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    adau1977_i2c: adau1977@11 {
        compatible = "adi,adau1977";
        reg = &lt;0x11&gt;;

        AVDD-supply = &lt;&amp;regulator&gt;;
        DVDD-supply = &lt;&amp;regulator_digital&gt;;

        reset-gpios = &lt;&amp;gpio 10 GPIO_ACTIVE_LOW&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>

</details>

---

# Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter

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

> Device-tree binding reference for Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter.

<!-- 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;adi&#44;adau7002&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;adi&#44;adau7002&#34;</code></span>

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

### <code>IOVDD&#45;supply</code> — not listed as required here

<div id="dt-2e72ee4576cbfa3e7a01">
<p style="white-space: pre-wrap">IOVDD power supply, if skipped then it is assumed that the supply pin is hardwired to always on.</p>
</div>

<a id="dt-87e72c53187bd60a0b9d"></a>

### <code>wakeup&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-760888728db4030a2f3f">
<p style="white-space: pre-wrap">Delay after power up needed for device to settle.</p>
</div>

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

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">audio-codec {
    compatible = "adi,adau7002";
    IOVDD-supply = &lt;&amp;pp1800_l15a&gt;;
    #sound-dai-cells = &lt;0&gt;;
    wakeup-delay-ms = &lt;80&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>

</details>

---

# Analog Devices ADAU7118 8 Channel PDM to I2S/TDM Converter

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

> Device-tree binding reference for Analog Devices ADAU7118 8 Channel PDM to I2S/TDM Converter.

<!-- 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;adi&#44;adau7118&#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;Nuno Sá &#60;nuno&#46;sa&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Analog Devices ADAU7118 8 Channel PDM to I2S/TDM Converter over I2C or HW
standalone mode.
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU7118.pdf</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;adi&#44;adau7118&#34;</code></span>

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

### <code>reg</code> — not listed as required here

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-79d466fdcccc88d28b5b"></a>

### <code>iovdd&#45;supply</code> — required here

<div id="dt-2944c46a7e888b63a216">
<p style="white-space: pre-wrap">Digital Input/Output Power Supply.</p>
</div>

<a id="dt-84a2bc358063a1a7c956"></a>

### <code>dvdd&#45;supply</code> — required here

<div id="dt-593261d208e8b7fb5f26">
<p style="white-space: pre-wrap">Internal Core Digital Power Supply.</p>
</div>

<a id="dt-51bb2ace1143531cfa9e"></a>

### <code>adi&#44;decimation&#45;ratio</code> — not listed as required here

<div id="dt-97c64c3f3d7aab1faba8">
<p style="white-space: pre-wrap">This property set's the decimation ratio of PDM to PCM audio data.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-0236f75c4ceb29afdb38"></a> <span id="dt-19c48ad912fc0f5d07f2"><code>64</code></span>, <span id="dt-2c6011604f3fcfc7f382"><code>32</code></span>, <span id="dt-1a9d7aa89e86db87e31e"><code>16</code></span>

**Default value (<code>default</code>):** <span id="dt-6b9d7593e86118bfed15"><code>64</code></span>

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

### <code>adi&#44;pdm&#45;clk&#45;map</code> — not listed as required here

<div id="dt-87918d35b8c1233df188">
<p style="white-space: pre-wrap">The ADAU7118 has two PDM clocks for the four Inputs. Each input must be
assigned to one of these two clocks. This property set's the mapping
between the clocks and the inputs.</p>
</div>

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

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

<a id="dt-12080eda926c1ad0f3e9"></a>

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

> **Maximum value (<code>maximum</code>):** <span id="dt-9f1aa29ba2dac884d0ea"><code>1</code></span>

**Default value (<code>default</code>):** <a id="dt-6144f9fd59dc8ce395e3"></a> <span id="dt-472b25c5e74b6de02e06"><code>0</code></span>, <span id="dt-f9054e60458a0c77ffac"><code>0</code></span>, <span id="dt-cdcb2e27db8b4dc2dbe6"><code>1</code></span>, <span id="dt-f51fa03976a4783784bb"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;iovdd&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dvdd&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    /* example with i2c support */
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    adau7118_codec: audio-codec@14 {
            compatible = "adi,adau7118";
            reg = &lt;0x14&gt;;
            #sound-dai-cells = &lt;0&gt;;
            iovdd-supply = &lt;&amp;supply&gt;;
            dvdd-supply = &lt;&amp;supply&gt;;
            adi,pdm-clk-map = &lt;1 1 0 0&gt;;
            adi,decimation-ratio = &lt;16&gt;;
    };
};

/* example with hw standalone mode */
adau7118_codec_hw: adau7118-codec-hw {
        compatible = "adi,adau7118";
        #sound-dai-cells = &lt;0&gt;;
        iovdd-supply = &lt;&amp;supply&gt;;
        dvdd-supply = &lt;&amp;supply&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>

</details>

---

# Analog Devices MAX98388 Speaker Amplifier

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

> Device-tree binding reference for Analog Devices MAX98388 Speaker Amplifier.

<!-- 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;adi&#44;max98388&#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;Ryan Lee &#60;ryans&#46;lee&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The MAX98388 is a mono Class-D speaker amplifier with I/V feedback. The device provides a PCM interface for audio data and a standard I2C interface for control data communication.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;adi&#44;max98388&#34;</code></span>

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

### <code>adi&#44;vmon&#45;slot&#45;no</code> — not listed as required here

<div id="dt-592cd43c856855ee3d21">
<p style="white-space: pre-wrap">slot number of the voltage feedback monitor</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-a628e53265f9103030c8"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-e54e2e7d033a5450de7e"><code>15</code></span>

**Default value (<code>default</code>):** <span id="dt-cb201c4792fee5203edf"><code>0</code></span>

<a id="dt-097bbb1a72acb828d8d4"></a>

### <code>adi&#44;imon&#45;slot&#45;no</code> — not listed as required here

<div id="dt-89e01f7ff8aecdf2ec9b">
<p style="white-space: pre-wrap">slot number of the current feedback monitor</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-29e238e56be6f3fb1666"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-2a16d67c1829f0fa9a63"><code>15</code></span>

**Default value (<code>default</code>):** <span id="dt-2e0fd8fa68d254a4267f"><code>1</code></span>

<a id="dt-90b1b027f01267f1e41a"></a>

### <code>adi&#44;interleave&#45;mode</code> — not listed as required here

<div id="dt-4a9835543550e6b9b723">
<p style="white-space: pre-wrap">For cases where a single combined channel for the I/V feedback data is not sufficient, the device can also be configured to share a single data output channel on alternating frames. In this configuration, the current and voltage data will be frame interleaved on a single output channel.</p>
</div>

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

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

### <code>reset&#45;gpios</code> — not listed as required here

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

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    max98388: amplifier@39 {
        compatible = "adi,max98388";
        reg = &lt;0x39&gt;;
        #sound-dai-cells = &lt;0&gt;;
        adi,vmon-slot-no = &lt;0&gt;;
        adi,imon-slot-no = &lt;1&gt;;
        adi,interleave-mode;
        reset-gpios = &lt;&amp;gpio 4 GPIO_ACTIVE_LOW&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>

</details>

---

# Analog Devices MAX98396 Speaker Amplifier

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

> Device-tree binding reference for Analog Devices MAX98396 Speaker Amplifier.

<!-- 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;adi&#44;max98396&#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;Ryan Lee &#60;ryans&#46;lee&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The MAX98396 is a mono Class-DG speaker amplifier with I/V sense. The device provides a PCM interface for audio data and a standard I2C interface for control data communication. The MAX98397 is a variant of MAX98396 with wide input supply range.</p>
</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;adi&#44;max98396&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;max98397&#34;</code></span>

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

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the device.</p>
</div>

<a id="dt-14397a69ba55f41119c5"></a>

### <code>avdd&#45;supply</code> — not listed as required here

<div id="dt-c928412db05126ef65e3">
<p style="white-space: pre-wrap">A 1.8V supply that powers up the AVDD pin.</p>
</div>

<a id="dt-84a2bc358063a1a7c956"></a>

### <code>dvdd&#45;supply</code> — not listed as required here

<div id="dt-593261d208e8b7fb5f26">
<p style="white-space: pre-wrap">A 1.2V supply that powers up the DVDD pin.</p>
</div>

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

### <code>dvddio&#45;supply</code> — not listed as required here

<div id="dt-a36a67f86b833fbcd6b5">
<p style="white-space: pre-wrap">A 1.2V or 1.8V supply that powers up the VDDIO pin.</p>
</div>

<a id="dt-722272e0225afab3aadc"></a>

### <code>pvdd&#45;supply</code> — not listed as required here

<div id="dt-2483fddb14d539d108cf">
<p style="white-space: pre-wrap">A 3.0V to 20V supply that powers up the PVDD pin.</p>
</div>

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

### <code>vbat&#45;supply</code> — not listed as required here

<div id="dt-70f59e95d51a4e05ddcd">
<p style="white-space: pre-wrap">A 3.3V to 5.5V supply that powers up the VBAT pin.</p>
</div>

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

### <code>adi&#44;vmon&#45;slot&#45;no</code> — not listed as required here

<div id="dt-592cd43c856855ee3d21">
<p style="white-space: pre-wrap">slot number of the voltage sense monitor</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-a628e53265f9103030c8"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-e54e2e7d033a5450de7e"><code>15</code></span>

**Default value (<code>default</code>):** <span id="dt-cb201c4792fee5203edf"><code>0</code></span>

<a id="dt-097bbb1a72acb828d8d4"></a>

### <code>adi&#44;imon&#45;slot&#45;no</code> — not listed as required here

<div id="dt-89e01f7ff8aecdf2ec9b">
<p style="white-space: pre-wrap">slot number of the current sense monitor</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-29e238e56be6f3fb1666"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-2a16d67c1829f0fa9a63"><code>15</code></span>

**Default value (<code>default</code>):** <span id="dt-2e0fd8fa68d254a4267f"><code>1</code></span>

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

### <code>adi&#44;spkfb&#45;slot&#45;no</code> — not listed as required here

<div id="dt-e0b965dc83945ce6ba99">
<p style="white-space: pre-wrap">slot number of speaker DSP monitor</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-5dff5e15c1d1f301cae2"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-5e771bbe88a4c4deb4de"><code>15</code></span>

**Default value (<code>default</code>):** <span id="dt-282af70b2bcd33de2522"><code>2</code></span>

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

### <code>adi&#44;bypass&#45;slot&#45;no</code> — not listed as required here

<div id="dt-0264b7b51e42ab92154b">
<p style="white-space: pre-wrap">Selects the PCM data input channel that is routed to the speaker audio processing bypass path.</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-cf61b2e0086d27190c43"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-2013aa7a4dfb25a74173"><code>15</code></span>

**Default value (<code>default</code>):** <span id="dt-dee6836f58ced7b4f132"><code>0</code></span>

<a id="dt-90b1b027f01267f1e41a"></a>

### <code>adi&#44;interleave&#45;mode</code> — not listed as required here

<div id="dt-4a9835543550e6b9b723">
<p style="white-space: pre-wrap">For cases where a single combined channel for the I/V sense data is not sufficient, the device can also be configured to share a single data output channel on alternating frames. In this configuration, the current and voltage data will be frame interleaved on a single output channel.</p>
</div>

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

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

### <code>adi&#44;dmon&#45;stuck&#45;enable</code> — not listed as required here

<div id="dt-117fc312b298da18aab2">
<p style="white-space: pre-wrap">Enables the "data monitor stuck" feature. Once the data monitor is enabled, it actively monitors the selected input data (from DIN) to the speaker amplifier. Once a data error is detected, the data monitor automatically places the device into software shutdown.</p>
</div>

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

<a id="dt-63b1e70baf1138d6a73b"></a>

### <code>adi&#44;dmon&#45;stuck&#45;threshold&#45;bits</code> — not listed as required here

<div id="dt-4bb66cfc06847dfe80c4">
<p style="white-space: pre-wrap">Sets the threshold for the "data monitor stuck" feature, in bits.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-fb58cb72d0e27b14f6cb"></a> <span id="dt-0aba54bec9bd881b9597"><code>9</code></span>, <span id="dt-9b69c4edec8f0f533a43"><code>11</code></span>, <span id="dt-a5288dfc9b12e17a097c"><code>13</code></span>, <span id="dt-fc97a4e4079a1d356aec"><code>15</code></span>

**Default value (<code>default</code>):** <span id="dt-44e481099e4ff6fa1eb5"><code>15</code></span>

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

### <code>adi&#44;dmon&#45;magnitude&#45;enable</code> — not listed as required here

<div id="dt-5d4b7365a8bbd54ce37b">
<p style="white-space: pre-wrap">Enables the "data monitor magnitude" feature. Once the data monitor is enabled, it actively monitors the selected input data (from DIN) to the speaker amplifier. Once a data error is detected, the data monitor automatically places the device into software shutdown.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-1803bc9ad7e56feab739"><code>&#34;boolean&#34;</code></span>

<a id="dt-38b8944a861c11a9a542"></a>

### <code>adi&#44;dmon&#45;magnitude&#45;threshold&#45;bits</code> — not listed as required here

<div id="dt-c556e16dc24c56030699">
<p style="white-space: pre-wrap">Sets the threshold for the "data monitor magnitude" feature, in bits.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-f6f61550a63feb146735"></a> <span id="dt-85521f79f2414f54479b"><code>2</code></span>, <span id="dt-5b040c1e241dfbdd6f7d"><code>3</code></span>, <span id="dt-4522f5d084765a765c3e"><code>4</code></span>, <span id="dt-7fe5aac9f56764b4ed04"><code>5</code></span>

**Default value (<code>default</code>):** <span id="dt-3dde8cfd77559a910c57"><code>5</code></span>

<a id="dt-00339519ad787f9ed5fd"></a>

### <code>adi&#44;dmon&#45;duration&#45;ms</code> — not listed as required here

<div id="dt-767bbcdf9f413df13f8b">
<p style="white-space: pre-wrap">Sets the duration for the "data monitor" feature, in milliseconds.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-aca81f1fdfb8770a8268"></a> <span id="dt-18b7541b46e7cc570837"><code>64</code></span>, <span id="dt-65ec7953a2e366f1aa96"><code>256</code></span>, <span id="dt-eefb029036710c51da69"><code>1024</code></span>, <span id="dt-27bc291c6ffbce4ee0de"><code>4096</code></span>

**Default value (<code>default</code>):** <span id="dt-6b1ab2fdd615b1ec1739"><code>64</code></span>

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

### <code>reset&#45;gpios</code> — not listed as required here

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

**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>

<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/gpio/gpio.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    max98396: amplifier@39 {
        compatible = "adi,max98396";
        reg = &lt;0x39&gt;;
        dvdd-supply = &lt;&amp;regulator_1v2&gt;;
        dvddio-supply = &lt;&amp;regulator_1v8&gt;;
        avdd-supply = &lt;&amp;regulator_1v8&gt;;
        pvdd-supply = &lt;&amp;regulator_pvdd&gt;;
        adi,vmon-slot-no = &lt;0&gt;;
        adi,imon-slot-no = &lt;1&gt;;
        reset-gpios = &lt;&amp;gpio 4 GPIO_ACTIVE_LOW&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>

</details>

---

# Analog Devices SSM2518 audio amplifier

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

> Device-tree binding reference for Analog Devices SSM2518 audio amplifier.

<!-- 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;adi&#44;ssm2518&#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;Lars&#45;Peter Clausen &#60;lars&#64;metafoo&#46;de&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;adi&#44;ssm2518&#34;</code></span>

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

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the device. This will either be 0x34 (ADDR pin low)
or 0x35 (ADDR pin high)</p>
</div>

<a id="dt-6423357510c4f559d9df"></a>

### <code>gpios</code> — not listed as required here

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

<div id="dt-e9a56736b9784e1b506e">
<p style="white-space: pre-wrap">GPIO connected to the nSD pin. If the property is not present
it is assumed that the nSD pin is hardwired to always on.</p>
</div>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@34 {
        compatible = "adi,ssm2518";
        reg = &lt;0x34&gt;;
        gpios = &lt;&amp;gpio 5 GPIO_ACTIVE_HIGH&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>

</details>

---

# Allwinner A10 Codec

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

> Device-tree binding reference for Allwinner A10 Codec.

<!-- 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;sound&#47;allwinner&#44;sun4i&#45;a10&#45;codec&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<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;allwinner&#44;sun4i&#45;a10&#45;codec&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;codec&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;allwinner&#44;sun7i&#45;a20&#45;codec&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;allwinner&#44;sun8i&#45;a23&#45;codec&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;codec&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;allwinner&#44;sun8i&#45;v3s&#45;codec&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;allwinner&#44;sun50i&#45;h616&#45;codec&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;allwinner&#44;suniv&#45;f1c100s&#45;codec&#34;</code></span>

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

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

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

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

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

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

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Bus Clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Module Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;apb&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;codec&#34;</code></span>

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

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

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

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

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

**Rule 1**

> <a id="dt-096785123b02df362c9f"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-e7f53d5ac88a1668539a"></a>
>
> **Item 1**
>
> > <div id="dt-83734960bbbed403874d">
> > <p style="white-space: pre-wrap">RX DMA Channel</p>
> > </div>
>
> <a id="dt-f1c82351515f6b31c80a"></a>
>
> **Item 2**
>
> > <div id="dt-5a50881c382ffae54c7b">
> > <p style="white-space: pre-wrap">TX DMA Channel</p>
> > </div>

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

**Rule 2**

> <a id="dt-e6d6a92e361a3e9ca3e7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-466a62f2e4be4a42af4e"></a>
>
> **Item 1**
>
> > <div id="dt-545bf7ab2c9c829d73d7">
> > <p style="white-space: pre-wrap">TX DMA Channel</p>
> > </div>

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

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

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

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

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

**Rule 1**

> <a id="dt-e48fc66b375663861dbb"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-aedb068f2331c20af046"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-c64d8822f52d11762568"><code>&#34;rx&#34;</code></span>
>
> <a id="dt-1f75db67bb6fb04c3a5d"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-8201c97d53f057bd35be"><code>&#34;tx&#34;</code></span>

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

**Rule 2**

> <a id="dt-99816d964afbc5fed393"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-ef1285e116c91c599815"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-f6c737ecdabc56c6a5d1"><code>&#34;tx&#34;</code></span>

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

### <code>resets</code> — not listed as required here

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

<a id="dt-8971839fb37301935b57"></a>

### <code>allwinner&#44;audio&#45;routing</code> — not listed as required here

<div id="dt-ea80776f4aa8d02c40bd">
<p style="white-space: pre-wrap">A list of the connections between audio components.  Each entry
is a pair of strings, the first being the connection's sink, the
second being the connection's source.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-eb76602bea188a9df493">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-03aa6151067489c86719"><code>18</code></span>

<a id="dt-6ee81ebb9f768a05f0eb"></a>

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

> **Allowed values (<code>enum</code>):** <a id="dt-49f016e898ce0d566482"></a> <span id="dt-ebe299e21ce8f837bb4b"><code>&#34;HP&#34;</code></span>, <span id="dt-b49870c4a206b04fbd35"><code>&#34;HPCOM&#34;</code></span>, <span id="dt-fde20599c8842df2c7ac"><code>&#34;LINEIN&#34;</code></span>, <span id="dt-611d3fdec6ccd1c1d616"><code>&#34;LINEOUT&#34;</code></span>, <span id="dt-42a018c84ab35bd4400e"><code>&#34;MIC1&#34;</code></span>, <span id="dt-0f04c3d592440ae8fe7e"><code>&#34;MIC2&#34;</code></span>, <span id="dt-54ef892af47eae38e1fe"><code>&#34;MIC3&#34;</code></span>, <span id="dt-cbc579387cc84b90edd3"><code>&#34;MIC&#34;</code></span>, <span id="dt-9149bf6cb11b80f19a04"><code>&#34;HBIAS&#34;</code></span>, <span id="dt-c916dcb6929d5fab999e"><code>&#34;MBIAS&#34;</code></span>, <span id="dt-cc8bea2c5577bc700f65"><code>&#34;Headphone&#34;</code></span>, <span id="dt-4a72de107767687646db"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-ed3f307d53b3e051ac7d"><code>&#34;Line In&#34;</code></span>, <span id="dt-b639a138dc4aba9dc2bf"><code>&#34;Line Out&#34;</code></span>, <span id="dt-9395de5942ed49d808c4"><code>&#34;Right FM In&#34;</code></span>, <span id="dt-c6036ffb3c0bbb4bb817"><code>&#34;Left FM In&#34;</code></span>, <span id="dt-19314d27fea1e4e0e32a"><code>&#34;Mic&#34;</code></span>, <span id="dt-b6e7b1e89ce75602348c"><code>&#34;Speaker&#34;</code></span>

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

### <code>allwinner&#44;codec&#45;analog&#45;controls</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-702a6c85c18e5da0a4b9">[<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-19f2145d9610b8b5327a">
<p style="white-space: pre-wrap">Phandle to the codec analog controls in the PRCM</p>
</div>

<a id="dt-0270008a4189866a462e"></a>

### <code>allwinner&#44;pa&#45;gpios</code> — not listed as required here

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

<div id="dt-f065cd3e54fe0330a719">
<p style="white-space: pre-wrap">GPIO to enable the external amplifier</p>
</div>

<a id="dt-06bb6bdc71ddc84e5a04"></a>

### <code>hp&#45;det&#45;gpios</code> — not listed as required here

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

<div id="dt-6d2500bf6ab63ed8e8fb">
<p style="white-space: pre-wrap">GPIO for headphone/line-out detection</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-c0ab484bd71d0671c6ab"></a> <span id="dt-4eb87bb951292ac8d56d"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;codec&#34;</code></span>, <span id="dt-68ac103663508bfae0ff"><code>&#34;allwinner&#44;sun8i&#45;a23&#45;codec&#34;</code></span>, <span id="dt-7e71a4327a0b7f6bd804"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;codec&#34;</code></span>, <span id="dt-9c8361ad3495c3fa251c"><code>&#34;allwinner&#44;sun8i&#45;v3s&#45;codec&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-6d10e68a334896578d7e"></a>
> >
> > **Condition (<code>if</code>)**
> >
> > > <a id="dt-be6dd448be66693dc104"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-c0a9c10ef44558d1f0e1"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > **Exact value (<code>const</code>):** <span id="dt-f4456ec0e72484315a34"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;codec&#34;</code></span>
> >
> > <a id="dt-654b8c3858744e77c9d0"></a>
> >
> > **When the condition matches (<code>then</code>)**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-dabb7ffdde8d3c5ff6b7"></a> <span id="dt-5950dd15a3e2cad1b835"><code>&#34;resets&#34;</code></span>, <span id="dt-ec11fa9f2ca416ec6dad"><code>&#34;allwinner&#44;audio&#45;routing&#34;</code></span>
> >
> > <a id="dt-8837118d4d4e790b6611"></a>
> >
> > **When the condition does not match (<code>else</code>)**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-6de626738c6020d787d8"></a> <span id="dt-1fe5c7e3ca3788f8d475"><code>&#34;resets&#34;</code></span>, <span id="dt-65372de2dbda5277531f"><code>&#34;allwinner&#44;audio&#45;routing&#34;</code></span>, <span id="dt-889373eb37a784bbb145"><code>&#34;allwinner&#44;codec&#45;analog&#45;controls&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-22249f3875646fe5ea9e"></a> <span id="dt-5632855001ed404c9e46"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;codec&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a14873ee77a07e1d6fa3"></a>
> >
> > **<code>allwinner&#44;audio&#45;routing</code> — not listed as required here**
> >
> > <a id="dt-207cdc1512a92eddb06a"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-bef1aeb99b06f6b3db11"></a> <span id="dt-89e5d5cec747d5e35196"><code>&#34;HP&#34;</code></span>, <span id="dt-7018a8b6d8dad10d6671"><code>&#34;HPCOM&#34;</code></span>, <span id="dt-b6f25545fb96e7511b65"><code>&#34;LINEIN&#34;</code></span>, <span id="dt-10d4664e60201cfc443c"><code>&#34;LINEOUT&#34;</code></span>, <span id="dt-885a3f7ce8573fa52806"><code>&#34;MIC1&#34;</code></span>, <span id="dt-3cdb4cbea954bcd5f916"><code>&#34;MIC2&#34;</code></span>, <span id="dt-211cc11e8e5af91bb71a"><code>&#34;MIC3&#34;</code></span>, <span id="dt-b48fda1642da43dad6b0"><code>&#34;HBIAS&#34;</code></span>, <span id="dt-86c372ffb6ef1995f7be"><code>&#34;MBIAS&#34;</code></span>, <span id="dt-ee629afbf0a5d8f5a90e"><code>&#34;Headphone&#34;</code></span>, <span id="dt-8ff631c9cf016de50aee"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-b95e34d0b7df58c01a14"><code>&#34;Line In&#34;</code></span>, <span id="dt-450c63a58307cff28b28"><code>&#34;Line Out&#34;</code></span>, <span id="dt-3c91643ce9c40f233889"><code>&#34;Mic&#34;</code></span>, <span id="dt-18a6c1992ae1c3856664"><code>&#34;Speaker&#34;</code></span>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-419957a69f31e57c7f39"></a> <span id="dt-69c17dc0986a7dcb908e"><code>&#34;allwinner&#44;sun8i&#45;a23&#45;codec&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e2b67015efe8bd9bf904"></a>
> >
> > **<code>allwinner&#44;audio&#45;routing</code> — not listed as required here**
> >
> > <a id="dt-b1fec324e22d13d383ed"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-bdc0023df9d2338768ca"></a> <span id="dt-9fea572911d745d1f4a8"><code>&#34;HP&#34;</code></span>, <span id="dt-2ea91ba187f19f4079ab"><code>&#34;HPCOM&#34;</code></span>, <span id="dt-8d0db2d9a1b08808c641"><code>&#34;LINEIN&#34;</code></span>, <span id="dt-c21d5615710ca500af88"><code>&#34;MIC1&#34;</code></span>, <span id="dt-a4ae39c1ceb2bcd06c34"><code>&#34;MIC2&#34;</code></span>, <span id="dt-59f24223c8f5629fbd48"><code>&#34;HBIAS&#34;</code></span>, <span id="dt-9aafda6a5c14c70263c3"><code>&#34;MBIAS&#34;</code></span>, <span id="dt-2ff94a987c788e9556d5"><code>&#34;Headphone&#34;</code></span>, <span id="dt-a440295aaaa53067beac"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-eac0b8aa1b5cd66fb8ed"><code>&#34;Line In&#34;</code></span>, <span id="dt-8aac45e56154fb1d1361"><code>&#34;Line Out&#34;</code></span>, <span id="dt-ec2cc119564e2de4944c"><code>&#34;Mic&#34;</code></span>, <span id="dt-dbc220b87bc8e18c1e4c"><code>&#34;Speaker&#34;</code></span>

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

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-829d5c784596f6a68df6"></a> <span id="dt-d596a14094bd1fb27e37"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;codec&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-61105cb355bf27434ff1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8715bb180332b9806e8f"></a>
> >
> > **<code>allwinner&#44;audio&#45;routing</code> — not listed as required here**
> >
> > <a id="dt-46173897241e8fa1b0b8"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b73159fabdf034c9268e"></a> <span id="dt-0cc543aaf4707c33eb9f"><code>&#34;HP&#34;</code></span>, <span id="dt-a45c1594d52c7a604a74"><code>&#34;HPCOM&#34;</code></span>, <span id="dt-c2c41926e256ff9a1d40"><code>&#34;LINEIN&#34;</code></span>, <span id="dt-138fdb121f0f6be103b8"><code>&#34;LINEOUT&#34;</code></span>, <span id="dt-ba60022597a21b0905fc"><code>&#34;MIC1&#34;</code></span>, <span id="dt-8faa4207784cce85da7b"><code>&#34;MIC2&#34;</code></span>, <span id="dt-9c42f5e5e906b486398b"><code>&#34;HBIAS&#34;</code></span>, <span id="dt-0306e68212104d55f621"><code>&#34;MBIAS&#34;</code></span>, <span id="dt-8bb92b46fa79aa931f2c"><code>&#34;Headphone&#34;</code></span>, <span id="dt-6d5f402a022ce1092fdd"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-8ffc28fa08670bae581d"><code>&#34;Line In&#34;</code></span>, <span id="dt-541e686d407fe4c396d9"><code>&#34;Line Out&#34;</code></span>, <span id="dt-9cbeae5518079960ad7f"><code>&#34;Mic&#34;</code></span>, <span id="dt-f85a36c81598bd3ee991"><code>&#34;Speaker&#34;</code></span>

<a id="dt-51879ae9be030b28e888"></a>

### Rule 6

> <a id="dt-29f1a7d11303016de0fb"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-31db8c2b34419cd49333"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-049791ad441d801be5c0"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-64e6d4142a56dadf634b"></a> <span id="dt-0493da5743b5601b8163"><code>&#34;allwinner&#44;sun8i&#45;v3s&#45;codec&#34;</code></span>
>
> <a id="dt-5d3814a6fa606b79b9a6"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-bc42d1cd066384e1f6fa"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-0579e3f569ece0afe26b"></a>
> >
> > **<code>allwinner&#44;audio&#45;routing</code> — not listed as required here**
> >
> > <a id="dt-fd766d5e4de4cd22ef6e"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-9b6d5638b2056d6b0c63"></a> <span id="dt-0bedf0cbe383ed21bc97"><code>&#34;HP&#34;</code></span>, <span id="dt-6c355c967dde2b4313d0"><code>&#34;HPCOM&#34;</code></span>, <span id="dt-7a235f3360fdf56b879a"><code>&#34;MIC1&#34;</code></span>, <span id="dt-2b86e7c17bb1de14e3ad"><code>&#34;HBIAS&#34;</code></span>, <span id="dt-b4c5d88ba4e402666fcd"><code>&#34;Headphone&#34;</code></span>, <span id="dt-eda13149a02a20bdf32e"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-4454fc95bca23499731d"><code>&#34;Line In&#34;</code></span>, <span id="dt-97c9e55e1990a29b21f7"><code>&#34;Line Out&#34;</code></span>, <span id="dt-0e01bda33f6460ca9cd6"><code>&#34;Mic&#34;</code></span>, <span id="dt-d091a907f156a8573373"><code>&#34;Speaker&#34;</code></span>

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

### Rule 7

> <a id="dt-adc37659b18b744ffc21"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-d05034e35339a4228f73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-012adea3ff9b123e6012"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-8ba93bbe03f8029ad704"></a> <span id="dt-95e341bbffb420ba155f"><code>&#34;allwinner&#44;sun50i&#45;h616&#45;codec&#34;</code></span>
>
> <a id="dt-53bae45a2e235a9fb120"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-46da8c9fe8477efbe234"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9e43daf9c8dac5cf4ccc"></a>
> >
> > **<code>allwinner&#44;audio&#45;routing</code> — not listed as required here**
> >
> > <a id="dt-b3e972bf0d1ce5a8ff25"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-4c9d8043b85edb5c9005"></a> <span id="dt-67050acb45932214bf46"><code>&#34;Headphone&#34;</code></span>, <span id="dt-90b7262a9edae9a706de"><code>&#34;LINEOUT&#34;</code></span>, <span id="dt-83c4073e3768dca629a3"><code>&#34;Line Out&#34;</code></span>, <span id="dt-4dce70524ec875e8a11c"><code>&#34;Speaker&#34;</code></span>
> >
> > <a id="dt-af39ef9e915ca80a2f8e"></a>
> >
> > **<code>dmas</code> — not listed as required here**
> >
> > <a id="dt-e737ec86daea60e39c69"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-9ac20dacc3154a604741"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-4af080b0420a21e6be2a">
> > > <p style="white-space: pre-wrap">TX DMA Channel</p>
> > > </div>
> >
> > <a id="dt-4b509fce55d47c952efb"></a>
> >
> > **<code>dma&#45;names</code> — not listed as required here**
> >
> > <a id="dt-59717d37e8ce0a36519a"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-92c22738f556cdc82a84"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4a1e9532b82f2080d8c6"><code>&#34;tx&#34;</code></span>
>
> <a id="dt-a039afe58d5c7913ba5a"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-4c003e9e4f5872e7fa1f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-6f0aa956a366bfbf393a"></a>
> >
> > **<code>dmas</code> — not listed as required here**
> >
> > <a id="dt-073db4300754844a935e"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-4c590d8f3180a90f05fb"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-7ddc36aa92f8e5d6a560">
> > > <p style="white-space: pre-wrap">RX DMA Channel</p>
> > > </div>
> >
> > <a id="dt-a5c4682b90864e03c377"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-ac65eb930ffb4459144c">
> > > <p style="white-space: pre-wrap">TX DMA Channel</p>
> > > </div>
> >
> > <a id="dt-c8c38fc0de59c69cb1c0"></a>
> >
> > **<code>dma&#45;names</code> — not listed as required here**
> >
> > <a id="dt-b9c24411ccfdb467d8e0"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-9435af49efcefbbd0091"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-57587cb706931fd0269f"><code>&#34;rx&#34;</code></span>
> >
> > <a id="dt-8c54ccb84ec614651260"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1739e5d4413f3be387e8"><code>&#34;tx&#34;</code></span>

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

### Rule 8

> <a id="dt-0dec882f901dbdd5da96"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-e318d04d818f7848a412"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-33aecc82258b5c176a35"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-bebc4031d1a9d2aa0697"></a> <span id="dt-642d3c547c67a280ca33"><code>&#34;allwinner&#44;suniv&#45;f1c100s&#45;codec&#34;</code></span>
>
> <a id="dt-f41b5086d105c7986c84"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-2c12b15fd025c8e34502"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-f00296d95794d3067937"></a>
> >
> > **<code>allwinner&#44;audio&#45;routing</code> — not listed as required here**
> >
> > <a id="dt-d8406bb3aa951c65d293"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-bde5104a663b4932bff3"></a> <span id="dt-3c3f9439836f003fbf80"><code>&#34;HP&#34;</code></span>, <span id="dt-debb7244462d9be0e060"><code>&#34;HPCOM&#34;</code></span>, <span id="dt-a0cdb28c8557efac2e5d"><code>&#34;LINEIN&#34;</code></span>, <span id="dt-efbbd9cad929cf7276c0"><code>&#34;LINEOUT&#34;</code></span>, <span id="dt-d504c782857915456ea4"><code>&#34;MIC&#34;</code></span>, <span id="dt-906b93deba359c9852ea"><code>&#34;HBIAS&#34;</code></span>, <span id="dt-e06ee953c4f88b2bd56d"><code>&#34;MBIAS&#34;</code></span>, <span id="dt-4952dffe46e338feda3e"><code>&#34;Headphone&#34;</code></span>, <span id="dt-a825bd9e14f9be6b72b9"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-7e001279fb8c561a4882"><code>&#34;Line In&#34;</code></span>, <span id="dt-1b88333dcaf1923faecb"><code>&#34;Line Out&#34;</code></span>, <span id="dt-e09e9478e4eb8bb17db0"><code>&#34;Right FM In&#34;</code></span>, <span id="dt-0892c2a2331be51db71e"><code>&#34;Left FM In&#34;</code></span>, <span id="dt-c4e5b11bd051582523d1"><code>&#34;Mic&#34;</code></span>, <span id="dt-1e7e357282b9112490bf"><code>&#34;Speaker&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">codec@1c22c00 {
    #sound-dai-cells = &lt;0&gt;;
    compatible = "allwinner,sun7i-a20-codec";
    reg = &lt;0x01c22c00 0x40&gt;;
    interrupts = &lt;0 30 4&gt;;
    clocks = &lt;&amp;apb0_gates 0&gt;, &lt;&amp;codec_clk&gt;;
    clock-names = "apb", "codec";
    dmas = &lt;&amp;dma 0 19&gt;, &lt;&amp;dma 0 19&gt;;
    dma-names = "rx", "tx";
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">codec@1c22c00 {
    #sound-dai-cells = &lt;0&gt;;
    compatible = "allwinner,sun6i-a31-codec";
    reg = &lt;0x01c22c00 0x98&gt;;
    interrupts = &lt;0 29 4&gt;;
    clocks = &lt;&amp;ccu 61&gt;, &lt;&amp;ccu 135&gt;;
    clock-names = "apb", "codec";
    resets = &lt;&amp;ccu 42&gt;;
    dmas = &lt;&amp;dma 15&gt;, &lt;&amp;dma 15&gt;;
    dma-names = "rx", "tx";
    allwinner,audio-routing =
        "Headphone", "HP",
        "Speaker", "LINEOUT",
        "LINEIN", "Line In",
        "MIC1", "MBIAS",
        "MIC1", "Mic",
        "MIC2", "HBIAS",
        "MIC2", "Headset Mic";
};
</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</span></p>

<p id="dt-comment-1"><strong>Line 73:</strong> <span> Audio Pins on the SoC</span></p>

<p id="dt-comment-2"><strong>Line 83:</strong> <span> Microphone Biases from the SoC</span></p>

<p id="dt-comment-3"><strong>Line 87:</strong> <span> Board Connectors</span></p>

</details>

---

# Allwinner A10 I2S Controller

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

> Device-tree binding reference for Allwinner A10 I2S Controller.

<!-- SPDX-License-Identifier: (GPL-2.0+ 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;allwinner&#44;sun4i&#45;a10&#45;i2s&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;i2s&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;i2s&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;allwinner&#44;sun8i&#45;a83t&#45;i2s&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> **Exact value (<code>const</code>):** <span id="dt-bb8aa9a35453860e510c"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;i2s&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> <a id="dt-196210d7e8a5e94e1226"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4b7c967de45ba4ead27f"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-3f49949a764b6257a77a"><code>&#34;allwinner&#44;sun8i&#45;r40&#45;i2s&#34;</code></span>
>
> <a id="dt-caf6ce7d7f34e1e8d173"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-4a97b7e5e83d59103118"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;i2s&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> <a id="dt-4dad5affd79a503edb55"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-d020c8ab76f112be7460"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-871cc0788ba4de3e95d6"><code>&#34;allwinner&#44;sun8i&#45;v3&#45;i2s&#34;</code></span>
>
> <a id="dt-ad0f80061981c404704b"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-bc7bfc6606ce7d2bcbe4"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;i2s&#34;</code></span>

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

**Rule 7**

> **Exact value (<code>const</code>):** <span id="dt-2ac514c95c227d8b07a6"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;codec&#45;i2s&#34;</code></span>

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

**Rule 8**

> <a id="dt-a91f11e3ee56eb619882"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-611ad0263e50f540b36a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-ad3f680e1047a7885dd7"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;i2s&#34;</code></span>
>
> <a id="dt-d3f9d0dbf0af675db82a"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-6abcaea81f09b95281a2"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;i2s&#34;</code></span>

<a id="dt-840363fe85852843a5d5"></a>

**Rule 9**

> **Exact value (<code>const</code>):** <span id="dt-bec40614635fcd46f2cb"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;i2s&#34;</code></span>

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

**Rule 10**

> **Exact value (<code>const</code>):** <span id="dt-02326b96b5c4be808cd1"><code>&#34;allwinner&#44;sun50i&#45;r329&#45;i2s&#34;</code></span>

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

**Rule 11**

> <a id="dt-faea6b3b07a11a6b4fc5"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-891c5ab1bad141abef42"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-578b60d820afdd158444"></a> <span id="dt-e8274d62c29bd45abc12"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;i2s&#34;</code></span>, <span id="dt-898595c580c1fcc4a0ee"><code>&#34;allwinner&#44;sun55i&#45;a523&#45;i2s&#34;</code></span>
>
> <a id="dt-3e9fd6c1b10a37d78f8c"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-dd5ef2a516845eddf09e"><code>&#34;allwinner&#44;sun50i&#45;r329&#45;i2s&#34;</code></span>

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

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

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

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

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

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

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Bus Clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Module Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;apb&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mod&#34;</code></span>

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

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

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

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

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

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

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

### <code>resets</code> — not listed as required here

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

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;allwinner&#44;sun6i&#45;a31&#45;i2s&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;allwinner&#44;sun8i&#45;a83t&#45;i2s&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;i2s&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;codec&#45;i2s&#34;</code></span>, <span id="dt-f5a9f906c7ab6d73de62"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;i2s&#34;</code></span>, <span id="dt-ad13ece4b900cc595f9f"><code>&#34;allwinner&#44;sun50i&#45;r329&#45;i2s&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;resets&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;allwinner&#44;sun8i&#45;a83t&#45;i2s&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;i2s&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b65f976e28b0680b1529"></a>
> >
> > **<code>dmas</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-af7373f15a084b601c04"><code>1</code></span>
> >
> > <a id="dt-f6306ef3b630e410c0f2"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-b1159449b7d2e7dfd6d4"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-7246f9b0f6ea47353091">
> > > <p style="white-space: pre-wrap">RX DMA Channel</p>
> > > </div>
> >
> > <a id="dt-cff3b27dcbd0416d4838"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-3ef2a4346153b52907e2">
> > > <p style="white-space: pre-wrap">TX DMA Channel</p>
> > > </div>
> >
> > <div id="dt-d62a930246b3869a709a">
> > <p style="white-space: pre-wrap">Some controllers cannot receive but can only transmit data. In such a case, the RX DMA channel is to be omitted.</p>
> > </div>
> >
> > <a id="dt-2a62c4407638ff407877"></a>
> >
> > **<code>dma&#45;names</code> — not listed as required here**
> >
> > <a id="dt-dfa933626fbecdce7278"></a>
> >
> > **Exactly one of these rules must match (<code>oneOf</code>)**
> >
> > <a id="dt-30b85f056c49fbaa78ad"></a>
> >
> > **Rule 1**
> >
> > > <a id="dt-dbac680fd8c2d44cf6ac"></a>
> > >
> > > **Array item rules (<code>items</code>)**
> > >
> > > <a id="dt-95165dfd87fab5d0a1cb"></a>
> > >
> > > **Item 1**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-7c4d9bb8627d58cf18aa"><code>&#34;rx&#34;</code></span>
> > >
> > > <a id="dt-b9a8de37922b6aa24b22"></a>
> > >
> > > **Item 2**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-e263a510e2710425fae3"><code>&#34;tx&#34;</code></span>
> >
> > <a id="dt-a818133fdbea6fce29a2"></a>
> >
> > **Rule 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-af1e15e92518ccd49c11"><code>&#34;tx&#34;</code></span>
> >
> > <div id="dt-51644524bbfd96ab378d">
> > <p style="white-space: pre-wrap">Some controllers cannot receive but can only transmit data. In such a case, the RX name is to be omitted.</p>
> > </div>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-00a717452f13e431b2e4"></a>
> >
> > **<code>dmas</code> — not listed as required here**
> >
> > <a id="dt-6b44f533ac85b447f7ed"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-1abf39673c3907c5e26c"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-e73c0c1b2b5562bc9f9f">
> > > <p style="white-space: pre-wrap">RX DMA Channel</p>
> > > </div>
> >
> > <a id="dt-ea46273bb2af1205cdbb"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-75017b0eb28fafccb516">
> > > <p style="white-space: pre-wrap">TX DMA Channel</p>
> > > </div>
> >
> > <a id="dt-8681631e7e166f3fcd64"></a>
> >
> > **<code>dma&#45;names</code> — not listed as required here**
> >
> > <a id="dt-e23e1752073c6492c8f6"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-f6d59c5fb645ddb0ed2d"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9ded282ca560550ef3d9"><code>&#34;rx&#34;</code></span>
> >
> > <a id="dt-583db39beba2bad82fc7"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-e39236f3119bf4fc4ca7"><code>&#34;tx&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2s0: i2s@1c22400 {
    #sound-dai-cells = &lt;0&gt;;
    compatible = "allwinner,sun4i-a10-i2s";
    reg = &lt;0x01c22400 0x400&gt;;
    interrupts = &lt;0 16 4&gt;;
    clocks = &lt;&amp;apb0_gates 3&gt;, &lt;&amp;i2s0_clk&gt;;
    clock-names = "apb", "mod";
    dmas = &lt;&amp;dma 0 3&gt;, &lt;&amp;dma 0 3&gt;;
    dma-names = "rx", "tx";
};
</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+ OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 57:</strong> <span> Even though it only applies to subschemas under the conditionals,</span></p>

<p id="dt-comment-2"><strong>Line 58:</strong> <span> not listing them here will trigger a warning because of the</span></p>

<p id="dt-comment-3"><strong>Line 59:</strong> <span> additionalsProperties set to false.</span></p>

</details>

---

# Allwinner A10 S/PDIF Controller

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

> Device-tree binding reference for Allwinner A10 S/PDIF Controller.

<!-- 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;sound&#47;allwinner&#44;sun4i&#45;a10&#45;spdif&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Liam Girdwood &#60;lgirdwood&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Mark Brown &#60;broonie&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-3a197c22bf020420f520"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;spdif&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;spdif&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;spdif&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> **Exact value (<code>const</code>):** <span id="dt-bb8aa9a35453860e510c"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;spdif&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> **Exact value (<code>const</code>):** <span id="dt-db09842262b0bfa9d4c5"><code>&#34;allwinner&#44;sun50i&#45;h616&#45;spdif&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> **Exact value (<code>const</code>):** <span id="dt-c300a8811f2c7ccc81ad"><code>&#34;allwinner&#44;sun55i&#45;a523&#45;spdif&#34;</code></span>

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

**Rule 7**

> <a id="dt-12134cfffbae030c1559"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-0f098b450772c8e28b15"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-98fb02bf6c2d83a04ca9"><code>&#34;allwinner&#44;sun8i&#45;a83t&#45;spdif&#34;</code></span>
>
> <a id="dt-1df18a1c142d17441200"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1f1916fbcc1459030d21"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;spdif&#34;</code></span>

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

**Rule 8**

> <a id="dt-a91f11e3ee56eb619882"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-611ad0263e50f540b36a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-ad3f680e1047a7885dd7"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;spdif&#34;</code></span>
>
> <a id="dt-d3f9d0dbf0af675db82a"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-6abcaea81f09b95281a2"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;spdif&#34;</code></span>

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

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

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

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

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

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

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

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

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>3</code></span>

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

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

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

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

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

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

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

### <code>resets</code> — not listed as required here

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

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;allwinner&#44;sun6i&#45;a31&#45;spdif&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;spdif&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;spdif&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;allwinner&#44;sun50i&#45;h616&#45;spdif&#34;</code></span>, <span id="dt-f5a9f906c7ab6d73de62"><code>&#34;allwinner&#44;sun55i&#45;a523&#45;spdif&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;resets&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;spdif&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;allwinner&#44;sun50i&#45;h616&#45;spdif&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b65f976e28b0680b1529"></a>
> >
> > **<code>dmas</code> — not listed as required here**
> >
> > <div id="dt-d62a930246b3869a709a">
> > <p style="white-space: pre-wrap">TX DMA Channel</p>
> > </div>
> >
> > <a id="dt-2a62c4407638ff407877"></a>
> >
> > **<code>dma&#45;names</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-4cd47c90d21b1ed6a799"><code>&#34;tx&#34;</code></span>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-00a717452f13e431b2e4"></a>
> >
> > **<code>dmas</code> — not listed as required here**
> >
> > <a id="dt-6b44f533ac85b447f7ed"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-1abf39673c3907c5e26c"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-e73c0c1b2b5562bc9f9f">
> > > <p style="white-space: pre-wrap">RX DMA Channel</p>
> > > </div>
> >
> > <a id="dt-ea46273bb2af1205cdbb"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-75017b0eb28fafccb516">
> > > <p style="white-space: pre-wrap">TX DMA Channel</p>
> > > </div>
> >
> > <a id="dt-8681631e7e166f3fcd64"></a>
> >
> > **<code>dma&#45;names</code> — not listed as required here**
> >
> > <a id="dt-e23e1752073c6492c8f6"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-f6d59c5fb645ddb0ed2d"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9ded282ca560550ef3d9"><code>&#34;rx&#34;</code></span>
> >
> > <a id="dt-583db39beba2bad82fc7"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-e39236f3119bf4fc4ca7"><code>&#34;tx&#34;</code></span>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;allwinner&#44;sun55i&#45;a523&#45;spdif&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9b48ab756d49c09e7d6e"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-3867b786a01b5ba0e050"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-e17f95830082fa69a39a"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-9c9c147b6c21cfafd2b5">
> > > <p style="white-space: pre-wrap">Bus Clock</p>
> > > </div>
> >
> > <a id="dt-f311694dd6b4103ae61e"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-bca0731aa3fcc6d84883">
> > > <p style="white-space: pre-wrap">TX Clock</p>
> > > </div>
> >
> > <a id="dt-e2e75c2a7518d9740620"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-27f59791963318e4877e">
> > > <p style="white-space: pre-wrap">RX Clock</p>
> > > </div>
> >
> > <a id="dt-0dd30bad243a0df76d0b"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-15601e83d4b95ac95a9c"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-c6508f79b7c67f4ab5c7"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6f7c4ab4df79eac8009c"><code>&#34;apb&#34;</code></span>
> >
> > <a id="dt-8a09b1b82fc12eb8948c"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-33aee55eeaaf3e7d4421"><code>&#34;tx&#34;</code></span>
> >
> > <a id="dt-fb5bc90d983879b30d04"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-015da56342bd515a1503"><code>&#34;rx&#34;</code></span>
>
> <a id="dt-1b6193699b46ee209acb"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-b46fd54c3fb20513db03"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-2a156189a7e2ea28f5b4"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-abca9434a9a8692e6307"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-41ee3fa7d9b2b390b573"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-905852e9d2c52e983901">
> > > <p style="white-space: pre-wrap">Bus Clock</p>
> > > </div>
> >
> > <a id="dt-646a5ead19ab6f7432df"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-725d49dddaa225bbb430">
> > > <p style="white-space: pre-wrap">Module Clock</p>
> > > </div>
> >
> > <a id="dt-bc86ec85bce82eba2888"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-e79b421619147f4f67b3"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-fe57a1475a7a609c8ba8"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-77f40801fcf85a8f8024"><code>&#34;apb&#34;</code></span>
> >
> > <a id="dt-9848ff9fdb4c8e125829"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-c41245443d00b095e602"><code>&#34;spdif&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">spdif: spdif@1c21000 {
    #sound-dai-cells = &lt;0&gt;;
    compatible = "allwinner,sun4i-a10-spdif";
    reg = &lt;0x01c21000 0x40&gt;;
    interrupts = &lt;13&gt;;
    clocks = &lt;&amp;apb0_gates 1&gt;, &lt;&amp;spdif_clk&gt;;
    clock-names = "apb", "spdif";
    dmas = &lt;&amp;dma 0 2&gt;, &lt;&amp;dma 0 2&gt;;
    dma-names = "rx", "tx";
};
</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</span></p>

<p id="dt-comment-1"><strong>Line 48:</strong> <span> Even though it only applies to subschemas under the conditionals,</span></p>

<p id="dt-comment-2"><strong>Line 49:</strong> <span> not listing them here will trigger a warning because of the</span></p>

<p id="dt-comment-3"><strong>Line 50:</strong> <span> additionalsProperties set to false.</span></p>

</details>

---

# Allwinner A64 Analog Codec

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

> Device-tree binding reference for Allwinner A64 Analog Codec.

<!-- 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;sound&#47;allwinner&#44;sun50i&#45;a64&#45;codec&#45;analog&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;codec&#45;analog&#34;</code></span>

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

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

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

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

### <code>cpvdd&#45;supply</code> — required here

<div id="dt-5f2afb57ff426dea7852">
<p style="white-space: pre-wrap">Regulator for the headphone amplifier</p>
</div>

<a id="dt-43db5d55f2e7115264c2"></a>

### <code>allwinner&#44;internal&#45;bias&#45;resistor</code> — not listed as required here

<div id="dt-bc37cc3903c069715421">
<p style="white-space: pre-wrap">Enable the internal 2.2K bias resistor between HBIAS and MICDET pins</p>
</div>

**Value type (<code>type</code>):** <span id="dt-5454c30588506ad73ee8"><code>&#34;boolean&#34;</code></span>

**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;cpvdd&#45;supply&#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">codec_analog: codec-analog@1f015c0 {
  compatible = "allwinner,sun50i-a64-codec-analog";
  reg = &lt;0x01f015c0 0x4&gt;;
  cpvdd-supply = &lt;&amp;reg_eldo1&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</span></p>

</details>

---

# Allwinner H6 DMIC

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

> Device-tree binding reference for Allwinner H6 DMIC.

<!-- SPDX-License-Identifier: (GPL-2.0+ 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;allwinner&#44;sun50i&#45;h6&#45;dmic&#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;Ban Tao &#60;fengzheng923&#64;gmail&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;dmic&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;dmic&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;dmic&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

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

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

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

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

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Bus Clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Module Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;bus&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mod&#34;</code></span>

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

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

<a id="dt-6b8b17969f3f8620256b"></a>

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

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

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">RX DMA Channel</p>
> </div>

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

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

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

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

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;resets&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/interrupt-controller/irq.h&gt;

#include &lt;dt-bindings/clock/sun50i-h6-ccu.h&gt;
#include &lt;dt-bindings/reset/sun50i-h6-ccu.h&gt;

dmic: dmic@5095000 {
  #sound-dai-cells = &lt;0&gt;;
  compatible = "allwinner,sun50i-h6-dmic";
  reg = &lt;0x05095000 0x400&gt;;
  interrupts = &lt;GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH&gt;;
  clocks = &lt;&amp;ccu CLK_BUS_DMIC&gt;, &lt;&amp;ccu CLK_DMIC&gt;;
  clock-names = "bus", "mod";
  dmas = &lt;&amp;dma 7&gt;;
  dma-names = "rx";
  resets = &lt;&amp;ccu RST_BUS_DMIC&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+ OR BSD-2-Clause)</span></p>

</details>

---

# Allwinner A23 Analog Codec

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

> Device-tree binding reference for Allwinner A23 Analog Codec.

<!-- 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;sound&#47;allwinner&#44;sun8i&#45;a23&#45;codec&#45;analog&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;codec&#45;analog&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;allwinner&#44;sun8i&#45;v3&#45;codec&#45;analog&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;codec&#45;analog&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;allwinner&#44;sun8i&#45;v3s&#45;codec&#45;analog&#34;</code></span>

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

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

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

**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>

<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">codec_analog: codec-analog@1f015c0 {
  compatible = "allwinner,sun8i-h3-codec-analog";
  reg = &lt;0x01f015c0 0x4&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</span></p>

<p id="dt-comment-1"><strong>Line 16:</strong> <span> FIXME: This is documented in the PRCM binding, but needs to be</span></p>

<p id="dt-comment-2"><strong>Line 17:</strong> <span> migrated here at some point</span></p>

<p id="dt-comment-3"><strong>Line 18:</strong> <span> - allwinner,sun8i-a23-codec-analog</span></p>

</details>

---

# Allwinner A33 Codec

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

> Device-tree binding reference for Allwinner A33 Codec.

<!-- 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;sound&#47;allwinner&#44;sun8i&#45;a33&#45;codec&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

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

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

**Minimum value (<code>minimum</code>):** <span id="dt-085784b71bcdd13ffc09"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-247fea9820d90dd439aa"><code>1</code></span>

<div id="dt-c6fec2b67f85839e5c16">
<p style="white-space: pre-wrap">A value of 0 is deprecated. When used, it only allows access to the ADC/DAC and AIF1 (the CPU DAI), not the other two AIFs/DAIs.</p>
</div>

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;codec&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;allwinner&#44;sun8i&#45;a33&#45;codec&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;allwinner&#44;sun8i&#45;a33&#45;codec&#34;</code></span>

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

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

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

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

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

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

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Bus Clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Module Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;bus&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mod&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">audio-codec@1c22e00 {
  #sound-dai-cells = &lt;1&gt;;
  compatible = "allwinner,sun8i-a33-codec";
  reg = &lt;0x01c22e00 0x400&gt;;
  interrupts = &lt;0 29 4&gt;;
  clocks = &lt;&amp;ccu 47&gt;, &lt;&amp;ccu 92&gt;;
  clock-names = "bus", "mod";
};
</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</span></p>

</details>

---

# Amlogic AIU audio output controller

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

> Device-tree binding reference for Amlogic AIU audio output controller.

<!-- 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;sound&#47;amlogic&#44;aiu&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;audio&#45;controller&#64;&#46;&#42;&#34;</code></span>

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

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

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

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

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

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

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;amlogic&#44;aiu&#45;gxbb&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;amlogic&#44;aiu&#45;gxl&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;amlogic&#44;aiu&#45;meson8&#34;</code></span>, <span id="dt-24a1253e29125294194d"><code>&#34;amlogic&#44;aiu&#45;meson8b&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;amlogic&#44;aiu&#34;</code></span>

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">AIU peripheral clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">I2S peripheral clock</p>
> </div>

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

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">I2S output clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">I2S master clock</p>
> </div>

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

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">I2S mixer clock</p>
> </div>

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

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">SPDIF peripheral clock</p>
> </div>

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

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">SPDIF output clock</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">SPDIF master clock</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">SPDIF master clock multiplexer</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;i2s&#95;pclk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;i2s&#95;aoclk&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;i2s&#95;mclk&#34;</code></span>

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

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;i2s&#95;mixer&#34;</code></span>

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

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;spdif&#95;pclk&#34;</code></span>

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

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;spdif&#95;aoclk&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;spdif&#95;mclk&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;spdif&#95;mclk&#95;sel&#34;</code></span>

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">I2S interrupt line</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">SPDIF interrupt line</p>
> </div>

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

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

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;i2s&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;spdif&#34;</code></span>

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

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

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

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

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

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

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;reg&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;resets&#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/clock/gxbb-clkc.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/reset/amlogic,meson-gxbb-reset.h&gt;

aiu: audio-controller@5400 {
    compatible = "amlogic,aiu-gxl", "amlogic,aiu";
    #sound-dai-cells = &lt;2&gt;;
    reg = &lt;0x5400 0x2ac&gt;;
    interrupts = &lt;GIC_SPI 48 IRQ_TYPE_EDGE_RISING&gt;,
                 &lt;GIC_SPI 50 IRQ_TYPE_EDGE_RISING&gt;;
    interrupt-names = "i2s", "spdif";
    clocks = &lt;&amp;clkc CLKID_AIU_GLUE&gt;,
             &lt;&amp;clkc CLKID_I2S_OUT&gt;,
             &lt;&amp;clkc CLKID_AOCLK_GATE&gt;,
             &lt;&amp;clkc CLKID_CTS_AMCLK&gt;,
             &lt;&amp;clkc CLKID_MIXER_IFACE&gt;,
             &lt;&amp;clkc CLKID_IEC958&gt;,
             &lt;&amp;clkc CLKID_IEC958_GATE&gt;,
             &lt;&amp;clkc CLKID_CTS_MCLK_I958&gt;,
             &lt;&amp;clkc CLKID_CTS_I958&gt;;
    clock-names = "pclk",
                  "i2s_pclk",
                  "i2s_aoclk",
                  "i2s_mclk",
                  "i2s_mixer",
                  "spdif_pclk",
                  "spdif_aoclk",
                  "spdif_mclk",
                  "spdif_mclk_sel";
    resets = &lt;&amp;reset RESET_AIU&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</span></p>

</details>

---

# Amlogic AXG Audio FIFO controllers

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

> Device-tree binding reference for Amlogic AXG Audio FIFO controllers.

<!-- 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;amlogic&#44;axg&#45;fifo&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;amlogic&#44;axg&#45;toddr&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;amlogic&#44;axg&#45;frddr&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;amlogic&#44;g12a&#45;toddr&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;amlogic&#44;sm1&#45;toddr&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;amlogic&#44;axg&#45;toddr&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;amlogic&#44;g12a&#45;frddr&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;amlogic&#44;sm1&#45;frddr&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;amlogic&#44;axg&#45;frddr&#34;</code></span>

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral clock</p>
> </div>

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

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

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

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

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>2</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — not listed as required here

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

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

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

### <code>amlogic&#44;fifo&#45;depth</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-db67c833612c9fe40014">[<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-de4af3dd697bcc627242">
<p style="white-space: pre-wrap">Size of the controller's fifo in bytes</p>
</div>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;resets&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;amlogic&#44;fifo&#45;depth&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;amlogic&#44;g12a&#45;toddr&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;amlogic&#44;sm1&#45;toddr&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;amlogic&#44;g12a&#45;frddr&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;amlogic&#44;sm1&#45;frddr&#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-205788d1fea947f3ac3d"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-7913a4a1684026249ff7"><code>2</code></span>
> >
> > <a id="dt-f7b8a86db6c4d64b734c"></a>
> >
> > **<code>reset&#45;names</code> — required here**
> >
> > <a id="dt-20b51bf823e0567bd56a"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-e440f3c31417e61dcf25"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-cb68332b96a371000163"><code>&#34;arb&#34;</code></span>
> >
> > <a id="dt-44f2100758f986aaa461"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-51a363e46887fdd8854f"><code>&#34;rst&#34;</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;reset&#45;names&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-206e6b4cce0e6c39ff27"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-4708391f99322fee01a2"><code>1</code></span>
> >
> > <a id="dt-5b0ef6f399b58368f0df"></a>
> >
> > **<code>reset&#45;names</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-4a38bf8c744e126a883f"><code>&#34;arb&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/axg-audio-clkc.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/reset/amlogic,meson-axg-audio-arb.h&gt;
#include &lt;dt-bindings/reset/amlogic,meson-g12a-audio-reset.h&gt;

audio-controller@1c0 {
    compatible = "amlogic,g12a-frddr", "amlogic,axg-frddr";
    reg = &lt;0x1c0 0x1c&gt;;
    #sound-dai-cells = &lt;0&gt;;
    clocks = &lt;&amp;clkc_audio AUD_CLKID_FRDDR_A&gt;;
    interrupts = &lt;GIC_SPI 88 IRQ_TYPE_EDGE_RISING&gt;;
    resets = &lt;&amp;arb&gt;, &lt;&amp;clkc_audio AUD_RESET_FRDDR_A&gt;;
    reset-names = "arb", "rst";
    amlogic,fifo-depth = &lt;512&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>

</details>

---

# Amlogic Audio AXG PDM input

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

> Device-tree binding reference for Amlogic Audio AXG PDM input.

<!-- 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;amlogic&#44;axg&#45;pdm&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;amlogic&#44;g12a&#45;pdm&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;amlogic&#44;sm1&#45;pdm&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;amlogic&#44;axg&#45;pdm&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;amlogic&#44;axg&#45;pdm&#34;</code></span>

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">PDM digital clock</p>
> </div>

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

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">DSP system clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;dclk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;sysclk&#34;</code></span>

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

### <code>resets</code> — not listed as required here

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

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;amlogic&#44;g12a&#45;pdm&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;amlogic&#44;sm1&#45;pdm&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;resets&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-206e6b4cce0e6c39ff27"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/axg-audio-clkc.h&gt;

audio-controller@ff632000 {
    compatible = "amlogic,axg-pdm";
    reg = &lt;0xff632000 0x34&gt;;
    #sound-dai-cells = &lt;0&gt;;
    clocks = &lt;&amp;clkc_audio AUD_CLKID_PDM&gt;,
             &lt;&amp;clkc_audio AUD_CLKID_PDM_DCLK&gt;,
             &lt;&amp;clkc_audio AUD_CLKID_PDM_SYSCLK&gt;;
    clock-names = "pclk", "dclk", "sysclk";
};
</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>

</details>

---

# Amlogic AXG sound card

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

> Device-tree binding reference for Amlogic AXG sound card.

<!-- 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;amlogic&#44;axg&#45;sound&#45;card&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

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

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

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

### <code>compatible</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;amlogic&#44;axg&#45;sound&#45;card&#34;</code></span>

<a id="dt-92d3cb2c57cfa58618be"></a>

### <code>audio&#45;aux&#45;devs</code> — not listed as required here

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

<div id="dt-50706304ab7bd3f53f75">
<p style="white-space: pre-wrap">list of auxiliary devices</p>
</div>

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

### <code>audio&#45;widgets</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0a06a332be9f64501c83">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-51633fb0c7a2a3903455">
<p style="white-space: pre-wrap">A list off component DAPM widget. Each entry is a pair of strings, the first being the widget type, the second being the widget name</p>
</div>

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

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

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Base PLL clocks of audio susbsytem, used to configure base clock frequencies for different audio use-cases.</p>
</div>

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

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

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

### <code>&#94;dai&#45;link&#45;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

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

<a id="dt-14842ea983c6ccc7d4b5"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-7c27ca26e21f660e1e36">
<p style="white-space: pre-wrap">Container for dai-link level properties and the CODEC sub-nodes. There should be at least one (and probably more) subnode of this type</p>
</div>

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

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

<a id="dt-17b16e1260d470cc89cb"></a>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-d2612ab7ffe0719c4791"></a> <span id="dt-cc446460dfd589f39b5a"><code>&#34;i2s&#34;</code></span>, <span id="dt-456640132e1d325d840f"><code>&#34;left&#45;j&#34;</code></span>, <span id="dt-556d0e034eb4ab290ae8"><code>&#34;dsp&#95;a&#34;</code></span>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-aefe254dd99380d31108">[<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-0b3d30e985036e12a214">
<p style="white-space: pre-wrap">Number of slots in use. If omitted, slot number is set to accommodate the largest mask provided.</p>
</div>

**Maximum value (<code>maximum</code>):** <span id="dt-b524d130c629d5fe34ab"><code>32</code></span>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-00869e052feb4449019a">[<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-e767f8373d6c62b5771f">
<p style="white-space: pre-wrap">Width in bits for each slot</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-c1e87854d0eef72a6e61"></a> <span id="dt-041e0bb3a2c653c4a728"><code>8</code></span>, <span id="dt-190eece585f010ac17b0"><code>16</code></span>, <span id="dt-83774068d97fce42c7fb"><code>20</code></span>, <span id="dt-8cfe981c26733ca9a717"><code>24</code></span>, <span id="dt-48b707dbeb51a14b1724"><code>32</code></span>

**Default value (<code>default</code>):** <span id="dt-714142b1c0baa1434998"><code>32</code></span>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4db7319211b427e0e617">[<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-ad755f9af6840efe628a">
<p style="white-space: pre-wrap">Multiplication factor between the frame rate and master clock rate</p>
</div>

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

**<code>sound&#45;dai</code> — required here**

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

<div id="dt-90dc847ff2d69d3831dd">
<p style="white-space: pre-wrap">phandle of the CPU DAI</p>
</div>

<a id="dt-39975eb09b3cd1ede7b8"></a>

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

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

**<code>&#94;dai&#45;tdm&#45;slot&#45;&#40;t&#124;r&#41;x&#45;mask&#45;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression**

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

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

<div id="dt-a30996a230692ae1c256">
<p style="white-space: pre-wrap">Transmit and receive cpu slot masks of each TDM lane When omitted, mask is assumed to have to no slots. A valid interface must have at least one slot, so at least one these mask should be provided with an enabled slot.</p>
</div>

<a id="dt-6a0bbbeda176b3b34179"></a>

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

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

<a id="dt-24d40784aeea4534ff52"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-f75cf825cd0cb630e46a">
<p style="white-space: pre-wrap">dai-link representing backend links should have at least one subnode. One subnode for each codec of the dai-link. dai-link representing frontend links have no codec, therefore have no subnodes</p>
</div>

<a id="dt-0c033f00922f8acbd0ac"></a>

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

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

**<code>sound&#45;dai</code> — required here**

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

<div id="dt-7be1c75d14c5f1640815">
<p style="white-space: pre-wrap">phandle of the codec DAI</p>
</div>

<a id="dt-735779c988cd50bf6112"></a>

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

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

**<code>&#94;dai&#45;tdm&#45;slot&#45;&#40;t&#124;r&#41;x&#45;mask&#36;</code> — name matches this regular expression**

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

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

<div id="dt-e4ad9082da8476c8f376">
<p style="white-space: pre-wrap">Transmit and receive codec slot masks</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-dc98ecd923462e7489e7"></a> <span id="dt-0e60559fddf072e879fb"><code>&#34;sound&#45;dai&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-883bf2b15500b3eb27a0"></a> <span id="dt-26d54f64f6bc2a9b4488"><code>&#34;sound&#45;dai&#34;</code></span>

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

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "amlogic,axg-sound-card";
    model = "AXG-S420";
    audio-aux-devs = &lt;&amp;tdmin_a&gt;, &lt;&amp;tdmout_c&gt;;
    audio-widgets = "Line", "Lineout",
                    "Line", "Linein",
                    "Speaker", "Speaker1 Left",
                    "Speaker", "Speaker1 Right",
                    "Speaker", "Speaker2 Left",
                    "Speaker", "Speaker2 Right";
    audio-routing = "TDMOUT_C IN 0", "FRDDR_A OUT 2",
                    "SPDIFOUT IN 0", "FRDDR_A OUT 3",
                    "TDM_C Playback", "TDMOUT_C OUT",
                    "TDMIN_A IN 2", "TDM_C Capture",
                    "TDMIN_A IN 5", "TDM_C Loopback",
                    "TODDR_A IN 0", "TDMIN_A OUT",
                    "Lineout", "Lineout AOUTL",
                    "Lineout", "Lineout AOUTR",
                    "Speaker1 Left", "SPK1 OUT_A",
                    "Speaker2 Left", "SPK2 OUT_A",
                    "Speaker1 Right", "SPK1 OUT_B",
                    "Speaker2 Right", "SPK2 OUT_B",
                    "Linein AINL", "Linein",
                    "Linein AINR", "Linein";

    dai-link-0 {
        sound-dai = &lt;&amp;frddr_a&gt;;
    };

    dai-link-1 {
        sound-dai = &lt;&amp;toddr_a&gt;;
    };

    dai-link-2 {
        sound-dai = &lt;&amp;tdmif_c&gt;;
        dai-format = "i2s";
        dai-tdm-slot-tx-mask-2 = &lt;1 1&gt;;
        dai-tdm-slot-tx-mask-3 = &lt;1 1&gt;;
        dai-tdm-slot-rx-mask-1 = &lt;1 1&gt;;
        mclk-fs = &lt;256&gt;;

        codec-0 {
            sound-dai = &lt;&amp;lineout&gt;;
        };

        codec-1 {
            sound-dai = &lt;&amp;speaker_amp1&gt;;
        };

        codec-2 {
            sound-dai = &lt;&amp;speaker_amp2&gt;;
        };

        codec-3 {
            sound-dai = &lt;&amp;linein&gt;;
        };
    };

    dai-link-3 {
        sound-dai = &lt;&amp;spdifout&gt;;

        codec {
            sound-dai = &lt;&amp;spdif_dit&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>

</details>

---

# Amlogic Audio AXG SPDIF Input

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

> Device-tree binding reference for Amlogic Audio AXG SPDIF Input.

<!-- 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;amlogic&#44;axg&#45;spdifin&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;amlogic&#44;axg&#45;spdifin&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;amlogic&#44;g12a&#45;spdifin&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;amlogic&#44;sm1&#45;spdifin&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;amlogic&#44;axg&#45;spdifin&#34;</code></span>

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">SPDIF input reference clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;refclk&#34;</code></span>

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

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

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

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

### <code>resets</code> — not listed as required here

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

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><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

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;amlogic&#44;g12a&#45;spdifin&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;amlogic&#44;sm1&#45;spdifin&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;resets&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-206e6b4cce0e6c39ff27"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/axg-audio-clkc.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

audio-controller@400 {
    compatible = "amlogic,axg-spdifin";
    reg = &lt;0x400 0x30&gt;;
    #sound-dai-cells = &lt;0&gt;;
    interrupts = &lt;GIC_SPI 87 IRQ_TYPE_EDGE_RISING&gt;;
    clocks = &lt;&amp;clkc_audio AUD_CLKID_SPDIFIN&gt;,
             &lt;&amp;clkc_audio AUD_CLKID_SPDIFIN_CLK&gt;;
    clock-names = "pclk", "refclk";
};
</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>

</details>

---

# Amlogic Audio AXG SPDIF Output

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

> Device-tree binding reference for Amlogic Audio AXG SPDIF Output.

<!-- 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;amlogic&#44;axg&#45;spdifout&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;amlogic&#44;axg&#45;spdifout&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;amlogic&#44;g12a&#45;spdifout&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;amlogic&#44;sm1&#45;spdifout&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;amlogic&#44;axg&#45;spdifout&#34;</code></span>

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">SPDIF output master clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mclk&#34;</code></span>

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

### <code>resets</code> — not listed as required here

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

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;amlogic&#44;g12a&#45;spdifout&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;amlogic&#44;sm1&#45;spdifout&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;resets&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-206e6b4cce0e6c39ff27"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/axg-audio-clkc.h&gt;

audio-controller@480 {
    compatible = "amlogic,axg-spdifout";
    reg = &lt;0x480 0x50&gt;;
    #sound-dai-cells = &lt;0&gt;;
    clocks = &lt;&amp;clkc_audio AUD_CLKID_SPDIFOUT&gt;,
             &lt;&amp;clkc_audio AUD_CLKID_SPDIFOUT_CLK&gt;;
    clock-names = "pclk", "mclk";
};
</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>

</details>

---

# Amlogic Audio AXG TDM formatters

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

> Device-tree binding reference for Amlogic Audio AXG TDM formatters.

<!-- 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;amlogic&#44;axg&#45;tdm&#45;formatters&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

<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;amlogic&#44;g12a&#45;tdmout&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;amlogic&#44;sm1&#45;tdmout&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;amlogic&#44;axg&#45;tdmout&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;amlogic&#44;g12a&#45;tdmin&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;amlogic&#44;sm1&#45;tdmin&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;amlogic&#44;axg&#45;tdmin&#34;</code></span>

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Bit clock</p>
> </div>

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

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">Bit clock input multiplexer</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">Sample clock</p>
> </div>

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

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">Sample clock input multiplexer</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;sclk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;sclk&#95;sel&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;lrclk&#34;</code></span>

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

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;lrclk&#95;sel&#34;</code></span>

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

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

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

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

### <code>resets</code> — not listed as required here

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

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>

<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>component&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/component-common.md#dt-root>)</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;amlogic&#44;g12a&#45;tdmin&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;amlogic&#44;sm1&#45;tdmin&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;amlogic&#44;g12a&#45;tdmout&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;amlogic&#44;sm1&#45;tdmout&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;resets&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-206e6b4cce0e6c39ff27"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/axg-audio-clkc.h&gt;
#include &lt;dt-bindings/reset/amlogic,meson-g12a-audio-reset.h&gt;

audio-controller@500 {
    compatible = "amlogic,g12a-tdmout";
    reg = &lt;0x500 0x40&gt;;
    resets = &lt;&amp;clkc_audio AUD_RESET_TDMOUT_A&gt;;
    clocks = &lt;&amp;clkc_audio AUD_CLKID_TDMOUT_A&gt;,
             &lt;&amp;clkc_audio AUD_CLKID_TDMOUT_A_SCLK&gt;,
             &lt;&amp;clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL&gt;,
             &lt;&amp;clkc_audio AUD_CLKID_TDMOUT_A_LRCLK&gt;,
             &lt;&amp;clkc_audio AUD_CLKID_TDMOUT_A_LRCLK&gt;;
    clock-names = "pclk", "sclk", "sclk_sel",
                  "lrclk", "lrclk_sel";
};
</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>

</details>

---

# Amlogic Audio TDM Interfaces

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

> Device-tree binding reference for Amlogic Audio TDM Interfaces.

<!-- 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;amlogic&#44;axg&#45;tdm&#45;iface&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;amlogic&#44;axg&#45;tdm&#45;iface&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Bit clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Sample clock</p>
> </div>

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

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">Master clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;sclk&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;lrclk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;mclk&#34;</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/axg-audio-clkc.h&gt;

audio-controller {
    compatible = "amlogic,axg-tdm-iface";
    #sound-dai-cells = &lt;0&gt;;
    clocks = &lt;&amp;clkc_audio AUD_CLKID_MST_A_SCLK&gt;,
             &lt;&amp;clkc_audio AUD_CLKID_MST_A_LRCLK&gt;,
             &lt;&amp;clkc_audio AUD_CLKID_MST_A_MCLK&gt;;
    clock-names = "sclk", "lrclk", "mclk";
};
</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 27:</strong> <span> optional</span></p>

</details>

---

# Amlogic G12a Internal DAC Control Glue

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

> Device-tree binding reference for Amlogic G12a Internal DAC Control Glue.

<!-- 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;sound&#47;amlogic&#44;g12a&#45;toacodec&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;audio&#45;controller&#64;&#46;&#42;&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;amlogic&#44;g12a&#45;toacodec&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;amlogic&#44;sm1&#45;toacodec&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;amlogic&#44;g12a&#45;toacodec&#34;</code></span>

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

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

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

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

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

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

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;resets&#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/reset/amlogic,meson-g12a-audio-reset.h&gt;

toacodec: audio-controller@740 {
    compatible = "amlogic,g12a-toacodec";
    reg = &lt;0x740 0x4&gt;;
    #sound-dai-cells = &lt;1&gt;;
    resets = &lt;&amp;clkc_audio AUD_RESET_TOACODEC&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</span></p>

</details>

---

# Amlogic G12a HDMI TX Control Glue

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

> Device-tree binding reference for Amlogic G12a HDMI TX Control Glue.

<!-- 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;sound&#47;amlogic&#44;g12a&#45;tohdmitx&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;audio&#45;controller&#64;&#46;&#42;&#34;</code></span>

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;amlogic&#44;g12a&#45;tohdmitx&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;amlogic&#44;sm1&#45;tohdmitx&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;amlogic&#44;g12a&#45;tohdmitx&#34;</code></span>

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

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

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

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

**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;resets&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/reset/amlogic,meson-g12a-audio-reset.h&gt;

tohdmitx: audio-controller@744 {
    compatible = "amlogic,g12a-tohdmitx";
    reg = &lt;0x744 0x4&gt;;
    resets = &lt;&amp;clkc_audio AUD_RESET_TOHDMITX&gt;;
    #sound-dai-cells = &lt;1&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</span></p>

</details>

---

# Amlogic GX sound card

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

> Device-tree binding reference for Amlogic GX sound card.

<!-- 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;sound&#47;amlogic&#44;gx&#45;sound&#45;card&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

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

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

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

### <code>compatible</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;amlogic&#44;gx&#45;sound&#45;card&#34;</code></span>

<a id="dt-92d3cb2c57cfa58618be"></a>

### <code>audio&#45;aux&#45;devs</code> — not listed as required here

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

<div id="dt-50706304ab7bd3f53f75">
<p style="white-space: pre-wrap">list of auxiliary devices</p>
</div>

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

### <code>audio&#45;widgets</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0a06a332be9f64501c83">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-51633fb0c7a2a3903455">
<p style="white-space: pre-wrap">A list off component DAPM widget. Each entry is a pair of strings,
the first being the widget type, the second being the widget name</p>
</div>

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

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

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Base PLL clocks of audio susbsytem, used to configure base clock frequencies for different audio use-cases.</p>
</div>

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

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

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

### <code>&#94;dai&#45;link&#45;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

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

<a id="dt-14842ea983c6ccc7d4b5"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-7c27ca26e21f660e1e36">
<pre><code>dai-link child nodes:
  Container for dai-link level properties and the CODEC sub-nodes.
  There should be at least one (and probably more) subnode of this type</code></pre>
</div>

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

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

<a id="dt-17b16e1260d470cc89cb"></a>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-d2612ab7ffe0719c4791"></a> <span id="dt-cc446460dfd589f39b5a"><code>&#34;i2s&#34;</code></span>, <span id="dt-456640132e1d325d840f"><code>&#34;left&#45;j&#34;</code></span>, <span id="dt-556d0e034eb4ab290ae8"><code>&#34;dsp&#95;a&#34;</code></span>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4db7319211b427e0e617">[<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-ad755f9af6840efe628a">
<p style="white-space: pre-wrap">Multiplication factor between the frame rate and master clock
rate</p>
</div>

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

**<code>sound&#45;dai</code> — required here**

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

<div id="dt-90dc847ff2d69d3831dd">
<p style="white-space: pre-wrap">phandle of the CPU DAI</p>
</div>

<a id="dt-39975eb09b3cd1ede7b8"></a>

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

<a id="dt-6a0bbbeda176b3b34179"></a>

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

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

<a id="dt-24d40784aeea4534ff52"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-f75cf825cd0cb630e46a">
<p style="white-space: pre-wrap">Codecs:
dai-link representing backend links should have at least one subnode.
One subnode for each codec of the dai-link. dai-link representing
frontend links have no codec, therefore have no subnodes</p>
</div>

<a id="dt-0c033f00922f8acbd0ac"></a>

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

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

**<code>sound&#45;dai</code> — required here**

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

<div id="dt-7be1c75d14c5f1640815">
<p style="white-space: pre-wrap">phandle of the codec DAI</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-dc98ecd923462e7489e7"></a> <span id="dt-0e60559fddf072e879fb"><code>&#34;sound&#45;dai&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-883bf2b15500b3eb27a0"></a> <span id="dt-26d54f64f6bc2a9b4488"><code>&#34;sound&#45;dai&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;model&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;dai&#45;link&#45;0&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "amlogic,gx-sound-card";
    model = "GXL-ACME-S905X-FOO";
    audio-aux-devs = &lt;&amp;amp&gt;;
    audio-routing = "I2S ENCODER I2S IN", "I2S FIFO Playback";

    dai-link-0 {
           sound-dai = &lt;&amp;i2s_fifo&gt;;
    };

    dai-link-1 {
            sound-dai = &lt;&amp;i2s_encoder&gt;;
            dai-format = "i2s";
            mclk-fs = &lt;256&gt;;

            codec-0 {
                    sound-dai = &lt;&amp;codec0&gt;;
            };

            codec-1 {
                    sound-dai = &lt;&amp;codec1&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</span></p>

</details>

---

# Amlogic T9015 Internal Audio DAC

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

> Device-tree binding reference for Amlogic T9015 Internal Audio DAC.

<!-- 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;sound&#47;amlogic&#44;t9015&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;audio&#45;controller&#64;&#46;&#42;&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;amlogic&#44;t9015&#34;</code></span>

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

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

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

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

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

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

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

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">Analogue power supply.</p>
</div>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;resets&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;AVDD&#45;supply&#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/clock/g12a-clkc.h&gt;
#include &lt;dt-bindings/reset/amlogic,meson-g12a-reset.h&gt;

acodec: audio-controller@32000 {
    compatible = "amlogic,t9015";
    reg = &lt;0x32000 0x14&gt;;
    #sound-dai-cells = &lt;0&gt;;
    clocks = &lt;&amp;clkc CLKID_AUDIO_CODEC&gt;;
    clock-names = "pclk";
    resets = &lt;&amp;reset RESET_AUDIO_CODEC&gt;;
    AVDD-supply = &lt;&amp;vddao_1v8&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</span></p>

</details>

---

# Apple MCA I2S transceiver

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

> Device-tree binding reference for Apple MCA I2S transceiver.

<!-- 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;apple&#44;mca&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">MCA is an I2S transceiver peripheral found on M1 and other Apple chips. It is
composed of a number of identical clusters which can operate independently
or in an interlinked fashion. Up to 6 clusters have been seen on an MCA.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Martin Povišer &#60;povik&#43;lin&#64;cutebit&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;apple&#44;t6020&#45;mca&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;apple&#44;t8103&#45;mca&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;apple&#44;t6000&#45;mca&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;apple&#44;t8103&#45;mca&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;apple&#44;t8112&#45;mca&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;apple&#44;mca&#34;</code></span>

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

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

<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">Register region of the MCA clusters proper</p>
> </div>

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

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">Register region of the DMA glue and its FIFOs</p>
> </div>

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

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

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">One interrupt per each cluster</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>1</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>0</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>16</code></span>

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

<div id="dt-af21a91b793bee877863">
<p style="white-space: pre-wrap">DMA channels corresponding to the SERDES units in the peripheral. They are listed in groups of four per cluster, and within the group they are given as associated to the TXA, RXA, TXB, RXB units.</p>
</div>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-6d0b8f093f81278007f9"><code>16</code></span>

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx0a&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx0a&#34;</code></span>

<a id="dt-0e2aefacbafcf9a0980e"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-3f514d275e33beb6e5ff"><code>&#34;tx0b&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-2e2c6a37a765a25a4ed3"><code>&#34;rx0b&#34;</code></span>

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

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-dcd81bd962f6a20a7654"><code>&#34;tx1a&#34;</code></span>

<a id="dt-5717ba9ebdfea611d8b3"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-34afef879a5be5b38e9e"><code>&#34;rx1a&#34;</code></span>

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

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-f42c90f6f5ca180fe91a"><code>&#34;tx1b&#34;</code></span>

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

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-6667d987b56726c4c8d4"><code>&#34;rx1b&#34;</code></span>

<a id="dt-0c8d4e4d4bb44405bb84"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-6195e7c5eb99649ef4f0"><code>&#34;tx2a&#34;</code></span>

<a id="dt-004aa747c694b8968d85"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-e785ffd4a774e689c975"><code>&#34;rx2a&#34;</code></span>

<a id="dt-6e1be2fcd2d6ce8157e6"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-af76dee0991e0cd2dbd2"><code>&#34;tx2b&#34;</code></span>

<a id="dt-973750556fc1c1a80961"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-fd1054b2f42a7faf0fe2"><code>&#34;rx2b&#34;</code></span>

<a id="dt-52640f1b15c1603abdcc"></a>

**Item 13**

> **Exact value (<code>const</code>):** <span id="dt-b92d5ad77a1d8bd90186"><code>&#34;tx3a&#34;</code></span>

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

**Item 14**

> **Exact value (<code>const</code>):** <span id="dt-e2d81394281b2c2bc593"><code>&#34;rx3a&#34;</code></span>

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

**Item 15**

> **Exact value (<code>const</code>):** <span id="dt-8aa0311d28a7582eb714"><code>&#34;tx3b&#34;</code></span>

<a id="dt-808a9878d2e862f88ef9"></a>

**Item 16**

> **Exact value (<code>const</code>):** <span id="dt-f7be8b6a5ab32b1259ec"><code>&#34;rx3b&#34;</code></span>

<a id="dt-21de9cdcfa8753f7d4fd"></a>

**Item 17**

> **Exact value (<code>const</code>):** <span id="dt-a55d5d67fb770419c032"><code>&#34;tx4a&#34;</code></span>

<a id="dt-3974458f4d8c2996e02f"></a>

**Item 18**

> **Exact value (<code>const</code>):** <span id="dt-c7fff26ca76bc7932f01"><code>&#34;rx4a&#34;</code></span>

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

**Item 19**

> **Exact value (<code>const</code>):** <span id="dt-e744eb1c2984d12115cf"><code>&#34;tx4b&#34;</code></span>

<a id="dt-469c6db973f6aea13947"></a>

**Item 20**

> **Exact value (<code>const</code>):** <span id="dt-7c50fb8790a4f9045dfb"><code>&#34;rx4b&#34;</code></span>

<a id="dt-243fe5565ba7b8db08f0"></a>

**Item 21**

> **Exact value (<code>const</code>):** <span id="dt-180a6761026ca10bfce5"><code>&#34;tx5a&#34;</code></span>

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

**Item 22**

> **Exact value (<code>const</code>):** <span id="dt-b7d2d4bc3e2e0a395f0c"><code>&#34;rx5a&#34;</code></span>

<a id="dt-1825f363592388c506b9"></a>

**Item 23**

> **Exact value (<code>const</code>):** <span id="dt-28c6321ebff06097308b"><code>&#34;tx5b&#34;</code></span>

<a id="dt-22271d53336624c50fff"></a>

**Item 24**

> **Exact value (<code>const</code>):** <span id="dt-8f0169a1bbc6cab4b3d3"><code>&#34;rx5b&#34;</code></span>

<div id="dt-af25ba0a34c601b5aec2">
<p style="white-space: pre-wrap">Names for the DMA channels: 'tx'/'rx', then cluster number, then 'a'/'b'
based on the associated SERDES unit.</p>
</div>

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

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

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Clusters' input reference clock.</p>
</div>

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

### <code>resets</code> — not listed as required here

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

<a id="dt-030bda573e8c53177f1a"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-9a109cbf47cc0add3885"><code>5</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>7</code></span>

<div id="dt-33c740e5969dba94b4e6">
<p style="white-space: pre-wrap">First a general power domain for register access, then the power domains of individual clusters for their operation.</p>
</div>

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

**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;dmas&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">mca: i2s@9b600000 {
  compatible = "apple,t6000-mca", "apple,mca";
  reg = &lt;0x9b600000 0x10000&gt;,
        &lt;0x9b200000 0x20000&gt;;

  clocks = &lt;&amp;nco 0&gt;, &lt;&amp;nco 1&gt;, &lt;&amp;nco 2&gt;, &lt;&amp;nco 3&gt;;
  power-domains = &lt;&amp;ps_audio_p&gt;, &lt;&amp;ps_mca0&gt;, &lt;&amp;ps_mca1&gt;,
                  &lt;&amp;ps_mca2&gt;, &lt;&amp;ps_mca3&gt;;
  dmas = &lt;&amp;admac 0&gt;, &lt;&amp;admac 1&gt;, &lt;&amp;admac 2&gt;, &lt;&amp;admac 3&gt;,
         &lt;&amp;admac 4&gt;, &lt;&amp;admac 5&gt;, &lt;&amp;admac 6&gt;, &lt;&amp;admac 7&gt;,
         &lt;&amp;admac 8&gt;, &lt;&amp;admac 9&gt;, &lt;&amp;admac 10&gt;, &lt;&amp;admac 11&gt;,
         &lt;&amp;admac 12&gt;, &lt;&amp;admac 13&gt;, &lt;&amp;admac 14&gt;, &lt;&amp;admac 15&gt;;
  dma-names = "tx0a", "rx0a", "tx0b", "rx0b",
              "tx1a", "rx1a", "tx1b", "rx1b",
              "tx2a", "rx2a", "tx2b", "rx2b",
              "tx3a", "rx3a", "tx3b", "rx3b";

  #sound-dai-cells = &lt;1&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 28:</strong> <span> Do not add additional SoC to this list.</span></p>

</details>

---

# Arm Ltd. PrimeCell PL041 AACI sound interface

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

> Device-tree binding reference for Arm Ltd. PrimeCell PL041 AACI sound interface.

<!-- 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;arm&#44;pl041&#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;Andre Przywara &#60;andre&#46;przywara&#64;arm&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Arm PrimeCell Advanced Audio CODEC Interface (AACI) is an AMBA compliant peripheral that provides communication with an audio CODEC using the AC-link protocol.</p>
</div>

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

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

> <a id="dt-54d143fae2406295c883"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-e3400bab629503b08322"></a>
>
> #### <code>compatible</code> — required here
>
> <a id="dt-2ae4f0f9580bb5b2e406"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Exact value (<code>const</code>):** <span id="dt-ec9d1b9a16d82a7e3a72"><code>&#34;arm&#44;pl041&#34;</code></span>
>
> **Required in this object (<code>required</code>):** <a id="dt-c7b135d3aebb6d627788"></a> <span id="dt-7b7a89ef483af1198868"><code>&#34;compatible&#34;</code></span>

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

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

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

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;arm&#44;pl041&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;arm&#44;primecell&#34;</code></span>

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

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

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

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

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

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

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">APB register access clock</p>
</div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;apb&#95;pclk&#34;</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#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">audio-controller@40000 {
    compatible = "arm,pl041", "arm,primecell";
    reg = &lt;0x040000 0x1000&gt;;
    interrupts = &lt;11&gt;;
    clocks = &lt;&amp;v2m_clk24mhz&gt;;
    clock-names = "apb_pclk";
};
</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 17:</strong> <span> We need a select here so we don't match all nodes with 'arm,primecell'</span></p>

</details>

---

# AK4104 S/PDIF transmitter

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

> Device-tree binding reference for AK4104 S/PDIF transmitter.

<!-- 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;asahi&#45;kasei&#44;ak4104&#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>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Daniel Mack &#60;github&#64;zonque&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Xiaxi Shen &#60;shenxiaxi26&#64;gmail&#46;com&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;asahi&#45;kasei&#44;ak4104&#34;</code></span>

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">Chip select number on the SPI bus</p>
</div>

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

<a id="dt-236855bde9eebcc9d904"></a>

### <code>vdd&#45;supply</code> — required here

<div id="dt-bc3e69b335e23d461899">
<p style="white-space: pre-wrap">A regulator node providing between 2.7V and 3.6V.</p>
</div>

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

### <code>reset&#45;gpios</code> — not listed as required here

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

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">Optional GPIO spec for the reset pin, deasserted before communication starts.</p>
</div>

**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;vdd&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@0 {
        compatible = "asahi-kasei,ak4104";
        reg = &lt;0&gt;;
        vdd-supply = &lt;&amp;vdd_3v3_reg&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>

</details>

---

# AK4375 DAC and headphones amplifier

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

> Device-tree binding reference for AK4375 DAC and headphones amplifier.

<!-- 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;asahi&#45;kasei&#44;ak4375&#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;Vincent Knecht &#60;vincent&#46;knecht&#64;mailoo&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;asahi&#45;kasei&#44;ak4375&#34;</code></span>

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-14397a69ba55f41119c5"></a>

### <code>avdd&#45;supply</code> — required here

<div id="dt-c928412db05126ef65e3">
<p style="white-space: pre-wrap">regulator phandle for the AVDD power supply.</p>
</div>

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

### <code>tvdd&#45;supply</code> — required here

<div id="dt-8c91d1fa15ce1149706c">
<p style="white-space: pre-wrap">regulator phandle for the TVDD power supply.</p>
</div>

<a id="dt-592dce04800fc99e7598"></a>

### <code>pdn&#45;gpios</code> — not listed as required here

<div id="dt-4a7f7348ec24d8961ec0">
<p style="white-space: pre-wrap">optional GPIO to set the PDN pin.</p>
</div>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;avdd&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;tvdd&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  headphones: audio-codec@10 {
    compatible = "asahi-kasei,ak4375";
    reg = &lt;0x10&gt;;
    avdd-supply = &lt;&amp;reg_headphones_avdd&gt;;
    tvdd-supply = &lt;&amp;pm8916_l6&gt;;
    pdn-gpios = &lt;&amp;msmgpio 114 GPIO_ACTIVE_HIGH&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;headphones_pdn_default&gt;;
    #sound-dai-cells = &lt;0&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>

</details>

---

# AK4458 audio DAC

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

> Device-tree binding reference for AK4458 audio DAC.

<!-- 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;asahi&#45;kasei&#44;ak4458&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<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;asahi&#45;kasei&#44;ak4458&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;asahi&#45;kasei&#44;ak4497&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

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

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — not listed as required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">Analog power supply</p>
</div>

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

### <code>DVDD&#45;supply</code> — not listed as required here

<div id="dt-ef89d6f7bbce0e649a3a">
<p style="white-space: pre-wrap">Digital power supply</p>
</div>

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

### <code>reset&#45;gpios</code> — not listed as required here

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

<a id="dt-406caea147a245139462"></a>

### <code>mute&#45;gpios</code> — not listed as required here

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

<div id="dt-c3c4e6f36ce3c92049e8">
<p style="white-space: pre-wrap">GPIO used to mute all the outputs</p>
</div>

<a id="dt-80fc4651fee332e5bdf8"></a>

### <code>dsd&#45;path</code> — not listed as required here

<div id="dt-1e28bc79f01e03fb96d9">
<p style="white-space: pre-wrap">Select DSD input pins for ak4497</p>
</div>

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

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

<a id="dt-26ad8e1fd2fcfd83ea20"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-642cd73e02eaed6efac5"><code>0</code></span>
>
> <div id="dt-ecc5eeadb28993666a82">
> <p style="white-space: pre-wrap">select #16, #17, #19 pins</p>
> </div>

<a id="dt-0b2f87377c44300ba3b7"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-2de6ad7c0e0ad513d77b"><code>1</code></span>
>
> <div id="dt-168882ca7956cf72861e">
> <p style="white-space: pre-wrap">select #3, #4, #5 pins</p>
> </div>

**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>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;asahi&#45;kasei&#44;ak4458&#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-9b76a23c437ed9f486ae"></a>
> >
> > **<code>dsd&#45;path</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@10 {
        compatible = "asahi-kasei,ak4458";
        reg = &lt;0x10&gt;;
        reset-gpios = &lt;&amp;gpio1 10 GPIO_ACTIVE_LOW&gt;;
        mute-gpios = &lt;&amp;gpio1 11 GPIO_ACTIVE_HIGH&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>

</details>

---

# AK4554 sound codec

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

> Device-tree binding reference for AK4554 sound codec.

<!-- 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;asahi&#45;kasei&#44;ak4554&#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>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Liam Girdwood &#60;lgirdwood&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Mark Brown &#60;broonie&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;asahi&#45;kasei&#44;ak4554&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#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">codec {
    compatible = "asahi-kasei,ak4554";
};
</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>

</details>

---

# AK4613 I2C transmitter

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

> Device-tree binding reference for AK4613 I2C transmitter.

<!-- 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;asahi&#45;kasei&#44;ak4613&#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-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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;asahi&#45;kasei&#44;ak4613&#34;</code></span>

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

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

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

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>audio&#45;graph&#45;port&#46;yaml&#35;&#47;definitions&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-2f1c77791519f9405908>)</span>

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

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

### <code>&#94;asahi&#45;kasei&#44;in&#91;1&#45;2&#93;&#45;single&#45;end&#36;</code> — name matches this regular expression

<div id="dt-e07f792716d0ca1a83f5">
<p style="white-space: pre-wrap">Input Pin 1 - 2.</p>
</div>

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

### <code>&#94;asahi&#45;kasei&#44;out&#91;1&#45;6&#93;&#45;single&#45;end&#36;</code> — name matches this regular expression

<div id="dt-0ed675247564e2ee30e0">
<p style="white-space: pre-wrap">Output Pin 1 - 6.</p>
</div>

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

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    ak4613: codec@10 {
        compatible = "asahi-kasei,ak4613";
        reg = &lt;0x10&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>

</details>

---

# AK4619 I2C transmitter

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

> Device-tree binding reference for AK4619 I2C transmitter.

<!-- 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;asahi&#45;kasei&#44;ak4619&#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>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Khanh Le &#60;khanh&#46;le&#46;xr&#64;renesas&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;asahi&#45;kasei&#44;ak4619&#34;</code></span>

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

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

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

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

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

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

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@10 {
        compatible = "asahi-kasei,ak4619";
        reg = &lt;0x10&gt;;

        clocks = &lt;&amp;rcar_sound&gt;;
        clock-names = "mclk";

        #sound-dai-cells = &lt;0&gt;;
        port {
             ak4619_endpoint: endpoint {
                   remote-endpoint = &lt;&amp;rsnd_endpoint&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>

</details>

---

# AK4642 I2C transmitter

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

> Device-tree binding reference for AK4642 I2C transmitter.

<!-- 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;sound&#47;asahi&#45;kasei&#44;ak4642&#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-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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;asahi&#45;kasei&#44;ak4642&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;asahi&#45;kasei&#44;ak4643&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;asahi&#45;kasei&#44;ak4648&#34;</code></span>

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

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

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

<a id="dt-7471877b51a93881192b"></a>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

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

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

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

<a id="dt-0298421e73bc073162cc"></a>

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

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">common clock binding; frequency of MCKO</p>
</div>

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

### <code>clock&#45;output&#45;names</code> — not listed as required here

<div id="dt-1944bc0b47114a0d6f2d">
<p style="white-space: pre-wrap">common clock name</p>
</div>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    ak4643: codec@12 {
        compatible = "asahi-kasei,ak4643";
        #sound-dai-cells = &lt;0&gt;;
        reg = &lt;0x12&gt;;
        #clock-cells = &lt;0&gt;;
        clocks = &lt;&amp;audio_clock&gt;;
        clock-frequency = &lt;12288000&gt;;
        clock-output-names = "ak4643_mcko";
    };
};
</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</span></p>

</details>

---

# AK5558 8 channel differential 32-bit delta-sigma ADC

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

> Device-tree binding reference for AK5558 8 channel differential 32-bit delta-sigma ADC.

<!-- 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;asahi&#45;kasei&#44;ak5558&#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;Junichi Wakasugi &#60;wakasugi&#46;jb&#64;om&#46;asahi&#45;kasei&#46;co&#46;jp&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mihai Serban &#60;mihai&#46;serban&#64;nxp&#46;com&#62;&#34;</code></span>

<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;asahi&#45;kasei&#44;ak5552&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;asahi&#45;kasei&#44;ak5558&#34;</code></span>

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

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

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

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — not listed as required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">A 1.8V supply that powers up the AVDD pin.</p>
</div>

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

### <code>DVDD&#45;supply</code> — not listed as required here

<div id="dt-ef89d6f7bbce0e649a3a">
<p style="white-space: pre-wrap">A 1.2V supply that powers up the DVDD pin.</p>
</div>

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

### <code>reset&#45;gpios</code> — not listed as required here

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

**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>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    ak5558: codec@10 {
        compatible = "asahi-kasei,ak5558";
        reg = &lt;0x10&gt;;
        reset-gpios = &lt;&amp;gpio1 10 GPIO_ACTIVE_LOW&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>

</details>

---

# Atmel wm8904 audio codec complex

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

> Device-tree binding reference for Atmel wm8904 audio codec complex.

<!-- SPDX-License-Identifier: (GPL-2.0 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;atmel&#44;asoc&#45;wm8904&#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;Dharma Balasubiramani &#60;dharma&#46;b&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The ASoC audio complex configuration for Atmel with WM8904 audio codec.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;atmel&#44;asoc&#45;wm8904&#34;</code></span>

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

### <code>atmel&#44;model</code> — required here

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

<div id="dt-51f7572871193845a185">
<p style="white-space: pre-wrap">The user-visible name of this sound complex.</p>
</div>

<a id="dt-17acba1af86d88d6de8a"></a>

### <code>atmel&#44;ssc&#45;controller</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bf20062a9e98aae6a48c">[<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-2a47413970e26497f7c2">
<p style="white-space: pre-wrap">The phandle of the SSC controller.</p>
</div>

<a id="dt-170962ecbfbea0fe083e"></a>

### <code>atmel&#44;audio&#45;codec</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-75ccf31bfb674823275c">[<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-5c7f746444aa02f2401f">
<p style="white-space: pre-wrap">The phandle of the WM8731 audio codec.</p>
</div>

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

### <code>atmel&#44;audio&#45;routing</code> — required here

<div id="dt-2088ab9b9ce06782c91b">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-66d83854237adb6c0cb4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-6acb303e8c957b611042"></a> <span id="dt-6878975e77392c5923ce"><code>&#34;Headphone Jack&#34;</code></span>, <span id="dt-7fb7c9a1fb7de399e63f"><code>&#34;Line In Jack&#34;</code></span>, <span id="dt-f4a0f2604fd89b73c2e8"><code>&#34;Mic&#34;</code></span>, <span id="dt-544e96a78e27fb62fd34"><code>&#34;IN1L&#34;</code></span>, <span id="dt-acd048f5177210394e5a"><code>&#34;IN1R&#34;</code></span>, <span id="dt-0e1e1665141035d200e2"><code>&#34;IN2L&#34;</code></span>, <span id="dt-5f45f3cd4b340f8bed7e"><code>&#34;IN2R&#34;</code></span>, <span id="dt-aa5a7e90ca31a99c4837"><code>&#34;IN3L&#34;</code></span>, <span id="dt-3cf75b03dc94ced3d7c0"><code>&#34;IN3R&#34;</code></span>, <span id="dt-92e7c8e98d138ba45556"><code>&#34;HPOUTL&#34;</code></span>, <span id="dt-56b3cf426529f83b3961"><code>&#34;HPOUTR&#34;</code></span>, <span id="dt-4550a9c33b7a2ad700b3"><code>&#34;LINEOUTL&#34;</code></span>, <span id="dt-c1de7b1c755fbb8513d4"><code>&#34;LINEOUTR&#34;</code></span>, <span id="dt-a6eb05b972db621f876b"><code>&#34;MICBIAS&#34;</code></span>

**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;atmel&#44;model&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;atmel&#44;audio&#45;routing&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;atmel&#44;ssc&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;atmel&#44;audio&#45;codec&#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">sound {
    compatible = "atmel,asoc-wm8904";
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_pck0_as_mck&gt;;

    atmel,model = "wm8904 @ AT91SAM9N12EK";

    atmel,audio-routing =
            "Headphone Jack", "HPOUTL",
            "Headphone Jack", "HPOUTR",
            "IN2L", "Line In Jack",
            "IN2R", "Line In Jack",
            "Mic", "MICBIAS",
            "IN1L", "Mic";

    atmel,ssc-controller = &lt;&amp;ssc0&gt;;
    atmel,audio-codec = &lt;&amp;wm8904&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 39:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 43:</strong> <span> WM8904 CODEC Pins</span></p>

</details>

---

# Atmel Serial Synchronous Serial (SSC)

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

> Device-tree binding reference for Atmel Serial Synchronous Serial (SSC).

<!-- 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;atmel&#44;at91&#45;ssc&#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;Andrei Simion &#60;andrei&#46;simion&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Atmel Synchronous Serial Controller (SSC) provides a versatile synchronous communication link for audio and telecom applications, supporting protocols like I2S, Short Frame Sync, and Long Frame Sync.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;atmel&#44;at91rm9200&#45;ssc&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;atmel&#44;at91sam9g45&#45;ssc&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;microchip&#44;sam9x7&#45;ssc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;atmel&#44;at91sam9g45&#45;ssc&#34;</code></span>

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

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

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

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

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

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

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

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">TX DMA Channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">RX DMA Channel</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-2fa5314fcaeff59183b2"></a>

### <code>atmel&#44;clk&#45;from&#45;rk&#45;pin</code> — not listed as required here

<div id="dt-b99dbb3483e41e4a9f7a">
<p style="white-space: pre-wrap">Specify the clock source for the SSC (Synchronous Serial Controller) when operating in slave mode. By default, the clock is sourced from the TK pin.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-bb91941d39dc405ff6df"><code>&#34;boolean&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;atmel&#44;at91sam9g45&#45;ssc&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;dmas&#34;</code></span>, <span id="dt-5daae4bef35eb1615659"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/at91.h&gt;
#include &lt;dt-bindings/dma/at91.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

ssc@100000 {
   compatible = "atmel,at91sam9g45-ssc";
   reg = &lt;0x100000 0x4000&gt;;
   interrupts = &lt;28 IRQ_TYPE_LEVEL_HIGH 5&gt;;
   dmas = &lt;&amp;dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
                 AT91_XDMAC_DT_PERID(38))&gt;,
          &lt;&amp;dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
                 AT91_XDMAC_DT_PERID(39))&gt;;
   dma-names = "tx", "rx";
   clocks = &lt;&amp;pmc PMC_TYPE_PERIPHERAL 28&gt;;
   clock-names = "pclk";
   #sound-dai-cells = &lt;0&gt;;
};

ssc@c00000 {
  compatible = "atmel,at91rm9200-ssc";
  reg = &lt;0xc00000 0x4000&gt;;
  interrupts = &lt;14 IRQ_TYPE_LEVEL_HIGH 5&gt;;
  clocks = &lt;&amp;pmc PMC_TYPE_PERIPHERAL 14&gt;;
  clock-names = "pclk";
};
</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>

</details>

---

# Atmel at91sam9g20ek wm8731 audio complex

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Atmel at91sam9g20ek wm8731 audio complex.

<!-- 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;atmel&#44;at91sam9g20ek&#45;wm8731&#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;Balakrishnan Sambath &#60;balakrishnan&#46;s&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The audio complex configuration for Atmel at91sam9g20ek with WM8731 audio codec.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;atmel&#44;at91sam9g20ek&#45;wm8731&#45;audio&#34;</code></span>

<a id="dt-c713320e1990846660bc"></a>

### <code>atmel&#44;model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b2b96320d17ca64eeb3f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-51f7572871193845a185">
<p style="white-space: pre-wrap">The user-visible name of this sound complex.</p>
</div>

<a id="dt-a0cc39f192cfc6696df8"></a>

### <code>atmel&#44;audio&#45;routing</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-66d83854237adb6c0cb4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-2088ab9b9ce06782c91b">
<p style="white-space: pre-wrap">A list of the connections between audio components.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-97cf35caa54ac776f6de"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-924d6e420f1a8fea2f6b"><code>4</code></span>

<a id="dt-c89fd722270fa399ce23"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-6acb303e8c957b611042"></a> <span id="dt-6878975e77392c5923ce"><code>&#34;Ext Spk&#34;</code></span>, <span id="dt-7fb7c9a1fb7de399e63f"><code>&#34;Int Mic&#34;</code></span>, <span id="dt-f4a0f2604fd89b73c2e8"><code>&#34;LOUT&#34;</code></span>, <span id="dt-544e96a78e27fb62fd34"><code>&#34;ROUT&#34;</code></span>, <span id="dt-acd048f5177210394e5a"><code>&#34;LHPOUT&#34;</code></span>, <span id="dt-0e1e1665141035d200e2"><code>&#34;RHPOUT&#34;</code></span>, <span id="dt-5f45f3cd4b340f8bed7e"><code>&#34;LLINEIN&#34;</code></span>, <span id="dt-aa5a7e90ca31a99c4837"><code>&#34;RLINEIN&#34;</code></span>, <span id="dt-3cf75b03dc94ced3d7c0"><code>&#34;MICIN&#34;</code></span>

<a id="dt-17acba1af86d88d6de8a"></a>

### <code>atmel&#44;ssc&#45;controller</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bf20062a9e98aae6a48c">[<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-2a47413970e26497f7c2">
<p style="white-space: pre-wrap">The phandle of the SSC controller.</p>
</div>

<a id="dt-170962ecbfbea0fe083e"></a>

### <code>atmel&#44;audio&#45;codec</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-75ccf31bfb674823275c">[<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-5c7f746444aa02f2401f">
<p style="white-space: pre-wrap">The phandle of WM8731 audio codec.</p>
</div>

**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;atmel&#44;model&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;atmel&#44;audio&#45;routing&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;atmel&#44;ssc&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;atmel&#44;audio&#45;codec&#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">sound {
    compatible = "atmel,at91sam9g20ek-wm8731-audio";
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_pck0_as_mck&gt;;
    atmel,model = "wm8731 @ AT91SAMG20EK";
    atmel,audio-routing =
        "Ext Spk", "LHPOUT",
        "Int Mic", "MICIN";
    atmel,ssc-controller = &lt;&amp;ssc0&gt;;
    atmel,audio-codec = &lt;&amp;wm8731&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 30:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 34:</strong> <span> CODEC Pins</span></p>

</details>

---

# Atmel at91sam9x5ek wm8731 audio complex

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Atmel at91sam9x5ek wm8731 audio complex.

<!-- SPDX-License-Identifier: (GPL-2.0 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;atmel&#44;sam9x5&#45;wm8731&#45;audio&#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;Dharma Balasubiramani &#60;dharma&#46;b&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The audio complex configuration for Atmel at91sam9x5ek with WM8731 audio codec.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;atmel&#44;sam9x5&#45;wm8731&#45;audio&#34;</code></span>

<a id="dt-c713320e1990846660bc"></a>

### <code>atmel&#44;model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b2b96320d17ca64eeb3f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-51f7572871193845a185">
<p style="white-space: pre-wrap">The user-visible name of this sound complex.</p>
</div>

<a id="dt-17acba1af86d88d6de8a"></a>

### <code>atmel&#44;ssc&#45;controller</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bf20062a9e98aae6a48c">[<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-2a47413970e26497f7c2">
<p style="white-space: pre-wrap">The phandle of the SSC controller.</p>
</div>

<a id="dt-170962ecbfbea0fe083e"></a>

### <code>atmel&#44;audio&#45;codec</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-75ccf31bfb674823275c">[<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-5c7f746444aa02f2401f">
<p style="white-space: pre-wrap">The phandle of the WM8731 audio codec.</p>
</div>

<a id="dt-a0cc39f192cfc6696df8"></a>

### <code>atmel&#44;audio&#45;routing</code> — required here

<div id="dt-2088ab9b9ce06782c91b">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-66d83854237adb6c0cb4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<a id="dt-c89fd722270fa399ce23"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-6acb303e8c957b611042"></a> <span id="dt-6878975e77392c5923ce"><code>&#34;Headphone Jack&#34;</code></span>, <span id="dt-7fb7c9a1fb7de399e63f"><code>&#34;Line In Jack&#34;</code></span>, <span id="dt-f4a0f2604fd89b73c2e8"><code>&#34;LOUT&#34;</code></span>, <span id="dt-544e96a78e27fb62fd34"><code>&#34;ROUT&#34;</code></span>, <span id="dt-acd048f5177210394e5a"><code>&#34;LHPOUT&#34;</code></span>, <span id="dt-0e1e1665141035d200e2"><code>&#34;RHPOUT&#34;</code></span>, <span id="dt-5f45f3cd4b340f8bed7e"><code>&#34;LLINEIN&#34;</code></span>, <span id="dt-aa5a7e90ca31a99c4837"><code>&#34;RLINEIN&#34;</code></span>, <span id="dt-3cf75b03dc94ced3d7c0"><code>&#34;MICIN&#34;</code></span>

**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;atmel&#44;model&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;atmel&#44;ssc&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;atmel&#44;audio&#45;codec&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;atmel&#44;audio&#45;routing&#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">sound {
    compatible = "atmel,sam9x5-wm8731-audio";

    atmel,model = "wm8731 @ AT91SAM9X5EK";

    atmel,audio-routing =
            "Headphone Jack", "RHPOUT",
            "Headphone Jack", "LHPOUT",
            "LLINEIN", "Line In Jack",
            "RLINEIN", "Line In Jack";

    atmel,ssc-controller = &lt;&amp;ssc0&gt;;
    atmel,audio-codec = &lt;&amp;wm8731&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 39:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 43:</strong> <span> CODEC Pins</span></p>

</details>

---

# Atmel ClassD Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Atmel ClassD Amplifier.

<!-- SPDX-License-Identifier: (GPL-2.0 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;atmel&#44;sama5d2&#45;classd&#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;Nicolas Ferre &#60;nicolas&#46;ferre&#64;microchip&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Alexandre Belloni &#60;alexandre&#46;belloni&#64;bootlin&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Claudiu Beznea &#60;claudiu&#46;beznea&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Audio Class D Amplifier (CLASSD) is a digital input, Pulse Width Modulated (PWM) output stereo Class D amplifier.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;atmel&#44;sama5d2&#45;classd&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;microchip&#44;sam9x7&#45;classd&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;atmel&#44;sama5d2&#45;classd&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>1</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-05981720df4cd7d43d3c"><code>&#34;tx&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;gclk&#34;</code></span>

<a id="dt-c713320e1990846660bc"></a>

### <code>atmel&#44;model</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b2b96320d17ca64eeb3f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Default value (<code>default</code>):** <span id="dt-536363ab356132fc8c68"><code>&#34;CLASSD&#34;</code></span>

<div id="dt-51f7572871193845a185">
<p style="white-space: pre-wrap">The user-visible name of this sound complex.</p>
</div>

<a id="dt-c155333c9c4b3d03e220"></a>

### <code>atmel&#44;pwm&#45;type</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e2cb8d3c30e47c41195b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-f49f107f8f915fcc0c3f"></a> <span id="dt-ebf05ad06698c832fc17"><code>&#34;single&#34;</code></span>, <span id="dt-3e0713b48452cabf8ed7"><code>&#34;diff&#34;</code></span>

**Default value (<code>default</code>):** <span id="dt-cbfef66af2cb3bdbb5fa"><code>&#34;single&#34;</code></span>

<div id="dt-90d9aa564ce6f04b7fe2">
<p style="white-space: pre-wrap">PWM modulation type.</p>
</div>

<a id="dt-21f8a113488e88986878"></a>

### <code>atmel&#44;non&#45;overlap&#45;time</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5d6c8c169f34060b6730">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-913033fe3db625a15c84"></a> <span id="dt-18711f87724bc60990f8"><code>5</code></span>, <span id="dt-48afae6786e51481c8e6"><code>10</code></span>, <span id="dt-b4a55680f51dfd0426de"><code>15</code></span>, <span id="dt-a65fabe1c8f7c018d929"><code>20</code></span>

**Default value (<code>default</code>):** <span id="dt-ac47651351e21fe944c3"><code>10</code></span>

<div id="dt-2458c57271d4a4b1d0ce">
<p style="white-space: pre-wrap">Set non-overlapping time, the unit is nanosecond(ns). Non-overlapping will be disabled if not specified.</p>
</div>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dmas&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clocks&#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/dma/at91.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

classd: sound@fc048000 {
    compatible = "atmel,sama5d2-classd";
    reg = &lt;0xfc048000 0x100&gt;;
    interrupts = &lt;59 IRQ_TYPE_LEVEL_HIGH 7&gt;;
    dmas = &lt;&amp;dma0
        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
        | AT91_XDMAC_DT_PERID(47))&gt;;
    dma-names = "tx";
    clocks = &lt;&amp;classd_clk&gt;, &lt;&amp;classd_gclk&gt;;
    clock-names = "pclk", "gclk";
    assigned-clocks = &lt;&amp;classd_gclk&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_classd_default&gt;;
    atmel,model = "classd @ SAMA5D2-Xplained";
    atmel,pwm-type = "diff";
    atmel,non-overlap-time = &lt;10&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries</span></p>

</details>

---

# Atmel I2S controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Atmel I2S controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;atmel&#44;sama5d2&#45;i2s&#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;Nicolas Ferre &#60;nicolas&#46;ferre&#64;microchip&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Alexandre Belloni &#60;alexandre&#46;belloni&#64;bootlin&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Claudiu Beznea &#60;claudiu&#46;beznea&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Atmel I2S (Inter-IC Sound Controller) bus is the standard interface for connecting audio devices, such as audio codecs.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;atmel&#44;sama5d2&#45;i2s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Generated clock (Optional)</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">I2S mux clock (Optional). Set with gclk when Master Mode is required.</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;gclk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;muxclk&#34;</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">TX DMA Channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">RX DMA Channel</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dmas&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clock&#45;names&#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/dma/at91.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

i2s@f8050000 {
    compatible = "atmel,sama5d2-i2s";
    reg = &lt;0xf8050000 0x300&gt;;
    interrupts = &lt;54 IRQ_TYPE_LEVEL_HIGH 7&gt;;
    dmas = &lt;&amp;dma0
            (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
            AT91_XDMAC_DT_PERID(31))&gt;,
           &lt;&amp;dma0
            (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
            AT91_XDMAC_DT_PERID(32))&gt;;
    dma-names = "tx", "rx";
    clocks = &lt;&amp;i2s0_clk&gt;, &lt;&amp;i2s0_gclk&gt;, &lt;&amp;i2s0muxck&gt;;
    clock-names = "pclk", "gclk", "muxclk";
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_i2s0_default&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries</span></p>

</details>

---

# Atmel PDMIC decoder

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Atmel PDMIC decoder.

<!-- SPDX-License-Identifier: (GPL-2.0 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;atmel&#44;sama5d2&#45;pdmic&#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;Claudiu Beznea &#60;claudiu&#46;beznea&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Atmel Pulse Density Modulation Interface Controller (PDMIC) peripheral is a mono PDM decoder module that decodes an incoming PDM sample stream.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;atmel&#44;sama5d2&#45;pdmic&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">peripheral clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">generated clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;gclk&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>1</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-05981720df4cd7d43d3c"><code>&#34;rx&#34;</code></span>

<a id="dt-f6f7ea38fcba8247c699"></a>

### <code>atmel&#44;mic&#45;min&#45;freq</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1c5f6b24b5c37fb3c326">[<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-dc1ffe8766cba8fd1e27">
<p style="white-space: pre-wrap">The minimal frequency that the microphone supports.</p>
</div>

<a id="dt-5c3e7240eb43d8fafde5"></a>

### <code>atmel&#44;mic&#45;max&#45;freq</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c028fd23cfe90d6f39af">[<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-be0a080a758344f7a6c2">
<p style="white-space: pre-wrap">The maximal frequency that the microphone supports.</p>
</div>

<a id="dt-c713320e1990846660bc"></a>

### <code>atmel&#44;model</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b2b96320d17ca64eeb3f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Default value (<code>default</code>):** <span id="dt-536363ab356132fc8c68"><code>&#34;PDMIC&#34;</code></span>

<div id="dt-51f7572871193845a185">
<p style="white-space: pre-wrap">The user-visible name of this sound card.</p>
</div>

<a id="dt-4de78689837efd7cb4cc"></a>

### <code>atmel&#44;mic&#45;offset</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1b6245ffe8d7120605c1">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;int32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-c78c9f973ad0b0b28e5c>)</span>

**Default value (<code>default</code>):** <span id="dt-96539b3759f0e20ea6b3"><code>0</code></span>

<div id="dt-0f7f1809424f38a831ac">
<p style="white-space: pre-wrap">The offset that should be added.</p>
</div>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dmas&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clocks&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;atmel&#44;mic&#45;min&#45;freq&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;atmel&#44;mic&#45;max&#45;freq&#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/dma/at91.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

pdmic: sound@f8018000 {
    compatible = "atmel,sama5d2-pdmic";
    reg = &lt;0xf8018000 0x124&gt;;
    interrupts = &lt;48 IRQ_TYPE_LEVEL_HIGH 7&gt;;
    dmas = &lt;&amp;dma0
            (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
            | AT91_XDMAC_DT_PERID(50))&gt;;
    dma-names = "rx";
    clocks = &lt;&amp;pdmic_clk&gt;, &lt;&amp;pdmic_gclk&gt;;
    clock-names = "pclk", "gclk";
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_pdmic_default&gt;;
    atmel,model = "PDMIC@sama5d2_xplained";
    atmel,mic-min-freq = &lt;1000000&gt;;
    atmel,mic-max-freq = &lt;3246000&gt;;
    atmel,mic-offset = &lt;0x0&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries</span></p>

</details>

---

# Audio Graph Card

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Audio Graph Card.

<!-- 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;card&#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-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>&#47;schemas&#47;sound&#47;audio&#45;graph&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph.md#dt-root>)</span>

<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;audio&#45;graph&#45;card&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;audio&#45;graph&#45;scu&#45;card&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "audio-graph-card";

    dais = &lt;&amp;cpu_port_a&gt;;
};

cpu {
    /*
     * dai-controller own settings
     */

    port {
        cpu_endpoint: endpoint {
            remote-endpoint = &lt;&amp;codec_endpoint&gt;;
            dai-format = "left_j";
        };
    };
};

codec {
    /*
     * codec own settings
     */

    port {
        codec_endpoint: endpoint {
            remote-endpoint = &lt;&amp;cpu_endpoint&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>

</details>

---

# Audio Graph Card2

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Audio Graph Card2.

<!-- 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;card2&#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-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;audio&#45;graph&#45;card2&#34;</code></span>

<a id="dt-5d750ce3c72f6f61ab74"></a>

### <code>links</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2fcbf49d1927155a33a0">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-0c6076cd9d6f109c5cc6"></a>

### <code>label</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e805be534dafa8b03b5b"><code>1</code></span>

<a id="dt-c523a2641319ac3adf93"></a>

### <code>routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f3f56d0e9d078b0851ad">[<code>audio&#45;graph&#46;yaml&#35;&#47;properties&#47;routing</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph.md#dt-c523a2641319ac3adf93>)</span>

<a id="dt-48eea20abd1f0fe7f8c9"></a>

### <code>aux&#45;devs</code> — not listed as required here

<div id="dt-e7ac154f20c412e1287a">
<p style="white-space: pre-wrap">List of phandles pointing to auxiliary devices, such
as amplifiers, to be added to the sound card.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c0c07579a0c2692d2938">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-852b2463b99f6bbf82a0"></a>

### <code>multi</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-301b63380d09e8bce899"><code>&#34;object&#34;</code></span>

<div id="dt-2c60dba4612dfb6dd569">
<p style="white-space: pre-wrap">Multi-CPU/Codec node</p>
</div>

<a id="dt-4fdf7975dee910cd7cc3"></a>

### <code>dpcm</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-6ebcb78e8c6ff96ef685"><code>&#34;object&#34;</code></span>

<div id="dt-e572fb12d46daf1ff504">
<p style="white-space: pre-wrap">DPCM node</p>
</div>

<a id="dt-bf91c6f97e21dcafa488"></a>

### <code>codec2codec</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-650c85ab33c8dfecbdd9"><code>&#34;object&#34;</code></span>

<div id="dt-2c46ad23ba1c8cca138b">
<p style="white-space: pre-wrap">Codec to Codec node</p>
</div>

<a id="dt-06bb6bdc71ddc84e5a04"></a>

### <code>hp&#45;det&#45;gpios</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-774bca82d2463031d442">[<code>audio&#45;graph&#46;yaml&#35;&#47;properties&#47;hp&#45;det&#45;gpios</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph.md#dt-06bb6bdc71ddc84e5a04>)</span>

<a id="dt-8e882174faaac8a4d34d"></a>

### <code>mic&#45;det&#45;gpios</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cb8f4eae4eec219722cc">[<code>audio&#45;graph&#46;yaml&#35;&#47;properties&#47;mic&#45;det&#45;gpios</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph.md#dt-8e882174faaac8a4d34d>)</span>

<a id="dt-0a1e54e85dc2fe07ad66"></a>

### <code>widgets</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d105e308a7dced953180">[<code>audio&#45;graph&#46;yaml&#35;&#47;properties&#47;widgets</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph.md#dt-0a1e54e85dc2fe07ad66>)</span>

**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;links&#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.

## 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>

---

# 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>

---

# Audio Graph

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Audio Graph.

<!-- 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&#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-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>&#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-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-1639e88130e6dc5c2bc3"></a>

### <code>dais</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d23f5c9f9cec75dba1ac">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-0c6076cd9d6f109c5cc6"></a>

### <code>label</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e805be534dafa8b03b5b"><code>1</code></span>

<a id="dt-c97e548b2dbf1e9c6fda"></a>

### <code>prefix</code> — not listed as required here

<div id="dt-cf153c8743866944cbcf">
<p style="white-space: pre-wrap">device name prefix</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-58c4f68aa3a9a099fc6f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<a id="dt-c523a2641319ac3adf93"></a>

### <code>routing</code> — not listed as required here

<div id="dt-52b1ba5e3ecaaddce8c2">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the
connection's sink, the second being the connection's source.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f3f56d0e9d078b0851ad">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<a id="dt-0a1e54e85dc2fe07ad66"></a>

### <code>widgets</code> — not listed as required here

<div id="dt-fec35ea038af2f22d06a">
<p style="white-space: pre-wrap">User specified audio sound widgets.
Each entry is a pair of strings, the first being the type of
widget ("Microphone", "Line", "Headphone", "Speaker"), the
second being the machine specific name for the widget.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d105e308a7dced953180">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<a id="dt-d1bce6bb527f171c6d71"></a>

### <code>pa&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6baa53edbce4c42bf900"><code>1</code></span>

<a id="dt-7de003be2089c3d5b9f6"></a>

### <code>hp&#45;det&#45;gpio</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-957549d28aec04f980c8"><code>true</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-67f6613596a5196f8e41"><code>1</code></span>

<a id="dt-06bb6bdc71ddc84e5a04"></a>

### <code>hp&#45;det&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d5459b03b320b242cad5"><code>1</code></span>

<a id="dt-d868bc0011e29685e9ed"></a>

### <code>mic&#45;det&#45;gpio</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-7621701da6dd656dcf46"><code>true</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-276f506b5d380aa2c364"><code>1</code></span>

<a id="dt-8e882174faaac8a4d34d"></a>

### <code>mic&#45;det&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-0fdda95b9e747ed5bc1a"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;dais&#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-only OR BSD-2-Clause)</span></p>

</details>

---

# Audio IIO auxiliary

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Audio IIO auxiliary.

<!-- 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;iio&#45;aux&#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;Herve Codina &#60;herve&#46;codina&#64;bootlin&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Auxiliary device based on Industrial I/O device channels</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;audio&#45;iio&#45;aux&#34;</code></span>

<a id="dt-e11e74a4fd8058c71a77"></a>

### <code>io&#45;channels</code> — required here

<div id="dt-00f0389e57ab952e1ac1">
<p style="white-space: pre-wrap">Industrial I/O device channels used</p>
</div>

<a id="dt-52503acc5d03431d5405"></a>

### <code>io&#45;channel&#45;names</code> — required here

<div id="dt-9849c74fba5f7a2e76d4">
<p style="white-space: pre-wrap">Industrial I/O channel names related to io-channels. These names are used to provides sound controls, widgets and routes names.</p>
</div>

<a id="dt-eadddebe40453ed6600a"></a>

### <code>snd&#45;control&#45;invert&#45;range</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b67fc628b362c7bc0b8b">[<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>

<div id="dt-86de89d1b1758b70cfd4">
<p style="white-space: pre-wrap">A list of 0/1 flags defining whether or not the related channel is
inverted</p>
</div>

<a id="dt-786bc255ef10e62d1a6c"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-2852076ec05f874266b4"></a> <span id="dt-271fe5498a70bb9f70e7"><code>0</code></span>, <span id="dt-dea2ecffc45eb8451beb"><code>1</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-e42a72e55cfbae56a173"><code>0</code></span>
>
> <div id="dt-1d96e2578fe2376f2d84">
> <pre><code>Invert the sound control value compared to the IIO channel raw value.
>   - 1: The related sound control value is inverted meaning that the
>        minimum sound control value correspond to the maximum IIO channel
>        raw value and the maximum sound control value correspond to the
>        minimum IIO channel raw value.
>   - 0: The related sound control value is not inverted meaning that the
>        minimum (resp maximum) sound control value correspond to the
>        minimum (resp maximum) IIO channel raw value.</code></pre>
> </div>

**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;io&#45;channels&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;io&#45;channel&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">iio-aux {
    compatible = "audio-iio-aux";
    io-channels = &lt;&amp;iio 0&gt;, &lt;&amp;iio 1&gt;, &lt;&amp;iio 2&gt;, &lt;&amp;iio 3&gt;;
    io-channel-names = "CH0", "CH1", "CH2", "CH3";
    /* Invert CH1 and CH2 */
    snd-control-invert-range = &lt;0 1 1 0&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>

</details>

---

# Awinic AW8738 Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Awinic AW8738 Audio Amplifier.

<!-- 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;awinic&#44;aw8738&#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;Stephan Gerhold &#60;stephan&#64;gerhold&#46;net&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Awinic AW8738 is a simple audio amplifier with different operation modes (set using one-wire pulse control). The mode configures the speaker-guard function (primarily the power limit for the amplifier).</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;awinic&#44;aw8738&#34;</code></span>

<a id="dt-d677d2d4c6cc91106727"></a>

### <code>mode&#45;gpios</code> — required here

<div id="dt-b965d256af8d9380b678">
<p style="white-space: pre-wrap">GPIO used for one-wire pulse control. The pin is typically called SHDN (active-low), but this is misleading since it is actually more than just a simple shutdown/enable control.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8e89fc7fe511571b716e"><code>1</code></span>

<a id="dt-3973665195d666f135cc"></a>

### <code>awinic&#44;mode</code> — required here

<div id="dt-a6e9a9472376e28ceb79">
<p style="white-space: pre-wrap">Operation mode (number of pulses for one-wire pulse control)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-353d85957c0e061cd762">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-85784d44e356e959033d"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-9692e566c6c5a979a9e3"><code>7</code></span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

<code>true</code> — No constraints added by this property 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;mode&#45;gpios&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;awinic&#44;mode&#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/gpio/gpio.h&gt;
audio-amplifier {
    compatible = "awinic,aw8738";
    mode-gpios = &lt;&amp;msmgpio 114 GPIO_ACTIVE_HIGH&gt;;
    awinic,mode = &lt;5&gt;;
    sound-name-prefix = "Speaker Amp";
};
</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>

</details>

---

# Awinic Aw87390 Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Awinic Aw87390 Audio Amplifier.

<!-- 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;awinic&#44;aw87390&#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;Weidong Wang &#60;wangweidong&#46;a&#64;awinic&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The awinic aw87390 is specifically designed to improve the musical output dynamic range, enhance the overall sound quallity, which is a new high efficiency, low noise, constant large volume, 6th Smart K audio amplifier.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;awinic&#44;aw87390&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;anbernic&#44;rgds&#45;amp&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;awinic&#44;aw87391&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4385cd8df190a495318b"></a>

### <code>awinic&#44;audio&#45;channel</code> — not listed as required here

<div id="dt-3dea51fa14aaf72d30a8">
<p style="white-space: pre-wrap">It is used to distinguish multiple PA devices, so that different configurations can be loaded to different PA devices</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8c0c568cc5d8b0726089">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-65ac11656655e09f952c"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-8095a5872ad913d6d3ea"><code>7</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;awinic&#44;aw87390&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;awinic&#44;audio&#45;channel&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;anbernic&#44;rgds&#45;amp&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-186ebb6ce0ac42b506f3"></a>
> >
> > **<code>vdd&#45;supply</code> — not listed as required here**
> >
> > <code>true</code> — No constraints added by this property rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    audio-codec@58 {
        compatible = "awinic,aw87390";
        reg = &lt;0x58&gt;;
        #sound-dai-cells = &lt;0&gt;;
        awinic,audio-channel = &lt;0&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>

</details>

---

# Awinic AW88395 Smart Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Awinic AW88395 Smart Audio Amplifier.

<!-- 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;awinic&#44;aw88395&#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;Weidong Wang &#60;wangweidong&#46;a&#64;awinic&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Awinic AW88395 is an I2S/TDM input, high efficiency digital Smart K audio amplifier with an integrated 10.25V smart boost convert.</p>
</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;awinic&#44;aw88081&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;awinic&#44;aw88083&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;awinic&#44;aw88166&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;awinic&#44;aw88261&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;awinic&#44;aw88395&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;awinic&#44;aw88399&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-84a2bc358063a1a7c956"></a>

### <code>dvdd&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4385cd8df190a495318b"></a>

### <code>awinic&#44;audio&#45;channel</code> — required here

<div id="dt-3dea51fa14aaf72d30a8">
<p style="white-space: pre-wrap">It is used to distinguish multiple PA devices, so that different configurations can be loaded to different PA devices</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8c0c568cc5d8b0726089">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-65ac11656655e09f952c"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-8095a5872ad913d6d3ea"><code>7</code></span>

<a id="dt-71afa747c262059b9df6"></a>

### <code>awinic&#44;sync&#45;flag</code> — not listed as required here

<div id="dt-b3fb9982b822aa1a5289">
<p style="white-space: pre-wrap">Flag bit used to keep the phase synchronized in the case of multiple PA</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-47707129345a69451177">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;awinic&#44;audio&#45;channel&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;awinic&#44;aw88081&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;awinic&#44;aw88083&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;awinic&#44;aw88261&#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-398076edceb8f164a46e"></a>
> >
> > **<code>reset&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;awinic&#44;aw88261&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;dvdd&#45;supply&#34;</code></span>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-888c1421a4e69cff4556"></a>
> >
> > **<code>dvdd&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    audio-codec@34 {
        compatible = "awinic,aw88395";
        reg = &lt;0x34&gt;;
        #sound-dai-cells = &lt;0&gt;;
        reset-gpios = &lt;&amp;gpio 10 GPIO_ACTIVE_LOW&gt;;
        awinic,audio-channel = &lt;0&gt;;
        awinic,sync-flag;
    };
};
</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>

</details>

---

# Broadcom BCM2835 SoC I2S/PCM module

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Broadcom BCM2835 SoC I2S/PCM module.

<!-- 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;brcm&#44;bcm2835&#45;i2s&#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;Florian Fainelli &#60;florian&#46;fainelli&#64;broadcom&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;brcm&#44;bcm2835&#45;i2s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">Transmission DMA controller phandle and request line.</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">Reception DMA controller phandle and request line.</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dmas&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dma&#45;names&#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/clock/bcm2835.h&gt;

i2s@7e203000 {
    compatible = "brcm,bcm2835-i2s";
    reg = &lt;0x7e203000 0x24&gt;;
    clocks = &lt;&amp;clocks BCM2835_CLOCK_PCM&gt;;
    dmas = &lt;&amp;dma 2&gt;, &lt;&amp;dma 3&gt;;
    dma-names = "tx", "rx";
};
</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>

</details>

---

# Cirrus Logic CS35L41 Speaker Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic CS35L41 Speaker Amplifier.

<!-- 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;cirrus&#44;cs35l41&#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;david&#46;rhodes&#64;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">CS35L41 is a boosted mono Class D amplifier with DSP
speaker protection and equalization</p>
</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;cirrus&#44;cs35l40&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;cirrus&#44;cs35l41&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

<div id="dt-c6fec2b67f85839e5c16">
<p style="white-space: pre-wrap">The first cell indicating the audio interface.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-921c71e4dcb08aa4da1c"></a>

### <code>VA&#45;supply</code> — not listed as required here

<div id="dt-052b84cd0b1a23aff974">
<p style="white-space: pre-wrap">voltage regulator phandle for the VA supply</p>
</div>

<a id="dt-a89fb2cc57d6f674d35c"></a>

### <code>VP&#45;supply</code> — not listed as required here

<div id="dt-915721db487d463dd1d4">
<p style="white-space: pre-wrap">voltage regulator phandle for the VP supply</p>
</div>

<a id="dt-a1860401f8df07756173"></a>

### <code>cirrus&#44;boost&#45;peak&#45;milliamp</code> — not listed as required here

<div id="dt-b4b7e0bfdfdccd8c96c7">
<p style="white-space: pre-wrap">Boost-converter peak current limit in mA. Configures the peak current by monitoring the current through the boost FET. Range starts at 1600 mA and goes to a maximum of 4500 mA with increments of 50 mA. See section 4.3.6 of the datasheet for details.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1e09543e886a3d890c32">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-91fad8d2d30d8e81cc50"><code>1600</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-c9443946bc2c31616b69"><code>4500</code></span>

**Default value (<code>default</code>):** <span id="dt-0ef0640387bee1fb4e68"><code>4500</code></span>

<a id="dt-64d0f533e4a3f948334f"></a>

### <code>cirrus&#44;boost&#45;ind&#45;nanohenry</code> — not listed as required here

<div id="dt-2229dda9f6a392c35385">
<p style="white-space: pre-wrap">Boost inductor value, expressed in nH. Valid values include 1000, 1200, 1500 and 2200.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fc4c816a09c9bf96ab15">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-39201b3882d038c0c087"><code>1000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-492d41c9d139a890da1f"><code>2200</code></span>

<a id="dt-8267cc941b54fcfbbf04"></a>

### <code>cirrus&#44;boost&#45;cap&#45;microfarad</code> — not listed as required here

<div id="dt-6aa98a68fafc912fab5f">
<p style="white-space: pre-wrap">Total equivalent boost capacitance on the VBST and VAMP pins, derated at 11 volts DC. The value must be rounded to the nearest integer and expressed in uF.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-227655083e7222271eb5">[<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-78f4cab5ec91c3016cb7"></a>

### <code>cirrus&#44;asp&#45;sdout&#45;hiz</code> — not listed as required here

<div id="dt-5df671c273e874268bf6">
<p style="white-space: pre-wrap">Audio serial port SDOUT Hi-Z control. Sets the Hi-Z configuration for SDOUT pin of amplifier. 0 = Logic 0 during unused slots, and while all transmit channels disabled 1 = Hi-Z during unused slots but logic 0 while all transmit channels disabled 2 = (Default) Logic 0 during unused slots, but Hi-Z while all transmit channels disabled 3 = Hi-Z during unused slots and while all transmit channels disabled</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b798fa48f6ba2975eccf">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-c6178bdb2544671f7f5f"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-73c6b21ab63182965466"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-e8b3615ed01cbf887161"><code>2</code></span>

<a id="dt-91ac23868a2be4fa0562"></a>

### <code>cirrus&#44;boost&#45;type</code> — not listed as required here

<div id="dt-20744abeb0bbb75fd6c1">
<p style="white-space: pre-wrap">Configures the type of Boost being used. Internal boost requires boost-peak-milliamp, boost-ind-nanohenry and boost-cap-microfarad. External Boost must have GPIO1 as GPIO output. GPIO1 will be set high to enable boost voltage. Shared boost allows two amplifiers to share a single boost circuit by communicating on the MDSYNC bus. The active amplifier controls the boost circuit using combined data from both amplifiers. GPIO1 should be configured for Sync when shared boost is used. Shared boost is not compatible with External boost. Active amplifier requires boost-peak-milliamp, boost-ind-nanohenry and boost-cap-microfarad. 0 = Internal Boost 1 = External Boost 2 = Shared Boost Active 3 = Shared Boost Passive</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3878826e711f60b3e5d6">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-8cf616a1df50c9415720"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-6a78af9f9e196c3ce0ad"><code>3</code></span>

<a id="dt-a5a242b8cee8c72f8533"></a>

### <code>cirrus&#44;gpio1&#45;polarity&#45;invert</code> — not listed as required here

<div id="dt-6825c7573af515bb0034">
<p style="white-space: pre-wrap">Boolean which specifies whether the GPIO1 level is inverted. If this property is not present the level is not inverted.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-4376fd647f1c3b2cee45"><code>&#34;boolean&#34;</code></span>

<a id="dt-81ba72987629b0e6462e"></a>

### <code>cirrus&#44;gpio1&#45;output&#45;enable</code> — not listed as required here

<div id="dt-c715f00e63389c845fea">
<p style="white-space: pre-wrap">Boolean which specifies whether the GPIO1 pin is configured as an output. If this property is not present the pin will be configured as an input.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-5298d57ed87131704424"><code>&#34;boolean&#34;</code></span>

<a id="dt-188454808c8ba11219d3"></a>

### <code>cirrus&#44;gpio1&#45;src&#45;select</code> — not listed as required here

<div id="dt-ab5fe755d20d9de2e0a1">
<p style="white-space: pre-wrap">Configures the function of the GPIO1 pin. Note that the options are different from the GPIO2 pin 0 = High Impedance (Default) 1 = GPIO 2 = Sync 3 = MCLK input</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ff079c42595a5c8b877f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-8a2095e5ec0e36d8f447"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-65e930e14d7ea65dac5f"><code>3</code></span>

<a id="dt-e550800ebc2159c19f07"></a>

### <code>cirrus&#44;gpio2&#45;polarity&#45;invert</code> — not listed as required here

<div id="dt-42e8ed5cb7fdcf7de734">
<p style="white-space: pre-wrap">Boolean which specifies whether the GPIO2 level is inverted. If this property is not present the level is not inverted.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-26231f91a97d6b1954a6"><code>&#34;boolean&#34;</code></span>

<a id="dt-b901a9229e96a0e03462"></a>

### <code>cirrus&#44;gpio2&#45;output&#45;enable</code> — not listed as required here

<div id="dt-74717bac59fdf055d5cc">
<p style="white-space: pre-wrap">Boolean which specifies whether the GPIO2 pin is configured as an output. If this property is not present the pin will be configured as an input.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-894969b5fa32b7749036"><code>&#34;boolean&#34;</code></span>

<a id="dt-66341e2790fa2a03b9b8"></a>

### <code>cirrus&#44;gpio2&#45;src&#45;select</code> — not listed as required here

<div id="dt-227309dd435bfc744c88">
<p style="white-space: pre-wrap">Configures the function of the GPIO2 pin. Note that the options are different from the GPIO1 pin. 0 = High Impedance (Default) 1 = GPIO 2 = Open Drain INTB 3 = MCLK input 4 = Push-pull INTB (active low) 5 = Push-pull INT (active high)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ee0ca1b0b1c73beaaac9">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-ba3875f53fc2e9cd0f8e"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-96cacfc69ca4cb4320bd"><code>5</code></span>

<a id="dt-e3461671b3d419d1a0b3"></a>

### <code>cirrus&#44;subsystem&#45;id</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6c9d47121462ca302ae8">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-f9c2b2add5671ce16033">
<p style="white-space: pre-wrap">Subsystem ID. If this property is present, it sets the system name, used to identify the firmware and tuning to load.</p>
</div>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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-2c230101ec74573e450b"></a>
> >
> > **<code>cirrus&#44;boost&#45;type</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-9ced72bb896251737239"><code>0</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;cirrus&#44;boost&#45;peak&#45;milliamp&#34;</code></span>, <span id="dt-5daae4bef35eb1615659"><code>&#34;cirrus&#44;boost&#45;ind&#45;nanohenry&#34;</code></span>, <span id="dt-dabdc46fe881a853c5d7"><code>&#34;cirrus&#44;boost&#45;cap&#45;microfarad&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-8cc174c4b4adce46c891"></a>
> >
> > **Condition (<code>if</code>)**
> >
> > > <a id="dt-515a12751a12dc4c7100"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-d475419281957785dec8"></a>
> > >
> > > **<code>cirrus&#44;boost&#45;type</code> — not listed as required here**
> > >
> > > **Exact value (<code>const</code>):** <span id="dt-bbd282f3bbc821760026"><code>1</code></span>
> >
> > <a id="dt-9b83293bcfd549f28e1c"></a>
> >
> > **When the condition matches (<code>then</code>)**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-8f1d6cf8942c4296b997"></a> <span id="dt-a8c484f5b9b41d7c61d9"><code>&#34;cirrus&#44;gpio1&#45;output&#45;enable&#34;</code></span>, <span id="dt-f43889bf53938255d7af"><code>&#34;cirrus&#44;gpio1&#45;src&#45;select&#34;</code></span>
> > >
> > > <a id="dt-202592b5a5b4b784436e"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-21b1dcdc124b9b406f82"></a>
> > >
> > > **<code>cirrus&#44;boost&#45;peak&#45;milliamp</code> — not listed as required here**
> > >
> > > <code>false</code> — Not permitted by this property rule.
> > >
> > > <a id="dt-3b2b714f2bc484c66b7c"></a>
> > >
> > > **<code>cirrus&#44;boost&#45;ind&#45;nanohenry</code> — not listed as required here**
> > >
> > > <code>false</code> — Not permitted by this property rule.
> > >
> > > <a id="dt-83876049a87a2e998297"></a>
> > >
> > > **<code>cirrus&#44;boost&#45;cap&#45;microfarad</code> — not listed as required here**
> > >
> > > <code>false</code> — Not permitted by this property rule.
> > >
> > > <a id="dt-a4b5e08b91f864c8d9b2"></a>
> > >
> > > **<code>cirrus&#44;gpio1&#45;src&#45;select</code> — required here**
> > >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b26a3ff325fd58e7ccfe"></a> <span id="dt-4896a4eb5423bb827d1b"><code>1</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cs35l41: speaker-amp@2 {
        #sound-dai-cells = &lt;1&gt;;
        compatible = "cirrus,cs35l41";
        reg = &lt;2&gt;;
        VA-supply = &lt;&amp;dummy_vreg&gt;;
        VP-supply = &lt;&amp;dummy_vreg&gt;;
        reset-gpios = &lt;&amp;gpio 110 GPIO_ACTIVE_HIGH&gt;;

        cirrus,boost-type = &lt;0&gt;;
        cirrus,boost-peak-milliamp = &lt;4500&gt;;
        cirrus,boost-ind-nanohenry = &lt;1000&gt;;
        cirrus,boost-cap-microfarad = &lt;15&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>

</details>

---

# Cirrus Logic CS35L45 Speaker Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic CS35L45 Speaker Amplifier.

<!-- 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;cirrus&#44;cs35l45&#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;Ricardo Rivera&#45;Matos &#60;rriveram&#64;opensource&#46;cirrus&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Richard Fitzgerald &#60;rf&#64;opensource&#46;cirrus&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">CS35L45 is a Boosted Mono Class D Amplifier with DSP
Speaker Protection and Adaptive Battery Management.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;cirrus&#44;cs35l45&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-9acb063507429238eb85"></a>

### <code>vdd&#45;a&#45;supply</code> — not listed as required here

<div id="dt-fc64819461e958b5d536">
<p style="white-space: pre-wrap">voltage regulator phandle for the VDD_A supply</p>
</div>

<a id="dt-c875051274bc1bdfd686"></a>

### <code>vdd&#45;batt&#45;supply</code> — not listed as required here

<div id="dt-f7626b4f8e0ccfd07686">
<p style="white-space: pre-wrap">voltage regulator phandle for the VDD_BATT supply</p>
</div>

<a id="dt-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-f17e1c3bb71259096275"><code>5000000</code></span>

<a id="dt-b9c30b05b78a9bbf7327"></a>

### <code>cirrus&#44;asp&#45;sdout&#45;hiz&#45;ctrl</code> — not listed as required here

<div id="dt-65c36d37e5e4a43c29a5">
<p style="white-space: pre-wrap">Audio serial port SDOUT Hi-Z control. Sets the Hi-Z configuration for SDOUT pin of amplifier. Logical OR of CS35L45_ASP_TX_HIZ_xxx values.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-57fcf57e330f4ea2e39c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-9301ddeb906327ab666d"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-0cfc19fcefbd9de9aafa"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-827c49f06ff01911f963"><code>2</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-334d150ded81ea9b7344"></a>

### <code>&#94;cirrus&#44;gpio&#45;ctrl&#91;1&#45;3&#93;&#36;</code> — name matches this regular expression

<div id="dt-b1bc2ead0fd548bc1ffa">
<p style="white-space: pre-wrap">GPIO pins configuration.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-358bf15c73d2e01823cf"><code>&#34;object&#34;</code></span>

<a id="dt-ddb9c301b23707011e18"></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-4b3101ec6a671e034eea"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-d6ef171c3483dcd67757"></a>

**<code>gpio&#45;dir</code> — not listed as required here**

<div id="dt-9c85574e28a2f2c92ca8">
<p style="white-space: pre-wrap">GPIO pin direction. Valid only when 'gpio-ctrl' is 1 0 = Output 1 = Input</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-45d04d6b9810d92011b4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-7436324cea52c9800f31"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-33388d85e102ba5a38ab"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-4f20910b38a6f62922af"><code>1</code></span>

<a id="dt-5873226cb23bcd7bbfa8"></a>

**<code>gpio&#45;lvl</code> — not listed as required here**

<div id="dt-2783cb7bf3093283a1cb">
<p style="white-space: pre-wrap">GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0 0 = Low 1 = High</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f3e21da45aa3d816475b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-bdbba7414ece9c470806"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-2c82b16a78c53e6179f6"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-9a09aedb934a4c34434d"><code>0</code></span>

<a id="dt-979deda4cb38e87a862f"></a>

**<code>gpio&#45;op&#45;cfg</code> — not listed as required here**

<div id="dt-0fbd34baf4a71de6ff88">
<p style="white-space: pre-wrap">GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0 0 = CMOS 1 = Open Drain</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c5655d26dd07d2415363">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-9b35f5d46d6862a8567e"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-c8b802263b64ee927cdf"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-006c2e3245851003fc84"><code>0</code></span>

<a id="dt-48fbb8c39428f830f64e"></a>

**<code>gpio&#45;pol</code> — not listed as required here**

<div id="dt-60891205a2790336bb7f">
<p style="white-space: pre-wrap">GPIO output polarity select. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0 0 = Non-inverted, Active High 1 = Inverted, Active Low</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e88d350522dab47bfe0c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-57f4cac53a8fed5c65df"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-a274eb667611d00d76b6"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-6a1eeed82d338395441d"><code>0</code></span>

<a id="dt-3faa844109b53353b0b9"></a>

**<code>gpio&#45;ctrl</code> — not listed as required here**

<div id="dt-c0f5864f7ae170740ab9">
<p style="white-space: pre-wrap">Defines the function of the GPIO pin. GPIO1 0 = High impedance input 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir' 2 = Pin acts as MDSYNC, direction controlled by MDSYNC 3-7 = Reserved GPIO2 0 = High impedance input 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir' 2 = Pin acts as open drain INT 3 = Reserved 4 = Pin acts as push-pull output INT. Active low. 5 = Pin acts as push-pull output INT. Active high. 6,7 = Reserved GPIO3 0 = High impedance input 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir' 2-7 = Reserved</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-80ae80e47e12dd86c27f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-bec2ad875583c0fdf7be"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-f2ae0caa8a0147dd894d"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-709425de026feb0f47a8"><code>0</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/sound/cs35l45.h&gt;
spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cs35l45: cs35l45@2 {
      #sound-dai-cells = &lt;1&gt;;
      compatible = "cirrus,cs35l45";
      reg = &lt;2&gt;;
      spi-max-frequency = &lt;5000000&gt;;
      vdd-a-supply = &lt;&amp;dummy_vreg&gt;;
      vdd-batt-supply = &lt;&amp;dummy_vreg&gt;;
      reset-gpios = &lt;&amp;gpio 110 0&gt;;
      cirrus,asp-sdout-hiz-ctrl = &lt;(CS35L45_ASP_TX_HIZ_UNUSED |
                                    CS35L45_ASP_TX_HIZ_DISABLED)&gt;;
      cirrus,gpio-ctrl1 {
         gpio-ctrl = &lt;0x2&gt;;
      };
      cirrus,gpio-ctrl2 {
         gpio-ctrl = &lt;0x2&gt;;
      };
      cirrus,gpio-ctrl3 {
         gpio-ctrl = &lt;0x1&gt;;
         gpio-dir = &lt;0x1&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>

</details>

---

# Cirrus Logic cs4234 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic cs4234 audio CODEC.

<!-- SPDX-License-Identifier: (GPL-2.0+ 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;cirrus&#44;cs4234&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The CS4234 is a highly versatile CODEC that combines 4 channels of high performance analog to digital conversion, 4 channels of high performance digital to analog conversion for audio, and 1 channel of digital to analog conversion to provide a nondelayed audio reference signal to an external Class H tracking power supply. If not used to drive a tracking power supply, the 5th DAC can instead be used as a standard audio grade DAC, with performance specifications identical to that of the 4 DACs in the audio path. Additionally, the CS4234 includes tunable group delay for each of the 4 audio DAC paths to provide lead time for the external switch-mode power supply, and a nondelayed path into the DAC outputs for input signals requiring a low-latency path to the outputs.</p>
</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;cirrus&#44;cs4234&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">The 7-bit I2C address depends on the state of the ADx pins, in binary given by [0 0 1 0 AD2 AD1 AD0 0].</p>
</div>

<a id="dt-b6190d107f3246c9804f"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-dbccd6c81a34f52e7935"><code>16</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-ae0c80c942a21f100156"><code>23</code></span>

<a id="dt-921c71e4dcb08aa4da1c"></a>

### <code>VA&#45;supply</code> — required here

<div id="dt-052b84cd0b1a23aff974">
<p style="white-space: pre-wrap">Analogue power supply.</p>
</div>

<a id="dt-6cdd80b55a12cd61615e"></a>

### <code>VL&#45;supply</code> — required here

<div id="dt-26d44d9a50c7ab1599b9">
<p style="white-space: pre-wrap">Interface power supply.</p>
</div>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

**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;VA&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;VL&#45;supply&#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">i2c@e0004000 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0xe0004000 0x1000&gt;;

    cs4234: codec@11 {
        compatible = "cirrus,cs4234";
        reg = &lt;0x11&gt;;

        VA-supply = &lt;&amp;vdd3v3&gt;;
        VL-supply = &lt;&amp;vdd3v3&gt;;

        reset-gpios = &lt;&amp;gpio 0&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+ OR BSD-2-Clause)</span></p>

</details>

---

# Cirrus Logic CS4270 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic CS4270 audio CODEC.

<!-- 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;cirrus&#44;cs4270&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The CS4270 is a stereo audio codec. The driver for this device currently only supports I2C.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;cirrus&#44;cs4270&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">This pin will be deasserted before communication to the codec starts.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-c3bc300a101ebe909666"></a>

### <code>va&#45;supply</code> — not listed as required here

<div id="dt-e0a86a22c342041de0ca">
<p style="white-space: pre-wrap">Analog power supply.</p>
</div>

<a id="dt-8b03e80cf0a456e43a46"></a>

### <code>vd&#45;supply</code> — not listed as required here

<div id="dt-e3fd1e142439125ddd15">
<p style="white-space: pre-wrap">Digital power supply.</p>
</div>

<a id="dt-ad2a3087e31dda9742de"></a>

### <code>vlc&#45;supply</code> — not listed as required here

<div id="dt-5c9de4dc0916343107ed">
<p style="white-space: pre-wrap">Serial Control Port power supply.</p>
</div>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  codec@48 {
      compatible = "cirrus,cs4270";
      reg = &lt;0x48&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>

</details>

---

# Cirrus Logic CS4271 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic CS4271 audio CODEC.

<!-- 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;cirrus&#44;cs4271&#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;Alexander Sverdlin &#60;alexander&#46;sverdlin&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Nikita Shubin &#60;nikita&#46;shubin&#64;maquefel&#46;me&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The CS4271 is a stereo audio codec. This device supports both the I2C and the SPI bus.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;cirrus&#44;cs4271&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Master clock connected to the MCLK pin if MCLK is an input (i.e. no crystal used).</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-0a35716b647e2a1e66ce"></a>

### <code>spi&#45;cpha</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-27851c8ce8d41152ef35"></a>

### <code>spi&#45;cpol</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">This pin will be deasserted before communication to the codec starts.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-c3bc300a101ebe909666"></a>

### <code>va&#45;supply</code> — not listed as required here

<div id="dt-e0a86a22c342041de0ca">
<p style="white-space: pre-wrap">Analog power supply.</p>
</div>

<a id="dt-8b03e80cf0a456e43a46"></a>

### <code>vd&#45;supply</code> — not listed as required here

<div id="dt-e3fd1e142439125ddd15">
<p style="white-space: pre-wrap">Digital power supply.</p>
</div>

<a id="dt-8b91c2be90b4b2a0b83e"></a>

### <code>vl&#45;supply</code> — not listed as required here

<div id="dt-6c8a52eef95da3bee2ed">
<p style="white-space: pre-wrap">Serial Control Port power supply.</p>
</div>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-b0fe47cba091b1bc7721"></a>

### <code>cirrus&#44;amuteb&#45;eq&#45;bmutec</code> — not listed as required here

<div id="dt-aeb1bcdd7cdcc1ea91e3">
<p style="white-space: pre-wrap">When given, the Codec's AMUTEB=BMUTEC flag is enabled.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-70b1381f0eb64e383f64"><code>&#34;boolean&#34;</code></span>

<a id="dt-6f50730f149c04f89fa7"></a>

### <code>cirrus&#44;enable&#45;soft&#45;reset</code> — not listed as required here

<div id="dt-a0fb4da9b42a53af830e">
<p style="white-space: pre-wrap">The CS4271 requires its LRCLK and MCLK to be stable before its RESET
line is de-asserted. That also means that clocks cannot be changed
without putting the chip back into hardware reset, which also requires
a complete re-initialization of all registers.</p>
<p style="white-space: pre-wrap">One (undocumented) workaround is to assert and de-assert the PDN bit
in the MODE2 register. This workaround can be enabled with this DT
property.</p>
<p style="white-space: pre-wrap">Note that this is not needed in case the clocks are stable
throughout the entire runtime of the codec.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-14d9b50832964fa6f03f"><code>&#34;boolean&#34;</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@0 {
        compatible = "cirrus,cs4271";
        reg = &lt;0&gt;;
        #sound-dai-cells = &lt;0&gt;;
        spi-max-frequency = &lt;6000000&gt;;
        spi-cpol;
        spi-cpha;
        reset-gpios = &lt;&amp;gpio0 1 GPIO_ACTIVE_LOW&gt;;
        port {
            endpoint {
                remote-endpoint = &lt;&amp;i2s_ep&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>

</details>

---

# Cirrus Logic CS42L42 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic CS42L42 audio CODEC.

<!-- 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;cirrus&#44;cs42l42&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The CS42L42 is a low-power audio codec designed for portable applications. It provides a high-dynamic range, stereo DAC for audio playback and a mono high-dynamic-range ADC for audio capture. There is an integrated headset detection block.</p>
</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;cirrus&#44;cs42l42&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;cirrus&#44;cs42l83&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">The I2C address of the CS42L42.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-a89fb2cc57d6f674d35c"></a>

### <code>VP&#45;supply</code> — required here

<div id="dt-915721db487d463dd1d4">
<p style="white-space: pre-wrap">VP power supply.</p>
</div>

<a id="dt-8297db01c3e5cf334651"></a>

### <code>VCP&#45;supply</code> — required here

<div id="dt-83ab74dbc63124fced82">
<p style="white-space: pre-wrap">Charge pump power supply.</p>
</div>

<a id="dt-0e4964ec938732cfb470"></a>

### <code>VD&#95;FILT&#45;supply</code> — required here

<div id="dt-ee0f793fc84316b7b34b">
<p style="white-space: pre-wrap">FILT+ power supply.</p>
</div>

<a id="dt-6cdd80b55a12cd61615e"></a>

### <code>VL&#45;supply</code> — required here

<div id="dt-26d44d9a50c7ab1599b9">
<p style="white-space: pre-wrap">Logic power supply.</p>
</div>

<a id="dt-921c71e4dcb08aa4da1c"></a>

### <code>VA&#45;supply</code> — required here

<div id="dt-052b84cd0b1a23aff974">
<p style="white-space: pre-wrap">Analog power supply.</p>
</div>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">This pin will be asserted and then deasserted to reset the CS42L42 before communication starts.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Interrupt for CS42L42 IRQ line.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-d7d9318216149ec1c6d6"></a>

### <code>cirrus&#44;ts&#45;inv</code> — not listed as required here

<div id="dt-5ee04640a16ef19c12a2">
<p style="white-space: pre-wrap">Sets the behaviour of the jack plug detect switch.</p>
<p style="white-space: pre-wrap">0 - (Default) Shorted to tip when unplugged, open when plugged.
This is "inverted tip sense (ITS)" in the datasheet.</p>
<p style="white-space: pre-wrap">1 - Open when unplugged, shorted to tip when plugged.
This is "normal tip sense (TS)" in the datasheet.</p>
<p style="white-space: pre-wrap">The CS42L42_TS_INV_* defines are available for this.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1813ed3a096eff82bd08">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-290e8f6352e2e9d8ceac"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-6695bd4e72c1c7270661"><code>1</code></span>

<a id="dt-cd6c9bb3327b947574a7"></a>

### <code>cirrus&#44;ts&#45;dbnc&#45;rise</code> — not listed as required here

<div id="dt-c406bf7a16922f929512">
<p style="white-space: pre-wrap">Debounce the rising edge of TIP_SENSE_PLUG. With no
debounce, the tip sense pin might be noisy on a plug event.</p>
<p style="white-space: pre-wrap">0 - 0ms
1 - 125ms
2 - 250ms
3 - 500ms
4 - 750ms
5 - 1s (Default)
6 - 1.25s
7 - 1.5s</p>
<p style="white-space: pre-wrap">The CS42L42_TS_DBNCE_* defines are available for this.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-adaa01fb84ac638065a0">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-cc22dc2aba10d1b7d815"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-0f4ab2a6a80e59dd3f90"><code>7</code></span>

<a id="dt-12e316951433994f57ac"></a>

### <code>cirrus&#44;ts&#45;dbnc&#45;fall</code> — not listed as required here

<div id="dt-fcda80b77a51cf2e7df3">
<p style="white-space: pre-wrap">Debounce the falling edge of TIP_SENSE_UNPLUG. With no
debounce, the tip sense pin might be noisy on an unplug event.</p>
<p style="white-space: pre-wrap">0 - 0ms
1 - 125ms
2 - 250ms
3 - 500ms
4 - 750ms
5 - 1s (Default)
6 - 1.25s
7 - 1.5s</p>
<p style="white-space: pre-wrap">The CS42L42_TS_DBNCE_* defines are available for this.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ec62bb440141a0419f97">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-5f6cdb5dac5d9aa36942"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-ad4299c43b9858da0209"><code>7</code></span>

<a id="dt-00f17cfa85187aea75fa"></a>

### <code>cirrus&#44;btn&#45;det&#45;init&#45;dbnce</code> — not listed as required here

<div id="dt-f170b49e0f170a54ece6">
<p style="white-space: pre-wrap">This sets how long to wait after enabling button detection
interrupts before servicing button interrupts, to allow the
HS bias time to settle. Value is in milliseconds.
There may be erroneous button interrupts if this debounce time
is too short.</p>
<p style="white-space: pre-wrap">0ms - 200ms,
Default = 100ms</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ac082a7257c819a0a445">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-1c4927eb87f93dbbd9ce"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-1dd1b2403ca8f2b43d8b"><code>200</code></span>

<a id="dt-749dad9b4c1501ecd92f"></a>

### <code>cirrus&#44;btn&#45;det&#45;event&#45;dbnce</code> — not listed as required here

<div id="dt-a70bc6cff08b987a5f46">
<p style="white-space: pre-wrap">This sets how long to wait after receiving a button press
interrupt before processing it. Allows time for the button
press to make a clean connection with the bias resistors.
Value is in milliseconds.</p>
<p style="white-space: pre-wrap">0ms - 20ms,
Default = 10ms</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-41a74ab36fae0eedd9c6">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-92955f84ec1adcd4e8b0"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-3ab04f76d29c2faa25e0"><code>20</code></span>

<a id="dt-d249376acb274a19912b"></a>

### <code>cirrus&#44;bias&#45;lvls</code> — not listed as required here

<div id="dt-8f31944698938067e49d">
<p style="white-space: pre-wrap">For a level-detect headset button scheme, each button will bias
the mic pin to a certain voltage. To determine which button was
pressed, the voltage is compared to sequential, decreasing
voltages, until the compared voltage &lt; bias voltage.
For different hardware setups, a designer might want to tweak this.
This is an array of descending values for the comparator voltage,
given as percent of the HSBIAS voltage.</p>
<p style="white-space: pre-wrap">Array of 4 values, each 0-63
&lt; x1 x2 x3 x4 &gt;
Default = &lt; 15 8 4 1 &gt;</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6f5dc1ab6b6a5483bf8e">[<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-ab5c30f8804c37993722"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4d975ab16cee6a9345b9"><code>4</code></span>

<a id="dt-f3639e3d43bd1ea2c136"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-da0989bb66cdb21ac6b8"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-58e10f7383134e9a072c"><code>63</code></span>

<a id="dt-88e3dec7287ef922e4c8"></a>

### <code>cirrus&#44;hs&#45;bias&#45;ramp&#45;rate</code> — not listed as required here

<div id="dt-f97e6d150e61fecb4df7">
<p style="white-space: pre-wrap">If present this sets the rate that the HS bias should rise and fall.
The actual rise and fall times depend on external hardware (the
datasheet gives several rise and fall time examples).</p>
<p style="white-space: pre-wrap">0 - Fast rise time; slow, load-dependent fall time
1 - Fast
2 - Slow (default)
3 - Slowest</p>
<p style="white-space: pre-wrap">The CS42L42_HSBIAS_RAMP_* defines are available for this.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-35362e02b3552d194a8f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-909ef40b9dfdf541ee71"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-0a61999985c658101f77"><code>3</code></span>

<a id="dt-67f2d62d63477b07c36f"></a>

### <code>cirrus&#44;hs&#45;bias&#45;sense&#45;disable</code> — not listed as required here

<div id="dt-499d538fdcbd9a86c846">
<p style="white-space: pre-wrap">If present the HSBIAS sense is disabled. Configures HSBIAS output
current sense through the external 2.21-k resistor. HSBIAS_SENSE
is a hardware feature to reduce the potential pop noise when the
headset plug is removed slowly. But on some platforms ESD voltage
will affect it causing plug detection to fail, especially with CTIA
headset type. For different hardware setups, a designer might want
to tweak default behavior.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-ec67f4ac94c30fea2e58"><code>&#34;boolean&#34;</code></span>

**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;VP&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;VCP&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;VD&#95;FILT&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;VL&#45;supply&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;VA&#45;supply&#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/sound/cs42l42.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  cs42l42: cs42l42@48 {
      compatible = "cirrus,cs42l42";
      reg = &lt;0x48&gt;;
      VA-supply = &lt;&amp;dummy_vreg&gt;;
      VP-supply = &lt;&amp;dummy_vreg&gt;;
      VCP-supply = &lt;&amp;dummy_vreg&gt;;
      VD_FILT-supply = &lt;&amp;dummy_vreg&gt;;
      VL-supply = &lt;&amp;dummy_vreg&gt;;

      reset-gpios = &lt;&amp;axi_gpio_0 1 0&gt;;
      interrupt-parent = &lt;&amp;gpio0&gt;;
      interrupts = &lt;55 8&gt;;

      cirrus,ts-inv = &lt;CS42L42_TS_INV_DIS&gt;;
      cirrus,ts-dbnc-rise = &lt;CS42L42_TS_DBNCE_1000&gt;;
      cirrus,ts-dbnc-fall = &lt;CS42L42_TS_DBNCE_0&gt;;
      cirrus,btn-det-init-dbnce = &lt;100&gt;;
      cirrus,btn-det-event-dbnce = &lt;10&gt;;
      cirrus,bias-lvls = &lt;0x0F 0x08 0x04 0x01&gt;;
      cirrus,hs-bias-ramp-rate = &lt;CS42L42_HSBIAS_RAMP_SLOW&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>

</details>

---

# Cirrus Logic CS42L43 Audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic CS42L43 Audio CODEC.

<!-- 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;cirrus&#44;cs42l43&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The CS42L43 is an audio CODEC with integrated MIPI SoundWire interface
(Version 1.2.1 compliant), I2C, SPI, and I2S/TDM interfaces designed
for portable applications. It provides a high dynamic range, stereo
DAC for headphone output, two integrated Class D amplifiers for
loudspeakers, and two ADCs for wired headset microphone input or
stereo line input. PDM inputs are provided for digital microphones.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;cirrus&#44;cs42l43&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-9a6200173ad12ab6efe4"></a>

### <code>vdd&#45;p&#45;supply</code> — required here

<div id="dt-6fb4e4b1709ea09136fb">
<p style="white-space: pre-wrap">Power supply for the high voltage interface.</p>
</div>

<a id="dt-9acb063507429238eb85"></a>

### <code>vdd&#45;a&#45;supply</code> — required here

<div id="dt-fc64819461e958b5d536">
<p style="white-space: pre-wrap">Power supply for internal analog circuits.</p>
</div>

<a id="dt-fea13d407b610ec9ec72"></a>

### <code>vdd&#45;d&#45;supply</code> — not listed as required here

<div id="dt-f5bfa59ac9bc680045f4">
<p style="white-space: pre-wrap">Power supply for internal digital circuits. Can be internally supplied.</p>
</div>

<a id="dt-ac5a064e93f89c8f8c74"></a>

### <code>vdd&#45;io&#45;supply</code> — required here

<div id="dt-d2933e3a00f0809fe617">
<p style="white-space: pre-wrap">Power supply for external interface and internal digital logic.</p>
</div>

<a id="dt-75db553c95f24b3fc14c"></a>

### <code>vdd&#45;cp&#45;supply</code> — required here

<div id="dt-de82cfb8d1e4666407ad">
<p style="white-space: pre-wrap">Power supply for the amplifier 3 and 4 charge pump.</p>
</div>

<a id="dt-886199103db94f190099"></a>

### <code>vdd&#45;amp&#45;supply</code> — not listed as required here

<div id="dt-7b4f29e05793356ab31f">
<p style="white-space: pre-wrap">Power supply for amplifier 1 and 2.</p>
</div>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Synchronous audio clock provided on mclk_in.</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

<a id="dt-c89ee2156759d6fed77b"></a>

### <code>cirrus&#44;bias&#45;low</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-1253153d92b96c78db83"><code>&#34;boolean&#34;</code></span>

<div id="dt-99970cb0c219bc261016">
<p style="white-space: pre-wrap">Select a 1.8V headset micbias rather than 2.8V.</p>
</div>

<a id="dt-ba4fdcdfbc9ac631be2e"></a>

### <code>cirrus&#44;bias&#45;sense&#45;microamp</code> — not listed as required here

<div id="dt-18ae54bfe2a478639763">
<p style="white-space: pre-wrap">Current at which the headset micbias sense clamp will engage, 0 to disable.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-afd634edecd3572055bb"></a> <span id="dt-0a6899c210a091fda040"><code>0</code></span>, <span id="dt-fd8998cfc4fce2afc03e"><code>14</code></span>, <span id="dt-3e9be956b072be08ef93"><code>24</code></span>, <span id="dt-5e0d5fb8a830887bfd32"><code>43</code></span>, <span id="dt-0f0a0adc989caef675b0"><code>52</code></span>, <span id="dt-2b6e8c1779467926a1e7"><code>61</code></span>, <span id="dt-d2811fb4a520c11514ed"><code>71</code></span>, <span id="dt-f4393261125d2e882a09"><code>90</code></span>, <span id="dt-f68aa1e532a8d44cc2f0"><code>99</code></span>

**Default value (<code>default</code>):** <span id="dt-ccbed666e580f264358b"><code>14</code></span>

<a id="dt-4c8e63d63cf2a7734d11"></a>

### <code>cirrus&#44;bias&#45;ramp&#45;ms</code> — not listed as required here

<div id="dt-86b0e49ea39e0fb83cbe">
<p style="white-space: pre-wrap">Time in milliseconds the hardware allows for the headset micbias to ramp up.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-9b52de2405d1ccf663cd"></a> <span id="dt-1434d837476983e2e63b"><code>10</code></span>, <span id="dt-1ba24f5a0450214b43c8"><code>40</code></span>, <span id="dt-a9de9d9b566673fd4bc5"><code>90</code></span>, <span id="dt-eaf486726fe61cbb4fae"><code>170</code></span>

**Default value (<code>default</code>):** <span id="dt-21bd98b734419b140276"><code>170</code></span>

<a id="dt-c65a2a3f58a12e154c14"></a>

### <code>cirrus&#44;detect&#45;us</code> — not listed as required here

<div id="dt-27ca0f8506321aa521e2">
<p style="white-space: pre-wrap">Time in microseconds the type detection will run for. Long values will cause more audible effects, but give more accurate detection.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-24224a5b296d196079a1"></a> <span id="dt-21ec745e470bdc8c1441"><code>20</code></span>, <span id="dt-0dae69f423141829e15c"><code>100</code></span>, <span id="dt-a4c5e46437893c499c99"><code>1000</code></span>, <span id="dt-f5d00fd5e48c8f9b617f"><code>10000</code></span>, <span id="dt-7f76bb9b67ce2905fb42"><code>50000</code></span>, <span id="dt-5df9570b0606b7dae268"><code>75000</code></span>, <span id="dt-ca109441dcf59d59e121"><code>100000</code></span>, <span id="dt-c66b9a9ec76470cfd0f3"><code>200000</code></span>

**Default value (<code>default</code>):** <span id="dt-64df9f473ad1888f1a0c"><code>1000</code></span>

<a id="dt-e98df4b79acfc9aab8bc"></a>

### <code>cirrus&#44;button&#45;automute</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-0abc6dfae72774938f03"><code>&#34;boolean&#34;</code></span>

<div id="dt-b79d1e213194a1132451">
<p style="white-space: pre-wrap">Enable the hardware automuting of decimator 1 when a headset button is pressed.</p>
</div>

<a id="dt-1bd3756fed3ac0407508"></a>

### <code>cirrus&#44;buttons&#45;ohms</code> — not listed as required here

<div id="dt-00d48be8d86b799c51b8">
<p style="white-space: pre-wrap">Impedance in Ohms for each headset button, these should be listed in ascending order.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-55c9299927406996c147"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71bf9572e6e21057ef9e"><code>6</code></span>

<a id="dt-2fa86ad16061cb9a06c8"></a>

### <code>cirrus&#44;tip&#45;debounce&#45;ms</code> — not listed as required here

<div id="dt-27f45c766aa6f14fb322">
<p style="white-space: pre-wrap">Software debounce on tip sense triggering in milliseconds.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-a187bf4b1bc9468f7aed"><code>0</code></span>

<a id="dt-6fea74497e9de9ebb4bc"></a>

### <code>cirrus&#44;tip&#45;invert</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-9f68a855fd4a1b769a9f"><code>&#34;boolean&#34;</code></span>

<div id="dt-198d1e40279e1cdc8fde">
<p style="white-space: pre-wrap">Indicates tip detect polarity, inverted implies open-circuit whilst the jack is inserted.</p>
</div>

<a id="dt-05f68abd56205e9bfef9"></a>

### <code>cirrus&#44;tip&#45;disable&#45;pullup</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-674d0d7f74b111e42526"><code>&#34;boolean&#34;</code></span>

<div id="dt-c0103bd03c6dfd6717fa">
<p style="white-space: pre-wrap">Indicates if the internal pullup on the tip detect should be disabled.</p>
</div>

<a id="dt-89e438e8e72db0ea1a91"></a>

### <code>cirrus&#44;tip&#45;fall&#45;db&#45;ms</code> — not listed as required here

<div id="dt-5ecc39dc3c8eebe4e5c7">
<p style="white-space: pre-wrap">Time in milliseconds a falling edge on the tip detect should be hardware debounced for. Note the falling edge is considered after the invert.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-f8af904f03400489d7b4"></a> <span id="dt-c716a879ea8c238e31af"><code>0</code></span>, <span id="dt-8e69edfeddd3ba0f4996"><code>125</code></span>, <span id="dt-8237f02c9f1581329f6e"><code>250</code></span>, <span id="dt-ee7cba38b63bfbc0a991"><code>500</code></span>, <span id="dt-66027633068430fb0cde"><code>750</code></span>, <span id="dt-b150f4f50546a8a82fe5"><code>1000</code></span>, <span id="dt-b9e95bd3bbc9828c5f34"><code>1250</code></span>, <span id="dt-c7b18144bd597d7fdfc6"><code>1500</code></span>

**Default value (<code>default</code>):** <span id="dt-1cdad6ce5b505e17737c"><code>500</code></span>

<a id="dt-567e1cf439a5b6a94b22"></a>

### <code>cirrus&#44;tip&#45;rise&#45;db&#45;ms</code> — not listed as required here

<div id="dt-7cd6c92a125e94afe88c">
<p style="white-space: pre-wrap">Time in milliseconds a rising edge on the tip detect should be hardware debounced for. Note the rising edge is considered after the invert.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-7b86982aae22a8023fde"></a> <span id="dt-1e291c0c599e01018282"><code>0</code></span>, <span id="dt-d4ba89035d21ff6ab168"><code>125</code></span>, <span id="dt-35c61ff61485d3a2c3e4"><code>250</code></span>, <span id="dt-c9a7d3795a20e3a498c3"><code>500</code></span>, <span id="dt-9fdaffb88b1248b71bc6"><code>750</code></span>, <span id="dt-7444a7664980442fff33"><code>1000</code></span>, <span id="dt-a417b6dce38048a9e418"><code>1250</code></span>, <span id="dt-94c25455597e38bea174"><code>1500</code></span>

**Default value (<code>default</code>):** <span id="dt-48f9ac35064e73bde0ba"><code>500</code></span>

<a id="dt-eca82e9d4bbf13142eea"></a>

### <code>cirrus&#44;use&#45;ring&#45;sense</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-802acd46088aeb997d79"><code>&#34;boolean&#34;</code></span>

<div id="dt-9ebe04d360aadc576355">
<p style="white-space: pre-wrap">Indicates if the ring sense should be used.</p>
</div>

<a id="dt-baf6491dc6e1b555b930"></a>

### <code>cirrus&#44;ring&#45;invert</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-08b5af79ab12ae7c53cc"><code>&#34;boolean&#34;</code></span>

<div id="dt-742dfa0d9511b8554f6b">
<p style="white-space: pre-wrap">Indicates ring detect polarity, inverted implies open-circuit whilst the jack is inserted.</p>
</div>

<a id="dt-ff54bfd14ea71ccd735f"></a>

### <code>cirrus&#44;ring&#45;disable&#45;pullup</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-198457782bf7d09a4861"><code>&#34;boolean&#34;</code></span>

<div id="dt-20dae31e805f0cf78935">
<p style="white-space: pre-wrap">Indicates if the internal pullup on the ring detect should be disabled.</p>
</div>

<a id="dt-e0880e8e03a7251a8253"></a>

### <code>cirrus&#44;ring&#45;fall&#45;db&#45;ms</code> — not listed as required here

<div id="dt-2bc3a14281bd16ea7970">
<p style="white-space: pre-wrap">Time in milliseconds a falling edge on the ring detect should be hardware debounced for. Note the falling edge is considered after the invert.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-69bf3677b2984c6f6b2e"></a> <span id="dt-fccb900a697531fb09f2"><code>0</code></span>, <span id="dt-4ce9185c049f5f2bdddd"><code>125</code></span>, <span id="dt-cd32aafcea22d6fc9482"><code>250</code></span>, <span id="dt-f910f0e5191577de5c9d"><code>500</code></span>, <span id="dt-72d1f7184f63c0e116ac"><code>750</code></span>, <span id="dt-b1f7cfd0b5276ecfc76e"><code>1000</code></span>, <span id="dt-9b843fb22bcaab99ab9b"><code>1250</code></span>, <span id="dt-46c5a5b8838a26d2560a"><code>1500</code></span>

**Default value (<code>default</code>):** <span id="dt-e8e8052a63553e89a4ba"><code>500</code></span>

<a id="dt-ea642e3419b1e1424c25"></a>

### <code>cirrus&#44;ring&#45;rise&#45;db&#45;ms</code> — not listed as required here

<div id="dt-0ff20414b38c292562ce">
<p style="white-space: pre-wrap">Time in milliseconds a rising edge on the ring detect should be hardware debounced for. Note the rising edge is considered after the invert.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-f28f0b3fcedb3053e01f"></a> <span id="dt-15ef3cfd56e338e3ed49"><code>0</code></span>, <span id="dt-28d582e0d2e1c7b67fa9"><code>125</code></span>, <span id="dt-ffc1a0ed2cd8563740ce"><code>250</code></span>, <span id="dt-fde88c02c529a536de96"><code>500</code></span>, <span id="dt-e7133c52c1409b47d7b5"><code>750</code></span>, <span id="dt-feed36d08c6a9d0114d6"><code>1000</code></span>, <span id="dt-465c9201137d408556c6"><code>1250</code></span>, <span id="dt-fd5287ccd6ba93a383c1"><code>1500</code></span>

**Default value (<code>default</code>):** <span id="dt-63b5128d45eb545e75d9"><code>500</code></span>

<a id="dt-2a73799bc37844734021"></a>

### <code>pinctrl</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-b52a486c2b6dca4e4d33"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-750f6955378f610b76b5">[<code>&#47;schemas&#47;pinctrl&#47;pinctrl&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pinctrl.md#dt-root>)</span>

<a id="dt-b2d5bb8f7da956a0f3d8"></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-1b178218ddb5d37e1345"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-0a33a4758e8d12b58646"></a>

**<code>gpio&#45;controller</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-2d71a5f73c9e844b1136"></a>

**<code>&#35;gpio&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-b45b03ed640316ae49f3"><code>2</code></span>

<a id="dt-370429381bc0c8e9970b"></a>

**<code>gpio&#45;ranges</code> — not listed as required here**

<a id="dt-c12209d706be5a61eaa1"></a>

**Array item rules (<code>items</code>)**

<a id="dt-3fafe08126675e25f70b"></a>

**Item 1**

> <a id="dt-a39cd7723db0509fc74e"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b1e2c4727838f69713db"></a>
>
> **Item 1**
>
> > <div id="dt-889f565a835ab342d2f8">
> > <p style="white-space: pre-wrap">A phandle to the CODEC pinctrl node</p>
> > </div>
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-603d52d508beec63bac9"><code>0</code></span>
>
> <a id="dt-5491adcba4047908303f"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-b5d07b936883483cffe4"><code>0</code></span>
>
> <a id="dt-e200599665c7271a764d"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-e0a538695a9cbc45afa1"><code>0</code></span>
>
> <a id="dt-53bbbeea70dcec9d1b52"></a>
>
> **Item 4**
>
> > **Exact value (<code>const</code>):** <span id="dt-b3782b0a7a0fac001118"><code>3</code></span>

<a id="dt-9cc621683017a043b1fc"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-1a4f7455c07d3d20b406"></a>

**<code>&#45;state&#36;</code> — name matches this regular expression**

<a id="dt-ac2c82053536ba731de2"></a>

**Exactly one of these rules must match (<code>oneOf</code>)**

<a id="dt-cccc841a30fa4dfde489"></a>

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4d505499a96811c5ed85">[<code>&#35;&#47;&#36;defs&#47;cirrus&#45;cs42l43&#45;state</code>](<#dt-a7c8b5d355a47c2fc988>)</span>

<a id="dt-4589fc731c89fcd24292"></a>

**Rule 2**

> <a id="dt-66ae1a365df1c48e185a"></a>
>
> **Properties matching a name pattern (<code>patternProperties</code>)**
>
> <a id="dt-f23fd74095b2af100e5a"></a>
>
> **<code>&#45;pins&#36;</code> — name matches this regular expression**
>
> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-73b5a896e5167466fbb4">[<code>&#35;&#47;&#36;defs&#47;cirrus&#45;cs42l43&#45;state</code>](<#dt-a7c8b5d355a47c2fc988>)</span>
>
> <a id="dt-7d63775b67b54da8e59d"></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-f33d7706d68375fd3ea9"></a>

### <code>spi</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-fa66bb76f8b2293d93e9"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-11986cdbb8e28c4e5f78">[<code>&#47;schemas&#47;spi&#47;spi&#45;controller&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-controller.md#dt-root>)</span>

<a id="dt-2dd13934bed939b5937c"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-7fcd144dee0d1b44122a"></a>

## Reusable definitions (<code>&#36;defs</code>)

<a id="dt-a7c8b5d355a47c2fc988"></a>

### <code>cirrus&#45;cs42l43&#45;state</code>

**Value type (<code>type</code>):** <span id="dt-1e13b8d38966ba005003"><code>&#34;object&#34;</code></span>

<a id="dt-54347f49f2750e9ebb35"></a>

#### All of these rules must match (<code>allOf</code>)

<a id="dt-f719a26443aca4f438bf"></a>

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ff383b30a68b24403ee4">[<code>&#47;schemas&#47;pinctrl&#47;pincfg&#45;node&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pincfg-node.md#dt-root>)</span>

<a id="dt-860219ac50715da70102"></a>

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-70552cd119a706bbd648">[<code>&#47;schemas&#47;pinctrl&#47;pinmux&#45;node&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pinctrl/pinmux-node.md#dt-root>)</span>

<a id="dt-cf0f363cd243e0dc2dcd"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-837ae280650a1651b39d"></a>

**Rule 1**

> **Required in this object (<code>required</code>):** <a id="dt-5364d93f0f215ef3b6bb"></a> <span id="dt-c6032d7886a788934ba3"><code>&#34;groups&#34;</code></span>

<a id="dt-0568ec25c4f003e708e4"></a>

**Rule 2**

> **Required in this object (<code>required</code>):** <a id="dt-a4dbd0663cf34e39ac33"></a> <span id="dt-17438254e5c046cbe95c"><code>&#34;pins&#34;</code></span>

<a id="dt-27a82a20829ae623e211"></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-ae54d99ca88d26f486d8"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-76ef1ff36852d8afa082"></a>

**<code>groups</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-adcccac5a6e9ea192a08"></a> <span id="dt-a16c3d5192a75e1af4ca"><code>&#34;gpio1&#34;</code></span>, <span id="dt-a1513caa343807dbc07d"><code>&#34;gpio2&#34;</code></span>, <span id="dt-23bc47f6ad194fa1faff"><code>&#34;gpio3&#34;</code></span>, <span id="dt-a22c221ed768a6d2f5a0"><code>&#34;asp&#34;</code></span>, <span id="dt-d70f15ec234f1d3fa0aa"><code>&#34;pdmout2&#34;</code></span>, <span id="dt-881567f4365ae43dbb75"><code>&#34;pdmout1&#34;</code></span>, <span id="dt-ebaa42ccf08f3f5aaa68"><code>&#34;i2c&#34;</code></span>, <span id="dt-42e0a26ffb20dcfc85e6"><code>&#34;spi&#34;</code></span>

<a id="dt-d17f1be64a17cd225152"></a>

**<code>pins</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-cf452f4151d8674e9993"></a> <span id="dt-0feae4d6f4094fd4df26"><code>&#34;gpio1&#34;</code></span>, <span id="dt-f209ee61a2f5ef092d8e"><code>&#34;gpio2&#34;</code></span>, <span id="dt-4fde7c2fd8346ffc30bf"><code>&#34;gpio3&#34;</code></span>, <span id="dt-8f6f01b37d1fd86ac2b2"><code>&#34;asp&#95;dout&#34;</code></span>, <span id="dt-5248222b797f6a62eade"><code>&#34;asp&#95;fsync&#34;</code></span>, <span id="dt-92635e4bd7c68e2fecab"><code>&#34;asp&#95;bclk&#34;</code></span>, <span id="dt-aca1ee142f7a96f3672b"><code>&#34;pdmout2&#95;clk&#34;</code></span>, <span id="dt-fffde2a18416206cfcfa"><code>&#34;pdmout2&#95;data&#34;</code></span>, <span id="dt-02b8acefe9bedfd4d26d"><code>&#34;pdmout1&#95;clk&#34;</code></span>, <span id="dt-faaf2f2bfbbb9e65609e"><code>&#34;pdmout1&#95;data&#34;</code></span>, <span id="dt-7f5b7edcdf3c0e09296c"><code>&#34;i2c&#95;sda&#34;</code></span>, <span id="dt-e697c4beedd3a0cd653e"><code>&#34;i2c&#95;scl&#34;</code></span>, <span id="dt-dbb5768d6fe1547ca2a4"><code>&#34;spi&#95;miso&#34;</code></span>, <span id="dt-4ad734f7304d9fedcc06"><code>&#34;spi&#95;sck&#34;</code></span>, <span id="dt-bd9a8d19dd1f795224bd"><code>&#34;spi&#95;ssb&#34;</code></span>

<a id="dt-23bdeca3d4a432f424ee"></a>

**<code>function</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-26a5ddfad68f990cab13"></a> <span id="dt-e8c643233520aee52958"><code>&#34;gpio&#34;</code></span>, <span id="dt-711f8a944fe857ff0623"><code>&#34;spdif&#34;</code></span>, <span id="dt-185905a4e38b6e7de293"><code>&#34;irq&#34;</code></span>, <span id="dt-45fc8602b719e2352eb7"><code>&#34;mic&#45;shutter&#34;</code></span>, <span id="dt-ec6ac2c11126eaaa8bad"><code>&#34;spk&#45;shutter&#34;</code></span>

<a id="dt-1007a2cc697e9de0951c"></a>

**<code>drive&#45;strength</code> — not listed as required here**

<div id="dt-42a411fcbefa105c8e2c">
<p style="white-space: pre-wrap">Set drive strength in mA</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-cf7fb9d7fba648f8f97f"></a> <span id="dt-069528c45e4e7dc82da3"><code>1</code></span>, <span id="dt-dbd875466916b463bd11"><code>2</code></span>, <span id="dt-8407137ab726a8a331ca"><code>4</code></span>, <span id="dt-8cbfd7d0b741259ea24a"><code>8</code></span>, <span id="dt-1a310d939fa915634f60"><code>9</code></span>, <span id="dt-76a01c73e3a3d4101db6"><code>10</code></span>, <span id="dt-e18c9a2b5933b62f43ea"><code>12</code></span>, <span id="dt-446baf160a5538f79bc8"><code>16</code></span>

<a id="dt-10845c49489d3b5e7442"></a>

**<code>input&#45;debounce</code> — not listed as required here**

<div id="dt-13aa4d2007cc8617e7ad">
<p style="white-space: pre-wrap">Set input debounce in uS</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-46b9771b2cf099e8d662"></a> <span id="dt-8fc139ff0536f05c425b"><code>0</code></span>, <span id="dt-b561a4c87d4b61bb6e5f"><code>85</code></span>

**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;vdd&#45;p&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vdd&#45;a&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;vdd&#45;io&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;vdd&#45;cp&#45;supply&#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/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cs42l43: codec@1a {
        compatible = "cirrus,cs42l43";
        reg = &lt;0x1a&gt;;

        vdd-p-supply = &lt;&amp;vdd5v0&gt;;
        vdd-a-supply = &lt;&amp;vdd1v8&gt;;
        vdd-io-supply = &lt;&amp;vdd1v8&gt;;
        vdd-cp-supply = &lt;&amp;vdd1v8&gt;;
        vdd-amp-supply = &lt;&amp;vdd5v0&gt;;

        reset-gpios = &lt;&amp;gpio 0&gt;;

        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
        interrupt-parent = &lt;&amp;gpio&gt;;
        interrupts = &lt;56 IRQ_TYPE_LEVEL_LOW&gt;;

        #sound-dai-cells = &lt;1&gt;;

        clocks = &lt;&amp;clks 0&gt;;
        clock-names = "mclk";

        cs42l43_pins: pinctrl {
            gpio-controller;
            #gpio-cells = &lt;2&gt;;
            gpio-ranges = &lt;&amp;cs42l43_pins 0 0 3&gt;;

            pinctrl-names = "default";
            pinctrl-0 = &lt;&amp;pinsettings&gt;;

            pinsettings: default-state {
                shutter-pins {
                    groups = "gpio3";
                    function = "mic-shutter";
                };
            };
        };

        spi {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;

            cs-gpios = &lt;&amp;cs42l43_pins 1 0&gt;;

            sensor@0 {
                compatible = "bosch,bme680";
                reg = &lt;0&gt;;
                spi-max-frequency = &lt;1400000&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>

</details>

---

# CS42L51 audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for CS42L51 audio codec.

<!-- 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;cirrus&#44;cs42l51&#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;Olivier Moysan &#60;olivier&#46;moysan&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;cirrus&#44;cs42l51&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;MCLK&#34;</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-6cdd80b55a12cd61615e"></a>

### <code>VL&#45;supply</code> — not listed as required here

<div id="dt-26d44d9a50c7ab1599b9">
<p style="white-space: pre-wrap">phandle to voltage regulator of digital interface section</p>
</div>

<a id="dt-9fb352be77be99557e4b"></a>

### <code>VD&#45;supply</code> — not listed as required here

<div id="dt-fa7555b61c1353580b4f">
<p style="white-space: pre-wrap">phandle to voltage regulator of digital internal section</p>
</div>

<a id="dt-921c71e4dcb08aa4da1c"></a>

### <code>VA&#45;supply</code> — not listed as required here

<div id="dt-052b84cd0b1a23aff974">
<p style="white-space: pre-wrap">phandle to voltage regulator of analog internal section</p>
</div>

<a id="dt-ff4bc3bf8142614a78f8"></a>

### <code>VAHP&#45;supply</code> — not listed as required here

<div id="dt-a73a4678d3ae56e0d709">
<p style="white-space: pre-wrap">phandle to voltage regulator of headphone</p>
</div>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  cs42l51@4a {
    compatible = "cirrus,cs42l51";
    reg = &lt;0x4a&gt;;
    #sound-dai-cells = &lt;0&gt;;
    clocks = &lt;&amp;mclk_prov&gt;;
    clock-names = "MCLK";
    VL-supply = &lt;&amp;reg_audio&gt;;
    VD-supply = &lt;&amp;reg_audio&gt;;
    VA-supply = &lt;&amp;reg_audio&gt;;
    VAHP-supply = &lt;&amp;reg_audio&gt;;
    reset-gpios = &lt;&amp;gpiog 9 GPIO_ACTIVE_LOW&gt;;

    /* assume audio-graph */
    port {
      cpu_endpoint: endpoint {
        remote-endpoint = &lt;&amp;cpu_endpoint&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>

</details>

---

# Cirrus Logic CS42L84 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic CS42L84 audio CODEC.

<!-- 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;cirrus&#44;cs42l84&#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;Martin Povišer &#60;povik&#43;lin&#64;cutebit&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The CS42L84 is a headphone jack codec made by Cirrus Logic and embedded
in personal computers sold by Apple. It was first seen in 2021 Macbook
Pro models. It has stereo DAC for playback, mono ADC for capture, and
is somewhat similar to CS42L42 but with a different regmap.</p>
</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;cirrus&#44;cs42l84&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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>

<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/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  jack_codec: codec@4b {
      compatible = "cirrus,cs42l84";
      reg = &lt;0x4b&gt;;
      reset-gpios = &lt;&amp;pinctrl_nub 4 GPIO_ACTIVE_LOW&gt;;
      interrupts-extended = &lt;&amp;pinctrl_ap 180 IRQ_TYPE_LEVEL_LOW&gt;;
      #sound-dai-cells = &lt;0&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>

</details>

---

# Cirrus Logic CS42448/CS42888 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic CS42448/CS42888 audio CODEC.

<!-- 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;cirrus&#44;cs42xx8&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;cirrus&#44;cs42448&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;cirrus&#44;cs42888&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

<a id="dt-921c71e4dcb08aa4da1c"></a>

### <code>VA&#45;supply</code> — not listed as required here

<div id="dt-052b84cd0b1a23aff974">
<p style="white-space: pre-wrap">Analog power supply.</p>
</div>

<a id="dt-9fb352be77be99557e4b"></a>

### <code>VD&#45;supply</code> — not listed as required here

<div id="dt-fa7555b61c1353580b4f">
<p style="white-space: pre-wrap">Digital power supply.</p>
</div>

<a id="dt-1f51427b60685f1fadfd"></a>

### <code>VLC&#45;supply</code> — not listed as required here

<div id="dt-8922d623cbd2be33ccb5">
<p style="white-space: pre-wrap">Control port power supply</p>
</div>

<a id="dt-4877adcb33801c380844"></a>

### <code>VLS&#45;supply</code> — not listed as required here

<div id="dt-859fe5f569816738bec5">
<p style="white-space: pre-wrap">Serial port interface power supply.</p>
</div>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">This pin is connected to the chip's RESET pin.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#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>)**
>
> > **Exact value (<code>const</code>):** <span id="dt-0259836b095562054cc8"><code>&#34;cirrus&#44;cs42888&#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;VA&#45;supply&#34;</code></span>, <span id="dt-dd9db9085e2885964a9c"><code>&#34;VD&#45;supply&#34;</code></span>, <span id="dt-0d447fba1979bb23b68c"><code>&#34;VLC&#45;supply&#34;</code></span>, <span id="dt-3adb818020869fe51cc1"><code>&#34;VLS&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  codec@48 {
      compatible = "cirrus,cs42888";
      reg = &lt;0x48&gt;;
      clocks = &lt;&amp;codec_mclk 0&gt;;
      clock-names = "mclk";
      VA-supply = &lt;&amp;reg_audio&gt;;
      VD-supply = &lt;&amp;reg_audio&gt;;
      VLS-supply = &lt;&amp;reg_audio&gt;;
      VLC-supply = &lt;&amp;reg_audio&gt;;
      reset-gpios = &lt;&amp;gpio 1&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>

</details>

---

# Cirrus Logic CS48L32 audio DSP.

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic CS48L32 audio DSP..

<!-- 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;cirrus&#44;cs48l32&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The CS48L32 is a high-performance low-power audio DSP for smartphones and
other portable audio devices. The CS48L32 combines a programmable Halo Core
DSP with a variety of power-efficient fixed-function audio processors.</p>
<p style="white-space: pre-wrap">See also the binding headers:</p>
<pre><code>  include/dt-bindings/sound/cs48l32.yaml</code></pre>
</div>

<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>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;cirrus&#44;cs48l32&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">SPI chip-select number.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-f17e1c3bb71259096275"><code>25000000</code></span>

<a id="dt-9acb063507429238eb85"></a>

### <code>vdd&#45;a&#45;supply</code> — required here

<div id="dt-fc64819461e958b5d536">
<p style="white-space: pre-wrap">Regulator supplying VDD_A</p>
</div>

<a id="dt-fea13d407b610ec9ec72"></a>

### <code>vdd&#45;d&#45;supply</code> — required here

<div id="dt-f5bfa59ac9bc680045f4">
<p style="white-space: pre-wrap">Regulator supplying VDD_D</p>
</div>

<a id="dt-ac5a064e93f89c8f8c74"></a>

### <code>vdd&#45;io&#45;supply</code> — required here

<div id="dt-d2933e3a00f0809fe617">
<p style="white-space: pre-wrap">Regulator supplying VDD_IO</p>
</div>

<a id="dt-75db553c95f24b3fc14c"></a>

### <code>vdd&#45;cp&#45;supply</code> — required here

<div id="dt-de82cfb8d1e4666407ad">
<p style="white-space: pre-wrap">Regulator supplying VDD_CP</p>
</div>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">One entry specifying the GPIO controlling /RESET. Although optional, it is strongly recommended to use a hardware reset.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">The clock supplied on MCLK1</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk1&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-8717b55faf533bb7ee5b"></a>

### <code>cirrus&#44;in&#45;type</code> — not listed as required here

<div id="dt-bddd9585f3d873e8fadd">
<pre><code>A list of input type settings for each ADC input.
Inputs are one of these types:
  CS48L32_IN_TYPE_DIFF : analog differential (default)
  CS48L32_IN_TYPE_SE :   analog single-ended</code></pre>
<p style="white-space: pre-wrap">The type of the left (L) and right (R) channel on each input is
independently configured, as are the two groups of pins muxable to
the input (referred to in the datasheet as "1" and "2").</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-357f9f018a4d4ec7fb39">[<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-6d53c85a37a4d8a90453"></a>

#### Array item rules (<code>items</code>)

<a id="dt-9044832729a00d7a8dd7"></a>

**Item 1**

> <div id="dt-bd9d40e4904236bd264c">
> <p style="white-space: pre-wrap">IN1L_1 analog input type. One of the CS48L32_IN_TYPE_xxx.</p>
> </div>
>
> **Minimum value (<code>minimum</code>):** <span id="dt-c48100d9351596acfa14"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-8af15f000b42f69d2999"><code>1</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-1f1db0ad340809409857"><code>0</code></span>

<a id="dt-a7cd51bff828415e5389"></a>

**Item 2**

> <div id="dt-abf04c101568b0bd4e49">
> <p style="white-space: pre-wrap">IN1R_1 analog input type. One of the CS48L32_IN_TYPE_xxx.</p>
> </div>
>
> **Minimum value (<code>minimum</code>):** <span id="dt-001d2566c888b508f88a"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-571e641b8174fdeee5d1"><code>1</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-c8632c148c6c52c53e63"><code>0</code></span>

<a id="dt-b93831b7a102544bc87e"></a>

**Item 3**

> <div id="dt-320f34614e8ff2bd2228">
> <p style="white-space: pre-wrap">IN1L_2 analog input type. One of the CS48L32_IN_TYPE_xxx.</p>
> </div>
>
> **Minimum value (<code>minimum</code>):** <span id="dt-a428e07de1cc5af70229"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-c9b95e92b5e813929463"><code>1</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-a8bb7ef0d9bcb4815df1"><code>0</code></span>

<a id="dt-50f87b77f21bc3134e5a"></a>

**Item 4**

> <div id="dt-319aedd556f43d2c5f32">
> <p style="white-space: pre-wrap">IN1R_2 analog input type. One of the CS48L32_IN_TYPE_xxx.</p>
> </div>
>
> **Minimum value (<code>minimum</code>):** <span id="dt-414abcd49f9ec1307c03"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-800e1abd2c192ca5042a"><code>1</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-191d084432f03c48b5e5"><code>0</code></span>

<a id="dt-40c4822ac3c2840391df"></a>

### <code>cirrus&#44;pdm&#45;sup</code> — not listed as required here

<div id="dt-69ee3ccd15bf1d0c51e3">
<p style="white-space: pre-wrap">Indicate which MICBIAS output supplies bias to the microphone.
There is one cell per input (IN1, IN2, ...).</p>
<pre><code>One of the CS48L32_MICBIAS_xxx values.
  CS48L32_PDM_SUP_VOUT_MIC : mic biased from VOUT_MIC
  CS48L32_PDM_SUP_MICBIAS1 : mic biased from MICBIAS1</code></pre>
<p style="white-space: pre-wrap">Also see the INn_PDM_SUP field in the datasheet.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8cbc2b2edc01b16e8f32">[<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-f04a607c3efd00933d79"></a>

#### Array item rules (<code>items</code>)

<a id="dt-de3c81f5bff1414efb8d"></a>

**Item 1**

> <div id="dt-259f290843dcf4020e1c">
> <p style="white-space: pre-wrap">IN1 PDM supply source</p>
> </div>
>
> **Minimum value (<code>minimum</code>):** <span id="dt-c403ab01b7feda323e2f"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-7e65f9533c4fda2ea1d5"><code>1</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-a13f27ebae10649355ed"><code>0</code></span>

<a id="dt-82efaa66bfde6e2655d8"></a>

**Item 2**

> <div id="dt-327f3ca92a453d5fb606">
> <p style="white-space: pre-wrap">IN2 PDM supply source</p>
> </div>
>
> **Minimum value (<code>minimum</code>):** <span id="dt-bf061e5e0e3e5375b411"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-ab7d8a9c562fc0bbbce8"><code>1</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-7f96149019cbc244bd74"><code>0</code></span>

**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;vdd&#45;a&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vdd&#45;d&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;vdd&#45;io&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;vdd&#45;cp&#45;supply&#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/sound/cs48l32.h&gt;

spi@e0006000 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0xe0006000 0x1000&gt;;

    codec@1 {
        compatible = "cirrus,cs48l32";

        reg = &lt;0x1&gt;;
        spi-max-frequency = &lt;2500000&gt;;

        vdd-a-supply = &lt;&amp;regulator_1v8&gt;;
        vdd-d-supply = &lt;&amp;regulator_1v2&gt;;
        vdd-io-supply = &lt;&amp;regulator_1v8&gt;;
        vdd-cp-supply = &lt;&amp;regulator_1v8&gt;;

        reset-gpios = &lt;&amp;gpio 0 0&gt;;

        clocks = &lt;&amp;clks 0&gt;;
        clock-names = "mclk1";

        interrupt-parent = &lt;&amp;gpio0&gt;;
        interrupts = &lt;56 8&gt;;

        #sound-dai-cells = &lt;1&gt;;

        cirrus,in-type = &lt;
            CS48L32_IN_TYPE_DIFF CS48L32_IN_TYPE_DIFF
            CS48L32_IN_TYPE_SE   CS48L32_IN_TYPE_SE
        &gt;;

        cirrus,pdm-sup = &lt;
          CS48L32_PDM_SUP_MICBIAS1 CS48L32_PDM_SUP_MICBIAS1
        &gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/sound/cs48l32.h&gt;

spi@e0006000 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0xe0006000 0x1000&gt;;

    codec@1 {
        compatible = "cirrus,cs48l32";

        reg = &lt;0x1&gt;;

        vdd-a-supply = &lt;&amp;regulator_1v8&gt;;
        vdd-d-supply = &lt;&amp;regulator_1v2&gt;;
        vdd-io-supply = &lt;&amp;regulator_1v8&gt;;
        vdd-cp-supply = &lt;&amp;regulator_1v8&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 174:</strong> <span></span></p>

<p id="dt-comment-2"><strong>Line 175:</strong> <span> Minimal config</span></p>

<p id="dt-comment-3"><strong>Line 176:</strong> <span></span></p>

</details>

---

# Cirrus Logic cs530x family of audio ADCs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic cs530x family of audio ADCs.

<!-- 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;cirrus&#44;cs530x&#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;Paul Handrigan &#60;paulha&#64;opensource&#46;cirrus&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The CS530X devices are a family of high performance audio ADCs.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.md#dt-root>)</span>

<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;cirrus&#44;cs4282&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;cirrus&#44;cs4302&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;cirrus&#44;cs4304&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;cirrus&#44;cs4308&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;cirrus&#44;cs5302&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;cirrus&#44;cs5304&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;cirrus&#44;cs5308&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-f17e1c3bb71259096275"><code>24000000</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-9acb063507429238eb85"></a>

### <code>vdd&#45;a&#45;supply</code> — not listed as required here

<div id="dt-fc64819461e958b5d536">
<p style="white-space: pre-wrap">Analog power supply</p>
</div>

<a id="dt-ac5a064e93f89c8f8c74"></a>

### <code>vdd&#45;io&#45;supply</code> — not listed as required here

<div id="dt-d2933e3a00f0809fe617">
<p style="white-space: pre-wrap">Digital IO power supply</p>
</div>

<a id="dt-50f640feb4b12eba978f"></a>

### <code>cirrus&#44;in&#45;hiz&#45;pin12</code> — not listed as required here

<div id="dt-1ca59f9e5b152b828b7e">
<p style="white-space: pre-wrap">Sets input channels one and two to high impedance.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-2d26dacccd4604c954ad"><code>&#34;boolean&#34;</code></span>

<a id="dt-6b3b67f10ae5fe02e664"></a>

### <code>cirrus&#44;in&#45;hiz&#45;pin34</code> — not listed as required here

<div id="dt-c615590f69036e869edb">
<p style="white-space: pre-wrap">Sets input channels three and four to high impedance.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-005b1b6706b3ef6c28ec"><code>&#34;boolean&#34;</code></span>

<a id="dt-9a907f6f32c2f64712e3"></a>

### <code>cirrus&#44;in&#45;hiz&#45;pin56</code> — not listed as required here

<div id="dt-641047a3b36b633e235d">
<p style="white-space: pre-wrap">Sets input channels five and six to high impedance.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-8baf948a24f017454336"><code>&#34;boolean&#34;</code></span>

<a id="dt-9b4dfe4f1cd64a7dde09"></a>

### <code>cirrus&#44;in&#45;hiz&#45;pin78</code> — not listed as required here

<div id="dt-3124bcbe1a3728bb371f">
<p style="white-space: pre-wrap">Sets input channels seven and eight to high impedance.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-8f7eaec6f590b565cebb"><code>&#34;boolean&#34;</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cs5304: adc@48 {
        compatible = "cirrus,cs5304";
        reg = &lt;0x48&gt;;
        #sound-dai-cells = &lt;1&gt;;
        reset-gpios = &lt;&amp;gpio 110 GPIO_ACTIVE_LOW&gt;;
        vdd-a-supply = &lt;&amp;vreg&gt;;
        vdd-io-supply = &lt;&amp;vreg&gt;;
        cirrus,in-hiz-pin34;
    };
};
</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>

</details>

---

# Cirrus EP93xx I2S Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus EP93xx I2S Controller.

<!-- 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;cirrus&#44;ep9301&#45;i2s&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The I2S controller is used to stream serial audio data between the external
I2S CODECs’, ADCs/DACs, and the ARM Core. The controller supports I2S, Left-
and Right-Justified DSP formats.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Alexander Sverdlin &#60;alexander&#46;sverdlin&#64;gmail&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;cirrus&#44;ep9301&#45;i2s&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>3</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>3</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;sclk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;lrclk&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">out DMA channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">in DMA channel</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#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">i2s: i2s@80820000 {
    compatible = "cirrus,ep9301-i2s";
    #sound-dai-cells = &lt;0&gt;;
    reg = &lt;0x80820000 0x100&gt;;
    interrupt-parent = &lt;&amp;vic1&gt;;
    interrupts = &lt;28&gt;;
    clocks = &lt;&amp;syscon 29&gt;,
             &lt;&amp;syscon 30&gt;,
             &lt;&amp;syscon 31&gt;;
    clock-names = "mclk", "sclk", "lrclk";
    dmas = &lt;&amp;dma0 0 1&gt;, &lt;&amp;dma0 0 2&gt;;
    dma-names = "tx", "rx";
};
</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>

</details>

---

# Cirrus Logic Lochnagar Audio Development Board

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic Lochnagar Audio Development Board.

<!-- 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;cirrus&#44;lochnagar&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Lochnagar is an evaluation and development board for Cirrus Logic
Smart CODEC and Amp devices. It allows the connection of most Cirrus
Logic devices on mini-cards, as well as allowing connection of various
application processor systems to provide a full evaluation platform.
Audio system topology, clocking and power can all be controlled through
the Lochnagar, allowing the device under test to be used in a variety of
possible use cases.</p>
<p style="white-space: pre-wrap">This binding document describes the binding for the audio portion of the
driver.</p>
<pre><code>This binding must be part of the Lochnagar MFD binding:
  [1] ../mfd/cirrus,lochnagar.yaml</code></pre>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;cirrus&#44;lochnagar2&#45;soundcard&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

<div id="dt-c6fec2b67f85839e5c16">
<p style="white-space: pre-wrap">The first cell indicating the audio interface.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Master clock source for the sound card, should normally be set to LOCHNAGAR_SOUNDCARD_MCLK provided by the Lochnagar clock driver.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not 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>

---

# Cirrus Logic Madera class audio CODECs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic Madera class audio CODECs.

<!-- 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;cirrus&#44;madera&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This describes audio configuration bindings for these codecs.</p>
<p style="white-space: pre-wrap">See also the core bindings for the parent MFD driver:</p>
<pre><code>  Documentation/devicetree/bindings/mfd/cirrus,madera.yaml</code></pre>
<p style="white-space: pre-wrap">and defines for values used in these bindings:</p>
<pre><code>  include/dt-bindings/sound/madera.h</code></pre>
<p style="white-space: pre-wrap">The properties are all contained in the parent MFD node.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

<div id="dt-c6fec2b67f85839e5c16">
<p style="white-space: pre-wrap">The first cell indicating the audio interface.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-1f57f730a6dc16ec6676"></a>

### <code>cirrus&#44;inmode</code> — not listed as required here

<div id="dt-179d90b0999fa6360443">
<p style="white-space: pre-wrap">A list of input mode settings for each input. A maximum of 24 cells, with four cells per input in the order INnAL, INnAR INnBL INnBR.  For non-muxed inputs the first two cells for that input set the mode for the left and right channel and the second two cells must be 0.  For muxed inputs the first two cells for that input set the mode of the left and right A inputs and the second two cells set the mode of the left and right B inputs.  Valid mode values are one of the MADERA_INMODE_xxx. If the array is shorter than the number of inputs the unspecified inputs default to MADERA_INMODE_DIFF.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5aaed40f18e27cf40982">[<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-3a4a4bfac81f5e444c05"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6a31238493c61bc45dfc"><code>24</code></span>

<a id="dt-e23b870b8feb154b04e3"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-1318799756f9f42d7d6f"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-f369a07a473933ffc5df"><code>1</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-ae6da2fa4b41c8891fa5"><code>0</code></span>

<a id="dt-7fec09e485f88e4ba5c5"></a>

### <code>cirrus&#44;out&#45;mono</code> — not listed as required here

<div id="dt-69a32060fbebd58b17be">
<p style="white-space: pre-wrap">Mono bit for each output, maximum of six cells if the array is shorter outputs will be set to stereo.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1a01c21cbe542c5908c5">[<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-52b4645594f8b934a32b"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-a34d1967f8182a287df4"><code>6</code></span>

<a id="dt-5c725e41511ee825b29d"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-5aaa6afdd3e9eb651f07"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-7eac5fd762feeb2a8b60"><code>1</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-5f74754edbac5f1bf96e"><code>0</code></span>

<a id="dt-c1f6a45d986677b7718d"></a>

### <code>cirrus&#44;dmic&#45;ref</code> — not listed as required here

<div id="dt-d16affc39e44a5e221a3">
<p style="white-space: pre-wrap">Indicates how the MICBIAS pins have been externally connected
to DMICs on each input, one cell per input.</p>
<pre><code>  &lt;IN1 IN2 IN3 ...&gt;</code></pre>
<p style="white-space: pre-wrap">A value of 0 indicates MICVDD and is the default,
other values depend on the codec: For CS47L35 one of the
CS47L35_DMIC_REF_xxx values For all other codecs one of
the MADERA_DMIC_REF_xxx values Also see the datasheet for a
description of the INn_DMIC_SUP field.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7f03fd91bd6c29ad6d99">[<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-015b6544c750ff0cf327"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4237073a315ffb976144"><code>6</code></span>

<a id="dt-3485dc37acebdd1385ee"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-be99e65428f693d3fb8d"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-8c72d4cdca8f77e1a7a2"><code>3</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-bbc11202a194d3eda2a6"><code>0</code></span>

<a id="dt-a951a31d56a93e92521e"></a>

### <code>cirrus&#44;max&#45;channels&#45;clocked</code> — not listed as required here

<div id="dt-7bc8618782f0342278f8">
<p style="white-space: pre-wrap">Maximum number of channels that I2S clocks will be generated for. Useful when clock master for systems where the I2S bus has multiple data lines.  One cell for each AIF, use a value of zero for AIFs that should be handled normally.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5d06d468dd6727e4b3f3">[<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-300d20f9db4e293ca4e1"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-750b7e3f16af34782c4a"><code>4</code></span>

<a id="dt-d65a4bb17e2b2829c0c1"></a>

#### Array item rules (<code>items</code>)

> **Default value (<code>default</code>):** <span id="dt-4df77711b149893c91e7"><code>0</code></span>

<a id="dt-3ac734aea4c6217c6991"></a>

### <code>cirrus&#44;pdm&#45;fmt</code> — not listed as required here

<div id="dt-7d57436a452fd91e3c8a">
<p style="white-space: pre-wrap">PDM speaker data format, must contain 2 cells (OUT5 and OUT6). See the PDM_SPKn_FMT field in the datasheet for a description of this value. The second cell is ignored for codecs that do not have OUT6.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2e7c74448089475fbf4c">[<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-0f8c73cd33f1ef1fffc3"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-0c9167ea134ad5599663"><code>2</code></span>

<a id="dt-72b707c2d4909213e4c2"></a>

### <code>cirrus&#44;pdm&#45;mute</code> — not listed as required here

<div id="dt-d7c13c3219c3f90a76cc">
<p style="white-space: pre-wrap">PDM mute format, must contain 2 cells (OUT5 and OUT6). See the
PDM_SPKn_CTRL_1 register in the datasheet for a description
of this value.  The second cell is ignored for codecs that
do not have OUT6.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cb2d06706b0738288621">[<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-7d63b1bc2dc48c1c4ef1"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9432550234517743ef72"><code>2</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-only OR BSD-2-Clause</span></p>

</details>

---

# CIX IPBLOQ HDA controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for CIX IPBLOQ HDA controller.

<!-- 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;cix&#44;sky1&#45;ipbloq&#45;hda&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">CIX IPBLOQ High Definition Audio (HDA) Controller</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Joakim Zhang &#60;joakim&#46;zhang&#64;cixtech&#46;com&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;cix&#44;sky1&#45;ipbloq&#45;hda&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;ipg&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;per&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;resets&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;

hda@70c0000 {
    compatible = "cix,sky1-ipbloq-hda";
    reg = &lt;0x70c0000 0x10000&gt;;
    interrupts = &lt;GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;audss_clk 7&gt;,
             &lt;&amp;audss_clk 8&gt;;
    clock-names = "ipg", "per";
    resets = &lt;&amp;audss_rst 14&gt;;
    model = "CIX SKY1 EVB HDA";
};
</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>

</details>

---

# Audio Component Common Properties

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Audio Component Common Properties.

<!-- 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;component&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-31215b51ae46979b987a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-8240b9e7a20119e35355">
<p style="white-space: pre-wrap">Card implementing the routing property define the connection between
audio components as list of string pair. Component using the same
sink/source names may use this property to prepend the name of their
sinks/sources with the provided string.</p>
</div>

<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>

---

# Digital Audio Interface Common Properties

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Digital Audio Interface Common Properties.

<!-- 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;dai&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

<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>component&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/component-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

<code>true</code> — No constraints added by this property 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>

---

# Digital Audio Interface (DAI) Stream Parameters

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Digital Audio Interface (DAI) Stream Parameters.

<!-- 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;dai&#45;params&#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-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-b31a18c5293325264809"></a>

### <code>convert&#45;channels</code> — not listed as required here

<div id="dt-82035615e6de53bcb138">
<p style="white-space: pre-wrap">Number of audio channels used by DAI</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-29d41d93e6b0df1d2fa5">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-33cf70848f458279608f"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-77b08afc15bd80a6f71b"><code>32</code></span>

<a id="dt-abab744adf8b154c5734"></a>

### <code>convert&#45;sample&#45;format</code> — not listed as required here

<div id="dt-c9213bc476668883d656">
<p style="white-space: pre-wrap">Audio sample format used by DAI</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-48ce4a845fc4a5900d78">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-5fff8038bcb5ca68a09c"></a> <span id="dt-023af7987a4c90a88ff9"><code>&#34;s8&#34;</code></span>, <span id="dt-78fff2d715a9004d7f61"><code>&#34;s16&#95;le&#34;</code></span>, <span id="dt-d09ea86703110b4949fc"><code>&#34;s24&#95;le&#34;</code></span>, <span id="dt-2681bc675be6e206e8ed"><code>&#34;s24&#95;3le&#34;</code></span>, <span id="dt-5e64db8ab07ff30aa0db"><code>&#34;s32&#95;le&#34;</code></span>

<a id="dt-b3bf1b343676fb717dd9"></a>

### <code>convert&#45;rate</code> — not listed as required here

<div id="dt-9680f898f8e705b2c6c9">
<p style="white-space: pre-wrap">Audio sample rate used by DAI</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9acd48324a87f3222f86">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-b5bda648d62c147da9eb"><code>8000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-5dfb22aff09438da35ab"><code>192000</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-only OR BSD-2-Clause)</span></p>

</details>

---

# McASP Controller for TI SoCs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for McASP Controller for TI SoCs.

<!-- 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;davinci&#45;mcasp&#45;audio&#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;Jayesh Choudhary &#60;j&#45;choudhary&#64;ti&#46;com&#62;&#34;</code></span>

<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;ti&#44;dm646x&#45;mcasp&#45;audio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;da830&#45;mcasp&#45;audio&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;am33xx&#45;mcasp&#45;audio&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;dra7&#45;mcasp&#45;audio&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;omap4&#45;mcasp&#45;audio&#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">CFG registers</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">data registers</p>
> </div>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-3f2820449161ca72af98"><code>1</code></span>

<a id="dt-cb45e4d562022f44522c"></a>

#### Array item rules (<code>items</code>)

<a id="dt-ad0326e242afa18bd21a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;mpu&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;dat&#34;</code></span>

<a id="dt-3a16d9cdef46d03ea26c"></a>

### <code>op&#45;mode</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7fe2ef5d0dba611e3e17">[<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-3c5e34de894207babcb0">
<p style="white-space: pre-wrap">0 - I2S or 1 - DIT operation mode</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-a970da3a9b53d16f9a9e"></a> <span id="dt-473d8ac670a5d46ee504"><code>0</code></span>, <span id="dt-0385d98ab4823d865fcc"><code>1</code></span>

<a id="dt-35b42d09ec6df887aa58"></a>

### <code>tdm&#45;slots</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1adf54311bc7907782e8">[<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-51a0174199df6049c3a7">
<p style="white-space: pre-wrap">Number of channels over one serializer. This property specifies the TX playback TDM slot count, along with default RX slot count if tdm-slots-rx is not specified. The property is ignored in DIT mode.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-464ea0b29e914f44de58"><code>2</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-ade2dd3f0583adc5d6fe"><code>32</code></span>

<a id="dt-d30eda23026fecccfa19"></a>

### <code>tdm&#45;slots&#45;rx</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-667953261e2e808dd250">[<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-db58bb0a4e2d47800223">
<p style="white-space: pre-wrap">Number of RX capture channels over one serializer. If specified, allows independent RX TDM slot count separate from TX. Requires ti,async-mode to be enabled for independent TX/RX clock rates. The property is ignored in DIT mode.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-aaf4d0e571958db810e4"><code>2</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-3228e50ef0c111abadd9"><code>32</code></span>

<a id="dt-d414983281fe72cc0a22"></a>

### <code>ti&#44;async&#45;mode</code> — not listed as required here

<div id="dt-6a94e420042b5ab71dcf">
<p style="white-space: pre-wrap">Specify to allow independent TX &amp; RX clocking, to enable audio playback &amp; record with different sampling rate, and different number of bits per frame. if property is omitted, TX and RX will share same bit clock and frame clock signals, thus RX need to use same bits per frame and sampling rate as TX in synchronous mode. the property is ignored in DIT mode (as DIT is TX-only)</p>
</div>

**Value type (<code>type</code>):** <span id="dt-7e33654631bc143f855f"><code>&#34;boolean&#34;</code></span>

<a id="dt-781a47a30dd01a614c82"></a>

### <code>serial&#45;dir</code> — not listed as required here

<div id="dt-cd7605bc075a5867f50f">
<p style="white-space: pre-wrap">A list of serializer configuration Entry is indication for serializer pin direction 0 - Inactive, 1 - TX, 2 - RX All AXR pins should be present in the array even if inactive</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fd6a4a41d260580fa2fa">[<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-0884fdd0af5d9d3215d2"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-16a28368032e796106d6"><code>25</code></span>

<a id="dt-3bf40420b98f060ab160"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-8e14a42a97bc52e184dd"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-83a749d10eecb7854ca5"><code>2</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>1</code></span>

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">transmission DMA channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">reception DMA channel</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-6d0b8f093f81278007f9"><code>1</code></span>

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-78eb8765da1b42beba07"></a>

### <code>ti&#44;hwmods</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-af8320999c5ca0330b0f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-6a8457e4523b4b4a94b2">
<p style="white-space: pre-wrap">Name of hwmod associated with McASP</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b24d98d00b9261e9f8cd"><code>1</code></span>

**Deprecated (<code>deprecated</code>):** <span id="dt-95315e1f5259eeba881e"><code>true</code></span>

<a id="dt-7afd9fe2377b8e148b2c"></a>

### <code>tx&#45;num&#45;evt</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fac759fd2e9b8ced791b">[<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-47c87b8647bc8e0ad4b6">
<p style="white-space: pre-wrap">configures WFIFO threshold 0 disables the FIFO use if property is missing, then also FIFO use is disabled</p>
</div>

<a id="dt-8297d3f14cb2b33b4639"></a>

### <code>rx&#45;num&#45;evt</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4b671dddebe1fd96fac0">[<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-863c016fad13a733980f">
<p style="white-space: pre-wrap">configures RFIFO threshold 0 disables the FIFO use if property is missing, then also FIFO use is disabled</p>
</div>

<a id="dt-6eb2ca1adfe04337d82e"></a>

### <code>dismod</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-572876e2a565aa80cf45">[<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-44686c9074efd92d25ff">
<p style="white-space: pre-wrap">specify the drive on TX pin during inactive time slots 0 - 3-state, 2 - logic low, 3 - logic high</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-92e8479b08cc75519621"></a> <span id="dt-d4e83cfbacbf5f5628b2"><code>0</code></span>, <span id="dt-a696f6c4e50e1a40fcca"><code>2</code></span>, <span id="dt-49faa05647fb07e04a0b"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-01ddcf2d82f2f1fd8c8a"><code>2</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>2</code></span>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

<a id="dt-7c87f4c4d6ae5b67cb69"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-6f3c3caf871198d0891a"></a>

**Rule 1**

> <div id="dt-63f7bcb74f50844b5360">
> <p style="white-space: pre-wrap">TX interrupt</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-4fe9bab67ab55220851c"><code>&#34;tx&#34;</code></span>

<a id="dt-49450ca309f7fa677720"></a>

**Rule 2**

> <div id="dt-afafdce5abf7b7f51c66">
> <p style="white-space: pre-wrap">RX interrupt</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-6b535f8ea458d8f2a2d0"><code>&#34;rx&#34;</code></span>

<a id="dt-b25b0c9c7d4f2c998d02"></a>

**Rule 3**

> <div id="dt-94a41a11ec3b493b34e8">
> <p style="white-space: pre-wrap">TX and RX interrupts</p>
> </div>
>
> <a id="dt-0a34a9219f0559f42d7c"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-17e5d9c70b8e096d3a37"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-eeee93287c9adb685082"><code>&#34;tx&#34;</code></span>
>
> <a id="dt-5b9a1aed9d67e56e84fb"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1f2fa01fbff0719deab8"><code>&#34;rx&#34;</code></span>

<a id="dt-933ae21ee49e34e0add8"></a>

**Rule 4**

> <div id="dt-a2fec3cb4c44230209bd">
> <p style="white-space: pre-wrap">Common/combined interrupt</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-3b6ad617ee5d7f8a7c1d"><code>&#34;common&#34;</code></span>

<a id="dt-83120d64dbca730d6d7e"></a>

### <code>fck&#95;parent</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c5a3f338b7251d569a3b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-2efdf57125dc5c1b45d3">
<p style="white-space: pre-wrap">parent clock name for McASP fck</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9f810c201ea029249278"><code>1</code></span>

<a id="dt-d1c2898a8aa54c025a02"></a>

### <code>auxclk&#45;fs&#45;ratio</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca7f57514aca0a00b90b">[<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-3a2d0144b5e560ab5e1d">
<p style="white-space: pre-wrap">Ratio of AUCLK and FS rate if applicable. This property specifies the TX ratio, along with default RX ratio if auxclk-fs-ratio-rx is not specified. When not specified, the inputted system clock frequency via set_sysclk callback by the machine driver is used for divider calculation.</p>
</div>

<a id="dt-e9e31a10f37008b2feb4"></a>

### <code>auxclk&#45;fs&#45;ratio&#45;rx</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a485a7c40934578cbb69">[<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-a364b0ffbe7a09668a20">
<p style="white-space: pre-wrap">Ratio of AUCLK and FS rate for RX. If specified, allows for a different RX ratio. Requires ti,async-mode to be enabled when the ratio differs from auxclk-fs-ratio. When not specified, it defaults to the value of auxclk-fs-ratio. The property is ignored in DIT mode.</p>
</div>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">functional clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">module specific optional ahclkx clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">module specific optional ahclkr clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;fck&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;ahclkx&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;ahclkr&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

<div id="dt-33c740e5969dba94b4e6">
<p style="white-space: pre-wrap">phandle to the corresponding power-domain</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

<div id="dt-0cd71b006a1fcbec8daa">
<p style="white-space: pre-wrap">connection for when McASP is used via graph card</p>
</div>

**Value type (<code>type</code>):** <span id="dt-c8b08ccbf81fcce6bed2"><code>&#34;object&#34;</code></span>

**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;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dmas&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupts&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupt&#45;names&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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-45236232a103af8e396a"></a>
> >
> > **<code>op&#45;mode</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-e933e39623853175f298"></a> <span id="dt-73683ac993de10a32767"><code>0</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;tdm&#45;slots&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-00f1c9fe40da9f09d745"></a>
> >
> > **<code>op&#45;mode</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-f8472c418581a8c29d8a"><code>1</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-2fca2c5751afe468d556"></a>
> >
> > **<code>tdm&#45;slots</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-f9ae506a8ae1e34040e4"></a>
> >
> > **<code>tdm&#45;slots&#45;rx</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-013c6f5a2abb806f37fe"></a>
> >
> > **<code>ti&#44;async&#45;mode</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-6a76e98b8422cc86526f"></a>
> >
> > **<code>auxclk&#45;fs&#45;ratio&#45;rx</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-4399324f563aa66c836f"></a> <span id="dt-1a90164f53ca2e054a90"><code>&#34;tdm&#45;slots&#45;rx&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-e8e2f7d7ecdebb81c712"></a> <span id="dt-1a51fa9eec7d4fe91130"><code>&#34;ti&#44;async&#45;mode&#34;</code></span>

<a id="dt-1c66024c2be5a725f708"></a>

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-4fc8d2ad4b7a3dfb5411"></a> <span id="dt-dd24be0d6a853b5a83e7"><code>&#34;auxclk&#45;fs&#45;ratio&#45;rx&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-d0be233c145bb706d4e5"></a> <span id="dt-70d480dba72a9448693e"><code>&#34;ti&#44;async&#45;mode&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">mcasp0: mcasp0@1d00000 {
  compatible = "ti,da830-mcasp-audio";
  reg = &lt;0x100000 0x3000&gt;;
  reg-names = "mpu";
  interrupts = &lt;82&gt;, &lt;83&gt;;
  interrupt-names = "tx", "rx";
  op-mode = &lt;0&gt;;		/* MCASP_IIS_MODE */
  tdm-slots = &lt;2&gt;;
  ti,async-mode;
  dmas = &lt;&amp;main_udmap 0xc400&gt;, &lt;&amp;main_udmap 0x4400&gt;;
  dma-names = "tx", "rx";
  serial-dir = &lt;
      0 0 0 0	/* 0: INACTIVE, 1: TX, 2: RX */
      0 0 0 0
      0 0 0 1
      2 0 0 0 &gt;;
  tx-num-evt = &lt;1&gt;;
  rx-num-evt = &lt;1&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>

</details>

---

# McBSP Controller for TI SoCs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for McBSP Controller for TI SoCs.

<!-- 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;davinci&#45;mcbsp&#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;Bastien Curutchet &#60;bastien&#46;curutchet&#64;bootlin&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;ti&#44;da850&#45;mcbsp&#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">CFG registers</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">data registers</p>
> </div>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-3f2820449161ca72af98"><code>1</code></span>

<a id="dt-cb45e4d562022f44522c"></a>

#### Array item rules (<code>items</code>)

<a id="dt-ad0326e242afa18bd21a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;mpu&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;dat&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">transmission DMA channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">reception DMA channel</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">RX interrupt</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">TX interrupt</p>
> </div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — not listed as required here

<a id="dt-77e94e63ca0b20bb5ef1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;rx&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;tx&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">functional clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">external input clock for sample rate generator.</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;fck&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;clks&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-7653ba500e179c37f980"></a>

### <code>ti&#44;T1&#45;framing&#45;tx</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2e8a584f66de275584e9">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-6efad7e08dc60718c84a">
<p style="white-space: pre-wrap">If the property is present, tx data delay is set to 2 bit clock periods. McBSP will insert a blank period (high-impedance period) before the first data bit. This can be used to interface to T1-framing devices.</p>
</div>

<a id="dt-4720c90d915185dbc691"></a>

### <code>ti&#44;T1&#45;framing&#45;rx</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8972fba810bc98dc00d7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-a2b68f667ed4278aac97">
<p style="white-space: pre-wrap">If the property is present, rx data delay is set to 2 bit clock periods. McBSP will discard the bit preceding the data stream (called framing bit). This can be used to interface to T1-framing devices.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dmas&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">mcbsp0@1d10000 {
  #sound-dai-cells = &lt;0&gt;;
  compatible = "ti,da850-mcbsp";
  pinctrl-names = "default";
  pinctrl-0 = &lt;&amp;mcbsp0_pins&gt;;

  reg = &lt;0x111000 0x1000&gt;,
        &lt;0x311000 0x1000&gt;;
  reg-names = "mpu", "dat";
  interrupts = &lt;97&gt;, &lt;98&gt;;
  interrupt-names = "rx", "tx";
  dmas = &lt;&amp;edma0 3 1&gt;,
         &lt;&amp;edma0 2 1&gt;;
  dma-names = "tx", "rx";

  clocks = &lt;&amp;psc1 14&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>

</details>

---

# Dialog Semiconductor DA7219 Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Dialog Semiconductor DA7219 Audio Codec.

<!-- 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;dialog&#44;da7219&#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;David Rau &#60;David&#46;Rau&#46;opensource&#64;dm&#46;renesas&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The DA7219 is an ultra low-power audio codec with in-built advanced accessory detection (AAD) for mobile computing and accessory applications, which supports sample rates up to 96 kHz at 24-bit resolution.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;dlg&#44;da7219&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-b8e064aceabe9ca7f501"></a>

### <code>VDD&#45;supply</code> — required here

<div id="dt-ded78e683ec9b80de1e4">
<p style="white-space: pre-wrap">VDD power supply for the device.</p>
</div>

<a id="dt-af2f2aeb87500d24763b"></a>

### <code>VDDMIC&#45;supply</code> — required here

<div id="dt-7feba96a4ab957c25835">
<p style="white-space: pre-wrap">VDDMIC power supply for the device.</p>
</div>

<a id="dt-126174a1963e0f236c21"></a>

### <code>VDDIO&#45;supply</code> — required here

<div id="dt-e36e6971a0f87299ab9d">
<p style="white-space: pre-wrap">VDDIO power supply for the device.</p>
</div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — not listed as required here

<div id="dt-3c9c5232b17bbf88febb">
<p style="white-space: pre-wrap">Should be "wakeup" if interrupt is to be used to wake system, otherwise "irq" should be used.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-117b3512a266e679d287"></a> <span id="dt-11513a7cf205a9d86f9f"><code>&#34;wakeup&#34;</code></span>, <span id="dt-2de9a08a27aaaa705d26"><code>&#34;irq&#34;</code></span>

<a id="dt-2a09d6d20023955671c8"></a>

### <code>wakeup&#45;source</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-2b0d8cb9d6b63eab4f97"><code>&#34;boolean&#34;</code></span>

<div id="dt-bc66149156eb778046f0">
<p style="white-space: pre-wrap">Flag to indicate this device can wake system (suspend/resume).</p>
</div>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>1</code></span>

<a id="dt-ce7ce65ef6912a262371"></a>

### <code>clock&#45;output&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-425996d2e9b5a3acdc67"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-48bdbc8ce79b7a10c6b6"><code>2</code></span>

<div id="dt-1944bc0b47114a0d6f2d">
<p style="white-space: pre-wrap">Name given for DAI WCLK and BCLK outputs.</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">phandle and clock specifier for codec MCLK.</p>
</div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

<a id="dt-531b00fca0590691ed85"></a>

### <code>dlg&#44;micbias&#45;lvl</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-baf19c0d74587e46112d"></a> <span id="dt-86f252aa72342c5b4f3c"><code>1600</code></span>, <span id="dt-3dad6869828ee29e0a44"><code>1800</code></span>, <span id="dt-3db232d59126b776eccb"><code>2000</code></span>, <span id="dt-428b4a366133a8f7fa47"><code>2200</code></span>, <span id="dt-b517b5dd50e5a72999f4"><code>2400</code></span>, <span id="dt-24fd75815302815b77f5"><code>2600</code></span>

<div id="dt-aebbc691cf3329b38704">
<p style="white-space: pre-wrap">Voltage (mV) for Mic Bias.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2a9bd7b242600341feb2">[<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-9e4e527618edcab44eea"></a>

### <code>dlg&#44;mic&#45;amp&#45;in&#45;sel</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-d6c6f5f66e63bcd76108"></a> <span id="dt-172510270f13c28f938b"><code>&#34;diff&#34;</code></span>, <span id="dt-9e6b39769ffc720619a2"><code>&#34;se&#95;p&#34;</code></span>, <span id="dt-432d3f34ab68bc3076fb"><code>&#34;se&#95;n&#34;</code></span>

<div id="dt-de45d4f6277fb2dbd012">
<p style="white-space: pre-wrap">Mic input source type.
diff - Differential.
se_p - MIC_P. Positive differential analog microphone input.
se_n - MIC_N. Negative differential analog microphone input.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-90f932e2a14784c49319">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<a id="dt-1c4b48c89046d0bd317f"></a>

### <code>da7219&#95;aad</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-85f64615c3cfa316aaad"><code>&#34;object&#34;</code></span>

<a id="dt-b2a9074fb56763d8cde9"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-89d38e7727b00ac5d0ba">
<p style="white-space: pre-wrap">Configuration of advanced accessory detection.</p>
</div>

<a id="dt-858b6e6c2ceec9eb96e6"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-22affc813de1702286e8"></a>

**<code>dlg&#44;micbias&#45;pulse&#45;lvl</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-8c9c0de159b1fa7267a1"></a> <span id="dt-95bf8a83906bfad941e9"><code>2800</code></span>, <span id="dt-2cf9bdb945edc271aa56"><code>2900</code></span>

<div id="dt-2b0cf143d204f99886fc">
<p style="white-space: pre-wrap">Mic bias higher voltage pulse level (mV).</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1daf55737b7c5822645f">[<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-bcacbb15e5ae2bbaaa39"></a>

**<code>dlg&#44;micbias&#45;pulse&#45;time</code> — not listed as required here**

<div id="dt-af647248a0fd677fe9d3">
<p style="white-space: pre-wrap">Mic bias higher voltage pulse duration (ms).</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-610b7924989a1a6a762e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-e3ea4a80e4d9f413cca7"><code>0</code></span>

<a id="dt-537b75fd6fb5a98681ef"></a>

**<code>dlg&#44;btn&#45;cfg</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-36c79cab125205f35ada"></a> <span id="dt-03c3de0eb7d54200df31"><code>2</code></span>, <span id="dt-5375cc016f108f98e807"><code>5</code></span>, <span id="dt-089941e2fdd4428e0278"><code>10</code></span>, <span id="dt-28c84c8965b67e9ceb30"><code>50</code></span>, <span id="dt-e5b3490de833327886b1"><code>100</code></span>, <span id="dt-ed5ff3c548912dcd64b6"><code>200</code></span>, <span id="dt-4305ecc1c515c7c27774"><code>500</code></span>

<div id="dt-abd84a98b0f404b3846f">
<p style="white-space: pre-wrap">Periodic button press measurements for 4-pole jack (ms).</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8400e739ae8b9af178c0">[<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-cab3b88cbf45b3aae02f"></a>

**<code>dlg&#44;mic&#45;det&#45;thr</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-6b2329861f60c06b35d4"></a> <span id="dt-a9c315b571c31916b9dd"><code>200</code></span>, <span id="dt-192f57bc25ba3be24dc9"><code>500</code></span>, <span id="dt-65262510302a33330942"><code>750</code></span>, <span id="dt-98eb85da4abf3e1521d4"><code>1000</code></span>

<div id="dt-556c5e4cbbdc6a5ebdb8">
<p style="white-space: pre-wrap">Impedance threshold for mic detection measurement (Ohms).</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c5c41287e56d9d143b48">[<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-a0181efcf4e7fb366599"></a>

**<code>dlg&#44;jack&#45;ins&#45;deb</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-4f4d506fc5cb201f124f"></a> <span id="dt-31d0664a9dc62749c8ff"><code>5</code></span>, <span id="dt-2406869106e69dfc2091"><code>10</code></span>, <span id="dt-3ae46050d5d6f3ef906c"><code>20</code></span>, <span id="dt-db9ccc3de5e5b65f45ac"><code>50</code></span>, <span id="dt-a9dc0cc1b7f4558cea35"><code>100</code></span>, <span id="dt-1aeeab91c79bd6d8a8e1"><code>200</code></span>, <span id="dt-2d466d792f4b7820224b"><code>500</code></span>, <span id="dt-8e645f3ff4b4db5ca30f"><code>1000</code></span>

<div id="dt-03712e460eff2abbf625">
<p style="white-space: pre-wrap">Debounce time for jack insertion (ms).</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-82d57df659cbf89a2f10">[<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-4457d1e3d1348100579a"></a>

**<code>dlg&#44;jack&#45;ins&#45;det&#45;pty</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-2e26f3541d06f997b6d9"></a> <span id="dt-d0c97bc77a6c7390403e"><code>&#34;low&#34;</code></span>, <span id="dt-c985d5e822f92b048b10"><code>&#34;high&#34;</code></span>

<div id="dt-ecb25d454b7ee23ff07b">
<p style="white-space: pre-wrap">Polarity for jack insertion detection.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-dac0d4da239eb758ee0a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<a id="dt-a047a42639748c401e2e"></a>

**<code>dlg&#44;jack&#45;det&#45;rate</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-c1adc88696e62c70afa8"></a> <span id="dt-82095fe31431527b676f"><code>&#34;32&#95;64&#34;</code></span>, <span id="dt-b6d768906e88f0b8bf6b"><code>&#34;64&#95;128&#34;</code></span>, <span id="dt-c79f6c62818b9c821bbb"><code>&#34;128&#95;256&#34;</code></span>, <span id="dt-f3039b2a60f9d128081d"><code>&#34;256&#95;512&#34;</code></span>

<div id="dt-ff0a15953e9e355a7c6c">
<p style="white-space: pre-wrap">Jack type (3/4 pole) detection latency (ms).</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2103ec01ac912671a294">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<a id="dt-24c18d98153249f7edd8"></a>

**<code>dlg&#44;jack&#45;rem&#45;deb</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-9079815ebc1f8f48f4f5"></a> <span id="dt-debc8563cbe93f413230"><code>1</code></span>, <span id="dt-53fbca1ad5cc222d464e"><code>5</code></span>, <span id="dt-c3776b996993daadc8b2"><code>10</code></span>, <span id="dt-1b37604f7d0024f95fc3"><code>20</code></span>

<div id="dt-3496fd26469d422b8033">
<p style="white-space: pre-wrap">Debounce time for jack removal (ms).</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d9f7932e3ae853d45864">[<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-227c220669c45a1dc444"></a>

**<code>dlg&#44;a&#45;d&#45;btn&#45;thr</code> — not listed as required here**

<div id="dt-05b6b065d51596fdbb62">
<p style="white-space: pre-wrap">Impedance threshold between buttons A and D.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2cc90a591c2e14e0c3a6">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-1dd52160eb63f59a78fa"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-241d27e0342ea9b5de04"><code>255</code></span>

<a id="dt-e87498ac94969b15d2b6"></a>

**<code>dlg&#44;d&#45;b&#45;btn&#45;thr</code> — not listed as required here**

<div id="dt-2e53c9c8e82a239d0e37">
<p style="white-space: pre-wrap">Impedance threshold between buttons D and B.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7872c8557359e89c6bb7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-bb009ee40dfccd92a79b"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-97bf94fefd5e5466315c"><code>255</code></span>

<a id="dt-927ea00b09a40020ed3e"></a>

**<code>dlg&#44;b&#45;c&#45;btn&#45;thr</code> — not listed as required here**

<div id="dt-5fb083ca38b2393b5035">
<p style="white-space: pre-wrap">Impedance threshold between buttons B and C.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c3b0cff866cc50859394">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-b8c8b48cab097244522b"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-e4bf6c68f4630448d2a0"><code>255</code></span>

<a id="dt-6e23dfc7f33699211225"></a>

**<code>dlg&#44;c&#45;mic&#45;btn&#45;thr</code> — not listed as required here**

<div id="dt-71dac653bc42f4b622ac">
<p style="white-space: pre-wrap">Impedance threshold between button C and Mic.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-47cc875743cefffd4ae8">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-34f35659f415c572a3bc"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-1d08f9d314b652e7354d"><code>255</code></span>

<a id="dt-7d1aa04f7ad9b5a6995a"></a>

**<code>dlg&#44;btn&#45;avg</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-16596020b0ce8609f61a"></a> <span id="dt-6a4b4d73493d030eac71"><code>1</code></span>, <span id="dt-ad9d200da27d2110ee1c"><code>2</code></span>, <span id="dt-e950053363da13d464a4"><code>4</code></span>, <span id="dt-c2bf9463aa106968405c"><code>8</code></span>

<div id="dt-e388509b6610e9ac4110">
<p style="white-space: pre-wrap">Number of 8-bit readings for averaged button measurement.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6afd38fb4a1e2129f41d">[<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-b4ec9c23f91f6b51a7a4"></a>

**<code>dlg&#44;adc&#45;1bit&#45;rpt</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-31806d2e3d73c4b19fea"></a> <span id="dt-419ce1a03d3349763dc8"><code>1</code></span>, <span id="dt-5a8902b29db97c86689b"><code>2</code></span>, <span id="dt-d975539eccc99f19a03c"><code>4</code></span>, <span id="dt-82de60ef22e216d2cc73"><code>8</code></span>

<div id="dt-d72e549dab81dffacf9c">
<p style="white-space: pre-wrap">Repeat count for 1-bit button measurement.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5ffb053665905f41a747">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;VDD&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;VDDMIC&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;VDDIO&#45;supply&#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/irq.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  codec: da7219@1a {
      compatible = "dlg,da7219";
      reg = &lt;0x1a&gt;;

      interrupt-parent = &lt;&amp;gpio6&gt;;
      interrupts = &lt;11 IRQ_TYPE_LEVEL_LOW&gt;;

      VDD-supply = &lt;&amp;vdd_reg&gt;;
      VDDMIC-supply = &lt;&amp;vddmic_reg&gt;;
      VDDIO-supply = &lt;&amp;vddio_reg&gt;;

      #clock-cells = &lt;1&gt;;
      clock-output-names = "da7219-dai-wclk", "da7219-dai-bclk";

      clocks = &lt;&amp;clks 201&gt;;
      clock-names = "mclk";

      dlg,micbias-lvl = &lt;2600&gt;;
      dlg,mic-amp-in-sel = "diff";

      da7219_aad {
          dlg,btn-cfg = &lt;50&gt;;
          dlg,mic-det-thr = &lt;500&gt;;
          dlg,jack-ins-deb = &lt;20&gt;;
          dlg,jack-ins-det-pty = "low";
          dlg,jack-det-rate = "32_64";
          dlg,jack-rem-deb = &lt;1&gt;;

          dlg,a-d-btn-thr = &lt;0xa&gt;;
          dlg,d-b-btn-thr = &lt;0x16&gt;;
          dlg,b-c-btn-thr = &lt;0x21&gt;;
          dlg,c-mic-btn-thr = &lt;0x3E&gt;;

          dlg,btn-avg = &lt;4&gt;;
          dlg,adc-1bit-rpt = &lt;1&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>

</details>

---

# Dialog Semiconductor DA7212/DA7213 Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Dialog Semiconductor DA7212/DA7213 Audio Codec.

<!-- 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;dlg&#44;da7213&#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;Support Opensource &#60;support&#46;opensource&#64;diasemi&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;dlg&#44;da7212&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;dlg&#44;da7213&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-17beb79fc5a6762a70af"></a>

### <code>dlg&#44;micbias1&#45;lvl</code> — not listed as required here

<div id="dt-23e8b406b4d79edd9ba8">
<p style="white-space: pre-wrap">Voltage (mV) for Mic Bias 1</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-de4e35ed886c9182d467">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-9ef1506148f7b19a9d69"></a> <span id="dt-c0fcfee78343b9d4063d"><code>1600</code></span>, <span id="dt-8887ca546b440ae34ad1"><code>2200</code></span>, <span id="dt-0052215ba44e2c92f4c9"><code>2500</code></span>, <span id="dt-9f9c9bf0555e889d4884"><code>3000</code></span>

<a id="dt-4529b173e47ae37b3a7c"></a>

### <code>dlg&#44;micbias2&#45;lvl</code> — not listed as required here

<div id="dt-a2b5b27105fd13abea4d">
<p style="white-space: pre-wrap">Voltage (mV) for Mic Bias 2</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0a6febe25a6e26f582be">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-700d6e3acf0715cb72c3"></a> <span id="dt-adc06205ac6147434845"><code>1600</code></span>, <span id="dt-8b9a6c7e36220a302e64"><code>2200</code></span>, <span id="dt-d6df4d68eb103490b673"><code>2500</code></span>, <span id="dt-53815bf11cbafbd3d4f3"><code>3000</code></span>

<a id="dt-49df2f0aaa989b1fadc0"></a>

### <code>dlg&#44;dmic&#45;data&#45;sel</code> — not listed as required here

<div id="dt-9cf06afd0aa4a864bd8a">
<p style="white-space: pre-wrap">DMIC channel select based on clock edge</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-a184ee5dfab139c5a348"></a> <span id="dt-796af6d37aca69782536"><code>&#34;lrise&#95;rfall&#34;</code></span>, <span id="dt-af506c69f2976b0ae791"><code>&#34;lfall&#95;rrise&#34;</code></span>

<a id="dt-72fca568baebd8e3646c"></a>

### <code>dlg&#44;dmic&#45;samplephase</code> — not listed as required here

<div id="dt-eb8b515bc17e9f1d8985">
<p style="white-space: pre-wrap">When to sample audio from DMIC</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-660537a94a1a5c87ccb2"></a> <span id="dt-8adcfc35bb7c0dfb6f15"><code>&#34;on&#95;clkedge&#34;</code></span>, <span id="dt-6f15afd64361bfa7afa2"><code>&#34;between&#95;clkedge&#34;</code></span>

<a id="dt-7b4fb26023fbb6f8aa9b"></a>

### <code>dlg&#44;dmic&#45;clkrate</code> — not listed as required here

<div id="dt-1e239adfca3b0436176b">
<p style="white-space: pre-wrap">DMIC clock frequency (Hz)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f33b60480c8816527b24">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-c3e8c3ce240d4c6228fc"></a> <span id="dt-438797f0c448088c0fb8"><code>1500000</code></span>, <span id="dt-b078424a5f675c3e8423"><code>3000000</code></span>

<a id="dt-d18875ceee2b34ecaf2a"></a>

### <code>VDDA&#45;supply</code> — not listed as required here

<div id="dt-2e813e916b716d7c252f">
<p style="white-space: pre-wrap">Analogue power supply</p>
</div>

<a id="dt-126174a1963e0f236c21"></a>

### <code>VDDIO&#45;supply</code> — not listed as required here

<div id="dt-e36e6971a0f87299ab9d">
<p style="white-space: pre-wrap">I/O power supply</p>
</div>

<a id="dt-af2f2aeb87500d24763b"></a>

### <code>VDDMIC&#45;supply</code> — not listed as required here

<div id="dt-7feba96a4ab957c25835">
<p style="white-space: pre-wrap">Mic Bias</p>
</div>

<a id="dt-f16e507bb96a5cc9c5cf"></a>

### <code>VDDSP&#45;supply</code> — not listed as required here

<div id="dt-bb133746bf1796cf02d3">
<p style="white-space: pre-wrap">Speaker supply</p>
</div>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>audio&#45;graph&#45;port&#46;yaml&#35;&#47;definitions&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-2f1c77791519f9405908>)</span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1a {
        compatible = "dlg,da7213";
        reg = &lt;0x1a&gt;;

        clocks = &lt;&amp;clks 201&gt;;
        clock-names = "mclk";

        #sound-dai-cells = &lt;0&gt;;

        dlg,micbias1-lvl = &lt;2500&gt;;
        dlg,micbias2-lvl = &lt;2500&gt;;

        dlg,dmic-data-sel = "lrise_rfall";
        dlg,dmic-samplephase = "between_clkedge";
        dlg,dmic-clkrate = &lt;3000000&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>

</details>

---

# Generic PDM Digital microphone (DMIC) codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Generic PDM Digital microphone (DMIC) codec.

<!-- 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;sound&#47;dmic&#45;codec&#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;Arnaud Pouliquen &#60;arnaud&#46;pouliquen&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;dmic&#45;codec&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-a3795d969a575e5e4bf7"></a>

### <code>vref&#45;supply</code> — not listed as required here

<div id="dt-f9c8a721f6889569bcad">
<p style="white-space: pre-wrap">Phandle to the digital microphone reference supply</p>
</div>

<a id="dt-d235eed48766b8982d4b"></a>

### <code>dmicen&#45;gpios</code> — not listed as required here

<div id="dt-d804c1b3b94f1ef7aad9">
<p style="white-space: pre-wrap">GPIO specifier for DMIC to control start and stop</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-021115360b8b4641b429"><code>1</code></span>

<a id="dt-1d3c826920f2fa6d6483"></a>

### <code>num&#45;channels</code> — not listed as required here

<div id="dt-4903cdfb3f8e104584ab">
<p style="white-space: pre-wrap">Number of microphones on this DAI</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a1e343b77fe2a318bb35">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-3d0944adc7899ba8f4cd"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-79cc398aea552b2f80e1"><code>8</code></span>

**Default value (<code>default</code>):** <span id="dt-5f363ac55f286d17b787"><code>8</code></span>

<a id="dt-d8e5106484bc6162df41"></a>

### <code>modeswitch&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-284a039c1c672c17db27">
<p style="white-space: pre-wrap">Delay (in ms) to complete DMIC mode switch</p>
</div>

<a id="dt-87e72c53187bd60a0b9d"></a>

### <code>wakeup&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-760888728db4030a2f3f">
<p style="white-space: pre-wrap">Delay (in ms) after enabling the DMIC</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

dmic {
    compatible = "dmic-codec";
    dmicen-gpios = &lt;&amp;gpio4 3 GPIO_ACTIVE_HIGH&gt;;
    num-channels = &lt;1&gt;;
    wakeup-delay-ms = &lt;50&gt;;
    modeswitch-delay-ms = &lt;35&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</span></p>

</details>

---

# Everest ES7134/7144/7154 2 channels I2S analog to digital converter

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Everest ES7134/7144/7154 2 channels I2S analog to digital converter.

<!-- 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;everest&#44;es71x4&#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;Neil Armstrong &#60;neil&#46;armstrong&#64;linaro&#46;org&#62;&#34;</code></span>

<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;everest&#44;es7134&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;everest&#44;es7144&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;everest&#44;es7154&#34;</code></span>

<a id="dt-b8e064aceabe9ca7f501"></a>

### <code>VDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-f5d88bb44576878b10c3"></a>

### <code>PVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;VDD&#45;supply&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;everest&#44;es7134&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;everest&#44;es7144&#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-d2cb935581a39f59226a"></a>
> >
> > **<code>PVDD&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;everest&#44;es7154&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;PVDD&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">codec {
    compatible = "everest,es7134";
    #sound-dai-cells = &lt;0&gt;;
    VDD-supply = &lt;&amp;vdd_supply&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>

</details>

---

# Everest ES7241 2 channels I2S analog to digital converter

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Everest ES7241 2 channels I2S analog to digital converter.

<!-- 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;everest&#44;es7241&#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;Neil Armstrong &#60;neil&#46;armstrong&#64;linaro&#46;org&#62;&#34;</code></span>

<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;everest&#44;es7241&#34;</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO connected to the reset pin</p>
</div>

<a id="dt-56accabcae2953252f63"></a>

### <code>m0&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c5e1e6ef54af6e9dd941"><code>1</code></span>

<div id="dt-fde4f7cc50ca84227d75">
<p style="white-space: pre-wrap">GPIO connected to the m0 pin</p>
</div>

<a id="dt-6542bc3f53df06997c91"></a>

### <code>m1&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ce014b7ab67c811d6d6e"><code>1</code></span>

<div id="dt-95e7b978a95abed1d663">
<p style="white-space: pre-wrap">GPIO connected to the m0 pin</p>
</div>

<a id="dt-a60da694ddf1998694c7"></a>

### <code>everest&#44;sdout&#45;pull&#45;down</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-4bae67b33c03405a7bdd"><code>&#34;boolean&#34;</code></span>

<div id="dt-58eaf5cabb820e2d5f17">
<p style="white-space: pre-wrap">Format used by the serial interface is controlled by pulling the sdout. If the sdout is pulled down, leftj format is used. If this property is not provided, sdout is assumed to pulled up and i2s format is used</p>
</div>

<a id="dt-9073536ac063a9dfeed4"></a>

### <code>VDDP&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-d18875ceee2b34ecaf2a"></a>

### <code>VDDA&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-965521636ee52b865e34"></a>

### <code>VDDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;VDDP&#45;supply&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;VDDA&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;VDDD&#45;supply&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

codec {
    compatible = "everest,es7241";
    #sound-dai-cells = &lt;0&gt;;
    reset-gpios = &lt;&amp;gpio1 15 GPIO_ACTIVE_HIGH&gt;;
    VDDP-supply = &lt;&amp;vddp_supply&gt;;
    VDDA-supply = &lt;&amp;vdda_supply&gt;;
    VDDD-supply = &lt;&amp;vddd_supply&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>

</details>

---

# Everest ES8311, ES8316 and ES8323 audio CODECs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Everest ES8311, ES8316 and ES8323 audio CODECs.

<!-- 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;everest&#44;es8316&#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;Daniel Drake &#60;drake&#64;endlessm&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Katsuhiro Suzuki &#60;katsuhiro&#64;katsuster&#46;net&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Matteo Martelli &#60;matteomartelli3&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-3a197c22bf020420f520"><code>&#34;Binbin Zhou &#60;zhoubinbin&#64;loongson&#46;cn&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Everest ES8311, ES8316 and ES8323 audio CODECs</p>
<p style="white-space: pre-wrap">Pins on the device (for linking into audio routes):</p>
<pre><code>  Outputs:
    * LOUT:     Left Analog Output
    * ROUT:     Right Analog Output
    * MICBIAS:  Microphone Bias</code></pre>
<pre><code>  Inputs:
    * MIC1P:    Microphone 1 Positive Analog Input
    * MIC1N:    Microphone 1 Negative Analog Input
    * MIC2P:    Microphone 2 Positive Analog Input
    * MIC2N:    Microphone 2 Negative Analog Input</code></pre>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;everest&#44;es8311&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;everest&#44;es8316&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;everest&#44;es8323&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for master clock (MCLK)</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Headphone detect interrupt</p>
</div>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  es8316: codec@11 {
    compatible = "everest,es8316";
    reg = &lt;0x11&gt;;
    clocks = &lt;&amp;clks 10&gt;;
    clock-names = "mclk";
    #sound-dai-cells = &lt;0&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>

</details>

---

# Everest ES8326 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Everest ES8326 audio CODEC.

<!-- 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;everest&#44;es8326&#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;David Yang &#60;yangxiaohua&#64;everest&#45;semi&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;everest&#44;es8326&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for master clock (MCLK)</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">interrupt output for headset detection</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-0a07759f3b1f178319d9"></a>

### <code>everest&#44;jack&#45;pol</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b45f81522f8dc7d6aa01">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-cb434e6bda91f9109635>)</span>

<div id="dt-8632e23ac24fcee809df">
<p style="white-space: pre-wrap">just the value of reg 57. Bit(3) decides whether the jack polarity is inverted.
Bit(2) decides whether the button on the headset is inverted.
Bit(1)/(0) decides the mic property to be OMTP/CTIA or auto.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-541e4aef693f2df94261"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-98187e35382a934277d8"><code>15</code></span>

**Default value (<code>default</code>):** <span id="dt-b34ec462d4aee30c2de4"><code>15</code></span>

<a id="dt-9bff00b890d9861fa85d"></a>

### <code>everest&#44;mic1&#45;src</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-6cf6d5d8776a363a6587"><code>true</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-939681717387ff27d190">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-cb434e6bda91f9109635>)</span>

<div id="dt-a26562ea2b19a9196c5e">
<p style="white-space: pre-wrap">the value of reg 2A when headset plugged.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-1cd160d5e95032d0ddb6"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-89c055e71dad2a4f1356"><code>119</code></span>

**Default value (<code>default</code>):** <span id="dt-27f6cd4a037e2c34bf1b"><code>34</code></span>

<a id="dt-1844e5bd9ca900af5b4e"></a>

### <code>everest&#44;mic2&#45;src</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-6021f438b07667d77b35"><code>true</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cc74a1d96738f53f0f6c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-cb434e6bda91f9109635>)</span>

<div id="dt-72f48952aed531c5e643">
<p style="white-space: pre-wrap">the value of reg 2A when headset unplugged.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-4a5ba0b66c3b858a09ec"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-9efaaed57cd6c1f28a37"><code>119</code></span>

**Default value (<code>default</code>):** <span id="dt-8b4b1140a90085293538"><code>68</code></span>

<a id="dt-6f4af99da6610365510c"></a>

### <code>everest&#44;jack&#45;detect&#45;inverted</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3d13720a087036ab8b09">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-c447b36e8636f1e36ae7">
<p style="white-space: pre-wrap">Defined to invert the jack detection.</p>
</div>

<a id="dt-693d07530a2d11f0ac28"></a>

### <code>everest&#44;interrupt&#45;src</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a33f8e37bbdbfdde6679">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-cb434e6bda91f9109635>)</span>

<div id="dt-ee3cdf88764ba349311d">
<p style="white-space: pre-wrap">value of reg 0x58, Defines the interrupt source.
Bit(2) 1 means button press triggers irq, 0 means not.
Bit(3) 1 means PIN9 is the irq source for jack detection. When set to 0,
bias change on PIN9 do not triggers irq.
Bit(4) 1 means PIN27 is the irq source for jack detection.
Bit(5) 1 means PIN9 is the irq source after MIC detect.
Bit(6) 1 means PIN27 is the irq source after MIC detect.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-5c57e0b4354fa581e252"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-39797857df1d0fdc810d"><code>60</code></span>

**Default value (<code>default</code>):** <span id="dt-e10fd80d34bf41fea96c"><code>8</code></span>

<a id="dt-1b4907bb919678223c48"></a>

### <code>everest&#44;interrupt&#45;clk</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6c5a3954c5e6126158a3">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-cb434e6bda91f9109635>)</span>

<div id="dt-302b659bf76bece46b7a">
<pre><code>value of reg 0x59, Defines the interrupt output behavior.
Bit(0-3) 0 means irq pulse equals 512*internal clock
  1 means irq pulse equals 1024*internal clock
  2 means ...
  7 means irq pulse equals 65536*internal clock
  8 means irq mutes PA
  9 means irq mutes PA and DAC output
Bit(4) 1 means we invert the interrupt output.
Bit(6) 1 means the chip do not detect jack type after button released.
  0 means the chip detect jack type again after button released.</code></pre>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-db3692008f2fabcb2931"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-85e23d3be2b12ce307fd"><code>127</code></span>

**Default value (<code>default</code>):** <span id="dt-f2802d6a384095c56212"><code>0</code></span>

**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;&#35;sound&#45;dai&#45;cells&#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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  es8326: codec@19 {
    compatible = "everest,es8326";
    reg = &lt;0x19&gt;;
    clocks = &lt;&amp;clks 10&gt;;
    clock-names = "mclk";
    #sound-dai-cells = &lt;0&gt;;
    everest,jack-pol = [0e];
    everest,interrupt-src = [08];
    everest,interrupt-clk = [00];
  };
};
</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>

</details>

---

# Everest ES8328 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Everest ES8328 audio CODEC.

<!-- 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;everest&#44;es8328&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Everest Audio Codec, which can be connected via I2C or SPI. Pins on the device (for linking into audio routes) are * LOUT1 * LOUT2 * ROUT1 * ROUT2 * LINPUT1 * RINPUT1 * LINPUT2 * RINPUT2 * Mic Bias</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;David Yang &#60;yangxiaohua&#64;everest&#45;semi&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;everest&#44;es8328&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;everest&#44;es8388&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;everest&#44;es8328&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">A 22.5792 or 11.2896 MHz clock</p>
> </div>

<a id="dt-bc22b86a699ed19f7b01"></a>

### <code>DVDD&#45;supply</code> — required here

<div id="dt-ef89d6f7bbce0e649a3a">
<p style="white-space: pre-wrap">Regulator providing digital core supply voltage 1.8 - 3.6V</p>
</div>

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">Regulator providing analog supply voltage 3.3V</p>
</div>

<a id="dt-f5d88bb44576878b10c3"></a>

### <code>PVDD&#45;supply</code> — required here

<div id="dt-835f66e09f74567a650f">
<p style="white-space: pre-wrap">Regulator providing digital IO supply voltage 1.8 - 3.6V</p>
</div>

<a id="dt-e77c9a02a579ccfcd83e"></a>

### <code>HPVDD&#45;supply</code> — required here

<div id="dt-f10f62cc4514dea5485b">
<p style="white-space: pre-wrap">Regulator providing analog output voltage 3.3V</p>
</div>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;DVDD&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;AVDD&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;PVDD&#45;supply&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;HPVDD&#45;supply&#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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  es8328: codec@11 {
    compatible = "everest,es8328";
    reg = &lt;0x11&gt;;
    AVDD-supply = &lt;&amp;reg_3p3v&gt;;
    DVDD-supply = &lt;&amp;reg_3p3v&gt;;
    HPVDD-supply = &lt;&amp;reg_3p3v&gt;;
    PVDD-supply = &lt;&amp;reg_3p3v&gt;;
    clocks = &lt;&amp;clks 169&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>

</details>

---

# Everest ES8375 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Everest ES8375 audio CODEC.

<!-- 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;everest&#44;es8375&#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;Michael Zhang &#60;zhangyi&#64;everest&#45;semi&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;everest&#44;es8375&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for master clock (MCLK)</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-70a9f9cb1ded9ea36c7f"></a>

### <code>vdda&#45;supply</code> — required here

<div id="dt-1eee5449f4a636fbc161">
<p style="white-space: pre-wrap">Analogue power supply.</p>
</div>

<a id="dt-348ffb65ec8e9c3a3a76"></a>

### <code>vddd&#45;supply</code> — required here

<div id="dt-3d370450803204a2dc02">
<p style="white-space: pre-wrap">Interface power supply.</p>
</div>

<a id="dt-7441c4bb7012079edcb3"></a>

### <code>everest&#44;mclk&#45;src</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-40b41e3761e3a8d48f32">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-cb434e6bda91f9109635>)</span>

<div id="dt-4c98ef01f542cacfb76a">
<p style="white-space: pre-wrap">Represents the MCLK/SCLK pair pins used as the internal clock.
0 represents selecting MCLK.
1 represents selecting SCLK.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-235dccb41d988fa88f2c"></a> <span id="dt-a8c9c6937e86002a3007"><code>0</code></span>, <span id="dt-e227dfdc764e56ae28c8"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-370062b815b95af4e79e"><code>0</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vdda&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;vddd&#45;supply&#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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  es8375: codec@18 {
    compatible = "everest,es8375";
    reg = &lt;0x18&gt;;
    vdda-supply = &lt;&amp;vdd3v3&gt;;
    vddd-supply = &lt;&amp;vdd3v3&gt;;
    #sound-dai-cells = &lt;0&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>

</details>

---

# Everest ES8389 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Everest ES8389 audio CODEC.

<!-- 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;everest&#44;es8389&#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;Michael Zhang &#60;zhangyi&#64;everest&#45;semi&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;everest&#44;es8389&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for master clock (MCLK)</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-70a9f9cb1ded9ea36c7f"></a>

### <code>vdda&#45;supply</code> — required here

<div id="dt-1eee5449f4a636fbc161">
<p style="white-space: pre-wrap">Analogue power supply.</p>
</div>

<a id="dt-348ffb65ec8e9c3a3a76"></a>

### <code>vddd&#45;supply</code> — required here

<div id="dt-3d370450803204a2dc02">
<p style="white-space: pre-wrap">Interface power supply.</p>
</div>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vddd&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;vdda&#45;supply&#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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  es8389: codec@10 {
    compatible = "everest,es8389";
    reg = &lt;0x10&gt;;
    #sound-dai-cells = &lt;0&gt;;
    vddd-supply = &lt;&amp;vdd3v3&gt;;
    vdda-supply = &lt;&amp;vdd3v3&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>

</details>

---

# FourSemi FS2104/5S Digital Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for FourSemi FS2104/5S Digital Audio Amplifier.

<!-- 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;foursemi&#44;fs2105s&#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;Nick Li &#60;nick&#46;li&#64;foursemi&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The FS2104 is a 15W Inductor-Less, Stereo, Closed-Loop, Digital Input Class-D Power Amplifier with Enhanced Signal Processing. The FS2105S is a 30W Inductor-Less, Stereo, Closed-Loop, Digital Input Class-D Power Amplifier with Enhanced Signal Processing.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;foursemi&#44;fs2104&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;foursemi&#44;fs2105s&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Allowed values (<code>enum</code>):** <a id="dt-ad5dbad5326d5a61ae46"></a> <span id="dt-af4759e2a8ab9583f63d"><code>&#34;foursemi&#44;fs2105s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">The clock of I2S BCLK</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;bclk&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-722272e0225afab3aadc"></a>

### <code>pvdd&#45;supply</code> — required here

<div id="dt-2483fddb14d539d108cf">
<p style="white-space: pre-wrap">Regulator for power supply(PVDD in datasheet).</p>
</div>

<a id="dt-84a2bc358063a1a7c956"></a>

### <code>dvdd&#45;supply</code> — required here

<div id="dt-593261d208e8b7fb5f26">
<p style="white-space: pre-wrap">Regulator for digital supply(DVDD in datasheet).</p>
</div>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">It's the SDZ pin in datasheet, the pin is active low, it will power down and reset the chip to shut down state.</p>
</div>

<a id="dt-b913167a56819d67f1a5"></a>

### <code>firmware&#45;name</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-664bc4dc24f43c53b737"><code>1</code></span>

<div id="dt-0b76b2c415d449884d95">
<p style="white-space: pre-wrap">The firmware(*.bin) contains:
a. Register initialization settings
b. DSP effect parameters
c. Multi-scene sound effect configurations(optional)
It's gernerated by FourSemi's tuning tool.</p>
</div>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;pvdd&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dvdd&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;reset&#45;gpios&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;firmware&#45;name&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    audio-codec@68 {
        compatible = "foursemi,fs2105s";
        reg = &lt;0x68&gt;;
        clocks = &lt;&amp;clocks 18&gt;;
        clock-names = "bclk";
        #sound-dai-cells = &lt;0&gt;;
        pvdd-supply = &lt;&amp;pvdd_supply&gt;;
        dvdd-supply = &lt;&amp;dvdd_supply&gt;;
        reset-gpios = &lt;&amp;gpio 18 GPIO_ACTIVE_LOW&gt;;
        firmware-name = "fs2105s-btl-2p0-0s.bin";
        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;fs210x_pins_default&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>

</details>

---

# NXP Audio Subsystem to HDMI RTX Subsystem Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP Audio Subsystem to HDMI RTX Subsystem Controller.

<!-- 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;fsl&#44;aud2htx&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;fsl&#44;imx8mp&#45;aud2htx&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;bus&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for TX</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dmas&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dma&#45;names&#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/clock/imx8mp-clock.h&gt;

aud2htx: aud2htx@30cb0000 {
    compatible = "fsl,imx8mp-aud2htx";
    reg = &lt;0x30cb0000 0x10000&gt;;
    interrupts = &lt;GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;audiomix_clk IMX8MP_CLK_AUDIOMIX_AUD2HTX_IPG&gt;;
    clock-names = "bus";
    dmas = &lt;&amp;sdma2 26 2 0&gt;;
    dma-names = "tx";
    power-domains = &lt;&amp;audiomix_pd&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>

</details>

---

# NXP Audio Mixer (AUDMIX).

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP Audio Mixer (AUDMIX)..

<!-- 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;fsl&#44;audmix&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Frank Li &#60;Frank&#46;Li&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Audio Mixer is a on-chip functional module that allows mixing of two
audio streams into a single audio stream. Audio Mixer has two input serial
audio interfaces. These are driven by two Synchronous Audio interface
modules (SAI). Each input serial interface carries 8 audio channels in its
frame in TDM manner. Mixer mixes audio samples of corresponding channels
from two interfaces into a single sample. Before mixing, audio samples of
two inputs can be attenuated based on configuration. The output of the
Audio Mixer is also a serial audio interface. Like input interfaces it has
the same TDM frame format. This output is used to drive the serial DAC TDM
interface of audio codec and also sent to the external pins along with the
receive path of normal audio SAI module for readback by the CPU.</p>
<pre><code>The output of Audio Mixer can be selected from any of the three streams
  - serial audio input 1
  - serial audio input 2
  - mixed audio</code></pre>
<p style="white-space: pre-wrap">Mixing operation is independent of audio sample rate but the two audio
input streams must have same audio sample rate with same number of channels
in TDM frame to be eligible for mixing.</p>
</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;fsl&#44;imx8qm&#45;audmix&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;fsl&#44;imx952&#45;audmix&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;ipg&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-1639e88130e6dc5c2bc3"></a>

### <code>dais</code> — not listed as required here

<div id="dt-ac7afeae096485f8d31f">
<p style="white-space: pre-wrap">contain a list of phandles to AUDMIX connected DAIs.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d23f5c9f9cec75dba1ac">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-eda6d1f3566833959335"><code>2</code></span>

<a id="dt-3cb2a0a32851a78f4e27"></a>

#### Array item rules (<code>items</code>)

<a id="dt-a38c1b8d4db770edcb52"></a>

**Item 1**

> <div id="dt-a64d97ac0148fbb7d369">
> <p style="white-space: pre-wrap">the AUDMIX output</p>
> </div>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-e1b130cd4b199b82e0d3"><code>1</code></span>

<a id="dt-f82f9b75aaee42b8e7ba"></a>

**Item 2**

> <div id="dt-df19a62bdc42917b3f77">
> <p style="white-space: pre-wrap">serial audio input 1</p>
> </div>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-353b0fca7b159e56d973"><code>1</code></span>

<a id="dt-e62fe236ff7bbc2e25ab"></a>

**Item 3**

> <div id="dt-95fc29d15e2cb2cb9773">
> <p style="white-space: pre-wrap">serial audio input 2</p>
> </div>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-1c0095c8582534a08d35"><code>1</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-bd319faf13454f764484"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-99024c8b57a0be881524"></a>

**<code>&#94;port&#64;&#91;0&#45;1&#93;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ecc340b3c0d6e9dc5c41">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a8580acd2378301bf022"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-58be965bdee64d70035e">
<p style="white-space: pre-wrap">Input port from SAI TX</p>
</div>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-dc67b74e0468f2f7f265"></a>

**<code>port&#64;2</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bf0c0e1b24d670f57f64">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a2a3302eb9200a1fab03"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-2494ba4fb5f1dc4cb38b">
<p style="white-space: pre-wrap">Output port to SAI RX</p>
</div>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#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;fsl&#44;imx8qm&#45;audmix&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;power&#45;domains&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">audmix@59840000 {
  compatible = "fsl,imx8qm-audmix";
  reg = &lt;0x59840000 0x10000&gt;;
  clocks = &lt;&amp;amix_lpcg 0&gt;;
  clock-names = "ipg";
  power-domains = &lt;&amp;pd_audmix&gt;;
  dais = &lt;&amp;sai4&gt;, &lt;&amp;sai5&gt;;

  ports {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    port@0 {
      reg = &lt;0&gt;;
      playback-only;

      amix_endpoint0: endpoint {
        dai-tdm-slot-num = &lt;8&gt;;
        dai-tdm-slot-width = &lt;32&gt;;
        dai-tdm-slot-width-map = &lt;32 8 32&gt;;
        dai-format = "dsp_a";
        remote-endpoint = &lt;&amp;be00_ep&gt;;
      };
    };

    port@1 {
      reg = &lt;1&gt;;
      playback-only;

      amix_endpoint1: endpoint {
        dai-tdm-slot-num = &lt;8&gt;;
        dai-tdm-slot-width = &lt;32&gt;;
        dai-tdm-slot-width-map = &lt;32 8 32&gt;;
        dai-format = "dsp_a";
        remote-endpoint = &lt;&amp;be01_ep&gt;;
      };
    };

    port@2 {
      reg = &lt;2&gt;;
      capture-only;

      amix_endpoint2: endpoint {
        dai-tdm-slot-num = &lt;8&gt;;
        dai-tdm-slot-width = &lt;32&gt;;
        dai-tdm-slot-width-map = &lt;32 8 32&gt;;
        dai-format = "dsp_a";
        bitclock-master;
        frame-master;
        remote-endpoint = &lt;&amp;be02_ep&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>

</details>

---

# NXP Asynchronous Sample Rate Converter (ASRC) Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP Asynchronous Sample Rate Converter (ASRC) Controller.

<!-- 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;fsl&#44;easrc&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;easrc&#64;&#46;&#42;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;fsl&#44;imx8mn&#45;easrc&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx8mp&#45;easrc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx8mn&#45;easrc&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mem&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>8</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;ctx0&#95;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;ctx0&#95;tx&#34;</code></span>

<a id="dt-0e2aefacbafcf9a0980e"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-3f514d275e33beb6e5ff"><code>&#34;ctx1&#95;rx&#34;</code></span>

<a id="dt-5a226dab574974e40c5e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-2e2c6a37a765a25a4ed3"><code>&#34;ctx1&#95;tx&#34;</code></span>

<a id="dt-a1f62891527b83a95dc1"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-dcd81bd962f6a20a7654"><code>&#34;ctx2&#95;rx&#34;</code></span>

<a id="dt-5717ba9ebdfea611d8b3"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-34afef879a5be5b38e9e"><code>&#34;ctx2&#95;tx&#34;</code></span>

<a id="dt-9d982f81dd1dc8d79917"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-f42c90f6f5ca180fe91a"><code>&#34;ctx3&#95;rx&#34;</code></span>

<a id="dt-c6a20f3e18c1713f05a1"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-6667d987b56726c4c8d4"><code>&#34;ctx3&#95;tx&#34;</code></span>

<a id="dt-b913167a56819d67f1a5"></a>

### <code>firmware&#45;name</code> — required here

<a id="dt-a24dedab3be0aa2ccc07"></a>

#### Array item rules (<code>items</code>)

<a id="dt-83106c11c10ec9392bca"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-64b1b9e2b0455de076e2"><code>&#34;imx&#47;easrc&#47;easrc&#45;imx8mn&#46;bin&#34;</code></span>

<div id="dt-0b76b2c415d449884d95">
<p style="white-space: pre-wrap">The coefficient table for the filters</p>
</div>

<a id="dt-4d40df1870458cb3f468"></a>

### <code>fsl&#44;asrc&#45;rate</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f31bafd9f079e2d4b356">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-3d85a6d9006318f6b609"><code>8000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-21aa50a713845b8e33ed"><code>192000</code></span>

<div id="dt-08816ce314bd7ac95c10">
<p style="white-space: pre-wrap">Defines a mutual sample rate used by DPCM Back Ends</p>
</div>

<a id="dt-be04b93a248212ab3704"></a>

### <code>fsl&#44;asrc&#45;format</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a9283d4c7847d2caccd6">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-12575be98a2e8e6416d9"></a> <span id="dt-6e942368017ca4f8d9eb"><code>2</code></span>, <span id="dt-13c19ef2a54a0e75440a"><code>6</code></span>, <span id="dt-ccd1b17e2fb5085d8c46"><code>10</code></span>, <span id="dt-6bed8507cabcb8ef6523"><code>32</code></span>, <span id="dt-0807ee1bf961a3e1a6d5"><code>36</code></span>

**Default value (<code>default</code>):** <span id="dt-130911758555979c5e7d"><code>2</code></span>

<div id="dt-5191ba09a10b21c722b3">
<p style="white-space: pre-wrap">Defines a mutual sample format used by DPCM Back Ends</p>
</div>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dmas&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;firmware&#45;name&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;fsl&#44;asrc&#45;rate&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;fsl&#44;asrc&#45;format&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/imx8mn-clock.h&gt;

easrc: easrc@300c0000 {
    compatible = "fsl,imx8mn-easrc";
    reg = &lt;0x300c0000 0x10000&gt;;
    interrupts = &lt;0x0 122 0x4&gt;;
    clocks = &lt;&amp;clk IMX8MN_CLK_ASRC_ROOT&gt;;
    clock-names = "mem";
    dmas = &lt;&amp;sdma2 16 23 0&gt; , &lt;&amp;sdma2 17 23 0&gt;,
           &lt;&amp;sdma2 18 23 0&gt; , &lt;&amp;sdma2 19 23 0&gt;,
           &lt;&amp;sdma2 20 23 0&gt; , &lt;&amp;sdma2 21 23 0&gt;,
           &lt;&amp;sdma2 22 23 0&gt; , &lt;&amp;sdma2 23 23 0&gt;;
    dma-names = "ctx0_rx", "ctx0_tx",
                "ctx1_rx", "ctx1_tx",
                "ctx2_rx", "ctx2_tx",
                "ctx3_rx", "ctx3_tx";
    firmware-name = "imx/easrc/easrc-imx8mn.bin";
    fsl,asrc-rate = &lt;8000&gt;;
    fsl,asrc-format = &lt;2&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>

</details>

---

# Freescale Enhanced Serial Audio Interface (ESAI) Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Freescale Enhanced Serial Audio Interface (ESAI) Controller.

<!-- 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;fsl&#44;esai&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Frank Li &#60;Frank&#46;Li&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Enhanced Serial Audio Interface (ESAI) provides a full-duplex serial port for serial communication with a variety of serial devices, including industry standard codecs, Sony/Phillips Digital Interface (S/PDIF) transceivers, and other DSPs. It has up to six transmitters and four receivers.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;fsl&#44;imx35&#45;esai&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;fsl&#44;imx6ull&#45;esai&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;fsl&#44;vf610&#45;esai&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx8qm&#45;esai&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx6ull&#45;esai&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>3</code></span>

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">The core clock used to access registers.</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">The esai baud clock for esai controller used to derive HCK, SCK and FS.</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">The system clock derived from ahb clock used to derive HCK, SCK and FS.</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">The spba clock is required when ESAI is placed as a bus slave of the Shared Peripheral Bus and when two or more bus masters (CPU, DMA or DSP) try to access it. This property is optional depending on the SoC design.</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>3</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;core&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;extal&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;fsys&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;spba&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-587d025423803d511647"></a>

### <code>fsl&#44;fifo&#45;depth</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-913f2563800c8c6cba29">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-c8b612d1ea60366dbfd0"><code>64</code></span>

<div id="dt-b14572ff82ae322faa82">
<p style="white-space: pre-wrap">The number of elements in the transmit and receive FIFOs. This number is the maximum allowed value for TFCR[TFWM] or RFCR[RFWM].</p>
</div>

<a id="dt-58e654a6a7a53924d9af"></a>

### <code>fsl&#44;esai&#45;synchronous</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5e73341c67b427b8c9ce">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-0aabca7c735606268ea7">
<p style="white-space: pre-wrap">This is a boolean property. If present, indicating that ESAI would work in the synchronous mode, which means all the settings for Receiving would be duplicated from Transmission related registers.</p>
</div>

<a id="dt-319a1197721d8cd4e338"></a>

### <code>big&#45;endian</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d8bd302dd0c504225ad4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-24fc11f69b4701ad477f">
<p style="white-space: pre-wrap">If this property is absent, the native endian mode will be in use as default, or the big endian mode will be in use for all the device registers.</p>
</div>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dmas&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;fsl&#44;imx8qm&#45;esai&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;power&#45;domains&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-55c0fd2e5d660e555a25"></a>
> >
> > **<code>power&#45;domains</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">esai@2024000 {
  compatible = "fsl,imx35-esai";
  reg = &lt;0x02024000 0x4000&gt;;
  interrupts = &lt;0 51 0x04&gt;;
  clocks = &lt;&amp;clks 208&gt;, &lt;&amp;clks 118&gt;, &lt;&amp;clks 208&gt;;
  clock-names = "core", "extal", "fsys";
  dmas = &lt;&amp;sdma 23 21 0&gt;, &lt;&amp;sdma 24 21 0&gt;;
  dma-names = "rx", "tx";
  fsl,fifo-depth = &lt;128&gt;;
  fsl,esai-synchronous;
  big-endian;
};
</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>

</details>

---

# Freescale Asynchronous Sample Rate Converter (ASRC) Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Freescale Asynchronous Sample Rate Converter (ASRC) Controller.

<!-- 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;fsl&#44;imx&#45;asrc&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Asynchronous Sample Rate Converter (ASRC) converts the sampling rate of a signal associated with an input clock into a signal associated with a different output clock. The driver currently works as a Front End of DPCM with other Back Ends Audio controller such as ESAI, SSI and SAI. It has three pairs to support three substreams within totally 10 channels.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Shawn Guo &#60;shawnguo&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sascha Hauer &#60;s&#46;hauer&#64;pengutronix&#46;de&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;fsl&#44;imx35&#45;asrc&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;fsl&#44;imx53&#45;asrc&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;fsl&#44;imx8qm&#45;asrc&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;fsl&#44;imx8qxp&#45;asrc&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;fsl&#44;imx952&#45;asrc&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx6sx&#45;asrc&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx6ul&#45;asrc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx53&#45;asrc&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>6</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rxa&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rxb&#34;</code></span>

<a id="dt-0e2aefacbafcf9a0980e"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-3f514d275e33beb6e5ff"><code>&#34;rxc&#34;</code></span>

<a id="dt-5a226dab574974e40c5e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-2e2c6a37a765a25a4ed3"><code>&#34;txa&#34;</code></span>

<a id="dt-a1f62891527b83a95dc1"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-dcd81bd962f6a20a7654"><code>&#34;txb&#34;</code></span>

<a id="dt-5717ba9ebdfea611d8b3"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-34afef879a5be5b38e9e"><code>&#34;txc&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>19</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mem&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;ipg&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;asrck&#95;0&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;asrck&#95;1&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;asrck&#95;2&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;asrck&#95;3&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;asrck&#95;4&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;asrck&#95;5&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;asrck&#95;6&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;asrck&#95;7&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;asrck&#95;8&#34;</code></span>

<a id="dt-cdc319b61e94b611f980"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-0bf4d52880d7237bb9a0"><code>&#34;asrck&#95;9&#34;</code></span>

<a id="dt-84e94039e1444899d32b"></a>

**Item 13**

> **Exact value (<code>const</code>):** <span id="dt-cb97b2b1a01193c507c3"><code>&#34;asrck&#95;a&#34;</code></span>

<a id="dt-cec2301424e740164358"></a>

**Item 14**

> **Exact value (<code>const</code>):** <span id="dt-84a2d508145b3e25748a"><code>&#34;asrck&#95;b&#34;</code></span>

<a id="dt-75757bcd29a681ee94ff"></a>

**Item 15**

> **Exact value (<code>const</code>):** <span id="dt-5e8c2707ae3de3353963"><code>&#34;asrck&#95;c&#34;</code></span>

<a id="dt-f7409b923819861cb90a"></a>

**Item 16**

> **Exact value (<code>const</code>):** <span id="dt-a0c9f04edd8a35b52752"><code>&#34;asrck&#95;d&#34;</code></span>

<a id="dt-370fe5428f7d74c8ed62"></a>

**Item 17**

> **Exact value (<code>const</code>):** <span id="dt-cbc469a8adba31605a23"><code>&#34;asrck&#95;e&#34;</code></span>

<a id="dt-e978694a7c7575946d55"></a>

**Item 18**

> **Exact value (<code>const</code>):** <span id="dt-428e37f333596c3dfc63"><code>&#34;asrck&#95;f&#34;</code></span>

<a id="dt-8a0f8fc786dcd0abe09e"></a>

**Item 19**

> **Exact value (<code>const</code>):** <span id="dt-d60cc0e248487928a624"><code>&#34;spba&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-4d40df1870458cb3f468"></a>

### <code>fsl&#44;asrc&#45;rate</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f31bafd9f079e2d4b356">[<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-08816ce314bd7ac95c10">
<p style="white-space: pre-wrap">The mutual sample rate used by DPCM Back Ends</p>
</div>

<a id="dt-10394ee86eaab50b13cb"></a>

### <code>fsl&#44;asrc&#45;width</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7c1ab2abc60955bda7d9">[<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-d2eec26d7bf55309a4fc">
<p style="white-space: pre-wrap">The mutual sample width used by DPCM Back Ends</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-51e3b68a1c8bc9b1245b"></a> <span id="dt-eb30d40196a01ce1fdd0"><code>16</code></span>, <span id="dt-ad9f95554d42949eeb7a"><code>24</code></span>

<a id="dt-28f47d33e3429a8a3f20"></a>

### <code>fsl&#44;asrc&#45;clk&#45;map</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7c4d502b00179f3cd85a">[<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-b646ecbe71022ff7bb9b">
<p style="white-space: pre-wrap">Defines clock map used in driver &lt;0&gt; - select the map for asrc0 in imx8qm/imx8qxp &lt;1&gt; - select the map for asrc1 in imx8qm/imx8qxp</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-7a2bbb189d581bb70fa0"></a> <span id="dt-bf5485fc9494142ab952"><code>0</code></span>, <span id="dt-6c33be4f601e58a04bd9"><code>1</code></span>

<a id="dt-319a1197721d8cd4e338"></a>

### <code>big&#45;endian</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-e7de3d2cfb2a117514c2"><code>&#34;boolean&#34;</code></span>

<div id="dt-24fc11f69b4701ad477f">
<p style="white-space: pre-wrap">If this property is absent, the little endian mode will be in use as default. Otherwise, the big endian mode will be in use for all the device registers.</p>
</div>

<a id="dt-be04b93a248212ab3704"></a>

### <code>fsl&#44;asrc&#45;format</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a9283d4c7847d2caccd6">[<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-5191ba09a10b21c722b3">
<p style="white-space: pre-wrap">Defines a mutual sample format used by DPCM Back Ends, which can replace the fsl,asrc-width. The value is 2 (S16_LE), or 6 (S24_LE).</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-12575be98a2e8e6416d9"></a> <span id="dt-6e942368017ca4f8d9eb"><code>2</code></span>, <span id="dt-13c19ef2a54a0e75440a"><code>6</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dmas&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;fsl&#44;asrc&#45;rate&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;fsl&#44;asrc&#45;width&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;fsl&#44;imx8qm&#45;asrc&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;fsl&#44;imx8qxp&#45;asrc&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;fsl&#44;asrc&#45;clk&#45;map&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-d149e87cbddeb798fd69"></a>
> >
> > **<code>fsl&#44;asrc&#45;clk&#45;map</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;fsl&#44;imx8qm&#45;asrc&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;fsl&#44;imx8qxp&#45;asrc&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;power&#45;domains&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/irq.h&gt;
#include &lt;dt-bindings/clock/imx6qdl-clock.h&gt;
asrc: asrc@2034000 {
    compatible = "fsl,imx53-asrc";
    reg = &lt;0x02034000 0x4000&gt;;
    interrupts = &lt;0 50 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;clks IMX6QDL_CLK_ASRC_IPG&gt;,
             &lt;&amp;clks IMX6QDL_CLK_ASRC_MEM&gt;, &lt;&amp;clks 0&gt;,
             &lt;&amp;clks 0&gt;, &lt;&amp;clks 0&gt;, &lt;&amp;clks 0&gt;, &lt;&amp;clks 0&gt;,
             &lt;&amp;clks 0&gt;, &lt;&amp;clks 0&gt;, &lt;&amp;clks 0&gt;, &lt;&amp;clks 0&gt;,
             &lt;&amp;clks 0&gt;, &lt;&amp;clks 0&gt;, &lt;&amp;clks 0&gt;, &lt;&amp;clks 0&gt;,
             &lt;&amp;clks IMX6QDL_CLK_ASRC&gt;, &lt;&amp;clks 0&gt;, &lt;&amp;clks 0&gt;,
             &lt;&amp;clks IMX6QDL_CLK_SPBA&gt;;
    clock-names = "mem", "ipg", "asrck_0",
            "asrck_1", "asrck_2", "asrck_3", "asrck_4",
            "asrck_5", "asrck_6", "asrck_7", "asrck_8",
            "asrck_9", "asrck_a", "asrck_b", "asrck_c",
            "asrck_d", "asrck_e", "asrck_f", "spba";
    dmas = &lt;&amp;sdma 17 23 1&gt;, &lt;&amp;sdma 18 23 1&gt;, &lt;&amp;sdma 19 23 1&gt;,
           &lt;&amp;sdma 20 23 1&gt;, &lt;&amp;sdma 21 23 1&gt;, &lt;&amp;sdma 22 23 1&gt;;
    dma-names = "rxa", "rxb", "rxc",
                "txa", "txb", "txc";
    fsl,asrc-rate = &lt;48000&gt;;
    fsl,asrc-width = &lt;16&gt;;

    port {
        playback-only;

        asrc_endpoint: endpoint {
            remote-endpoint = &lt;&amp;fe00_ep&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>

</details>

---

# Freescale i.MX audio complex with ES8328 codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Freescale i.MX audio complex with ES8328 codec.

<!-- 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;fsl&#44;imx&#45;audio&#45;es8328&#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;Shawn Guo &#60;shawnguo&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sascha Hauer &#60;s&#46;hauer&#64;pengutronix&#46;de&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;fsl&#44;imx&#45;audio&#45;es8328&#34;</code></span>

<a id="dt-35a8a57fdd6e9ed01be8"></a>

### <code>model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4888cbb3b35392d2f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bf4b69bd171c38756e1b">
<p style="white-space: pre-wrap">The user-visible name of this sound complex</p>
</div>

<a id="dt-6f7fd039d95bac6e1111"></a>

### <code>ssi&#45;controller</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-94d25ae06bae2ca92527">[<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-c6b987088f575e0425e0">
<p style="white-space: pre-wrap">The phandle of the i.MX SSI controller</p>
</div>

<a id="dt-c84cd6046c2d69170301"></a>

### <code>jack&#45;gpio</code> — required here

<div id="dt-bbaee5f56a219258eab4">
<p style="white-space: pre-wrap">Optional GPIO for headphone jack</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7e7f0fe181b9eefc8a71"><code>1</code></span>

<a id="dt-7b412658e13532dcaa97"></a>

### <code>audio&#45;amp&#45;supply</code> — required here

<div id="dt-aad79b1f2649bccf6c32">
<p style="white-space: pre-wrap">Power regulator for speaker amps</p>
</div>

<a id="dt-037f77ca863f57929bdb"></a>

### <code>audio&#45;codec</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4055f1eb8d1593e9b1fd">[<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-043c653ef01ced47bdc2">
<p style="white-space: pre-wrap">The phandle to the ES8328 audio codec</p>
</div>

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5aa48addbfe3befc2051">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry
is a pair of strings, the first being the connection's sink, the second
being the connection's source. Valid names could be power supplies,
ES8328 pins, and the jacks on the board:</p>
<pre><code>Power supplies:
  * audio-amp</code></pre>
<pre><code>ES8328 pins:
  * LOUT1
  * LOUT2
  * ROUT1
  * ROUT2
  * LINPUT1
  * LINPUT2
  * RINPUT1
  * RINPUT2
  * Mic PGA</code></pre>
<pre><code>Board connectors:
  * Headphone
  * Speaker
  * Mic Jack</code></pre>
</div>

<a id="dt-45e784f4822c319ea155"></a>

### <code>mux&#45;int&#45;port</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b9a56ffd7e95ecaaee52">[<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-35c12935a664de0bb31f">
<p style="white-space: pre-wrap">The internal port of the i.MX audio muxer (AUDMUX)</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-468214aed756ee593ad5"></a> <span id="dt-45ee7859f2243e7cd55d"><code>1</code></span>, <span id="dt-ace3b7a6280a8e886988"><code>2</code></span>, <span id="dt-b558d1eefb3e118de1a3"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-fa76c384a5e0fde41b25"><code>1</code></span>

<a id="dt-df0a37d7e6be202a4906"></a>

### <code>mux&#45;ext&#45;port</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0ffb7079f1856201341f">[<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-474b67bfc57df11bf802">
<p style="white-space: pre-wrap">The external port of the i.MX audio muxer (AUDMIX)</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-19b284cafec00a2db3cb"></a> <span id="dt-bf7dd2db7bb798d0064c"><code>3</code></span>, <span id="dt-8e279be211e69ec528a7"><code>4</code></span>, <span id="dt-b9ce552e34ab3776cc3e"><code>5</code></span>, <span id="dt-a76720258ef7ee114057"><code>6</code></span>

**Default value (<code>default</code>):** <span id="dt-bd98888c5326f23ff51e"><code>3</code></span>

**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;model&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;ssi&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;jack&#45;gpio&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;audio&#45;amp&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;audio&#45;codec&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;audio&#45;routing&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;mux&#45;int&#45;port&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;mux&#45;ext&#45;port&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "fsl,imx-audio-es8328";
    model = "imx-audio-es8328";
    ssi-controller = &lt;&amp;ssi1&gt;;
    audio-codec = &lt;&amp;codec&gt;;
    jack-gpio = &lt;&amp;gpio5 15 0&gt;;
    audio-amp-supply = &lt;&amp;reg_audio_amp&gt;;
    audio-routing =
        "Speaker", "LOUT2",
        "Speaker", "ROUT2",
        "Speaker", "audio-amp",
        "Headphone", "ROUT1",
        "Headphone", "LOUT1",
        "LINPUT1", "Mic Jack",
        "RINPUT1", "Mic Jack",
        "Mic Jack", "Mic Bias";
    mux-int-port = &lt;1&gt;;
    mux-ext-port = &lt;3&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>

</details>

---

# NXP imx95 CM7 core

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP imx95 CM7 core.

<!-- SPDX-License-Identifier: (GPL-2.0 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;fsl&#44;imx95&#45;cm7&#45;sof&#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;Daniel Baluta &#60;daniel&#46;baluta&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">NXP imx95 CM7 core used for audio processing</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;fsl&#44;imx95&#45;cm7&#45;sof&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-817e79faee2ad624aa2b"><code>&#34;sram&#34;</code></span>

<a id="dt-b17dfbf4ae4b8a915685"></a>

### <code>memory&#45;region</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-95525a6e584a49d9aba7"><code>1</code></span>

<a id="dt-f55c07ead250870d7c92"></a>

### <code>memory&#45;region&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-a7a2fe8f1d4da21cc023"><code>&#34;dma&#34;</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — required here

<div id="dt-0cd71b006a1fcbec8daa">
<p style="white-space: pre-wrap">SAI3 port</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;memory&#45;region&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;memory&#45;region&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;port&#34;</code></span>

<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>fsl&#44;sof&#45;cpu&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/fsl-sof-cpu.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">cm7-cpu@80000000 {
    compatible = "fsl,imx95-cm7-sof";
    reg = &lt;0x80000000 0x6100000&gt;;
    reg-names = "sram";
    mboxes = &lt;&amp;mu7 2 0&gt;, &lt;&amp;mu7 2 1&gt;, &lt;&amp;mu7 3 0&gt;, &lt;&amp;mu7 3 1&gt;;
    mbox-names = "txdb0", "txdb1", "rxdb0", "rxdb1";
    memory-region = &lt;&amp;adma_res&gt;;
    memory-region-names = "dma";
    port {
        /* SAI3-WM8962 link */
        endpoint {
            remote-endpoint = &lt;&amp;wm8962_ep&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 OR BSD-2-Clause)</span></p>

</details>

---

# NXP MICFIL Digital Audio Interface (MICFIL)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP MICFIL Digital Audio Interface (MICFIL).

<!-- 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;fsl&#44;micfil&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The MICFIL digital interface provides a 16-bit or 24-bit audio signal
from a PDM microphone bitstream in a configurable output sampling rate.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;fsl&#44;imx95&#45;micfil&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;fsl&#44;imx93&#45;micfil&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Allowed values (<code>enum</code>):** <a id="dt-ad5dbad5326d5a61ae46"></a> <span id="dt-af4759e2a8ab9583f63d"><code>&#34;fsl&#44;imx8mm&#45;micfil&#34;</code></span>, <span id="dt-9aa1d0e5d9a73a253eb7"><code>&#34;fsl&#44;imx8mp&#45;micfil&#34;</code></span>, <span id="dt-5c9870d52793df25216b"><code>&#34;fsl&#44;imx93&#45;micfil&#34;</code></span>, <span id="dt-5142a30d4d34242a17aa"><code>&#34;fsl&#44;imx943&#45;micfil&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">Digital Microphone interface interrupt</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">Digital Microphone interface error interrupt</p>
> </div>

<a id="dt-6825e597892563d56556"></a>

**Item 3**

> <div id="dt-2c85367ad575dfda8b35">
> <p style="white-space: pre-wrap">voice activity detector event interrupt</p>
> </div>

<a id="dt-0e24ebf428e547e00816"></a>

**Item 4**

> <div id="dt-aa4f93a6c04967e709f9">
> <p style="white-space: pre-wrap">voice activity detector error interrupt</p>
> </div>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for RX</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">The ipg clock for register access</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">internal micfil clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">PLL clock source for 8kHz series</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">PLL clock source for 11kHz series</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">External clock 3</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;ipg&#95;clk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;ipg&#95;clk&#95;app&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;pll8k&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;pll11k&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;clkext3&#34;</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>2</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dmas&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clock&#45;names&#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/clock/imx8mm-clock.h&gt;
micfil: audio-controller@30080000 {
    compatible = "fsl,imx8mm-micfil";
    reg = &lt;0x30080000 0x10000&gt;;
    interrupts = &lt;GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;clk IMX8MM_CLK_PDM_IPG&gt;,
             &lt;&amp;clk IMX8MM_CLK_PDM_ROOT&gt;;
    clock-names = "ipg_clk", "ipg_clk_app";
    dmas = &lt;&amp;sdma2 24 25 0&gt;;
    dma-names = "rx";
};
</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>

</details>

---

# NXP Medium Quality Sound (MQS)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP Medium Quality Sound (MQS).

<!-- 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;fsl&#44;mqs&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Chancel Liu &#60;chancel&#46;liu&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Medium quality sound (MQS) is used to generate medium quality audio
via a standard GPIO in the pinmux, allowing the user to connect
stereo speakers or headphones to a power amplifier without an
additional DAC chip.</p>
</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;fsl&#44;imx6sx&#45;mqs&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;fsl&#44;imx8qm&#45;mqs&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;fsl&#44;imx8qxp&#45;mqs&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;fsl&#44;imx93&#45;mqs&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;fsl&#44;imx943&#45;aonmix&#45;mqs&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;fsl&#44;imx943&#45;wakeupmix&#45;mqs&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;fsl&#44;imx95&#45;aonmix&#45;mqs&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;fsl&#44;imx95&#45;netcmix&#45;mqs&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>2</code></span>

<a id="dt-b75eb70f9e04f72bb7f2"></a>

### <code>gpr</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5739dfe2563065590127">[<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-1674a445bd4f234c2793">
<p style="white-space: pre-wrap">The phandle to the General Purpose Register (GPR) node</p>
</div>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;clocks&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clock&#45;names&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;fsl&#44;imx6sx&#45;mqs&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;fsl&#44;imx93&#45;mqs&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;gpr&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;fsl&#44;imx8qm&#45;mqs&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;fsl&#44;imx8qxp&#45;mqs&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-848f98d28ea162761487"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-5bfe5ca02fe705443505"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-09903707c496e0ef03ef">
> > > <p style="white-space: pre-wrap">Master clock</p>
> > > </div>
> >
> > <a id="dt-082251df1c3a6e1c1dfa"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-b5f0a83e869b82c86019">
> > > <p style="white-space: pre-wrap">Clock for register access</p>
> > > </div>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;core&#34;</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;reg&#34;</code></span>, <span id="dt-ec639a3f525fd28f920c"><code>&#34;power&#45;domains&#34;</code></span>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-0f1a77fa3443de50a03f"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-b85421a4c6c22a08b61e"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-bb71bb2dbb0e4ae62d1a"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-7f74e2738596ffc63ccf">
> > > <p style="white-space: pre-wrap">Master clock</p>
> > > </div>
> >
> > <a id="dt-129bda36b9b8f209dd84"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-96f9c27d7b5ee7f5b102"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-4dbf324969463950a952"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-aab2fa668385c961c68c"><code>&#34;mclk&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/imx6sx-clock.h&gt;
mqs0: mqs {
    compatible = "fsl,imx6sx-mqs";
    gpr = &lt;&amp;gpr&gt;;
    clocks = &lt;&amp;clks IMX6SX_CLK_SAI1&gt;;
    clock-names = "mclk";
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/firmware/imx/rsrc.h&gt;
mqs1: mqs@59850000 {
    compatible = "fsl,imx8qm-mqs";
    reg = &lt;0x59850000 0x10000&gt;;
    clocks = &lt;&amp;mqs0_lpcg 0&gt;, &lt;&amp;mqs0_lpcg 1&gt;;
    clock-names = "mclk", "core";
    power-domains = &lt;&amp;pd IMX_SC_R_MQS_0&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>

</details>

---

# Freescale MXS audio complex with SGTL5000 codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Freescale MXS audio complex with SGTL5000 codec.

<!-- 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;fsl&#44;mxs&#45;audio&#45;sgtl5000&#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;Frank Li &#60;Frank&#46;Li&#64;nxp&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;bluegiga&#44;apx4devkit&#45;sgtl5000&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;denx&#44;m28evk&#45;sgtl5000&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;fsl&#44;imx28&#45;evk&#45;sgtl5000&#34;</code></span>, <span id="dt-24a1253e29125294194d"><code>&#34;fsl&#44;imx28&#45;mbmx28lc&#45;sgtl5000&#34;</code></span>, <span id="dt-6eb9cf2b3f55b257fde4"><code>&#34;fsl&#44;imx28&#45;tx28&#45;sgtl5000&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;fsl&#44;mxs&#45;audio&#45;sgtl5000&#34;</code></span>

<a id="dt-35a8a57fdd6e9ed01be8"></a>

### <code>model</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4888cbb3b35392d2f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bf4b69bd171c38756e1b">
<p style="white-space: pre-wrap">The user-visible name of this sound complex</p>
</div>

<a id="dt-06d821d2513f6f020064"></a>

### <code>saif&#45;controllers</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a615b65d31e9d5782a8d">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<div id="dt-1ba41b95f6afb411a13a">
<p style="white-space: pre-wrap">The phandle list of the MXS SAIF controller</p>
</div>

<a id="dt-037f77ca863f57929bdb"></a>

### <code>audio&#45;codec</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4055f1eb8d1593e9b1fd">[<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-043c653ef01ced47bdc2">
<p style="white-space: pre-wrap">The phandle of the SGTL5000 audio codec</p>
</div>

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5aa48addbfe3befc2051">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the
connection's sink, the second being the connection's
source. Valid names could be power supplies, SGTL5000
pins, and the jacks on the board:</p>
<pre><code>Power supplies:
  * Mic Bias</code></pre>
<pre><code>SGTL5000 pins:
  * MIC_IN
  * LINE_IN
  * HP_OUT
  * LINE_OUT</code></pre>
<pre><code>Board connectors:
  * Mic Jack
  * Line In Jack
  * Headphone Jack
  * Line Out Jack
  * Ext Spk</code></pre>
</div>

**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;saif&#45;controllers&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;audio&#45;codec&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "fsl,imx28-evk-sgtl5000", "fsl,mxs-audio-sgtl5000";
    model = "imx28-evk-sgtl5000";
    saif-controllers = &lt;&amp;saif0 &amp;saif1&gt;;
    audio-codec = &lt;&amp;sgtl5000&gt;;
    audio-routing =
        "MIC_IN", "Mic Jack",
        "Mic Jack", "Mic Bias",
        "Headphone Jack", "HP_OUT";
};
</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>

</details>

---

# QMC audio

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for QMC audio.

<!-- 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;fsl&#44;qmc&#45;audio&#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;Herve Codina &#60;herve&#46;codina&#64;bootlin&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The QMC audio is an ASoC component which uses QMC (QUICC Multichannel
Controller) channels to transfer the audio data.
It provides several DAIs. For each DAI, the DAI is working in interleaved mode
if only one QMC channel is used by the DAI or it is working in non-interleaved
mode if several QMC channels are used by the DAI.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;fsl&#44;qmc&#45;audio&#34;</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-c0d5658d400e3c4b9843"></a>

### <code>&#94;dai&#64;&#40;&#91;0&#45;9&#93;&#124;&#91;1&#45;5&#93;&#91;0&#45;9&#93;&#124;6&#91;0&#45;3&#93;&#41;&#36;</code> — name matches this regular expression

<div id="dt-dac5adcdc7a3748ac9f3">
<p style="white-space: pre-wrap">A DAI managed by this controller</p>
</div>

**Value type (<code>type</code>):** <span id="dt-947f6a431aebbe7c2a3f"><code>&#34;object&#34;</code></span>

<a id="dt-4c1dc8a5b456309a94ad"></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-7517afb9d36dbe87a8e8"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-15c9b89566c5777c98dd"></a>

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-0a9c291d05bca15dcd1e"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-7aa3a0d88daadcb1ec45"><code>63</code></span>

<div id="dt-8582f02ecd2c44165360">
<p style="white-space: pre-wrap">The DAI number</p>
</div>

<a id="dt-d43546c966885e9aeb48"></a>

**<code>fsl&#44;qmc&#45;chan</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-40e28e3321d8f553679e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-fdebc5efbed5cf7d0dcc"></a>

**Array item rules (<code>items</code>)**

> <a id="dt-4bb4df3dd143a69b0e21"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-424ac688dbc5eb2a2fdc"></a>
>
> **Item 1**
>
> > <div id="dt-1d00fa0bd4300c9ca556">
> > <p style="white-space: pre-wrap">phandle to QMC node</p>
> > </div>
>
> <a id="dt-591c99d2a3934ec1211e"></a>
>
> **Item 2**
>
> > <div id="dt-33d3d73846913f72aeaa">
> > <p style="white-space: pre-wrap">Channel number</p>
> > </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-8e836725ef3fb714c6da"><code>1</code></span>

<div id="dt-684e2c49599e25a3d558">
<p style="white-space: pre-wrap">Should be a phandle/number pair list. The list of phandle to QMC node and the QMC channel pair to use for this DAI. If only one phandle/number pair is provided, this DAI works in interleaved mode, i.e. audio channels for this DAI are interleaved in the QMC channel. If more than one pair is provided, this DAI works in non-interleave mode. In that case the first audio channel uses the the first QMC channel, the second audio channel uses the second QMC channel, etc...</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-9742d267f585f3fa637d"></a> <span id="dt-111786d3f28f0bb0b98b"><code>&#34;reg&#34;</code></span>, <span id="dt-23856c93c099471d1227"><code>&#34;fsl&#44;qmc&#45;chan&#34;</code></span>

**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;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;sound&#45;dai&#45;cells&#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">audio_controller: audio-controller {
    compatible = "fsl,qmc-audio";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    #sound-dai-cells = &lt;1&gt;;
    dai@16 {
        reg = &lt;16&gt;;
        fsl,qmc-chan = &lt;&amp;qmc 16&gt;;
    };
    dai@17 {
        reg = &lt;17&gt;;
        fsl,qmc-chan = &lt;&amp;qmc 17&gt;;
    };
    dai@18 {
        reg = &lt;18&gt;;
        /* Non-interleaved mode */
        fsl,qmc-chan = &lt;&amp;qmc 18&gt;, &lt;&amp;qmc 19&gt;;
    };
};

sound {
    compatible = "simple-audio-card";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    simple-audio-card,dai-link@0 {
        reg = &lt;0&gt;;
        format = "dsp_b";
        cpu {
            sound-dai = &lt;&amp;audio_controller 16&gt;;
        };
        codec {
            sound-dai = &lt;&amp;codec1&gt;;
            dai-tdm-slot-num = &lt;4&gt;;
            dai-tdm-slot-width = &lt;8&gt;;
            /* TS 3, 5, 7, 9 */
            dai-tdm-slot-tx-mask = &lt;0 0 0 1 0 1 0 1 0 1&gt;;
            dai-tdm-slot-rx-mask = &lt;0 0 0 1 0 1 0 1 0 1&gt;;
        };
    };
    simple-audio-card,dai-link@1 {
        reg = &lt;1&gt;;
        format = "dsp_b";
        cpu {
            sound-dai = &lt;&amp;audio_controller 17&gt;;
        };
        codec {
            sound-dai = &lt;&amp;codec2&gt;;
            dai-tdm-slot-num = &lt;4&gt;;
            dai-tdm-slot-width = &lt;8&gt;;
            /* TS 2, 4, 6, 8 */
            dai-tdm-slot-tx-mask = &lt;0 0 1 0 1 0 1 0 1&gt;;
            dai-tdm-slot-rx-mask = &lt;0 0 1 0 1 0 1 0 1&gt;;
        };
    };
    simple-audio-card,dai-link@2 {
        reg = &lt;2&gt;;
        format = "dsp_b";
        cpu {
            sound-dai = &lt;&amp;audio_controller 18&gt;;
        };
        codec {
            sound-dai = &lt;&amp;codec3&gt;;
            dai-tdm-slot-num = &lt;2&gt;;
            dai-tdm-slot-width = &lt;8&gt;;
            /* TS 9, 10 */
            dai-tdm-slot-tx-mask = &lt;0 0 0 0 0 0 0 0 0 1 1&gt;;
            dai-tdm-slot-rx-mask = &lt;0 0 0 0 0 0 0 0 0 1 1&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>

</details>

---

# NXP Audio RPMSG CPU DAI Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP Audio RPMSG CPU DAI Controller.

<!-- 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;fsl&#44;rpmsg&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">fsl_rpmsg is a virtual audio device. Mapping to real hardware devices
are SAI, MICFIL, DMA controlled by Cortex M core. What we see from
Linux side is a device which provides audio service by rpmsg channel.
We can create different sound cards which access different hardwares
such as SAI, MICFIL, .etc through building rpmsg channels between
Cortex-A and Cortex-M.</p>
</div>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;fsl&#44;imx7ulp&#45;rpmsg&#45;audio&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;fsl&#44;imx8mn&#45;rpmsg&#45;audio&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;fsl&#44;imx8mm&#45;rpmsg&#45;audio&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;fsl&#44;imx8mp&#45;rpmsg&#45;audio&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;fsl&#44;imx8ulp&#45;rpmsg&#45;audio&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;fsl&#44;imx93&#45;rpmsg&#45;audio&#34;</code></span>, <span id="dt-7775c6eae6cdca3e9809"><code>&#34;fsl&#44;imx95&#45;rpmsg&#45;audio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx94&#45;rpmsg&#45;audio&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx952&#45;rpmsg&#45;audio&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx95&#45;rpmsg&#45;audio&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral clock for register access</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Master clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">DMA clock for DMA register access</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">Parent clock for multiple of 8kHz sample rates</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">Parent clock for multiple of 11kHz sample rates</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;ipg&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mclk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;dma&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;pll8k&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;pll11k&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

<div id="dt-33c740e5969dba94b4e6">
<p style="white-space: pre-wrap">List of phandle and PM domain specifier as documented in Documentation/devicetree/bindings/power/power_domain.txt</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-b17dfbf4ae4b8a915685"></a>

### <code>memory&#45;region</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-95525a6e584a49d9aba7"><code>1</code></span>

<div id="dt-b794f979757a4fadd5eb">
<p style="white-space: pre-wrap">phandle to a node describing reserved memory (System RAM memory) The M core can't access all the DDR memory space on some platform, So reserved a specific memory for dma buffer which M core can access. (see bindings/reserved-memory/reserved-memory.txt)</p>
</div>

<a id="dt-037f77ca863f57929bdb"></a>

### <code>audio&#45;codec</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4055f1eb8d1593e9b1fd">[<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-043c653ef01ced47bdc2">
<p style="white-space: pre-wrap">The phandle to a node of audio codec</p>
</div>

<a id="dt-613967cd57d11314d31b"></a>

### <code>fsl&#44;enable&#45;lpa</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-caa01b2e09c91f28bab4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-3bae103853f4841dc895">
<p style="white-space: pre-wrap">enable low power audio path.</p>
</div>

<a id="dt-c684f8597205b7e2876e"></a>

### <code>fsl&#44;rpmsg&#45;out</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-42648063d5c5ca87b179">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-8c36d53e0c36df0bac1f">
<p style="white-space: pre-wrap">This is a boolean property. If present, the transmitting function
will be enabled.</p>
</div>

<a id="dt-2cf0f1c9b54b461441ab"></a>

### <code>fsl&#44;rpmsg&#45;in</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2471f93ed0607bd58d7b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-eb22ec5f3f261da85205">
<p style="white-space: pre-wrap">This is a boolean property. If present, the receiving function
will be enabled.</p>
</div>

<a id="dt-5cc2c6e55a946f90db26"></a>

### <code>fsl&#44;rpmsg&#45;channel&#45;name</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-53234bd89f0b6a2fe9a1">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-b056955c7033bf48eb04">
<p style="white-space: pre-wrap">A string property to assign rpmsg channel this sound card sits on.
This property can be omitted if there is only one sound card and it sits
on "rpmsg-audio-channel".</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-2fe3a039992026d8cd85"></a> <span id="dt-1443e30d239df8d14203"><code>&#34;rpmsg&#45;audio&#45;channel&#34;</code></span>, <span id="dt-a18564dd969fad1dce0f"><code>&#34;rpmsg&#45;micfil&#45;channel&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/imx8mn-clock.h&gt;

rpmsg_audio: rpmsg_audio {
    compatible = "fsl,imx8mn-rpmsg-audio";
    model = "wm8524-audio";
    fsl,enable-lpa;
    fsl,rpmsg-out;
    clocks = &lt;&amp;clk IMX8MN_CLK_SAI3_IPG&gt;,
             &lt;&amp;clk IMX8MN_CLK_SAI3_ROOT&gt;,
             &lt;&amp;clk IMX8MN_CLK_SDMA3_ROOT&gt;,
             &lt;&amp;clk IMX8MN_AUDIO_PLL1_OUT&gt;,
             &lt;&amp;clk IMX8MN_AUDIO_PLL2_OUT&gt;;
    clock-names = "ipg", "mclk", "dma", "pll8k", "pll11k";
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/clock/imx8mm-clock.h&gt;

rpmsg_micfil: audio-controller {
    compatible = "fsl,imx8mm-rpmsg-audio";
    model = "micfil-audio";
    fsl,rpmsg-channel-name = "rpmsg-micfil-channel";
    fsl,enable-lpa;
    fsl,rpmsg-in;
    clocks = &lt;&amp;clk IMX8MM_CLK_PDM_IPG&gt;,
             &lt;&amp;clk IMX8MM_CLK_PDM_ROOT&gt;,
             &lt;&amp;clk IMX8MM_CLK_SDMA3_ROOT&gt;,
             &lt;&amp;clk IMX8MM_AUDIO_PLL1_OUT&gt;,
             &lt;&amp;clk IMX8MM_AUDIO_PLL2_OUT&gt;;
    clock-names = "ipg", "mclk", "dma", "pll8k", "pll11k";
};
</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>

</details>

---

# Freescale Synchronous Audio Interface (SAI).

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Freescale Synchronous Audio Interface (SAI)..

<!-- 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;fsl&#44;sai&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SAI is based on I2S module that used communicating with audio codecs,
which provides a synchronous audio interface that supports fullduplex
serial interfaces with frame synchronization such as I2S, AC97, TDM, and
codec/DSP interfaces.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;fsl&#44;imx6ul&#45;sai&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;fsl&#44;imx7d&#45;sai&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;fsl&#44;imx6sx&#45;sai&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx8mm&#45;sai&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx8mn&#45;sai&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;fsl&#44;imx8mp&#45;sai&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx8mq&#45;sai&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;fsl&#44;imx6sx&#45;sai&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;fsl&#44;imx7ulp&#45;sai&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;fsl&#44;imx8mq&#45;sai&#34;</code></span>, <span id="dt-7337bb6973adc8f5010d"><code>&#34;fsl&#44;imx8qm&#45;sai&#34;</code></span>, <span id="dt-2a4824de128057522b89"><code>&#34;fsl&#44;imx8ulp&#45;sai&#34;</code></span>, <span id="dt-9d0b7e5fcd963b685b0d"><code>&#34;fsl&#44;imx93&#45;sai&#34;</code></span>, <span id="dt-53e062f93be7aa5d7bb3"><code>&#34;fsl&#44;imx95&#45;sai&#34;</code></span>, <span id="dt-6bdd021aae4cd71c629b"><code>&#34;fsl&#44;vf610&#45;sai&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;fsl&#44;imx94&#45;sai&#34;</code></span>, <span id="dt-f0654d9dc65c16ce7d6a"><code>&#34;fsl&#44;imx952&#45;sai&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;fsl&#44;imx95&#45;sai&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">The ipg clock for register access</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">master clock source 0 (obsoleted)</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">master clock source 1</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">master clock source 2</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">master clock source 3</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">PLL clock source for 8kHz series</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">PLL clock source for 11kHz series</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>4</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-c94b78d6f12561baf6a0"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-661af0885579a69ba337"></a>

**Rule 1**

> <a id="dt-027418c760db9276fcba"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-bf543c95e0c50d9cb8f7"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-22588558d3128a1ce650"><code>&#34;bus&#34;</code></span>
>
> <a id="dt-38d5e686f1ce154bdf61"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-78118bb2872ba1203b98"><code>&#34;mclk0&#34;</code></span>
>
> <a id="dt-9f64ae95829eda914772"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-5e9e0b8b16a458194c08"><code>&#34;mclk1&#34;</code></span>
>
> <a id="dt-ebe3d649940f830fce25"></a>
>
> **Item 4**
>
> > **Exact value (<code>const</code>):** <span id="dt-ea370f2acf4bd23c06bb"><code>&#34;mclk2&#34;</code></span>
>
> <a id="dt-fe01f7045794e6ea69a8"></a>
>
> **Item 5**
>
> > **Exact value (<code>const</code>):** <span id="dt-96101cef05df95422611"><code>&#34;mclk3&#34;</code></span>
>
> <a id="dt-ed1b003b6b2ca8929022"></a>
>
> **Item 6**
>
> > **Exact value (<code>const</code>):** <span id="dt-c691d19d5fc63bb506c7"><code>&#34;pll8k&#34;</code></span>
>
> <a id="dt-83ee86bbeefcc9545511"></a>
>
> **Item 7**
>
> > **Exact value (<code>const</code>):** <span id="dt-2cd9ba8de437adf895fe"><code>&#34;pll11k&#34;</code></span>
>
> **Minimum number of items (<code>minItems</code>):** <span id="dt-64a94738043a68b62371"><code>5</code></span>

<a id="dt-ae674f98e655e0f74db4"></a>

**Rule 2**

> <a id="dt-20fc6bfaeee95ba35790"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-f468ad1eba090a3de488"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-8c8dcde100c56b536a91"><code>&#34;bus&#34;</code></span>
>
> <a id="dt-b2245a46cbe503285ae3"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1e527555b977de836626"><code>&#34;mclk1&#34;</code></span>
>
> <a id="dt-6ccd29364ec41f23f771"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-bd383bf1f3b36abaaf17"><code>&#34;mclk2&#34;</code></span>
>
> <a id="dt-cb04f5a86c50007a4d45"></a>
>
> **Item 4**
>
> > **Exact value (<code>const</code>):** <span id="dt-cfb28df4c9e03e56d0ba"><code>&#34;mclk3&#34;</code></span>
>
> <a id="dt-a16c5809a95f6238c8e3"></a>
>
> **Item 5**
>
> > **Exact value (<code>const</code>):** <span id="dt-e8e5aa9daf455ae9b481"><code>&#34;pll8k&#34;</code></span>
>
> <a id="dt-30a0e48f9548e0fb8d93"></a>
>
> **Item 6**
>
> > **Exact value (<code>const</code>):** <span id="dt-68f3c1f3e20462afdd70"><code>&#34;pll11k&#34;</code></span>
>
> **Minimum number of items (<code>minItems</code>):** <span id="dt-4c9368dc1c1b364b2f8d"><code>4</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-6d0b8f093f81278007f9"><code>1</code></span>

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-0b1c0ae358961bd0f7aa"></a> <span id="dt-a6989793672531931b48"><code>&#34;rx&#34;</code></span>, <span id="dt-23bdb23d318bc2f867d8"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">receive and transmit interrupt</p>
> </div>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a4081946fdcb0e84f410"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">port for TX and RX</p>
</div>

<a id="dt-d8ac7b78cc1246edfc03"></a>

**<code>port&#64;1</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-5ebb403139241bac1234"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">port for TX only</p>
</div>

<a id="dt-dc67b74e0468f2f7f265"></a>

**<code>port&#64;2</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bf0c0e1b24d670f57f64">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a2a3302eb9200a1fab03"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-2494ba4fb5f1dc4cb38b">
<p style="white-space: pre-wrap">port for RX only</p>
</div>

<a id="dt-319a1197721d8cd4e338"></a>

### <code>big&#45;endian</code> — not listed as required here

<div id="dt-24fc11f69b4701ad477f">
<p style="white-space: pre-wrap">required if all the SAI registers are big-endian rather than little-endian.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-e7de3d2cfb2a117514c2"><code>&#34;boolean&#34;</code></span>

<a id="dt-eef999b39606dad736e3"></a>

### <code>fsl&#44;dataline</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a3a7de9238369e4fb610">[<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>

<div id="dt-6105506e0ede23399dd8">
<p style="white-space: pre-wrap">Configure the dataline. It has 3 value for each configuration</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-cc8b964b7e0c45a739da"><code>16</code></span>

<a id="dt-80f26437ad6bd8a26f80"></a>

#### Array item rules (<code>items</code>)

> <a id="dt-0ef8cc1ddf21c5e71935"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-1f66ccb1d6b48390f9ed"></a>
>
> **Item 1**
>
> > <div id="dt-9dccbe0fe484f1f6b1c3">
> > <p style="white-space: pre-wrap">format Default(0), I2S(1) or PDM(2)</p>
> > </div>
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-d99fd5600e30486191ac"></a> <span id="dt-3cd4e581dbe0635517fc"><code>0</code></span>, <span id="dt-d31878b4feb0fd24cd7a"><code>1</code></span>, <span id="dt-974823152fd4d477bd3c"><code>2</code></span>
>
> <a id="dt-dc2d7cf835f5bd7fcd51"></a>
>
> **Item 2**
>
> > <div id="dt-093e3f8080683e1bfeb7">
> > <p style="white-space: pre-wrap">dataline mask for 'rx'</p>
> > </div>
>
> <a id="dt-22c147137740c866c18c"></a>
>
> **Item 3**
>
> > <div id="dt-6c8d33e785552e47d896">
> > <p style="white-space: pre-wrap">dataline mask for 'tx'</p>
> > </div>

<a id="dt-56c4454269ede16c81a5"></a>

### <code>fsl&#44;sai&#45;amix&#45;mode</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9382b9441be709858e18">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-c8a8d7a9986075671f27">
<p style="white-space: pre-wrap">The audmix module is bypassed from hardware or not.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-b9dbd7c34e22dd18f753"></a> <span id="dt-0ca33b05ae1850ec451e"><code>&#34;none&#34;</code></span>, <span id="dt-a5bb2f0407a3397a32b8"><code>&#34;bypass&#34;</code></span>, <span id="dt-9184f090c9fed70d718d"><code>&#34;audmix&#34;</code></span>

**Default value (<code>default</code>):** <span id="dt-d85ad4f8561728545219"><code>&#34;none&#34;</code></span>

<a id="dt-5c7fc8a09068ecc63f39"></a>

### <code>fsl&#44;sai&#45;mclk&#45;direction&#45;output</code> — not listed as required here

<div id="dt-a2472fbf5ca96d4ae15d">
<p style="white-space: pre-wrap">SAI will output the SAI MCLK clock.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-9a6d8dbf650ffd7b4887"><code>&#34;boolean&#34;</code></span>

<a id="dt-5c367dc7302a2c5a4bec"></a>

### <code>fsl&#44;sai&#45;synchronous&#45;rx</code> — not listed as required here

<div id="dt-45bc7e99677ad2ccce37">
<p style="white-space: pre-wrap">SAI will work in the synchronous mode (sync Tx with Rx) which means
both the transmitter and the receiver will send and receive data by
following receiver's bit clocks and frame sync clocks.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-a2ee1b630dee3bdae763"><code>&#34;boolean&#34;</code></span>

<a id="dt-95b1b1f8aa57344067b8"></a>

### <code>fsl&#44;sai&#45;asynchronous</code> — not listed as required here

<div id="dt-f516bac9ead7e2cedf0e">
<p style="white-space: pre-wrap">SAI will work in the asynchronous mode, which means both transmitter
and receiver will send and receive data by following their own bit clocks
and frame sync clocks separately.
If both fsl,sai-asynchronous and fsl,sai-synchronous-rx are absent, the
default synchronous mode (sync Rx with Tx) will be used, which means both
transmitter and receiver will send and receive data by following clocks
of transmitter.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-3111274eab03f3ca8c4a"><code>&#34;boolean&#34;</code></span>

<a id="dt-cd8b91dde53c62f317a3"></a>

### <code>fsl&#44;shared&#45;interrupt</code> — not listed as required here

<div id="dt-d90321d661ed25d7653a">
<p style="white-space: pre-wrap">Interrupt is shared with other modules.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-3aa4b875b85c6ab9d512"><code>&#34;boolean&#34;</code></span>

<a id="dt-f4d4c680bfeab916bc5a"></a>

### <code>lsb&#45;first</code> — not listed as required here

<div id="dt-677309b6b89fcaabe60c">
<p style="white-space: pre-wrap">Configures whether the LSB or the MSB is transmitted
first for the fifo data. If this property is absent,
the MSB is transmitted first as default, or the LSB
is transmitted first.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-9fed77834c29e6ff12b0"><code>&#34;boolean&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<div id="dt-c6fec2b67f85839e5c16">
<p style="white-space: pre-wrap">optional, some dts node didn't add it.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-5f135e3db8ef1aa53700"></a> <span id="dt-0164887f025a095456fa"><code>&#34;fsl&#44;sai&#45;asynchronous&#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-1c515c5cb548299dab5d"></a>
> >
> > **<code>fsl&#44;sai&#45;synchronous&#45;rx</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-6cd59169876f78b3673d"></a> <span id="dt-6e9be25c995eaf8168d1"><code>&#34;fsl&#44;sai&#45;amix&#45;mode&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-fa29f305753ef7901486"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-b6fd0016218ea756d0c1"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5745c70fe2cec2f682f4"><code>&#34;fsl&#44;imx952&#45;sai&#34;</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dmas&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/vf610-clock.h&gt;
sai2: sai@40031000 {
    compatible = "fsl,vf610-sai";
    reg = &lt;0x40031000 0x1000&gt;;
    interrupts = &lt;86 IRQ_TYPE_LEVEL_HIGH&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_sai2_1&gt;;
    clocks = &lt;&amp;clks VF610_CLK_PLATFORM_BUS&gt;,
             &lt;&amp;clks VF610_CLK_SAI2&gt;,
             &lt;&amp;clks 0&gt;, &lt;&amp;clks 0&gt;;
    clock-names = "bus", "mclk1", "mclk2", "mclk3";
    dma-names = "rx", "tx";
    dmas = &lt;&amp;edma0 0 20&gt;, &lt;&amp;edma0 0 21&gt;;
    big-endian;
    lsb-first;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/clock/imx8mm-clock.h&gt;
sai1: sai@30010000 {
    compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
    reg = &lt;0x30010000 0x10000&gt;;
    interrupts = &lt;GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;clk IMX8MM_CLK_SAI1_IPG&gt;,
             &lt;&amp;clk IMX8MM_CLK_DUMMY&gt;,
             &lt;&amp;clk IMX8MM_CLK_SAI1_ROOT&gt;,
             &lt;&amp;clk IMX8MM_CLK_DUMMY&gt;, &lt;&amp;clk IMX8MM_CLK_DUMMY&gt;;
    clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
    dmas = &lt;&amp;sdma2 0 2 0&gt;, &lt;&amp;sdma2 1 2 0&gt;;
    dma-names = "rx", "tx";
    fsl,dataline = &lt;1 0xff 0xff 2 0xff 0x11&gt;;
    #sound-dai-cells = &lt;0&gt;;

    ports {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        port@1 {
            reg = &lt;1&gt;;
            playback-only;

            sai1_endpoint0: endpoint {
               dai-tdm-slot-num = &lt;8&gt;;
               dai-tdm-slot-width = &lt;32&gt;;
               dai-tdm-slot-width-map = &lt;32 8 32&gt;;
               dai-format = "dsp_a";
               bitclock-master;
               frame-master;
               remote-endpoint = &lt;&amp;mcodec01_ep&gt;;
            };
        };

        port@2 {
            reg = &lt;2&gt;;
            capture-only;

            sai1_endpoint1: endpoint {
                dai-tdm-slot-num = &lt;8&gt;;
                dai-tdm-slot-width = &lt;32&gt;;
                dai-tdm-slot-width-map = &lt;32 8 32&gt;;
                dai-format = "dsp_a";
                remote-endpoint = &lt;&amp;fe02_ep&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>

</details>

---

# Freescale MXS Serial Audio Interface (SAIF)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Freescale MXS Serial Audio Interface (SAIF).

<!-- 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;fsl&#44;saif&#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;Lukasz Majewski &#60;lukma&#64;denx&#46;de&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SAIF is based on I2S module that is used to communicate with audio codecs, but only with half-duplex manner (i.e. it can either transmit or receive PCM audio).</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;fsl&#44;imx28&#45;saif&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>1</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-05981720df4cd7d43d3c"><code>&#34;rx&#45;tx&#34;</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

<div id="dt-6709a835409866cbd3af">
<p style="white-space: pre-wrap">Configure the I2S device as MCLK clock provider.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-1f996df6019eff40c3e9"></a>

### <code>fsl&#44;saif&#45;master</code> — not listed as required here

<div id="dt-eb3048589f1223c3d60a">
<p style="white-space: pre-wrap">Indicate that saif is a slave and its phandle points to master</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9fb3e07fd10d327c033c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dmas&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">saif0: saif@80042000 {
    compatible = "fsl,imx28-saif";
    reg = &lt;0x80042000 2000&gt;;
    #sound-dai-cells = &lt;0&gt;;
    interrupts = &lt;59&gt;;
    dmas = &lt;&amp;dma_apbx 4&gt;;
    dma-names = "rx-tx";
    #clock-cells = &lt;0&gt;;
    clocks = &lt;&amp;clks 53&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">saif1: saif@80046000 {
    compatible = "fsl,imx28-saif";
    reg = &lt;0x80046000 2000&gt;;
    #sound-dai-cells = &lt;0&gt;;
    interrupts = &lt;58&gt;;
    dmas = &lt;&amp;dma_apbx 5&gt;;
    dma-names = "rx-tx";
    clocks = &lt;&amp;clks 53&gt;;
    fsl,saif-master = &lt;&amp;saif0&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>

</details>

---

# Freescale SGTL5000 Stereo Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Freescale SGTL5000 Stereo Codec.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;fsl&#44;sgtl5000&#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;Fabio Estevam &#60;festevam&#64;gmail&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;fsl&#44;sgtl5000&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-9c43aef1a0c065c8db91"></a>

### <code>assigned&#45;clock&#45;parents</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-9f66f091d5bf3996d703"></a>

### <code>assigned&#45;clock&#45;rates</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-12d2eb74181a2f7523ba"></a>

### <code>assigned&#45;clocks</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">the clock provider of SYS_MCLK</p>
> </div>

<a id="dt-d18875ceee2b34ecaf2a"></a>

### <code>VDDA&#45;supply</code> — required here

<div id="dt-2e813e916b716d7c252f">
<p style="white-space: pre-wrap">the regulator provider of VDDA</p>
</div>

<a id="dt-126174a1963e0f236c21"></a>

### <code>VDDIO&#45;supply</code> — required here

<div id="dt-e36e6971a0f87299ab9d">
<p style="white-space: pre-wrap">the regulator provider of VDDIO</p>
</div>

<a id="dt-965521636ee52b865e34"></a>

### <code>VDDD&#45;supply</code> — not listed as required here

<div id="dt-d80a936e9f201dbd2c05">
<p style="white-space: pre-wrap">the regulator provider of VDDD</p>
</div>

<a id="dt-b500b6926dd6ec6531cb"></a>

### <code>micbias&#45;resistor&#45;k&#45;ohms</code> — not listed as required here

<div id="dt-25af6a8d05f7adafac78">
<p style="white-space: pre-wrap">The bias resistor to be used in kOhms. The resistor can take values of 2k, 4k or 8k. If set to 0 it will be off. If this node is not mentioned or if the value is unknown, then micbias resistor is set to 4k.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-b310a09b2a04eb71c295"></a> <span id="dt-12a1090ce3d73ed61eb6"><code>0</code></span>, <span id="dt-4eeeac18cafa54303f07"><code>2</code></span>, <span id="dt-cafc0f962e5bbf8f3c76"><code>4</code></span>, <span id="dt-a573f301dd5b9433db63"><code>8</code></span>

<a id="dt-b9eeb050713c6099de33"></a>

### <code>micbias&#45;voltage&#45;m&#45;volts</code> — not listed as required here

<div id="dt-66edb91ef3c534f14a12">
<p style="white-space: pre-wrap">The bias voltage to be used in mVolts. The voltage can take values from 1.25V to 3V by 250mV steps. If this node is not mentioned or the value is unknown, then the value is set to 1.25V.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fe8894aa149a19855eea">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-bdc9648518733bf4059a"></a> <span id="dt-7e4f0ab7105990c02294"><code>1250</code></span>, <span id="dt-44e572a17cb0d277b0a0"><code>1500</code></span>, <span id="dt-aa0cc56fc998936bf8ff"><code>1750</code></span>, <span id="dt-bb5c63167ec40231d8c5"><code>2000</code></span>, <span id="dt-0c805cb4c6fb0ce66072"><code>2250</code></span>, <span id="dt-3215b1476679306188e1"><code>2500</code></span>, <span id="dt-8b510179c1090556011f"><code>2750</code></span>, <span id="dt-4ba0358f77089497d171"><code>3000</code></span>

<a id="dt-c044a209f6f3c4272a66"></a>

### <code>lrclk&#45;strength</code> — not listed as required here

<div id="dt-4abfd3e649de049b4496">
<p style="white-space: pre-wrap">The LRCLK pad strength. Possible values are: 0, 1, 2 and 3 as per the
table below:</p>
<pre><code>  VDDIO		1.8V		2.5V		3.3V
  0 =		Disable
  1 =		1.66 mA		2.87 mA		4.02  mA
  2 =		3.33 mA		5.74 mA		8.03  mA
  3 =		4.99 mA		8.61 mA		12.05 mA</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d258f6dc6f9c26d6e7ff">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-f134c3c54d61386d942d"></a> <span id="dt-7c7b5bc1fb844e7f7acb"><code>0</code></span>, <span id="dt-340a4c78ddbe2ff2c538"><code>1</code></span>, <span id="dt-75020fc03e1845692127"><code>2</code></span>, <span id="dt-f1987ca2472026d8f5a6"><code>3</code></span>

<a id="dt-9016c8006e4f7cf5d086"></a>

### <code>sclk&#45;strength</code> — not listed as required here

<div id="dt-4e68cc98b40851cbdfd2">
<p style="white-space: pre-wrap">The SCLK pad strength. Possible values are: 0, 1, 2 and 3 as per the
table below:</p>
<pre><code>  VDDIO		1.8V		2.5V		3.3V
  0 =		Disable
  1 =		1.66 mA		2.87 mA		4.02  mA
  2 =		3.33 mA		5.74 mA		8.03  mA
  3 =		4.99 mA		8.61 mA		12.05 mA</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f5ceab881c9803e589f1">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-40e5b7d8cc66577d478d"></a> <span id="dt-a5630da07a83389079c4"><code>0</code></span>, <span id="dt-86835f6bbb14e49563ac"><code>1</code></span>, <span id="dt-f52eb8c4a87b070ba75b"><code>2</code></span>, <span id="dt-8e643d83053202326290"><code>3</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;VDDA&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;VDDIO&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@a {
        compatible = "fsl,sgtl5000";
        reg = &lt;0x0a&gt;;
        #sound-dai-cells = &lt;0&gt;;
        clocks = &lt;&amp;clks 150&gt;;
        micbias-resistor-k-ohms = &lt;2&gt;;
        micbias-voltage-m-volts = &lt;2250&gt;;
        VDDA-supply = &lt;&amp;reg_3p3v&gt;;
        VDDIO-supply = &lt;&amp;reg_3p3v&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</span></p>

</details>

---

# NXP audio processor common properties

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP audio processor common properties.

<!-- 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;fsl&#44;sof&#45;cpu&#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;Daniel Baluta &#60;daniel&#46;baluta&#64;nxp&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-574e031ceefcc9ce5f61"></a>

### <code>mboxes</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-0d6020afe1bf116ee01c"><code>4</code></span>

<a id="dt-4ee7b83e6c5727877a02"></a>

### <code>mbox&#45;names</code> — required here

<a id="dt-48583272e5ed97b0ea27"></a>

#### Array item rules (<code>items</code>)

<a id="dt-3e9657da4c58d3c7f293"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-4b44efa5ae4508925c66"><code>&#34;txdb0&#34;</code></span>

<a id="dt-69854b892779cd21ad4c"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-78ad6442a2dcf017dcdf"><code>&#34;txdb1&#34;</code></span>

<a id="dt-ec3c87dc9217f93dc600"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-c73fce08f8ad186a0246"><code>&#34;rxdb0&#34;</code></span>

<a id="dt-1d1dfde9ae361f9ac0ef"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-3ac9cb22fc9ef1f946f5"><code>&#34;rxdb1&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;mboxes&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;mbox&#45;names&#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-only OR BSD-2-Clause)</span></p>

</details>

---

# Freescale Sony/Philips Digital Interface Format (S/PDIF) Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Freescale Sony/Philips Digital Interface Format (S/PDIF) Controller.

<!-- 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;fsl&#44;spdif&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Freescale S/PDIF audio block is a stereo transceiver that allows the
processor to receive and transmit digital audio via an coaxial cable or
a fibre cable.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;fsl&#44;imx35&#45;spdif&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;fsl&#44;imx6sx&#45;spdif&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;fsl&#44;imx8mm&#45;spdif&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;fsl&#44;imx8mn&#45;spdif&#34;</code></span>, <span id="dt-fd88adda17227ca32776"><code>&#34;fsl&#44;imx8mq&#45;spdif&#34;</code></span>, <span id="dt-f0dfbb755d86acc4c265"><code>&#34;fsl&#44;imx8qm&#45;spdif&#34;</code></span>, <span id="dt-fd90c4a6b4c12fdce245"><code>&#34;fsl&#44;imx8qxp&#45;spdif&#34;</code></span>, <span id="dt-e2dcb0e367ca5c3b7bca"><code>&#34;fsl&#44;imx8ulp&#45;spdif&#34;</code></span>, <span id="dt-8f172ba5f5ba57694b17"><code>&#34;fsl&#44;vf610&#45;spdif&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx6sl&#45;spdif&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx6sx&#45;spdif&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx35&#45;spdif&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">Combined or receive interrupt</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">Transmit interrupt</p>
> </div>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for RX</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for TX</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">The core clock of spdif controller.</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Clock for tx0 and rx0.</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">Clock for tx1 and rx1.</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">Clock for tx2 and rx2.</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">Clock for tx3 and rx3.</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">Clock for tx4 and rx4.</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">Clock for tx5 and rx5.</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">Clock for tx6 and rx6.</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">Clock for tx7 and rx7.</p>
> </div>

<a id="dt-de0b3dfcbfe00e590e15"></a>

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">The spba clock is required when SPDIF is placed as a bus slave of the Shared Peripheral Bus and when two or more bus masters (CPU, DMA or DSP) try to access it. This property is optional depending on the SoC design.</p>
> </div>

<a id="dt-b0d2fe433bb8ee085f99"></a>

**Item 11**

> <div id="dt-ce56df8912b8f8ea9536">
> <p style="white-space: pre-wrap">PLL clock source for 8kHz series rate, optional.</p>
> </div>

<a id="dt-3a6e19bd8f81a7da76c2"></a>

**Item 12**

> <div id="dt-59b5f0b6f9a554d62511">
> <p style="white-space: pre-wrap">PLL clock source for 11khz series rate, optional.</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>9</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;core&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;rxtx0&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;rxtx1&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;rxtx2&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;rxtx3&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;rxtx4&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;rxtx5&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;rxtx6&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;rxtx7&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;spba&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;pll8k&#34;</code></span>

<a id="dt-cdc319b61e94b611f980"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-0bf4d52880d7237bb9a0"><code>&#34;pll11k&#34;</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>9</code></span>

<a id="dt-319a1197721d8cd4e338"></a>

### <code>big&#45;endian</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d8bd302dd0c504225ad4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-24fc11f69b4701ad477f">
<p style="white-space: pre-wrap">If this property is absent, the native endian mode will be in use
as default, or the big endian mode will be in use for all the device
registers. Set this flag for HCDs with big endian descriptors and big
endian registers.</p>
</div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dmas&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clock&#45;names&#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-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**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-867fe1927430e9b33ede"></a> <span id="dt-7226965ee25a457638c7"><code>&#34;fsl&#44;imx8qm&#45;spdif&#34;</code></span>, <span id="dt-2f3cfadcb56c1f0fc8f8"><code>&#34;fsl&#44;imx8qxp&#45;spdif&#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-7787b28725c144fbfc92"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-434103e5dab0dc9821c6"><code>2</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-c67bbe72af985902ec8f"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-1acbcc4149f500ebfc36"><code>1</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;fsl&#44;imx8qm&#45;spdif&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;fsl&#44;imx8qxp&#45;spdif&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;power&#45;domains&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">spdif@2004000 {
    compatible = "fsl,imx35-spdif";
    reg = &lt;0x02004000 0x4000&gt;;
    interrupts = &lt;0 52 0x04&gt;;
    dmas = &lt;&amp;sdma 14 18 0&gt;,
           &lt;&amp;sdma 15 18 0&gt;;
    dma-names = "rx", "tx";
    clocks = &lt;&amp;clks 197&gt;, &lt;&amp;clks 3&gt;,
             &lt;&amp;clks 197&gt;, &lt;&amp;clks 107&gt;,
             &lt;&amp;clks 0&gt;, &lt;&amp;clks 118&gt;,
             &lt;&amp;clks 62&gt;, &lt;&amp;clks 139&gt;,
             &lt;&amp;clks 0&gt;;
    clock-names = "core", "rxtx0",
                  "rxtx1", "rxtx2",
                  "rxtx3", "rxtx4",
                  "rxtx5", "rxtx6",
                  "rxtx7";
    big-endian;
};
</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>

</details>

---

# Freescale Synchronous Serial Interface

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Freescale Synchronous Serial Interface.

<!-- 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;fsl&#44;ssi&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Notes on fsl,playback-dma and fsl,capture-dma On SOCs that have an SSI, specific DMA channels are hard-wired for playback and capture.  On the MPC8610, for example, SSI1 must use DMA channel 0 for playback and DMA channel 1 for capture.  SSI2 must use DMA channel 2 for playback and DMA channel 3 for capture.  The developer can choose which DMA controller to use, but the channels themselves are hard-wired.  The purpose of these two properties is to represent this hardware design.
The device tree nodes for the DMA channels that are referenced by "fsl,playback-dma" and "fsl,capture-dma" must be marked as compatible with "fsl,ssi-dma-channel".  The SOC-specific compatible string (e.g. "fsl,mpc8610-dma-channel") can remain.  If these nodes are left as "fsl,elo-dma-channel" or "fsl,eloplus-dma-channel", then the generic Elo DMA drivers (fsldma) will attempt to use them, and it will conflict with the sound drivers.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;fsl&#44;imx50&#45;ssi&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;fsl&#44;imx53&#45;ssi&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;fsl&#44;imx51&#45;ssi&#34;</code></span>
>
> <a id="dt-8aea0680b70f72ffdfb0"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-a8216d5f954c632b59e8"><code>&#34;fsl&#44;imx21&#45;ssi&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx25&#45;ssi&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx27&#45;ssi&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;fsl&#44;imx35&#45;ssi&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;fsl&#44;imx51&#45;ssi&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx21&#45;ssi&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;fsl&#44;imx6q&#45;ssi&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;fsl&#44;imx6sl&#45;ssi&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;fsl&#44;imx6sx&#45;ssi&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;fsl&#44;imx51&#45;ssi&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-4c3894ced8f7125f7050"><code>&#34;fsl&#44;imx21&#45;ssi&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> <a id="dt-196210d7e8a5e94e1226"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4b7c967de45ba4ead27f"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-3f49949a764b6257a77a"><code>&#34;fsl&#44;mpc8610&#45;ssi&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">The ipg clock for register access</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">clock for SSI master mode</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;ipg&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;baud&#34;</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

<a id="dt-dc5a4e25262e0163df83"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-eb241626654c7032be82"></a>

**Rule 1**

> <a id="dt-096785123b02df362c9f"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-e7f53d5ac88a1668539a"></a>
>
> **Item 1**
>
> > <div id="dt-83734960bbbed403874d">
> > <p style="white-space: pre-wrap">DMA controller phandle and request line for RX</p>
> > </div>
>
> <a id="dt-f1c82351515f6b31c80a"></a>
>
> **Item 2**
>
> > <div id="dt-5a50881c382ffae54c7b">
> > <p style="white-space: pre-wrap">DMA controller phandle and request line for TX</p>
> > </div>

<a id="dt-d4d37d7d659a9f573201"></a>

**Rule 2**

> <a id="dt-e6d6a92e361a3e9ca3e7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-466a62f2e4be4a42af4e"></a>
>
> **Item 1**
>
> > <div id="dt-545bf7ab2c9c829d73d7">
> > <p style="white-space: pre-wrap">DMA controller phandle and request line for RX0</p>
> > </div>
>
> <a id="dt-219711b4db9fd5dda297"></a>
>
> **Item 2**
>
> > <div id="dt-bd030bd42374be28057a">
> > <p style="white-space: pre-wrap">DMA controller phandle and request line for TX0</p>
> > </div>
>
> <a id="dt-715a8dcb1d6c60ac94b9"></a>
>
> **Item 3**
>
> > <div id="dt-6cbf01c01c57c41be080">
> > <p style="white-space: pre-wrap">DMA controller phandle and request line for RX1</p>
> > </div>
>
> <a id="dt-df445ebf5a536ca0d587"></a>
>
> **Item 4**
>
> > <div id="dt-bf91a7c2d910f2b06622">
> > <p style="white-space: pre-wrap">DMA controller phandle and request line for TX1</p>
> > </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

<a id="dt-f46e11725a5c1b390eb1"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-8a3a309bb17c4138070a"></a>

**Rule 1**

> <a id="dt-e48fc66b375663861dbb"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-aedb068f2331c20af046"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-c64d8822f52d11762568"><code>&#34;rx&#34;</code></span>
>
> <a id="dt-1f75db67bb6fb04c3a5d"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-8201c97d53f057bd35be"><code>&#34;tx&#34;</code></span>

<a id="dt-c496dc335fa402380f0b"></a>

**Rule 2**

> <a id="dt-99816d964afbc5fed393"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-ef1285e116c91c599815"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-f6c737ecdabc56c6a5d1"><code>&#34;rx0&#34;</code></span>
>
> <a id="dt-0c49e0651e2fb97eb69d"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-63131c791b04c383a846"><code>&#34;tx0&#34;</code></span>
>
> <a id="dt-1eec483456fdd4a137ff"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-5a6954d2d713fe20860f"><code>&#34;rx1&#34;</code></span>
>
> <a id="dt-b353e0d1406afee49b44"></a>
>
> **Item 4**
>
> > **Exact value (<code>const</code>):** <span id="dt-b0df17237126f453a0ca"><code>&#34;tx1&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<div id="dt-c6fec2b67f85839e5c16">
<p style="white-space: pre-wrap">optional, some dts node didn't add it.</p>
</div>

<a id="dt-19cbc5b7e5dabb16c580"></a>

### <code>cell&#45;index</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-096684b9829d7fb87075">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-a68cde31166088e3187a"></a> <span id="dt-d6de615d4007d3080e38"><code>0</code></span>, <span id="dt-7c38ab29fa5bda232100"><code>1</code></span>, <span id="dt-d576f93b8bd3ad789b40"><code>2</code></span>

<div id="dt-8d4ab3d90cbbdd65cb67">
<p style="white-space: pre-wrap">The SSI index</p>
</div>

<a id="dt-9beb9e1903262e309109"></a>

### <code>ac97&#45;gpios</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c9cb1276a5992bebbdb6">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<div id="dt-dd87705b822b4d8cace5">
<p style="white-space: pre-wrap">Please refer to soc-ac97link.txt</p>
</div>

<a id="dt-e2ffddccb4611b2347e6"></a>

### <code>codec&#45;handle</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-51b54f052effbc93e4bb">[<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-9d8085e79c0d918272ac">
<p style="white-space: pre-wrap">Phandle to a 'codec' node that defines an audio codec connected to this SSI.  This node is typically a child of an I2C or other control node.</p>
</div>

<a id="dt-587d025423803d511647"></a>

### <code>fsl&#44;fifo&#45;depth</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-913f2563800c8c6cba29">[<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-b14572ff82ae322faa82">
<p style="white-space: pre-wrap">The number of elements in the transmit and receive FIFOs. This number is the maximum allowed value for SFCSR[TFWM0].</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-3626b8374aaadf088559"></a> <span id="dt-09a8d0fd46aa20fe8808"><code>8</code></span>, <span id="dt-058eb81cd7a947426940"><code>15</code></span>

<a id="dt-eaa364e48d3001c8a33f"></a>

### <code>fsl&#44;fiq&#45;stream&#45;filter</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-1441ead193e8beabb4c3"><code>&#34;boolean&#34;</code></span>

<div id="dt-55fde04a77bf25cc2a4f">
<p style="white-space: pre-wrap">Disabled DMA and use FIQ instead to filter the codec stream. This is necessary for some boards where an incompatible codec is connected to this SSI, e.g. on pca100 and pcm043.</p>
</div>

<a id="dt-cfe0e38da90bfd860794"></a>

### <code>fsl&#44;mode</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-656a60a0e4dc6dc94b5c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-ca14f783fe0891cafcba"></a> <span id="dt-cf5cabbe1ea29c1ba423"><code>&#34;ac97&#45;slave&#34;</code></span>, <span id="dt-d327c07eb102f84737e3"><code>&#34;ac97&#45;master&#34;</code></span>, <span id="dt-4d21ec7183db5d7af866"><code>&#34;i2s&#45;slave&#34;</code></span>, <span id="dt-5ad86860570303abf79b"><code>&#34;i2s&#45;master&#34;</code></span>, <span id="dt-9f038c1b738fbf4b4c57"><code>&#34;lj&#45;slave&#34;</code></span>, <span id="dt-509532c0bd8426aba2d0"><code>&#34;lj&#45;master&#34;</code></span>, <span id="dt-ae5991a9dcbc1dca5509"><code>&#34;rj&#45;slave&#34;</code></span>, <span id="dt-81f85c6860ddfbcf6bec"><code>&#34;rj&#45;master&#34;</code></span>

<div id="dt-41909efdc49b3622fd24">
<p style="white-space: pre-wrap">"ac97-slave" - AC97 mode, SSI is clock slave
"ac97-master" - AC97 mode, SSI is clock master
"i2s-slave" - I2S mode, SSI is clock slave
"i2s-master" - I2S mode, SSI is clock master
"lj-slave" - Left justified mode, SSI is clock slave
"lj-master" - Left justified mode, SSI is clock master
"rj-slave" - Right justified mode, SSI is clock slave
"rj-master" - Right justified mode, SSI is clock master</p>
</div>

<a id="dt-8a3f1d1cfc02114f36b1"></a>

### <code>fsl&#44;ssi&#45;asynchronous</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-8b0ed73f18635592725f"><code>&#34;boolean&#34;</code></span>

<div id="dt-91978e0ca7a3aa394ad5">
<p style="white-space: pre-wrap">If specified, the SSI is to be programmed in asynchronous mode.  In this mode, pins SRCK, STCK, SRFS, and STFS must all be connected to valid signals.  In synchronous mode, SRCK and SRFS are ignored.  Asynchronous mode allows playback and capture to use different sample sizes and sample rates.  Some drivers may require that SRCK and STCK be connected together, and SRFS and STFS be connected together.  This would still allow different sample sizes, but not different sample rates.</p>
</div>

<a id="dt-54f15f42a401e7fa1bc6"></a>

### <code>fsl&#44;playback&#45;dma</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fde11cca89e05bc1d3e5">[<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-8b3e1b2fd2b9613d8254">
<p style="white-space: pre-wrap">Phandle to a node for the DMA channel to use for playback of audio.  This is typically dictated by SOC design. Only used on Power Architecture.</p>
</div>

<a id="dt-38c22693da2d0fbad4ac"></a>

### <code>fsl&#44;capture&#45;dma</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f034f7c2bf9cf5973582">[<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-88961a4ea90f1226bddc">
<p style="white-space: pre-wrap">Phandle to a node for the DMA channel to use for capture (recording) of audio.  This is typically dictated by SOC design. Only used on Power Architecture.</p>
</div>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;fsl&#44;fifo&#45;depth&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/imx6qdl-clock.h&gt;
ssi@2028000 {
    compatible = "fsl,imx6q-ssi", "fsl,imx51-ssi";
    reg = &lt;0x02028000 0x4000&gt;;
    interrupts = &lt;GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;clks IMX6QDL_CLK_SSI1_IPG&gt;,
             &lt;&amp;clks IMX6QDL_CLK_SSI1&gt;;
    clock-names = "ipg", "baud";
    dmas = &lt;&amp;sdma 37 1 0&gt;, &lt;&amp;sdma 38 1 0&gt;;
    dma-names = "rx", "tx";
    #sound-dai-cells = &lt;0&gt;;
    fsl,fifo-depth = &lt;15&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>

</details>

---

# NXP Audio Transceiver (XCVR) Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP Audio Transceiver (XCVR) Controller.

<!-- 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;fsl&#44;xcvr&#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;Viorel Suman &#60;viorel&#46;suman&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">NXP XCVR (Audio Transceiver) is a on-chip functional module
that allows CPU to receive and transmit digital audio via
HDMI2.1 eARC, HDMI1.4 ARC and SPDIF.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;xcvr&#64;&#46;&#42;&#34;</code></span>

<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;fsl&#44;imx8mp&#45;xcvr&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;fsl&#44;imx93&#45;xcvr&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;fsl&#44;imx95&#45;xcvr&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<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">20K RAM for code and data</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">registers space</p>
> </div>

<a id="dt-80d36cb915ffeff5364a"></a>

**Item 3**

> <div id="dt-5151e97c331b693ee0dd">
> <p style="white-space: pre-wrap">RX FIFO address</p>
> </div>

<a id="dt-ee20c8874ebb0fda4bc2"></a>

**Item 4**

> <div id="dt-e7b71b4619e949c538b1">
> <p style="white-space: pre-wrap">TX FIFO address</p>
> </div>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — required here

<a id="dt-cb45e4d562022f44522c"></a>

#### Array item rules (<code>items</code>)

<a id="dt-ad0326e242afa18bd21a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;ram&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;regs&#34;</code></span>

<a id="dt-dd584520d0fd1feaa634"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-bd78c6ffbdc5ce20feb0"><code>&#34;rxfifo&#34;</code></span>

<a id="dt-fa79136aca5560f01834"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-98e4b3caabf49b98c17d"><code>&#34;txfifo&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">WAKEUPMIX Audio XCVR Interrupt 1</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">WAKEUPMIX Audio XCVR Interrupt 2</p>
> </div>

<a id="dt-6825e597892563d56556"></a>

**Item 3**

> <div id="dt-2c85367ad575dfda8b35">
> <p style="white-space: pre-wrap">SPDIF wakeup interrupt from PHY</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">PHY clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">SPBA clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">PLL clock</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">PLL clock source for 8kHz series</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">PLL clock source for 11kHz series</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>4</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;ipg&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;phy&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;spba&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;pll&#95;ipg&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;pll8k&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;pll11k&#34;</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>4</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for RX</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for TX</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

**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;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;fsl&#44;imx8mp&#45;xcvr&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;resets&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;fsl&#44;imx93&#45;xcvr&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;fsl&#44;imx95&#45;xcvr&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-3a46c9d3a981c9cf87fd"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-bdba428219950f8e5929"><code>2</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-52113361a767aeb1a6b3"><code>2</code></span>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-4d0b6d9a587a2ab1c92b"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-23d787d07521a85face4"><code>3</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2ee5ad49b17d6466db94"><code>3</code></span>

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;fsl&#44;imx8mp&#45;xcvr&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;fsl&#44;imx93&#45;xcvr&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9b48ab756d49c09e7d6e"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2840472fefd88961267c"><code>4</code></span>
> >
> > <a id="dt-0dd30bad243a0df76d0b"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-d46b2a295f669e454d2b"><code>4</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/imx8mp-clock.h&gt;
#include &lt;dt-bindings/reset/imx8mp-reset.h&gt;

xcvr: xcvr@30cc0000 {
    compatible = "fsl,imx8mp-xcvr";
    reg = &lt;0x30cc0000 0x800&gt;,
          &lt;0x30cc0800 0x400&gt;,
          &lt;0x30cc0c00 0x080&gt;,
          &lt;0x30cc0e00 0x080&gt;;
    reg-names = "ram", "regs", "rxfifo", "txfifo";
    interrupts = &lt;GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;audiomix_clk IMX8MP_CLK_AUDIOMIX_EARC_IPG&gt;,
             &lt;&amp;audiomix_clk IMX8MP_CLK_AUDIOMIX_EARC_PHY&gt;,
             &lt;&amp;audiomix_clk IMX8MP_CLK_AUDIOMIX_SPBA2_ROOT&gt;,
             &lt;&amp;audiomix_clk IMX8MP_CLK_AUDIOMIX_AUDPLL_ROOT&gt;;
    clock-names = "ipg", "phy", "spba", "pll_ipg";
    dmas = &lt;&amp;sdma2 30 2 0&gt;, &lt;&amp;sdma2 31 2 0&gt;;
    dma-names = "rx", "tx";
    resets = &lt;&amp;audiomix_reset 0&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>

</details>

---

# Freescale Generic ASoC Sound Card with ASRC support

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Freescale Generic ASoC Sound Card with ASRC support.

<!-- 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;fsl&#45;asoc&#45;card&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Freescale Generic ASoC Sound Card can be used, ideally, for all Freescale SoCs connecting with external CODECs.
The idea of this generic sound card is a bit like ASoC Simple Card. However, for Freescale SoCs (especially those released in recent years), most of them have ASRC inside. And this is a specific feature that might be painstakingly controlled and merged into the Simple Card.
So having this generic sound card allows all Freescale SoC users to benefit from the simplification of a new card support and the capability of the wide sample rates support through ASRC.
Note, The card is initially designed for those sound cards who use AC'97, I2S and PCM DAI formats. However, it'll be also possible to support those non AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as long as the driver has been properly upgraded.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;fsl&#44;imx&#45;sgtl5000&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;fsl&#44;imx25&#45;pdk&#45;sgtl5000&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;fsl&#44;imx53&#45;cpuvo&#45;sgtl5000&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;fsl&#44;imx51&#45;babbage&#45;sgtl5000&#34;</code></span>, <span id="dt-fd88adda17227ca32776"><code>&#34;fsl&#44;imx53&#45;m53evk&#45;sgtl5000&#34;</code></span>, <span id="dt-f0dfbb755d86acc4c265"><code>&#34;fsl&#44;imx53&#45;qsb&#45;sgtl5000&#34;</code></span>, <span id="dt-fd90c4a6b4c12fdce245"><code>&#34;fsl&#44;imx53&#45;voipac&#45;sgtl5000&#34;</code></span>, <span id="dt-e2dcb0e367ca5c3b7bca"><code>&#34;fsl&#44;imx6&#45;armadeus&#45;sgtl5000&#34;</code></span>, <span id="dt-8f172ba5f5ba57694b17"><code>&#34;fsl&#44;imx6&#45;rex&#45;sgtl5000&#34;</code></span>, <span id="dt-818bfc86902057a0cfa5"><code>&#34;fsl&#44;imx6&#45;sabreauto&#45;cs42888&#34;</code></span>, <span id="dt-40cc8e0354bd3c46c2b0"><code>&#34;fsl&#44;imx6&#45;wandboard&#45;sgtl5000&#34;</code></span>, <span id="dt-a51a88fcd7865e1371b5"><code>&#34;fsl&#44;imx6dl&#45;nit6xlite&#45;sgtl5000&#34;</code></span>, <span id="dt-23e0456f1590624d28e6"><code>&#34;fsl&#44;imx6q&#45;ba16&#45;sgtl5000&#34;</code></span>, <span id="dt-97919bd8d4cffc92f04e"><code>&#34;fsl&#44;imx6q&#45;nitrogen6&#95;max&#45;sgtl5000&#34;</code></span>, <span id="dt-e645e3f9d6254b0c4193"><code>&#34;fsl&#44;imx6q&#45;nitrogen6&#95;som2&#45;sgtl5000&#34;</code></span>, <span id="dt-582ea23e6d93a2ab2899"><code>&#34;fsl&#44;imx6q&#45;nitrogen6x&#45;sgtl5000&#34;</code></span>, <span id="dt-ec4788eeb35c9e532697"><code>&#34;fsl&#44;imx6q&#45;sabrelite&#45;sgtl5000&#34;</code></span>, <span id="dt-ce811e7f5e306c3785e9"><code>&#34;fsl&#44;imx6q&#45;sabresd&#45;wm8962&#34;</code></span>, <span id="dt-6f653cf4e4f652d90d72"><code>&#34;fsl&#44;imx6q&#45;udoo&#45;ac97&#34;</code></span>, <span id="dt-ab188e9930e05044e305"><code>&#34;fsl&#44;imx6q&#45;ventana&#45;sgtl5000&#34;</code></span>, <span id="dt-c622a051d6a3347abd43"><code>&#34;fsl&#44;imx6sl&#45;evk&#45;wm8962&#34;</code></span>, <span id="dt-ef02f0552f26ea41f697"><code>&#34;fsl&#44;imx6sx&#45;sdb&#45;mqs&#34;</code></span>, <span id="dt-1f14585309ea54d5cf7a"><code>&#34;fsl&#44;imx6sx&#45;sdb&#45;wm8962&#34;</code></span>, <span id="dt-dec3cf0db51cc78978a9"><code>&#34;fsl&#44;imx7d&#45;evk&#45;wm8960&#34;</code></span>, <span id="dt-91e08d0936fb7374a7a9"><code>&#34;karo&#44;tx53&#45;audio&#45;sgtl5000&#34;</code></span>, <span id="dt-beabf1745c7000cd366c"><code>&#34;tq&#44;imx53&#45;mba53&#45;sgtl5000&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9cd758e5ad85b04d8a92"></a> <span id="dt-6876dcb874892768c533"><code>&#34;fsl&#44;imx&#45;audio&#45;ac97&#34;</code></span>, <span id="dt-400ed4866acf4f50198b"><code>&#34;fsl&#44;imx&#45;audio&#45;cs42888&#34;</code></span>, <span id="dt-18469326e6cf9d57eaff"><code>&#34;fsl&#44;imx&#45;audio&#45;mqs&#34;</code></span>, <span id="dt-16b633682d5a9ba89ca0"><code>&#34;fsl&#44;imx&#45;audio&#45;sgtl5000&#34;</code></span>, <span id="dt-380e20f4459f2427484a"><code>&#34;fsl&#44;imx&#45;audio&#45;wm8960&#34;</code></span>, <span id="dt-3373b8f26d7e16aaceb6"><code>&#34;fsl&#44;imx&#45;audio&#45;wm8962&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx&#45;sabreauto&#45;spdif&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx6sx&#45;sdb&#45;spdif&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx&#45;audio&#45;spdif&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;fsl&#44;imx&#45;audio&#45;ac97&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;fsl&#44;imx&#45;audio&#45;cs42888&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;fsl&#44;imx&#45;audio&#45;cs427x&#34;</code></span>, <span id="dt-7337bb6973adc8f5010d"><code>&#34;fsl&#44;imx&#45;audio&#45;mqs&#34;</code></span>, <span id="dt-2a4824de128057522b89"><code>&#34;fsl&#44;imx&#45;audio&#45;nau8822&#34;</code></span>, <span id="dt-9d0b7e5fcd963b685b0d"><code>&#34;fsl&#44;imx&#45;audio&#45;sgtl5000&#34;</code></span>, <span id="dt-53e062f93be7aa5d7bb3"><code>&#34;fsl&#44;imx&#45;audio&#45;si476x&#34;</code></span>, <span id="dt-6bdd021aae4cd71c629b"><code>&#34;fsl&#44;imx&#45;audio&#45;tlv320&#34;</code></span>, <span id="dt-f0a41fb0ccb86c57a4ce"><code>&#34;fsl&#44;imx&#45;audio&#45;tlv320aic31xx&#34;</code></span>, <span id="dt-5697b2b922b4810e5e2a"><code>&#34;fsl&#44;imx&#45;audio&#45;tlv320aic32x4&#34;</code></span>, <span id="dt-ae3ba9ea351c25bd7b93"><code>&#34;fsl&#44;imx&#45;audio&#45;wm8524&#34;</code></span>, <span id="dt-4734b2dd6b7318b3e978"><code>&#34;fsl&#44;imx&#45;audio&#45;wm8904&#34;</code></span>, <span id="dt-0ea3c2d1e0b267d84ab3"><code>&#34;fsl&#44;imx&#45;audio&#45;wm8960&#34;</code></span>, <span id="dt-7f00b95f2d3c295a0049"><code>&#34;fsl&#44;imx&#45;audio&#45;wm8962&#34;</code></span>, <span id="dt-3176f85ab166789fe4e6"><code>&#34;fsl&#44;imx&#45;audio&#45;wm8958&#34;</code></span>, <span id="dt-30fb157dcf725c0afab8"><code>&#34;fsl&#44;imx&#45;audio&#45;spdif&#34;</code></span>

<a id="dt-35a8a57fdd6e9ed01be8"></a>

### <code>model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4888cbb3b35392d2f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bf4b69bd171c38756e1b">
<p style="white-space: pre-wrap">The user-visible name of this sound complex</p>
</div>

<a id="dt-10dfc33924c254009564"></a>

### <code>audio&#45;asrc</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7092e47770b322230b16">[<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-e4239d88ef11c271f62c">
<p style="white-space: pre-wrap">The phandle of ASRC. It can be absent if there's no need to add ASRC support via DPCM.</p>
</div>

<a id="dt-037f77ca863f57929bdb"></a>

### <code>audio&#45;codec</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4055f1eb8d1593e9b1fd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<div id="dt-043c653ef01ced47bdc2">
<p style="white-space: pre-wrap">The phandle of an audio codec.
With "fsl,imx-audio-spdif", either SPDIF audio codec spdif_transmitter,
spdif_receiver or both.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-3feaa0476213eccc37ba"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-51c68e135a905dfd9e07"><code>2</code></span>

<a id="dt-3da1959e781d876c93d2"></a>

#### Array item rules (<code>items</code>)

> **Maximum number of items (<code>maxItems</code>):** <span id="dt-e080b8bfcc48db6a0583"><code>1</code></span>

<a id="dt-ebed1033b69a6da98db3"></a>

### <code>audio&#45;cpu</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b0bc434998d3b445dc1e">[<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-2293147ce41145025ab3">
<p style="white-space: pre-wrap">The phandle of an CPU DAI controller</p>
</div>

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5aa48addbfe3befc2051">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source. There're a few pre-designed board connectors. "AMIC" stands for Analog Microphone Jack. "DMIC" stands for Digital Microphone Jack. The "Mic Jack" and "AMIC" are redundant while coexisting in order to support the old bindings of wm8962 and sgtl5000.</p>
</div>

<a id="dt-7de003be2089c3d5b9f6"></a>

### <code>hp&#45;det&#45;gpio</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-957549d28aec04f980c8"><code>true</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-67f6613596a5196f8e41"><code>1</code></span>

<div id="dt-8ac3602630865ba3a6b7">
<p style="white-space: pre-wrap">The GPIO that detect headphones are plugged in</p>
</div>

<a id="dt-06bb6bdc71ddc84e5a04"></a>

### <code>hp&#45;det&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d5459b03b320b242cad5"><code>1</code></span>

<div id="dt-6d2500bf6ab63ed8e8fb">
<p style="white-space: pre-wrap">The GPIO that detect headphones are plugged in</p>
</div>

<a id="dt-d868bc0011e29685e9ed"></a>

### <code>mic&#45;det&#45;gpio</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-7621701da6dd656dcf46"><code>true</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-276f506b5d380aa2c364"><code>1</code></span>

<div id="dt-07ffb53ab6affd4250fd">
<p style="white-space: pre-wrap">The GPIO that detect microphones are plugged in</p>
</div>

<a id="dt-8e882174faaac8a4d34d"></a>

### <code>mic&#45;det&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-0fdda95b9e747ed5bc1a"><code>1</code></span>

<div id="dt-01629ece7d05a5736282">
<p style="white-space: pre-wrap">The GPIO that detect microphones are plugged in</p>
</div>

<a id="dt-4f7503f41573236d5eb5"></a>

### <code>bitclock&#45;master</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7845ab5542b00c4d747e">[<code>simple&#45;card&#46;yaml&#35;&#47;definitions&#47;bitclock&#45;master</code>](</kernel/hardware/devicetree-bindings/dt-sound/simple-card.md#dt-8e73afdf73b54d13da23>)</span>

<div id="dt-b29cb769833e1181738c">
<p style="white-space: pre-wrap">Indicates dai-link bit clock master.</p>
</div>

<a id="dt-35a0b321db90952589ed"></a>

### <code>frame&#45;master</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-255a1701a9a06716b27b">[<code>simple&#45;card&#46;yaml&#35;&#47;definitions&#47;frame&#45;master</code>](</kernel/hardware/devicetree-bindings/dt-sound/simple-card.md#dt-3b6258751039c90920e3>)</span>

<div id="dt-d200a625541515e86e3c">
<p style="white-space: pre-wrap">Indicates dai-link frame master.</p>
</div>

<a id="dt-cf8e61207fba93c49de8"></a>

### <code>format</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-74cacbeeabf0decf66d1">[<code>simple&#45;card&#46;yaml&#35;&#47;definitions&#47;format</code>](</kernel/hardware/devicetree-bindings/dt-sound/simple-card.md#dt-8ef57cf02c0149b54ca6>)</span>

<div id="dt-9ed71d5ee61cab31e19a">
<p style="white-space: pre-wrap">audio format.</p>
</div>

<a id="dt-78616957571ff604789a"></a>

### <code>frame&#45;inversion</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2b007ff9ba4a9d88ee13">[<code>simple&#45;card&#46;yaml&#35;&#47;definitions&#47;frame&#45;inversion</code>](</kernel/hardware/devicetree-bindings/dt-sound/simple-card.md#dt-248e057edb6bb0356b93>)</span>

<div id="dt-2b4962bd7877396d71c0">
<p style="white-space: pre-wrap">dai-link uses frame clock inversion.</p>
</div>

<a id="dt-c36dff2b248a38575ea9"></a>

### <code>bitclock&#45;inversion</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2fd08272963a7d237e23">[<code>simple&#45;card&#46;yaml&#35;&#47;definitions&#47;bitclock&#45;inversion</code>](</kernel/hardware/devicetree-bindings/dt-sound/simple-card.md#dt-ec55dedc357eb39839e1>)</span>

<div id="dt-81c359380bf57e987bba">
<p style="white-space: pre-wrap">dai-link uses bit clock inversion.</p>
</div>

<a id="dt-03796f42adadd99be66e"></a>

### <code>mclk&#45;id</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-eaf312f8c2dc7037e06b">[<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>

<div id="dt-539451f0eee322481498">
<p style="white-space: pre-wrap">Main clock id for each codec, specific for each card configuration.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-5ceb6a6e7d7cc8c601a5"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-01a925dc09d6a6acf977"><code>2</code></span>

<a id="dt-45e784f4822c319ea155"></a>

### <code>mux&#45;int&#45;port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b9a56ffd7e95ecaaee52">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-468214aed756ee593ad5"></a> <span id="dt-45ee7859f2243e7cd55d"><code>1</code></span>, <span id="dt-ace3b7a6280a8e886988"><code>2</code></span>, <span id="dt-b558d1eefb3e118de1a3"><code>7</code></span>

<div id="dt-35c12935a664de0bb31f">
<p style="white-space: pre-wrap">The internal port of the i.MX audio muxer (AUDMUX)</p>
</div>

<a id="dt-df0a37d7e6be202a4906"></a>

### <code>mux&#45;ext&#45;port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0ffb7079f1856201341f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-19b284cafec00a2db3cb"></a> <span id="dt-bf7dd2db7bb798d0064c"><code>3</code></span>, <span id="dt-8e279be211e69ec528a7"><code>4</code></span>, <span id="dt-b9ce552e34ab3776cc3e"><code>5</code></span>, <span id="dt-a76720258ef7ee114057"><code>6</code></span>

<div id="dt-474b67bfc57df11bf802">
<p style="white-space: pre-wrap">The external port of the i.MX audio muxer</p>
</div>

<a id="dt-6f7fd039d95bac6e1111"></a>

### <code>ssi&#45;controller</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-94d25ae06bae2ca92527">[<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-c6b987088f575e0425e0">
<p style="white-space: pre-wrap">The phandle of an CPU DAI controller</p>
</div>

<a id="dt-cc4c9197d3a1a49f3d0e"></a>

### <code>spdif&#45;controller</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1d1eafa4016adcf9bdc9">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

**Deprecated (<code>deprecated</code>):** <span id="dt-032bb6488dd2d32247f8"><code>true</code></span>

<div id="dt-964aeb161e034cec61c5">
<p style="white-space: pre-wrap">The phandle of an S/PDIF CPU DAI controller.</p>
</div>

<a id="dt-d3cf2dc951b91c77116a"></a>

### <code>spdif&#45;out</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-eca0be40dda9b2df240a"><code>&#34;boolean&#34;</code></span>

**Deprecated (<code>deprecated</code>):** <span id="dt-a315e36b7e598c9cd798"><code>true</code></span>

<div id="dt-164f366d47073269a0c3">
<p style="white-space: pre-wrap">If present, the transmitting function of S/PDIF will be enabled,
indicating there's a physical S/PDIF out connector or jack on the
board or it's connecting to some other IP block, such as an HDMI
encoder or display-controller.</p>
</div>

<a id="dt-8fa2bf50d379abe71229"></a>

### <code>spdif&#45;in</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-81877837a9f75d771014"><code>&#34;boolean&#34;</code></span>

**Deprecated (<code>deprecated</code>):** <span id="dt-f2c1e0b6bb2954622339"><code>true</code></span>

<div id="dt-faed2bfab82d761cb0a4">
<p style="white-space: pre-wrap">If present, the receiving function of S/PDIF will be enabled,
indicating there is a physical S/PDIF in connector/jack on the board.</p>
</div>

**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;model&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound-cs42888 {
    compatible = "fsl,imx-audio-cs42888";
    model = "cs42888-audio";
    audio-cpu = &lt;&amp;esai&gt;;
    audio-asrc = &lt;&amp;asrc&gt;;
    audio-codec = &lt;&amp;cs42888&gt;;
    audio-routing =
         "Line Out Jack", "AOUT1L",
         "Line Out Jack", "AOUT1R",
         "Line Out Jack", "AOUT2L",
         "Line Out Jack", "AOUT2R",
         "Line Out Jack", "AOUT3L",
         "Line Out Jack", "AOUT3R",
         "Line Out Jack", "AOUT4L",
         "Line Out Jack", "AOUT4R",
         "AIN1L", "Line In Jack",
         "AIN1R", "Line In Jack",
         "AIN2L", "Line In Jack",
         "AIN2R", "Line In Jack";
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">sound-spdif-asrc {
    compatible = "fsl,imx-audio-spdif";
    model = "spdif-asrc-audio";
    audio-cpu = &lt;&amp;spdif&gt;;
    audio-asrc = &lt;&amp;easrc&gt;;
    audio-codec = &lt;&amp;spdifdit&gt;, &lt;&amp;spdifdir&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>

</details>

---

# Google Chameleon v3 audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Google Chameleon v3 audio codec.

<!-- 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;google&#44;chv3&#45;codec&#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;Paweł Anikiel &#60;pan&#64;semihalf&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;google&#44;chv3&#45;codec&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#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">audio-codec {
    compatible = "google,chv3-codec";
};
</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>

</details>

---

# Google Chameleon v3 I2S device

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Google Chameleon v3 I2S device.

<!-- 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;google&#44;chv3&#45;i2s&#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;Paweł Anikiel &#60;pan&#64;semihalf&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">I2S device for the Google Chameleon v3. The device handles both RX
and TX using a producer/consumer ring buffer design.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;google&#44;chv3&#45;i2s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<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">core registers</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">irq registers</p>
> </div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

**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;interrupts&#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;

i2s@c0060300 {
    compatible = "google,chv3-i2s";
    reg = &lt;0xc0060300 0x100&gt;,
          &lt;0xc0060f00 0x10&gt;;
    interrupts = &lt;GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH&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>

</details>

---

# Audio codec controlled by ChromeOS EC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Audio codec controlled by ChromeOS EC.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;google&#44;cros&#45;ec&#45;codec&#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;Cheng&#45;Yi Chiang &#60;cychiang&#64;chromium&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Tzung&#45;Bi Shih &#60;tzungbi&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Google's ChromeOS EC codec is a digital mic codec provided by the
Embedded Controller (EC) and is controlled via a host-command
interface.  An EC codec node should only be found inside the "codecs"
subnode of a cros-ec node.
(see Documentation/devicetree/bindings/embedded-controller/google,cros-ec.yaml).</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;google&#44;cros&#45;ec&#45;codec&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as required here

<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">Physical base address and length of shared memory region from EC.
> It contains 3 unsigned 32-bit integer. The first 2 integers
> combine to become an unsigned 64-bit physical address.
> The last one integer is the length of the shared memory.</p>
> </div>

<a id="dt-b17dfbf4ae4b8a915685"></a>

### <code>memory&#45;region</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-95525a6e584a49d9aba7"><code>1</code></span>

<div id="dt-b794f979757a4fadd5eb">
<p style="white-space: pre-wrap">Shared memory region to EC.  A "shared-dma-pool".
See ../reserved-memory/reserved-memory.txt for details.</p>
</div>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">reserved_mem: reserved-mem@52800000 {
    compatible = "shared-dma-pool";
    reg = &lt;0x52800000 0x100000&gt;;
    no-map;
};
spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    cros-ec@0 {
        compatible = "google,cros-ec-spi";
        reg = &lt;0&gt;;
        interrupts = &lt;93 0&gt;;

        codecs {
            #address-cells = &lt;2&gt;;
            #size-cells = &lt;1&gt;;

            cros_ec_codec: ec-codec@10500000 {
                compatible = "google,cros-ec-codec";
                #sound-dai-cells = &lt;1&gt;;
                reg = &lt;0x0 0x10500000 0x80000&gt;;
                memory-region = &lt;&amp;reserved_mem&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</span></p>

</details>

---

# Android Goldfish Audio

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Android Goldfish Audio.

<!-- 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;google&#44;goldfish&#45;audio&#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;Kuan&#45;Wei Chiu &#60;visitorckw&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Android goldfish audio device generated by Android emulator.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;google&#44;goldfish&#45;audio&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

**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;interrupts&#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">sound@9030000 {
    compatible = "google,goldfish-audio";
    reg = &lt;0x9030000 0x100&gt;;
    interrupts = &lt;4&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>

</details>

---

# Google SC7180-Trogdor ASoC sound card driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Google SC7180-Trogdor ASoC sound card driver.

<!-- 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;google&#44;sc7180&#45;trogdor&#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;Rohit kumar &#60;quic&#95;rohkumar&#64;quicinc&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Cheng&#45;Yi Chiang &#60;cychiang&#64;chromium&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes the SC7180 sound card which uses LPASS for audio.</p>
</div>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<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;google&#44;sc7180&#45;trogdor&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;google&#44;sc7180&#45;coachz&#34;</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-1cc60de1d21e8448bd17"></a>

### <code>dmic&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-2f2f09cc69c4ce5a70e1"><code>1</code></span>

<div id="dt-4e5bb588aae411d98f91">
<p style="white-space: pre-wrap">GPIO for switching between DMICs</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-355a9c04106e4ea53e51"></a>

### <code>&#94;dai&#45;link&#40;&#64;&#91;0&#45;9&#93;&#41;&#63;&#36;</code> — name matches this regular expression

<div id="dt-b5f3e0884ae9a9ead649">
<p style="white-space: pre-wrap">Each subnode represents a dai link. Subnodes of each dai links would be cpu/codec dais.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-dc1c8332f6d3e836ec60"><code>&#34;object&#34;</code></span>

<a id="dt-902faec5e77c424902d4"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-840dbe5292638bc97c47"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-d883823f5cb2d6e87780">
<p style="white-space: pre-wrap">Indicates dai-link name and PCM stream name.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-49ecc9890b1d57081235">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4fb08fd447cbde725cfc"><code>1</code></span>

<a id="dt-5fe176b0da288708f3e9"></a>

**<code>reg</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c205d12f6bbfac36001d"><code>1</code></span>

<div id="dt-1fab071a3a78a54c8d1d">
<p style="white-space: pre-wrap">dai link address.</p>
</div>

<a id="dt-abb197b07b3d8f7a0b6f"></a>

**<code>cpu</code> — required here**

<div id="dt-b71d11deafa3d62a69ad">
<p style="white-space: pre-wrap">Holds subnode which indicates cpu dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-d25441ec83fe0f068497"><code>&#34;object&#34;</code></span>

<a id="dt-7c278912f39feba93b7f"></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-7015956768f49315df1b"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-4d1a1b29d93360d549bb"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d91c791d19fd1ce124db"><code>1</code></span>

<a id="dt-fcc8a1a34b8e496b5a91"></a>

**<code>codec</code> — required here**

<div id="dt-106899bb5d5532295e80">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-cb42d40229ab653bcd0b"><code>&#34;object&#34;</code></span>

<a id="dt-f603e58a1f99e9263c52"></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-7099eda296bf07869035"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-de7629a5563c37677ad7"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-d1b85e2fe6107ca6ddea"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-5e856560d5be2d72f7ed"><code>4</code></span>

**Required in this object (<code>required</code>):** <a id="dt-eb851970fc26f27689c0"></a> <span id="dt-82c56fd161b15cac9a6f"><code>&#34;link&#45;name&#34;</code></span>, <span id="dt-b100e12522ed6bad3f1a"><code>&#34;cpu&#34;</code></span>, <span id="dt-f5aa92145edd58b69a59"><code>&#34;codec&#34;</code></span>

<a id="dt-2eda36cce67abc08009b"></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;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "google,sc7180-trogdor";
    model = "sc7180-rt5682-max98357a-2mic";

    audio-routing =
                "Headphone Jack", "HPOL",
                "Headphone Jack", "HPOR";

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    dmic-gpios = &lt;&amp;tlmm 86 0&gt;;

    dai-link@0 {
        link-name = "MultiMedia0";
        reg = &lt;0&gt;;
        cpu {
            sound-dai = &lt;&amp;lpass_cpu 0&gt;;
        };

        codec {
            sound-dai = &lt;&amp;alc5682 0&gt;;
        };
    };

    dai-link@1 {
        link-name = "MultiMedia1";
        reg = &lt;1&gt;;
        cpu {
            sound-dai = &lt;&amp;lpass_cpu 1&gt;;
        };

        codec {
            sound-dai = &lt;&amp;max98357a&gt;;
        };
    };

    dai-link@2 {
        link-name = "MultiMedia2";
        reg = &lt;2&gt;;
        cpu {
            sound-dai = &lt;&amp;lpass_hdmi 0&gt;;
        };

        codec {
            sound-dai = &lt;&amp;msm_dp&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>

</details>

---

# Google SC7280-Herobrine ASoC sound card driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Google SC7280-Herobrine ASoC sound card driver.

<!-- 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;google&#44;sc7280&#45;herobrine&#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;Judy Hsiao &#60;judyhsiao&#64;chromium&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes the SC7280 sound card which uses LPASS for audio.</p>
</div>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<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;google&#44;sc7280&#45;herobrine&#34;</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-69b595deb9397f5735fe"></a>

### <code>&#94;dai&#45;link&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression

<div id="dt-72941e04f840c5217809">
<p style="white-space: pre-wrap">Each subnode represents a dai link. Subnodes of each dai links would be cpu/codec dais.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-9ea31cb040df75f1ac1e"><code>&#34;object&#34;</code></span>

<a id="dt-66efe4743561b7ad6f28"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-3f0797849a27a6409caf"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-a65023459673639d6a46">
<p style="white-space: pre-wrap">Indicates dai-link name and PCM stream name.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9e66ddb743d9b53a5b61">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4a2dd1bd80996a0559b0"><code>1</code></span>

<a id="dt-d48226bb41d01c1416b3"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-09a0792113fa181bdd39"><code>1</code></span>

<div id="dt-14894401a863327af699">
<p style="white-space: pre-wrap">dai link address.</p>
</div>

<a id="dt-217ddcfa1dafcefe6227"></a>

**<code>cpu</code> — required here**

<div id="dt-23b0700c7d0aaa3a8062">
<p style="white-space: pre-wrap">Holds subnode which indicates cpu dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-256a79e5bb25d89f3740"><code>&#34;object&#34;</code></span>

<a id="dt-0b9107a78669902063f0"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-566d39f66a1e7dd7217b"></a>

**<code>sound&#45;dai</code> — required here**

<code>true</code> — No constraints added by this property rule.

**Required in this object (<code>required</code>):** <a id="dt-60b25b26bb1373c38488"></a> <span id="dt-f49e339101bebff90fc1"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-50cce4b2fd9ec2d30691"></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-b1d039535d1669be748b"></a>

**<code>codec</code> — required here**

<div id="dt-27f86cfbbfdaf820aafb">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-a32f526843ad37ec96fa"><code>&#34;object&#34;</code></span>

<a id="dt-49f343d6211b7d8c6a50"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-47fd42628461a16023ae"></a>

**<code>sound&#45;dai</code> — required here**

<code>true</code> — No constraints added by this property rule.

**Required in this object (<code>required</code>):** <a id="dt-110cb81084de063d2cda"></a> <span id="dt-5f7918838f769f2e9d72"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-c79904517ee5bb6501b6"></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-9110e604fdd22bc6efba"></a>

**<code>platform</code> — not listed as required here**

<div id="dt-30cd40eb9476d16dc021">
<p style="white-space: pre-wrap">Holds subnode which includes the phandle of q6apm platform device.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-4c40e4e94f9d924f0b0b"><code>&#34;object&#34;</code></span>

<a id="dt-caf7b39718daa378e30c"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-9e2584b1391c5c5c2a7e"></a>

**<code>sound&#45;dai</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-fa642e27c60fcb78c412"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-0993a3be1bbaa3054f9c"></a> <span id="dt-e260f4a033ef7d04d19e"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-cbb7c116d5b57cf06d57"></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-7bcf45976ce987f36f75"></a> <span id="dt-7813f4a58c31aa2c9096"><code>&#34;link&#45;name&#34;</code></span>, <span id="dt-2410623bf08c9dbd70dd"><code>&#34;cpu&#34;</code></span>, <span id="dt-618465df7840453c60d2"><code>&#34;codec&#34;</code></span>, <span id="dt-51dd527650b860bb3187"><code>&#34;reg&#34;</code></span>

<a id="dt-172f034be50abb56d12b"></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;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/sound/qcom,lpass.h&gt;
sound {
    compatible = "google,sc7280-herobrine";
    model = "sc7280-wcd938x-max98360a-4dmic";

    audio-routing =
        "IN1_HPHL", "HPHL_OUT",
        "IN2_HPHR", "HPHR_OUT",
        "AMIC1", "MIC BIAS1",
        "AMIC2", "MIC BIAS2",
        "VA DMIC0", "MIC BIAS3",
        "VA DMIC1", "MIC BIAS3",
        "VA DMIC2", "MIC BIAS4",
        "VA DMIC3", "MIC BIAS4",
        "TX SWR_ADC0", "ADC1_OUTPUT",
        "TX SWR_ADC1", "ADC2_OUTPUT",
        "TX SWR_ADC2", "ADC3_OUTPUT",
        "TX SWR_DMIC0", "DMIC1_OUTPUT",
        "TX SWR_DMIC1", "DMIC2_OUTPUT",
        "TX SWR_DMIC2", "DMIC3_OUTPUT",
        "TX SWR_DMIC3", "DMIC4_OUTPUT";

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    dai-link@0 {
        link-name = "WCD Playback";
        reg = &lt;LPASS_CDC_DMA_RX0&gt;;
        cpu {
            sound-dai = &lt;&amp;lpass_cpu LPASS_CDC_DMA_RX0&gt;;
        };

        codec {
            sound-dai = &lt;&amp;wcd938x 0&gt;, &lt;&amp;swr0 0&gt;, &lt;&amp;rxmacro 0&gt;;
        };
    };
    dai-link@1 {
        link-name = "WCD Capture";
        reg = &lt;LPASS_CDC_DMA_TX3&gt;;
        cpu {
            sound-dai = &lt;&amp;lpass_cpu LPASS_CDC_DMA_TX3&gt;;
        };

        codec {
            sound-dai = &lt;&amp;wcd938x 1&gt;, &lt;&amp;swr1 0&gt;, &lt;&amp;txmacro 0&gt;;
        };
    };

    dai-link@2 {
        link-name = "MI2S Playback";
        reg = &lt;MI2S_SECONDARY&gt;;
        cpu {
            sound-dai = &lt;&amp;lpass_cpu MI2S_SECONDARY&gt;;
        };

        codec {
            sound-dai = &lt;&amp;max98360a&gt;;
        };
    };

    dai-link@3 {
        link-name = "DMIC Capture";
        reg = &lt;LPASS_CDC_DMA_VA_TX0&gt;;
        cpu {
            sound-dai = &lt;&amp;lpass_cpu LPASS_CDC_DMA_VA_TX0&gt;;
        };

        codec {
            sound-dai = &lt;&amp;vamacro 0&gt;;
        };
    };

    dai-link@5 {
        link-name = "DP Playback";
        reg = &lt;LPASS_DP_RX&gt;;
        cpu {
            sound-dai = &lt;&amp;lpass_cpu LPASS_DP_RX&gt;;
        };

        codec {
            sound-dai = &lt;&amp;mdss_dp&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>

</details>

---

# NXP i.MX audio sound card.

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP i.MX audio sound card..

<!-- 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;imx&#45;audio&#45;card&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<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;fsl&#44;imx&#45;audio&#45;card&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-1835a0317dae1488a052"></a>

### <code>&#46;&#42;&#45;dai&#45;link&#36;</code> — name matches this regular expression

<div id="dt-1ddc58bbafb86167caab">
<p style="white-space: pre-wrap">Each subnode represents a dai link. Subnodes of each dai links would be cpu/codec dais.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-1a6254090caf95caf53c"><code>&#34;object&#34;</code></span>

<a id="dt-9937d7ae7daaa5558a92"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-f3ff20eb2dcb97d07f08"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-9e8bacbda230fc6c3874">
<p style="white-space: pre-wrap">Indicates dai-link name and PCM stream name.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-806efc76516466767abc">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-11b4767208f52fd16f46"><code>1</code></span>

<a id="dt-0f95d274655a3a8a049f"></a>

**<code>format</code> — not listed as required here**

<div id="dt-8feee58fc8d0add63341">
<p style="white-space: pre-wrap">audio format.</p>
</div>

<a id="dt-28ca3da93241a8a682a9"></a>

**Array item rules (<code>items</code>)**

> **Allowed values (<code>enum</code>):** <a id="dt-e35334349eb0f1ff5b37"></a> <span id="dt-572eb3563f4fd87ba0d6"><code>&#34;i2s&#34;</code></span>, <span id="dt-c1b075f5e974bfecd090"><code>&#34;dsp&#95;b&#34;</code></span>

<a id="dt-b0f71ded1a72c6eddc90"></a>

**<code>dai&#45;tdm&#45;slot&#45;num</code> — not listed as required here**

<div id="dt-2c39f15d9b07f3b3f17a">
<p style="white-space: pre-wrap">see tdm-slot.txt.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2ec19aebe0380a33a309">[<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-46d81f35071ed556abf8"></a>

**<code>dai&#45;tdm&#45;slot&#45;width</code> — not listed as required here**

<div id="dt-3e4a2cea245f863ccbb9">
<p style="white-space: pre-wrap">see tdm-slot.txt.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fc693f761795279e880d">[<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-f6fa722259604e3fde14"></a>

**<code>playback&#45;only</code> — not listed as required here**

<div id="dt-6e06915bf720570a7c60">
<p style="white-space: pre-wrap">link is used only for playback</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2152ce692b86bd68ac31">[<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-a1ed8e0fdfe4b39f9b99"></a>

**<code>capture&#45;only</code> — not listed as required here**

<div id="dt-ab7bfa61ac59727d5a8c">
<p style="white-space: pre-wrap">link is used only for capture</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-50c49c995bb4d1d00ae3">[<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-638fcaea80d6bbf0d4d6"></a>

**<code>cpu</code> — required here**

<div id="dt-b35871b6b0ec6fb4c4c1">
<p style="white-space: pre-wrap">Holds subnode which indicates cpu dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-9d2373f6281e19ebfd3d"><code>&#34;object&#34;</code></span>

<a id="dt-b4911fbdb0db29ecb97f"></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-ef5071be98b249d6508c"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-e3f10db26ec20cb902b0"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ea6a91aeab8090fdd6a0"><code>1</code></span>

<a id="dt-c5d0bdf7d32065aee72e"></a>

**<code>codec</code> — not listed as required here**

<div id="dt-390ad724e6e87a8e6f31">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b7834a5ff371f1becdcb"><code>&#34;object&#34;</code></span>

<a id="dt-a476ce8ca86c939806d1"></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-273b21d778eba1efd580"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-0936ce529515b6115195"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-6ccb878433c25793bb0f"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-dc3c81446a4d7cfb1282"><code>2</code></span>

<a id="dt-0a9751fffd431d24b82a"></a>

**<code>fsl&#44;mclk&#45;equal&#45;bclk</code> — not listed as required here**

<div id="dt-bec0fc2b9e4718d74126">
<p style="white-space: pre-wrap">Indicates mclk can be equal to bclk, especially for sai interface</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-74b99958d49e65e8508d">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

**Required in this object (<code>required</code>):** <a id="dt-0c473b2dd68c1cb91dd6"></a> <span id="dt-5ada0b495601465325ac"><code>&#34;link&#45;name&#34;</code></span>, <span id="dt-bbb1ed2e2f457adfeae4"><code>&#34;cpu&#34;</code></span>

<a id="dt-a83be0aa9112cbef7008"></a>

#### All of these rules must match (<code>allOf</code>)

<a id="dt-d6932301620f793f5969"></a>

**Rule 1**

> <a id="dt-33f67d89e511931d6f64"></a>
>
> **This rule must not match (<code>not</code>)**
>
> > **Required in this object (<code>required</code>):** <a id="dt-bb82d12d0cf83eaa917c"></a> <span id="dt-0211a4367eee1c464388"><code>&#34;playback&#45;only&#34;</code></span>, <span id="dt-ef5c9f680df30aaed797"><code>&#34;capture&#45;only&#34;</code></span>

<a id="dt-648a771abb8056027ce0"></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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound-ak4458 {
    compatible = "fsl,imx-audio-card";
    model = "ak4458-audio";
    pri-dai-link {
        link-name = "akcodec";
        format = "i2s";
        fsl,mclk-equal-bclk;
        cpu {
             sound-dai = &lt;&amp;sai1&gt;;
        };
        codec {
             sound-dai = &lt;&amp;ak4458_1&gt;, &lt;&amp;ak4458_2&gt;;
        };
    };
    fe-dai-link {
        link-name = "HiFi-ASRC-FE";
        format = "i2s";
        cpu {
            sound-dai = &lt;&amp;easrc&gt;;
        };
    };
    be-dai-link {
        link-name = "HiFi-ASRC-BE";
        format = "dsp_b";
        dai-tdm-slot-num = &lt;8&gt;;
        dai-tdm-slot-width = &lt;32&gt;;
        fsl,mclk-equal-bclk;
        cpu {
            sound-dai = &lt;&amp;sai1&gt;;
        };
        codec {
            sound-dai = &lt;&amp;ak4458_1&gt;, &lt;&amp;ak4458_2&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>

</details>

---

# NXP i.MX audio complex with HDMI

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP i.MX audio complex with HDMI.

<!-- 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;imx&#45;audio&#45;hdmi&#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;Shengjiu Wang &#60;shengjiu&#46;wang&#64;nxp&#46;com&#62;&#34;</code></span>

<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;fsl&#44;imx&#45;audio&#45;hdmi&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;fsl&#44;imx&#45;audio&#45;sii902x&#34;</code></span>

<a id="dt-35a8a57fdd6e9ed01be8"></a>

### <code>model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4888cbb3b35392d2f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bf4b69bd171c38756e1b">
<p style="white-space: pre-wrap">User specified audio sound card name</p>
</div>

<a id="dt-ebed1033b69a6da98db3"></a>

### <code>audio&#45;cpu</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b0bc434998d3b445dc1e">[<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-2293147ce41145025ab3">
<p style="white-space: pre-wrap">The phandle of an CPU DAI controller</p>
</div>

<a id="dt-2b218f99e96f832438c8"></a>

### <code>hdmi&#45;out</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-0027d3b5e7536d072812"><code>&#34;boolean&#34;</code></span>

<div id="dt-5983cee0ee68351d99ab">
<p style="white-space: pre-wrap">This is a boolean property. If present, the transmitting function
of HDMI will be enabled, indicating there's a physical HDMI out
connector or jack on the board or it's connecting to some other IP
block, such as an HDMI encoder or display-controller.</p>
</div>

<a id="dt-68c3dfca7f5acb4836c3"></a>

### <code>hdmi&#45;in</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-69a98ab08244d2a12ffd"><code>&#34;boolean&#34;</code></span>

<div id="dt-a486cdce1c1c6936d1ac">
<p style="white-space: pre-wrap">This is a boolean property. If present, the receiving function of
HDMI will be enabled, indicating there is a physical HDMI in
connector/jack on the board.</p>
</div>

**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;model&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;audio&#45;cpu&#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">sound-hdmi {
    compatible = "fsl,imx-audio-hdmi";
    model = "audio-hdmi";
    audio-cpu = &lt;&amp;aud2htx&gt;;
    hdmi-out;
};
</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>

</details>

---

# Freescale Digital Audio Mux device

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Freescale Digital Audio Mux device.

<!-- 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;imx&#45;audmux&#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;Oleksij Rempel &#60;o&#46;rempel&#64;pengutronix&#46;de&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;fsl&#44;imx27&#45;audmux&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;fsl&#44;imx21&#45;audmux&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx25&#45;audmux&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx35&#45;audmux&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;fsl&#44;imx50&#45;audmux&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;fsl&#44;imx51&#45;audmux&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;fsl&#44;imx53&#45;audmux&#34;</code></span>, <span id="dt-05b29c21ca38ad337d53"><code>&#34;fsl&#44;imx6q&#45;audmux&#34;</code></span>, <span id="dt-93c2763ada782db7e26c"><code>&#34;fsl&#44;imx6sl&#45;audmux&#34;</code></span>, <span id="dt-36a81d983bbaf2a6b89d"><code>&#34;fsl&#44;imx6sll&#45;audmux&#34;</code></span>, <span id="dt-bbccc6a1a74023520617"><code>&#34;fsl&#44;imx6sx&#45;audmux&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx31&#45;audmux&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;audmux&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-691ecd3ff50ad443a727"></a>

### <code>&#94;mux&#45;&#91;0&#45;9a&#45;z&#93;&#42;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-741571d79f8296161672"><code>&#34;object&#34;</code></span>

<a id="dt-7737ca18fb926220a852"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-28e53e1fe79238325987"></a>

**<code>fsl&#44;audmux&#45;port</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-96a9051165a43cfae5d7">[<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-f505a5246874a46d2829">
<p style="white-space: pre-wrap">Integer of the audmux port that is configured by this child node</p>
</div>

<a id="dt-431faf67d460bccae477"></a>

**<code>fsl&#44;port&#45;config</code> — required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-30d13dcf7f9571724037">[<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>

<div id="dt-c31ffbccc9ae875a24ed">
<p style="white-space: pre-wrap">List of configuration options for the specific port.
For imx31-audmux and above, it is a list of tuples ptcr pdcr.
For imx21-audmux it is a list of pcr values.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-bc8508a0a474903b7c86"></a> <span id="dt-ab1200c33c932eeb7e31"><code>&#34;fsl&#44;audmux&#45;port&#34;</code></span>, <span id="dt-5a69788833693d88b85e"><code>&#34;fsl&#44;port&#45;config&#34;</code></span>

<a id="dt-5e4cc421eb35981428f4"></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>

<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">audmux@21d8000 {
    compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
    reg = &lt;0x021d8000 0x4000&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">audmux@10016000 {
    compatible = "fsl,imx27-audmux", "fsl,imx21-audmux";
    reg = &lt;0x10016000 0x1000&gt;;
    clocks = &lt;&amp;clks 1&gt;;
    clock-names = "audmux";

    mux-ssi0 {
        fsl,audmux-port = &lt;0&gt;;
        fsl,port-config = &lt;0xcb205000&gt;;
    };

    mux-pins4 {
        fsl,audmux-port = &lt;2&gt;;
        fsl,port-config = &lt;0x00001000&gt;;
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">#include &lt;dt-bindings/sound/fsl-imx-audmux.h&gt;
audmux@21d8000 {
    compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
    reg = &lt;0x021d8000 0x4000&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_audmux&gt;;

    mux-ssi1 {
        fsl,audmux-port = &lt;0&gt;;
        fsl,port-config = &lt;
            IMX_AUDMUX_V2_PTCR_SYN		0
            IMX_AUDMUX_V2_PTCR_TFSEL(2)	0
            IMX_AUDMUX_V2_PTCR_TCSEL(2)	0
            IMX_AUDMUX_V2_PTCR_TFSDIR	0
            IMX_AUDMUX_V2_PTCR_TCLKDIR      IMX_AUDMUX_V2_PDCR_RXDSEL(2)
          &gt;;
    };

    mux-pins3 {
        fsl,audmux-port = &lt;2&gt;;
        fsl,port-config = &lt;
            IMX_AUDMUX_V2_PTCR_SYN          IMX_AUDMUX_V2_PDCR_RXDSEL(0)
            0                               IMX_AUDMUX_V2_PDCR_TXRXEN
          &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>

</details>

---

# Infineon PEB2466 codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Infineon PEB2466 codec.

<!-- 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;infineon&#44;peb2466&#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;Herve Codina &#60;herve&#46;codina&#64;bootlin&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Infineon PEB2466 codec is a programmable DSP-based four channels codec
with filters capabilities.</p>
<p style="white-space: pre-wrap">The time-slots used by the codec must be set and so, the properties
'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and
'dai-tdm-slot-rx-mask' must be present in the sound card node for sub-nodes
that involve the codec. The codec uses one 8bit time-slot per channel.
'dai-tdm-tdm-slot-with' must be set to 8.</p>
<p style="white-space: pre-wrap">The PEB2466 codec also supports 28 gpios (signaling pins).</p>
</div>

<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>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;infineon&#44;peb2466&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">SPI device address.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Master clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-f17e1c3bb71259096275"><code>8192000</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO used to reset the device.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-b913167a56819d67f1a5"></a>

### <code>firmware&#45;name</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-664bc4dc24f43c53b737"><code>1</code></span>

<div id="dt-0b76b2c415d449884d95">
<p style="white-space: pre-wrap">Filters coefficients file to load. If this property is omitted, internal filters are disabled.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property 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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    audio-codec@0 {
        compatible = "infineon,peb2466";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;8192000&gt;;
        reset-gpios = &lt;&amp;gpio 10 GPIO_ACTIVE_LOW&gt;;
        #sound-dai-cells = &lt;0&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&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>

</details>

---

# Ingenic SoCs AC97 / I2S Controller (AIC)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Ingenic SoCs AC97 / I2S Controller (AIC).

<!-- 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;ingenic&#44;aic&#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;Paul Cercueil &#60;paul&#64;crapouillou&#46;net&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;audio&#45;controller&#64;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;ingenic&#44;jz4740&#45;i2s&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;ingenic&#44;jz4760&#45;i2s&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;ingenic&#44;jz4770&#45;i2s&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;ingenic&#44;jz4780&#45;i2s&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;ingenic&#44;x1000&#45;i2s&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;ingenic&#44;jz4725b&#45;i2s&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;ingenic&#44;jz4740&#45;i2s&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">AIC clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">I2S clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;aic&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;i2s&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for I2S RX</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for I2S TX</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dmas&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/clock/ingenic,jz4740-cgu.h&gt;
aic: audio-controller@10020000 {
  compatible = "ingenic,jz4740-i2s";
  reg = &lt;0x10020000 0x38&gt;;

  #sound-dai-cells = &lt;0&gt;;

  interrupt-parent = &lt;&amp;intc&gt;;
  interrupts = &lt;18&gt;;

  clocks = &lt;&amp;cgu JZ4740_CLK_AIC&gt;,
           &lt;&amp;cgu JZ4740_CLK_I2S&gt;;
  clock-names = "aic", "i2s";

  dmas = &lt;&amp;dmac 25 0xffffffff&gt;, &lt;&amp;dmac 24 0xffffffff&gt;;
  dma-names = "rx", "tx";
};
</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>

</details>

---

# Ingenic JZ47xx internal codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Ingenic JZ47xx internal codec.

<!-- 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;ingenic&#44;codec&#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;Paul Cercueil &#60;paul&#64;crapouillou&#46;net&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;audio&#45;codec&#64;&#46;&#42;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;ingenic&#44;jz4770&#45;codec&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;ingenic&#44;jz4760&#45;codec&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;ingenic&#44;jz4725b&#45;codec&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;ingenic&#44;jz4740&#45;codec&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;ingenic&#44;jz4760b&#45;codec&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;ingenic&#44;jz4760&#45;codec&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;aic&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/clock/ingenic,jz4740-cgu.h&gt;
codec: audio-codec@10020080 {
  compatible = "ingenic,jz4740-codec";
  reg = &lt;0x10020080 0x8&gt;;
  #sound-dai-cells = &lt;0&gt;;
  clocks = &lt;&amp;cgu JZ4740_CLK_AIC&gt;;
  clock-names = "aic";
};
</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>

</details>

---

# Intel KeemBay I2S

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Intel KeemBay I2S.

<!-- SPDX-License-Identifier: (GPL-2.0 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;intel&#44;keembay&#45;i2s&#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;Daniele Alessandrelli &#60;daniele&#46;alessandrelli&#64;intel&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Paul J&#46; Murphy &#60;paul&#46;j&#46;murphy&#64;intel&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Intel KeemBay I2S</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;intel&#44;keembay&#45;i2s&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;intel&#44;keembay&#45;tdm&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;intel&#44;keembay&#45;hdmi&#45;i2s&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<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">I2S registers</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">I2S gen configuration</p>
> </div>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — not listed as required here

<a id="dt-cb45e4d562022f44522c"></a>

#### Array item rules (<code>items</code>)

<a id="dt-ad0326e242afa18bd21a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;i2s&#45;regs&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;i2s&#95;gen&#95;cfg&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Bus Clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Module Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;osc&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;apb&#95;clk&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">DMA TX channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">DMA RX channel</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/interrupt-controller/irq.h&gt;
#define KEEM_BAY_PSS_AUX_I2S3
#define KEEM_BAY_PSS_I2S3
i2s@20140000 {
    compatible = "intel,keembay-i2s";
    #sound-dai-cells = &lt;0&gt;;
    reg = &lt;0x20140000 0x200&gt;, /* I2S registers */
          &lt;0x202a00a4 0x4&gt;; /* I2S gen configuration */
    reg-names = "i2s-regs", "i2s_gen_cfg";
    interrupts = &lt;GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH&gt;;
    clock-names = "osc", "apb_clk";
    clocks = &lt;&amp;scmi_clk KEEM_BAY_PSS_AUX_I2S3&gt;, &lt;&amp;scmi_clk KEEM_BAY_PSS_I2S3&gt;;
    dmas = &lt;&amp;axi_dma0 29&gt;, &lt;&amp;axi_dma0 33&gt;;
    dma-names = "tx", "rx";
};
</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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2020 Intel Corporation</span></p>

</details>

---

# Invensense ICS-43432-compatible MEMS Microphone with I2S Output

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Invensense ICS-43432-compatible MEMS Microphone with I2S Output.

<!-- 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;invensense&#44;ics43432&#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;Oleksij Rempel &#60;o&#46;rempel&#64;pengutronix&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The ICS-43432 and compatible MEMS microphones output audio over an I2S interface and require no software configuration. The only host connection is the I2S bus. The microphone requires an I2S clock frequency between 460 kHz and 3.379 MHz and 64 clock cycles per stereo frame. Each frame contains 32-bit slots per channel, with 24 bits carrying audio data. A hardware pin determines whether the microphone outputs audio on the left or right channel of the I2S frame.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;invensense&#44;ics43432&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;cui&#44;cmm&#45;4030d&#45;261&#34;</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">ics43432: ics43432 {
    compatible = "invensense,ics43432";

    port {
      endpoint {
        remote-endpoint = &lt;&amp;i2s1_endpoint&gt;;
        dai-format = "i2s";
      };
    };

};
</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>

</details>

---

# Iron Device SMA1303 Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Iron Device SMA1303 Audio Amplifier.

<!-- 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;irondevice&#44;sma1303&#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;Kiseok Jo &#60;kiseok&#46;jo&#64;irondevice&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">SMA1303 digital class-D audio amplifier with an integrated boost converter.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;irondevice&#44;sma1303&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

**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;&#35;sound&#45;dai&#45;cells&#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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    amplifier@1e {
        compatible = "irondevice,sma1303";
        reg = &lt;0x1e&gt;;
        #sound-dai-cells = &lt;1&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>

</details>

---

# Iron Device SMA1307 Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Iron Device SMA1307 Audio Amplifier.

<!-- 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;irondevice&#44;sma1307&#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;Kiseok Jo &#60;kiseok&#46;jo&#64;irondevice&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">SMA1307 boosted digital speaker amplifier with feedback-loop.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;irondevice&#44;sma1307a&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;irondevice&#44;sma1307aq&#34;</code></span>

<div id="dt-e84064a2d568e9bcb9c3">
<p style="white-space: pre-wrap">If a 'q' is added, it indicated the product is AEC-Q100 qualified for automotive applications. SMA1307A supports both WLCSP and QFN packages. However, SMA1307AQ only supports the QFN package.</p>
</div>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

**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;&#35;sound&#45;dai&#45;cells&#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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    amplifier@1e {
        compatible = "irondevice,sma1307a";
        reg = &lt;0x1e&gt;;
        #sound-dai-cells = &lt;1&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>

</details>

---

# Bluetooth SCO Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Bluetooth SCO Audio Codec.

<!-- 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;sound&#47;linux&#44;bt&#45;sco&#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;Mark Brown &#60;broonie&#64;kernel&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-e3f706c9f572bc7f095d"></a> <span id="dt-266d930490f5dab7d95f"><code>0</code></span>, <span id="dt-3ada6c9b25a2310fa7d9"><code>1</code></span>

<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;delta&#44;dfbmcs320&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;linux&#44;bt&#45;sco&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">codec {
    #sound-dai-cells = &lt;0&gt;;
    compatible = "linux,bt-sco";
};
</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</span></p>

<p id="dt-comment-1"><strong>Line 20:</strong> <span> For Wideband PCM</span></p>

</details>

---

# Dummy SPDIF Transmitter/Receiver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Dummy SPDIF Transmitter/Receiver.

<!-- 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;sound&#47;linux&#44;spdif&#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;Mark Brown &#60;broonie&#64;kernel&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;linux&#44;spdif&#45;dit&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;linux&#44;spdif&#45;dir&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#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">spdif-out {
    #sound-dai-cells = &lt;0&gt;;
    compatible = "linux,spdif-dit";
};
</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</span></p>

</details>

---

# Loongson 7axxx/2kxxx ASoC audio sound card driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Loongson 7axxx/2kxxx ASoC audio sound card driver.

<!-- 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;loongson&#44;ls&#45;audio&#45;card&#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;Yingkun Meng &#60;mengyingkun&#64;loongson&#46;cn&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The binding describes the sound card present in loongson 7axxx/2kxxx platform. The sound card is an ASoC component which uses Loongson I2S controller to transfer the audio data.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;loongson&#44;ls&#45;audio&#45;card&#34;</code></span>

<a id="dt-35a8a57fdd6e9ed01be8"></a>

### <code>model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4888cbb3b35392d2f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bf4b69bd171c38756e1b">
<p style="white-space: pre-wrap">User specified audio sound card name</p>
</div>

<a id="dt-8e85cab1fca961abdf70"></a>

### <code>mclk&#45;fs</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ec40d16fe26e4eab2d20">[<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-04b422a940a732dc566a"></a>

### <code>cpu</code> — required here

<div id="dt-def6de561872d689f7b7">
<p style="white-space: pre-wrap">Holds subnode which indicates cpu dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-2e150d640874679a3deb"><code>&#34;object&#34;</code></span>

<a id="dt-512ea5fe7417e34aff51"></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-04b86380754f3d28fabf"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-83919e46621447566035"></a>

**<code>sound&#45;dai</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ec87411cd5c75b2fc67d"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-2bf5668c4f369cbc9896"></a> <span id="dt-2417fd65df7d98fbe891"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-4d93ba21e7a2d03aa4e1"></a>

### <code>codec</code> — required here

<div id="dt-8db3888bf28c4c7029d0">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-54f8798581324c75f1b8"><code>&#34;object&#34;</code></span>

<a id="dt-b99d5f0fdb9f9922c358"></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-689bd98d988b5ce4bf07"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-8906a371a28515f3547c"></a>

**<code>sound&#45;dai</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-783333a4483abb6da3b2"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-e7a1a1ce11b5da6da8bf"></a> <span id="dt-06b87627922e020727a4"><code>&#34;sound&#45;dai&#34;</code></span>

**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;model&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;mclk&#45;fs&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;cpu&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;codec&#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">sound {
    compatible = "loongson,ls-audio-card";
    model = "loongson-audio";
    mclk-fs = &lt;512&gt;;

    cpu {
        sound-dai = &lt;&amp;i2s&gt;;
    };
    codec {
         sound-dai = &lt;&amp;es8323&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>

</details>

---

# Loongson-1 AC97 Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Loongson-1 AC97 Controller.

<!-- 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;loongson&#44;ls1b&#45;ac97&#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;Keguang Zhang &#60;keguang&#46;zhang&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Loongson-1 AC97 controller supports 2-channel stereo output and input. It is paired with the DMA engine to handle playback and capture functions.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;loongson&#44;ls1b&#45;ac97&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;loongson&#44;ls1a&#45;ac97&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;loongson&#44;ls1c&#45;ac97&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;loongson&#44;ls1b&#45;ac97&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>3</code></span>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — required here

<a id="dt-cb45e4d562022f44522c"></a>

#### Array item rules (<code>items</code>)

<a id="dt-ad0326e242afa18bd21a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;ac97&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;audio&#45;tx&#34;</code></span>

<a id="dt-dd584520d0fd1feaa634"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-bd78c6ffbdc5ce20feb0"><code>&#34;audio&#45;rx&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dmas&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">audio-controller@1fe74000 {
    compatible = "loongson,ls1b-ac97";
    reg = &lt;0x1fe74000 0x60&gt;, &lt;0x1fe72420 0x4&gt;, &lt;0x1fe74c4c 0x4&gt;;
    reg-names = "ac97", "audio-tx", "audio-rx";
    dmas = &lt;&amp;dma 1&gt;, &lt;&amp;dma 2&gt;;
    dma-names = "tx", "rx";
    #sound-dai-cells = &lt;0&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>

</details>

---

# Loongson-2K1000 I2S controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Loongson-2K1000 I2S controller.

<!-- 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;loongson&#44;ls2k1000&#45;i2s&#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;Binbin Zhou &#60;zhoubinbin&#64;loongson&#46;cn&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;loongson&#44;ls2k1000&#45;i2s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<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">Loongson I2S controller Registers.</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">APB DMA config register for Loongson I2S controller.</p>
> </div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dmas&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/loongson,ls2k-clk.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2s@1fe2d000 {
    compatible = "loongson,ls2k1000-i2s";
    reg = &lt;0x1fe2d000 0x14&gt;,
          &lt;0x1fe00438 0x8&gt;;
    interrupt-parent = &lt;&amp;liointc0&gt;;
    interrupts = &lt;5 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;clk LOONGSON2_APB_CLK&gt;;
    dmas = &lt;&amp;apbdma2 0&gt;, &lt;&amp;apbdma3 0&gt;;
    dma-names = "tx", "rx";
    #sound-dai-cells = &lt;0&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>

</details>

---

# Marvel SSPA Digital Audio Interface

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Marvel SSPA Digital Audio Interface.

<!-- SPDX-License-Identifier: (GPL-2.0+ 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;marvell&#44;mmp&#45;sspa&#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;Lubomir Rintel &#60;lkundrak&#64;v3&#46;sk&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;audio&#45;controller&#40;&#64;&#46;&#42;&#41;&#63;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;marvell&#44;mmp&#45;sspa&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<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">RX block</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">TX block</p>
> </div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Clock for the Audio block</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">I2S bit clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;audio&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;bitclk&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">TX DMA Channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">RX DMA Channel</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-be58c36e2ebbc94550d5"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-b1837c10f2bb8b46a5e7"></a>

**<code>endpoint</code> — not listed as required here**

**Value type (<code>type</code>):** <span id="dt-1add17a1419081cbd6d5"><code>&#34;object&#34;</code></span>

<a id="dt-79e84db9dffbeb97ed1f"></a>

**Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)**

<code>true</code>

Allowed by this rule.

<a id="dt-379ad4ba4c48ef74875c"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-4d0432ff20ca26a043f3"></a>

**<code>dai&#45;format</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-576f554dda08f93b73fa"><code>&#34;i2s&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;port&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/marvell,mmp2.h&gt;

audio-controller@d42a0c00 {
  compatible = "marvell,mmp-sspa";
  reg = &lt;0xd42a0c00 0x30&gt;,
        &lt;0xd42a0c80 0x30&gt;;
  interrupts = &lt;2&gt;;
  clock-names = "audio", "bitclk";
  clocks = &lt;&amp;soc_clocks 127&gt;,
           &lt;&amp;audio_clk 1&gt;;
  #sound-dai-cells = &lt;0&gt;;
  dmas = &lt;&amp;adma0 0&gt;, &lt;&amp;adma0 1&gt;;
  dma-names = "tx", "rx";
  port {
    endpoint {
      remote-endpoint = &lt;&amp;rt5631_0&gt;;
      dai-format = "i2s";
    };
  };
};
</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+ OR BSD-2-Clause)</span></p>

</details>

---

# Maxim MAX9759 Speaker Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Maxim MAX9759 Speaker Amplifier.

<!-- 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;maxim&#44;max9759&#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;Otabek Nazrullaev &#60;otabeknazrullaev1998&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;maxim&#44;max9759&#34;</code></span>

<a id="dt-45e267b98287a9b9f697"></a>

### <code>shutdown&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f2aa23ea2741c8b6979c"><code>1</code></span>

<div id="dt-b739a5c096a414ad16bb">
<p style="white-space: pre-wrap">the gpio connected to the shutdown pin</p>
</div>

<a id="dt-406caea147a245139462"></a>

### <code>mute&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-09c5403a506cee507e9e"><code>1</code></span>

<div id="dt-c3c4e6f36ce3c92049e8">
<p style="white-space: pre-wrap">the gpio connected to the mute pin</p>
</div>

<a id="dt-b7c54f88accdce098073"></a>

### <code>gain&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-264ad38b762efcd0611c"><code>2</code></span>

<div id="dt-096060e46eefaefeb4fd">
<p style="white-space: pre-wrap">the 2 gpios connected to the g1 and g2 pins</p>
</div>

**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;shutdown&#45;gpios&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;mute&#45;gpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gain&#45;gpios&#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/gpio/gpio.h&gt;
amplifier {
  compatible = "maxim,max9759";
  shutdown-gpios = &lt;&amp;gpio3 20 GPIO_ACTIVE_LOW&gt;;
  mute-gpios = &lt;&amp;gpio3 19 GPIO_ACTIVE_LOW&gt;;
  gain-gpios = &lt;&amp;gpio3 23 GPIO_ACTIVE_LOW&gt;,
         &lt;&amp;gpio3 25 GPIO_ACTIVE_LOW&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>

</details>

---

# MAX98088 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MAX98088 audio CODEC.

<!-- 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;maxim&#44;max98088&#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;Abdulrasaq Lawani &#60;abdulrasaqolawani&#64;gmail&#46;com&#62;&#34;</code></span>

<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;maxim&#44;max98088&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;maxim&#44;max98089&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">master clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

**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>

<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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@10 {
        compatible = "maxim,max98089";
        reg = &lt;0x10&gt;;
        clocks = &lt;&amp;clks 0&gt;;
        clock-names = "mclk";
    };
};
</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>

</details>

---

# Maxim Integrated MAX98090/MAX98091 audio codecs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Maxim Integrated MAX98090/MAX98091 audio codecs.

<!-- 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;maxim&#44;max98090&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Pins on the device (for linking into audio routes):
MIC1, MIC2, DMICL, DMICR, IN1, IN2, IN3, IN4, IN5, IN6, IN12, IN34, IN56,
HPL, HPR, SPKL, SPKR, RCVL, RCVR, MICBIAS</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;maxim&#44;max98090&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;maxim&#44;max98091&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">master clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-459708a635d4ff516cf7"></a>

### <code>maxim&#44;dmic&#45;freq</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-20c45f2154284160ac43">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-42bfddd4c65b4eae366c"><code>2500000</code></span>

<div id="dt-46bf1911f80f3095ca70">
<p style="white-space: pre-wrap">DMIC clock frequency</p>
</div>

<a id="dt-bcb83d2b303c091df8fe"></a>

### <code>maxim&#44;micbias</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-35246705b90ac501adbd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-e87960bf832717978f99"></a> <span id="dt-599a7ae99d0f6a3b1984"><code>0</code></span>, <span id="dt-b1828dbec7e9dcd5a932"><code>1</code></span>, <span id="dt-cca8a26e91e44e75c339"><code>2</code></span>, <span id="dt-10e3d439b079ba12a863"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-cd1e53d28206325d41ea"><code>3</code></span>

<div id="dt-7c3b71b56372082d6864">
<pre><code>Micbias voltage applied to the analog mic, valid voltages value are:
  0 - 2.2v
  1 - 2.55v
  2 - 2.4v
  3 - 2.8v</code></pre>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@10 {
        compatible = "maxim,max98090";
        reg = &lt;0x10&gt;;
        interrupt-parent = &lt;&amp;gpx3&gt;;
        interrupts = &lt;2 IRQ_TYPE_EDGE_FALLING&gt;;
        clocks = &lt;&amp;i2s0 0&gt;;
        clock-names = "mclk";
        #sound-dai-cells = &lt;0&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>

</details>

---

# Maxim Integrated MAX98095 audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Maxim Integrated MAX98095 audio codec.

<!-- 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;maxim&#44;max98095&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;maxim&#44;max98095&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">master clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@11 {
        compatible = "maxim,max98095";
        reg = &lt;0x11&gt;;
        clocks = &lt;&amp;i2s0 0&gt;;
        clock-names = "mclk";
    };
};
</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>

</details>

---

# Maxim Integrated MAX98357A/MAX98360A amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Maxim Integrated MAX98357A/MAX98360A amplifier.

<!-- 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;maxim&#44;max98357a&#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;Tzung&#45;Bi Shih &#60;tzungbi&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Maxim Integrated MAX98357A/MAX98360A is a digital pulse-code modulation (PCM) input Class D amplifier.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;maxim&#44;max98357a&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;maxim&#44;max98360a&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-d39507d8d1adb5dcb85d"></a>

### <code>sdmode&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d2a64f851413c9e602b1"><code>1</code></span>

<div id="dt-a5646bb65ad9f2f69081">
<p style="white-space: pre-wrap">Chip's SD_MODE pin.  If missing the chip is always on.</p>
</div>

<a id="dt-3435c39cb97ba1474925"></a>

### <code>sdmode&#45;delay</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e7dab691eda844bbdaa6">[<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-f8644f12bcead30f6659">
<p style="white-space: pre-wrap">Delay time for SD_MODE pin changes intended to make I2S clocks ready before SD_MODE is unmuted in order to avoid the speaker pop noise.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

amplifier {
    compatible = "maxim,max98360a";
    #sound-dai-cells = &lt;0&gt;;
    sdmode-gpios = &lt;&amp;qcom_pinmux 25 GPIO_ACTIVE_HIGH&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>

</details>

---

# Maxim MAX98371 audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Maxim MAX98371 audio codec.

<!-- 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;maxim&#44;max98371&#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;anish kumar &#60;yesanishhere&#64;gmail&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;maxim&#44;max98371&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@31 {
        compatible = "maxim,max98371";
        reg = &lt;0x31&gt;;
        #sound-dai-cells = &lt;0&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>

</details>

---

# Maxim Integrated MAX98390 Speaker Amplifier with Integrated Dynamic Speaker Management

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Maxim Integrated MAX98390 Speaker Amplifier with Integrated Dynamic Speaker Management.

<!-- 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;maxim&#44;max98390&#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;Steve Lee &#60;steves&#46;lee&#64;maximintegrated&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;maxim&#44;max98390&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the device.</p>
</div>

<a id="dt-82181b0b83da93ea3b05"></a>

### <code>maxim&#44;temperature&#95;calib</code> — not listed as required here

<div id="dt-7bd01eaacf3d53943260">
<p style="white-space: pre-wrap">The calculated temperature data was measured while doing the calibration.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ecb84aea104aaadeeb17">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-c15ef45bb8c23c7ce02d"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-11c6ec070ee08780ddd2"><code>65535</code></span>

<a id="dt-8d8d018c45ee3d53c375"></a>

### <code>maxim&#44;r0&#95;calib</code> — not listed as required here

<div id="dt-d7a3f6426d3c0abf62b0">
<p style="white-space: pre-wrap">This is r0 calibration data which was measured in factory mode.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ba7111b6cc33558e967">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-6190dfa8258f1fbec436"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-b314004ac1efcd255f04"><code>8388607</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  max98390: amplifier@38 {
    compatible = "maxim,max98390";
    reg = &lt;0x38&gt;;
    maxim,temperature_calib = &lt;1024&gt;;
    maxim,r0_calib = &lt;100232&gt;;
    reset-gpios = &lt;&amp;gpio 9 GPIO_ACTIVE_LOW&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>

</details>

---

# Maxim Integrated MAX98504 class D mono speaker amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Maxim Integrated MAX98504 class D mono speaker amplifier.

<!-- 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;maxim&#44;max98504&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Maxim Integrated MAX98504 speaker amplifier supports I2C control interface with an IRQ output signal, PCM and PDM digital audio interface (DAI) and a differential analog input.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;maxim&#44;max98504&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-3230aa21a8e1b5454040"></a>

### <code>DIOVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-bc22b86a699ed19f7b01"></a>

### <code>DVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-f5d88bb44576878b10c3"></a>

### <code>PVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-9dbc4c3eb42b3ffea7ea"></a>

### <code>maxim&#44;brownout&#45;threshold</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e088b1da23312dd1b19b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Maximum value (<code>maximum</code>):** <span id="dt-81633ad0f99a0f69714f"><code>21</code></span>

**Default value (<code>default</code>):** <span id="dt-ee9639dc2168a457a410"><code>0</code></span>

<div id="dt-a45d0528d3b5ffcc70e8">
<p style="white-space: pre-wrap">PVDD brownout threshold, where values correspond to 2.6V, 2.65V...3.65V voltage range.  Property also enables the PVDD brownout protection.</p>
</div>

<a id="dt-b303d7bbcbe7b494a719"></a>

### <code>maxim&#44;brownout&#45;attenuation</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a5daba450920d230caaa">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Maximum value (<code>maximum</code>):** <span id="dt-7e967c7d661817c59546"><code>6</code></span>

**Default value (<code>default</code>):** <span id="dt-a40b694f7605a75f82ac"><code>0</code></span>

<div id="dt-576f5aa6f0037dd8327f">
<p style="white-space: pre-wrap">Brownout attenuation to the speaker gain applied during the "attack hold" and "timed hold" phase, the value must be from 0...6 (dB) range.</p>
</div>

<a id="dt-a4ed07d74a3cd48d4a8b"></a>

### <code>maxim&#44;brownout&#45;attack&#45;hold&#45;ms</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-08caf48e7b93e8056c5a"><code>255</code></span>

**Default value (<code>default</code>):** <span id="dt-0a6a5e554014ce4e74ab"><code>0</code></span>

<div id="dt-44431553e9ab507f04de">
<p style="white-space: pre-wrap">Brownout attack hold phase time in ms, VBATBROWN_ATTK_HOLD, register 0x0018.</p>
</div>

<a id="dt-1f1309edacc6b12e2ed8"></a>

### <code>maxim&#44;brownout&#45;timed&#45;hold&#45;ms</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-6a7dbd896ace49c8f9f2"><code>255</code></span>

**Default value (<code>default</code>):** <span id="dt-7c638ec004625dd34168"><code>0</code></span>

<div id="dt-bf8d3baade73b6cc55ed">
<p style="white-space: pre-wrap">Brownout timed hold phase time in ms, VBATBROWN_TIME_HOLD, register 0x0019.</p>
</div>

<a id="dt-c8ff303c421eb41dee49"></a>

### <code>maxim&#44;brownout&#45;release&#45;rate&#45;ms</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-aeb1e242caaa471cbefa"><code>255</code></span>

**Default value (<code>default</code>):** <span id="dt-b46a055bf4f8877a72ff"><code>0</code></span>

<div id="dt-e3c5f51214f947c326bb">
<p style="white-space: pre-wrap">Brownout release phase step time in ms, VBATBROWN_RELEASE, register 0x001A.</p>
</div>

**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>

<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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    amplifier@31 {
        compatible = "maxim,max98504";
        reg = &lt;0x31&gt;;

        DIOVDD-supply = &lt;&amp;ldo3_reg&gt;;
        DVDD-supply = &lt;&amp;ldo3_reg&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>

</details>

---

# Maxim Integrated MAX98520 Speaker Amplifier Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Maxim Integrated MAX98520 Speaker Amplifier Driver.

<!-- 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;maxim&#44;max98520&#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;George Song &#60;george&#46;song&#64;maximintegrated&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;maxim&#44;max98520&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the device.</p>
</div>

**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>

<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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  max98520: amplifier@38 {
    compatible = "maxim,max98520";
    reg = &lt;0x38&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>

</details>

---

# Maxim Integrated MAX9867 CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Maxim Integrated MAX9867 CODEC.

<!-- 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;maxim&#44;max9867&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>This device supports I2C only.
Pins on the device (for linking into audio routes):
    * LOUT
    * ROUT
    * LINL
    * LINR
    * MICL
    * MICR
    * DMICL
    * DMICR</code></pre>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Ladislav Michl &#60;ladis&#64;linux&#45;mips&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;maxim&#44;max9867&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

**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;clocks&#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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@18 {
        compatible = "maxim,max9867";
        #sound-dai-cells = &lt;0&gt;;
        reg = &lt;0x18&gt;;
        clocks = &lt;&amp;codec_clk&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>

</details>

---

# Maxim Integrated MAX98925/MAX98926/MAX98927 speaker amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Maxim Integrated MAX98925/MAX98926/MAX98927 speaker amplifier.

<!-- 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;maxim&#44;max98925&#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;Ryan Lee &#60;ryans&#46;lee&#64;maximintegrated&#46;com&#62;&#34;</code></span>

<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;maxim&#44;max98925&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;maxim&#44;max98926&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;maxim&#44;max98927&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-250737acf11ede9284bb"></a>

### <code>vmon&#45;slot&#45;no</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-05c2e7805eebdcade9ab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-9eed33584860b43ae2aa"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-d6bfea399f850d1c10d5"><code>30</code></span>

**Default value (<code>default</code>):** <span id="dt-5afe24ebff551525ad9d"><code>0</code></span>

<div id="dt-a17d7e4294e90c793957">
<p style="white-space: pre-wrap">Slot number used to send voltage information or in inteleave mode this will be used as interleave slot.</p>
</div>

<a id="dt-64b8730272a96dd315b0"></a>

### <code>imon&#45;slot&#45;no</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-547dd718f79cf010ac47">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-ce9752c85e31ab735824"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-ed0992b327a6f1045940"><code>30</code></span>

**Default value (<code>default</code>):** <span id="dt-5ad4fd691da09ca13bba"><code>0</code></span>

<div id="dt-0e0e167fb9f40265d4c1">
<p style="white-space: pre-wrap">Slot number used to send current information.</p>
</div>

<a id="dt-55609b214a4fd1f6fc92"></a>

### <code>maxim&#44;interleave&#45;mode</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-6fdc172283ddba2d33ec"><code>&#34;boolean&#34;</code></span>

<div id="dt-971070fe9c82f498d922">
<p style="white-space: pre-wrap">When using two MAX9892X in a system it is possible to create ADC data that will overflow the frame size. When enabled, the Digital Audio Interleave mode provides a means to output VMON and IMON data from two devices on a single DOUT line when running smaller frames sizes such as 32 BCLKS per LRCLK or 48 BCLKS per LRCLK.</p>
</div>

**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>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;maxim&#44;max98927&#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-d77b4a44ec242112c66b"></a>
> >
> > **<code>vmon&#45;slot&#45;no</code> — not listed as required here**
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-c492321839642b67e060"><code>0</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-c375e143db572824cb31"><code>15</code></span>
> >
> > <a id="dt-d3231544e1f08f905b15"></a>
> >
> > **<code>imon&#45;slot&#45;no</code> — not listed as required here**
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-c49134a6a77154fac6e9"><code>0</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-0b7f79cd670983191eb6"><code>15</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/gpio/gpio.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@3a {
        compatible = "maxim,max98927";
        reg = &lt;0x3a&gt;;
        #sound-dai-cells = &lt;0&gt;;

        pinctrl-0 = &lt;&amp;speaker_default&gt;;
        pinctrl-names = "default";

        reset-gpios = &lt;&amp;tlmm 69 GPIO_ACTIVE_LOW&gt;;

        vmon-slot-no = &lt;1&gt;;
        imon-slot-no = &lt;0&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>

</details>

---

# MediaTek Audio Front End (AFE) PCM controller for mt2701

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek Audio Front End (AFE) PCM controller for mt2701.

<!-- 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;mediatek&#44;mt2701&#45;audio&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The AFE PCM node must be a subnode of the MediaTek audsys device tree node.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Eugen Hristev &#60;eugen&#46;hristev&#64;collabora&#46;com&#62;&#34;</code></span>

<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;mt2701&#45;audio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mediatek&#44;mt7622&#45;audio&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">AFE interrupt</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">ASYS interrupt</p>
> </div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

<a id="dt-77e94e63ca0b20bb5ef1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;afe&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;asys&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">audio infra sys clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">top audio mux 1</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">top audio mux 2</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">top audio sys a1 clock</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">top audio sys a2 clock</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">i2s0 source selection</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">i2s1 source selection</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">i2s2 source selection</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">i2s3 source selection</p>
> </div>

<a id="dt-de0b3dfcbfe00e590e15"></a>

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">i2s0 source divider</p>
> </div>

<a id="dt-b0d2fe433bb8ee085f99"></a>

**Item 11**

> <div id="dt-ce56df8912b8f8ea9536">
> <p style="white-space: pre-wrap">i2s1 source divider</p>
> </div>

<a id="dt-3a6e19bd8f81a7da76c2"></a>

**Item 12**

> <div id="dt-59b5f0b6f9a554d62511">
> <p style="white-space: pre-wrap">i2s2 source divider</p>
> </div>

<a id="dt-8e906a1743e2e27755ed"></a>

**Item 13**

> <div id="dt-49b874689c816ad2fa14">
> <p style="white-space: pre-wrap">i2s3 source divider</p>
> </div>

<a id="dt-fe3c37c81e1849a78032"></a>

**Item 14**

> <div id="dt-2b75119ffade7942520a">
> <p style="white-space: pre-wrap">i2s0 master clock</p>
> </div>

<a id="dt-14f773a82ee886225e05"></a>

**Item 15**

> <div id="dt-cbed695014bc5661b8b3">
> <p style="white-space: pre-wrap">i2s1 master clock</p>
> </div>

<a id="dt-01b1acd7cf60bc2a547e"></a>

**Item 16**

> <div id="dt-f4317f7c0b52c4075869">
> <p style="white-space: pre-wrap">i2s2 master clock</p>
> </div>

<a id="dt-9e45f9cd6331f6f32d7d"></a>

**Item 17**

> <div id="dt-c2ce061dc22b7437b4ac">
> <p style="white-space: pre-wrap">i2s3 master clock</p>
> </div>

<a id="dt-0c374342383cc0534ef7"></a>

**Item 18**

> <div id="dt-1779d8c60d3b793ef0ac">
> <p style="white-space: pre-wrap">i2so0 hopping clock</p>
> </div>

<a id="dt-2d5ab55778bca2202391"></a>

**Item 19**

> <div id="dt-88b79a2550af1cd7d22d">
> <p style="white-space: pre-wrap">i2so1 hopping clock</p>
> </div>

<a id="dt-b8475f8348ffecc79be0"></a>

**Item 20**

> <div id="dt-cd73aaeed577212ee047">
> <p style="white-space: pre-wrap">i2so2 hopping clock</p>
> </div>

<a id="dt-0d785ace18e509062062"></a>

**Item 21**

> <div id="dt-beb43333225d10759d00">
> <p style="white-space: pre-wrap">i2so3 hopping clock</p>
> </div>

<a id="dt-e87aff203c1f37b43499"></a>

**Item 22**

> <div id="dt-2712c551ec5f33f6958b">
> <p style="white-space: pre-wrap">i2si0 hopping clock</p>
> </div>

<a id="dt-b33caf824d92e02304f9"></a>

**Item 23**

> <div id="dt-72a4614eab774463e189">
> <p style="white-space: pre-wrap">i2si1 hopping clock</p>
> </div>

<a id="dt-2c59281712d440785ca8"></a>

**Item 24**

> <div id="dt-dc7a5fd9c7621c7c8d91">
> <p style="white-space: pre-wrap">i2si2 hopping clock</p>
> </div>

<a id="dt-6a7f52d490a84eb90153"></a>

**Item 25**

> <div id="dt-27a16474afdb0b8368a4">
> <p style="white-space: pre-wrap">i2si3 hopping clock</p>
> </div>

<a id="dt-5237dd1764e016b57519"></a>

**Item 26**

> <div id="dt-2cada27cfebbe2df67d4">
> <p style="white-space: pre-wrap">asrc0 output clock</p>
> </div>

<a id="dt-81dbe98ae83101d78a58"></a>

**Item 27**

> <div id="dt-e1c0c1c625bd73d1561d">
> <p style="white-space: pre-wrap">asrc1 output clock</p>
> </div>

<a id="dt-9cc194233d8d0f03a220"></a>

**Item 28**

> <div id="dt-abb3aa585c3d987297a4">
> <p style="white-space: pre-wrap">asrc2 output clock</p>
> </div>

<a id="dt-879d4dc2b947defa16ba"></a>

**Item 29**

> <div id="dt-9e1f94b7638f5f0a7ab1">
> <p style="white-space: pre-wrap">asrc3 output clock</p>
> </div>

<a id="dt-eef937276277e69b050d"></a>

**Item 30**

> <div id="dt-f6f8a05d85d00af10b19">
> <p style="white-space: pre-wrap">audio front end pd clock</p>
> </div>

<a id="dt-bc99d84b9ddecd58694f"></a>

**Item 31**

> <div id="dt-1d3094d6f7be2c424474">
> <p style="white-space: pre-wrap">audio front end conn pd clock</p>
> </div>

<a id="dt-a198064281fa58229e55"></a>

**Item 32**

> <div id="dt-7b99b3c8f993c18193a0">
> <p style="white-space: pre-wrap">top audio a1 sys pd</p>
> </div>

<a id="dt-a166b3bb8ec4cbe73eaf"></a>

**Item 33**

> <div id="dt-e4c4bae4333315316102">
> <p style="white-space: pre-wrap">top audio a2 sys pd</p>
> </div>

<a id="dt-78f2e43d1f095dd5659c"></a>

**Item 34**

> <div id="dt-bbb2677095a5c75f9b4a">
> <p style="white-space: pre-wrap">audio merge interface pd</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;infra&#95;sys&#95;audio&#95;clk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;top&#95;audio&#95;mux1&#95;sel&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;top&#95;audio&#95;mux2&#95;sel&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;top&#95;audio&#95;a1sys&#95;hp&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;top&#95;audio&#95;a2sys&#95;hp&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;i2s0&#95;src&#95;sel&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;i2s1&#95;src&#95;sel&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;i2s2&#95;src&#95;sel&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;i2s3&#95;src&#95;sel&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;i2s0&#95;src&#95;div&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;i2s1&#95;src&#95;div&#34;</code></span>

<a id="dt-cdc319b61e94b611f980"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-0bf4d52880d7237bb9a0"><code>&#34;i2s2&#95;src&#95;div&#34;</code></span>

<a id="dt-84e94039e1444899d32b"></a>

**Item 13**

> **Exact value (<code>const</code>):** <span id="dt-cb97b2b1a01193c507c3"><code>&#34;i2s3&#95;src&#95;div&#34;</code></span>

<a id="dt-cec2301424e740164358"></a>

**Item 14**

> **Exact value (<code>const</code>):** <span id="dt-84a2d508145b3e25748a"><code>&#34;i2s0&#95;mclk&#95;en&#34;</code></span>

<a id="dt-75757bcd29a681ee94ff"></a>

**Item 15**

> **Exact value (<code>const</code>):** <span id="dt-5e8c2707ae3de3353963"><code>&#34;i2s1&#95;mclk&#95;en&#34;</code></span>

<a id="dt-f7409b923819861cb90a"></a>

**Item 16**

> **Exact value (<code>const</code>):** <span id="dt-a0c9f04edd8a35b52752"><code>&#34;i2s2&#95;mclk&#95;en&#34;</code></span>

<a id="dt-370fe5428f7d74c8ed62"></a>

**Item 17**

> **Exact value (<code>const</code>):** <span id="dt-cbc469a8adba31605a23"><code>&#34;i2s3&#95;mclk&#95;en&#34;</code></span>

<a id="dt-e978694a7c7575946d55"></a>

**Item 18**

> **Exact value (<code>const</code>):** <span id="dt-428e37f333596c3dfc63"><code>&#34;i2so0&#95;hop&#95;ck&#34;</code></span>

<a id="dt-8a0f8fc786dcd0abe09e"></a>

**Item 19**

> **Exact value (<code>const</code>):** <span id="dt-d60cc0e248487928a624"><code>&#34;i2so1&#95;hop&#95;ck&#34;</code></span>

<a id="dt-16e8e864c357f893b4a9"></a>

**Item 20**

> **Exact value (<code>const</code>):** <span id="dt-21822817d4fdd9cd5e0c"><code>&#34;i2so2&#95;hop&#95;ck&#34;</code></span>

<a id="dt-5dfa27a51d10cff62c09"></a>

**Item 21**

> **Exact value (<code>const</code>):** <span id="dt-3d08bef97571353ac345"><code>&#34;i2so3&#95;hop&#95;ck&#34;</code></span>

<a id="dt-a07bf378db4ff670158f"></a>

**Item 22**

> **Exact value (<code>const</code>):** <span id="dt-a5783ddb99d8cd030366"><code>&#34;i2si0&#95;hop&#95;ck&#34;</code></span>

<a id="dt-2406fe39d7286c67e6d3"></a>

**Item 23**

> **Exact value (<code>const</code>):** <span id="dt-56fe018e15025d4ce718"><code>&#34;i2si1&#95;hop&#95;ck&#34;</code></span>

<a id="dt-b101dd7135732313795b"></a>

**Item 24**

> **Exact value (<code>const</code>):** <span id="dt-2efa153c048b35780553"><code>&#34;i2si2&#95;hop&#95;ck&#34;</code></span>

<a id="dt-3f79f6eb06fac68dee3b"></a>

**Item 25**

> **Exact value (<code>const</code>):** <span id="dt-9fa53339f042dfc2237c"><code>&#34;i2si3&#95;hop&#95;ck&#34;</code></span>

<a id="dt-6d13737d824ff9447909"></a>

**Item 26**

> **Exact value (<code>const</code>):** <span id="dt-09d0dc73d8e9b3e8ca5d"><code>&#34;asrc0&#95;out&#95;ck&#34;</code></span>

<a id="dt-de9b587343aaa078c0df"></a>

**Item 27**

> **Exact value (<code>const</code>):** <span id="dt-57951e3053b75ef7527f"><code>&#34;asrc1&#95;out&#95;ck&#34;</code></span>

<a id="dt-eb69444d0b41650c9fbb"></a>

**Item 28**

> **Exact value (<code>const</code>):** <span id="dt-7d3c2a66e75e5ecd0294"><code>&#34;asrc2&#95;out&#95;ck&#34;</code></span>

<a id="dt-bbb1e9058f53a8c4c899"></a>

**Item 29**

> **Exact value (<code>const</code>):** <span id="dt-f53bce89a29ae245b2de"><code>&#34;asrc3&#95;out&#95;ck&#34;</code></span>

<a id="dt-051f2407b370fa369a2b"></a>

**Item 30**

> **Exact value (<code>const</code>):** <span id="dt-05665c3be7d14eb62219"><code>&#34;audio&#95;afe&#95;pd&#34;</code></span>

<a id="dt-077a452fa6d444dffc06"></a>

**Item 31**

> **Exact value (<code>const</code>):** <span id="dt-f6cae65bbf0c74dc6aff"><code>&#34;audio&#95;afe&#95;conn&#95;pd&#34;</code></span>

<a id="dt-6b1e94c8b476774e89e7"></a>

**Item 32**

> **Exact value (<code>const</code>):** <span id="dt-fd80d1b8896139656f4c"><code>&#34;audio&#95;a1sys&#95;pd&#34;</code></span>

<a id="dt-2f3511fcabd2d7c14739"></a>

**Item 33**

> **Exact value (<code>const</code>):** <span id="dt-1a1f325b8cb0a69826bd"><code>&#34;audio&#95;a2sys&#95;pd&#34;</code></span>

<a id="dt-acb86760b2c8dd3d0e16"></a>

**Item 34**

> **Exact value (<code>const</code>):** <span id="dt-4e5df40d8bc2009bda9f"><code>&#34;audio&#95;mrgif&#95;pd&#34;</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#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.

## 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>

---

# MediaTek MT2701 with WM8960 CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek MT2701 with WM8960 CODEC.

<!-- 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;mediatek&#44;mt2701&#45;wm8960&#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;Kartik Agarwala &#60;agarwala&#46;kartik&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt2701&#45;wm8960&#45;machine&#34;</code></span>

<a id="dt-09a0f0ac36779d63ab90"></a>

### <code>mediatek&#44;platform</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc8671eb529833022ec6">[<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-3b75e139cb66f7cb5c14">
<p style="white-space: pre-wrap">The phandle of MT2701 ASoC platform.</p>
</div>

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5aa48addbfe3befc2051">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source.</p>
</div>

<a id="dt-10fafd49860074d134a8"></a>

### <code>mediatek&#44;audio&#45;codec</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1cafd79857f7ded731d3">[<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-612953ebd9dfbfe6d998">
<p style="white-space: pre-wrap">The phandle of the WM8960 audio codec.</p>
</div>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;mediatek&#44;platform&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;audio&#45;routing&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;mediatek&#44;audio&#45;codec&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;pinctrl&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;pinctrl&#45;0&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">sound {
    compatible = "mediatek,mt2701-wm8960-machine";
    mediatek,platform = &lt;&amp;afe&gt;;
    audio-routing =
        "Headphone", "HP_L",
        "Headphone", "HP_R",
        "LINPUT1", "AMIC",
        "RINPUT1", "AMIC";
    mediatek,audio-codec = &lt;&amp;wm8960&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;aud_pins_default&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>

</details>

---

# MediaTek AFE PCM controller for MT7986

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek AFE PCM controller for MT7986.

<!-- 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;mediatek&#44;mt7986&#45;afe&#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;Maso Huang &#60;maso&#46;huang&#64;mediatek&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;mediatek&#44;mt7986&#45;afe&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;mediatek&#44;mt7981&#45;afe&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;mediatek&#44;mt7988&#45;afe&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;mediatek&#44;mt7986&#45;afe&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>5</code></span>

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">audio bus clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">audio 26M clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">audio intbus clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">audio hopping clock</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">audio pll clock</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">mux for pcm_mck</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">audio i2s/pcm mck</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>5</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;bus&#95;ck&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;26m&#95;ck&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;l&#95;ck&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;aud&#95;ck&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;eg2&#95;ck&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;sel&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;i2s&#95;m&#34;</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;mediatek&#44;mt7986&#45;afe&#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-065d246b482f4e9fba10"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-bf2571e4630a59f0c256"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-2a540a403e097f848634"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-343db573787971306c08">
> > > <p style="white-space: pre-wrap">audio bus clock</p>
> > > </div>
> >
> > <a id="dt-30c4212017dcaacb0d3b"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-87bc545af27987cc71f5">
> > > <p style="white-space: pre-wrap">audio 26M clock</p>
> > > </div>
> >
> > <a id="dt-5b84b7ba5037f6e7c6f1"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-a1b272356204c2749c06">
> > > <p style="white-space: pre-wrap">audio intbus clock</p>
> > > </div>
> >
> > <a id="dt-cbff12dec1d2f28b843d"></a>
> >
> > **Item 4**
> >
> > > <div id="dt-15bb9a103d1ac9f01009">
> > > <p style="white-space: pre-wrap">audio hopping clock</p>
> > > </div>
> >
> > <a id="dt-2d724bcfbcfd4887fcde"></a>
> >
> > **Item 5**
> >
> > > <div id="dt-8cf8ee289dd85f3d1979">
> > > <p style="white-space: pre-wrap">audio pll clock</p>
> > > </div>
> >
> > <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;bus&#95;ck&#34;</code></span>
> >
> > <a id="dt-499faf6f3c1e6a2de32b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-14ea8009c50633baa575"><code>&#34;26m&#95;ck&#34;</code></span>
> >
> > <a id="dt-68e48919ba73efad2634"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-28720a6003e8b65201ce"><code>&#34;l&#95;ck&#34;</code></span>
> >
> > <a id="dt-2b5e504807fea168972d"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-173cbd8240ef7df98917"><code>&#34;aud&#95;ck&#34;</code></span>
> >
> > <a id="dt-43984fef6d9f4daddd97"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-f508c12dce6e92d2db66"><code>&#34;eg2&#95;ck&#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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;mediatek&#44;mt7981&#45;afe&#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-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-9bc2c4bcef6f6d2c7e6f"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-9a92b8140775cdd9d56e"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-5f2a23fcde50f95228b6">
> > > <p style="white-space: pre-wrap">audio bus clock</p>
> > > </div>
> >
> > <a id="dt-dc6ae259ca41c4b0d9fb"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-2cb4ced180ccd82e5b26">
> > > <p style="white-space: pre-wrap">audio 26M clock</p>
> > > </div>
> >
> > <a id="dt-fc61b8a16019b78d6a4b"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-381d656359cdb9f0f7a9">
> > > <p style="white-space: pre-wrap">audio intbus clock</p>
> > > </div>
> >
> > <a id="dt-deefb49fd92bca75b3b8"></a>
> >
> > **Item 4**
> >
> > > <div id="dt-d6174f8316c7d901b871">
> > > <p style="white-space: pre-wrap">audio hopping clock</p>
> > > </div>
> >
> > <a id="dt-d09f44f5a2d200bc5f75"></a>
> >
> > **Item 5**
> >
> > > <div id="dt-142d3a6fcfec4b4a65c8">
> > > <p style="white-space: pre-wrap">audio pll clock</p>
> > > </div>
> >
> > <a id="dt-0e58cbf6645829926a3d"></a>
> >
> > **Item 6**
> >
> > > <div id="dt-074ced8edd24e5173264">
> > > <p style="white-space: pre-wrap">mux for pcm_mck</p>
> > > </div>
> >
> > <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;bus&#95;ck&#34;</code></span>
> >
> > <a id="dt-fbbb17d593cc6352303b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1c6351ea0af6cbead296"><code>&#34;26m&#95;ck&#34;</code></span>
> >
> > <a id="dt-c8b31f2db7bbcbe11358"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4cfacbda270425cafd45"><code>&#34;l&#95;ck&#34;</code></span>
> >
> > <a id="dt-fce74aba9d8a9d8485cd"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-eb00a5766b022f484e2c"><code>&#34;aud&#95;ck&#34;</code></span>
> >
> > <a id="dt-b1cec8746c9c76ba9984"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-66ae0cd2b359a4689ab0"><code>&#34;eg2&#95;ck&#34;</code></span>
> >
> > <a id="dt-b6f5452dbf52d6d1f403"></a>
> >
> > **Item 6**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-7f94cc8a8457bebac261"><code>&#34;sel&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;mediatek&#44;mt7988&#45;afe&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-848f98d28ea162761487"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-5bfe5ca02fe705443505"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-09903707c496e0ef03ef">
> > > <p style="white-space: pre-wrap">audio bus clock</p>
> > > </div>
> >
> > <a id="dt-082251df1c3a6e1c1dfa"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-b5f0a83e869b82c86019">
> > > <p style="white-space: pre-wrap">audio 26M clock</p>
> > > </div>
> >
> > <a id="dt-0147bd2f7809dd2379e0"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-2b5ef6a44a405d043732">
> > > <p style="white-space: pre-wrap">audio intbus clock</p>
> > > </div>
> >
> > <a id="dt-3a0a672c20b78928ae15"></a>
> >
> > **Item 4**
> >
> > > <div id="dt-850175713370c7ca8148">
> > > <p style="white-space: pre-wrap">audio hopping clock</p>
> > > </div>
> >
> > <a id="dt-6df94da7c913dae2b8a8"></a>
> >
> > **Item 5**
> >
> > > <div id="dt-eee4319fe5699954f61f">
> > > <p style="white-space: pre-wrap">audio pll clock</p>
> > > </div>
> >
> > <a id="dt-e88860788041ae2e0605"></a>
> >
> > **Item 6**
> >
> > > <div id="dt-3fc2979037745b0bde37">
> > > <p style="white-space: pre-wrap">mux for pcm_mck</p>
> > > </div>
> >
> > <a id="dt-149d034a6ff7b14e4554"></a>
> >
> > **Item 7**
> >
> > > <div id="dt-624f07e4e3a10429b00a">
> > > <p style="white-space: pre-wrap">audio i2s/pcm mck</p>
> > > </div>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;bus&#95;ck&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;26m&#95;ck&#34;</code></span>
> >
> > <a id="dt-81f6c403985022409818"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-a3cbb70d0db35ce9b406"><code>&#34;l&#95;ck&#34;</code></span>
> >
> > <a id="dt-a22dd2aaad2f25cc64a2"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-421c4015083292a7b223"><code>&#34;aud&#95;ck&#34;</code></span>
> >
> > <a id="dt-347c15da01ba5e373c0d"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-3f3f8d78a54cb8d14263"><code>&#34;eg2&#95;ck&#34;</code></span>
> >
> > <a id="dt-4eeb222fd908e384ca44"></a>
> >
> > **Item 6**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-db0fe7ba56f31f93e0a5"><code>&#34;sel&#34;</code></span>
> >
> > <a id="dt-472a2db1b298877814cf"></a>
> >
> > **Item 7**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-48e876e822473ccb6ec6"><code>&#34;i2s&#95;m&#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/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/clock/mt7986-clk.h&gt;

afe@11210000 {
    compatible = "mediatek,mt7986-afe";
    reg = &lt;0x11210000 0x9000&gt;;
    interrupts = &lt;GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;infracfg_ao CLK_INFRA_AUD_BUS_CK&gt;,
             &lt;&amp;infracfg_ao CLK_INFRA_AUD_26M_CK&gt;,
             &lt;&amp;infracfg_ao CLK_INFRA_AUD_L_CK&gt;,
             &lt;&amp;infracfg_ao CLK_INFRA_AUD_AUD_CK&gt;,
             &lt;&amp;infracfg_ao CLK_INFRA_AUD_EG2_CK&gt;;
    clock-names = "bus_ck",
                  "26m_ck",
                  "l_ck",
                  "aud_ck",
                  "eg2_ck";
    assigned-clocks = &lt;&amp;topckgen CLK_TOP_A1SYS_SEL&gt;,
                      &lt;&amp;topckgen CLK_TOP_AUD_L_SEL&gt;,
                      &lt;&amp;topckgen CLK_TOP_A_TUNER_SEL&gt;;
    assigned-clock-parents = &lt;&amp;topckgen CLK_TOP_APLL2_D4&gt;,
                             &lt;&amp;apmixedsys CLK_APMIXED_APLL2&gt;,
                             &lt;&amp;topckgen CLK_TOP_APLL2_D4&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>

</details>

---

# MediaTek MT7986 sound card with WM8960 codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek MT7986 sound card with WM8960 codec.

<!-- 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;mediatek&#44;mt7986&#45;wm8960&#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;Maso Huang &#60;maso&#46;huang&#64;mediatek&#46;com&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt7986&#45;wm8960&#45;sound&#34;</code></span>

<a id="dt-c35e704aa0194611c260"></a>

### <code>platform</code> — required here

**Value type (<code>type</code>):** <span id="dt-6f66bb1c4185d09a16f3"><code>&#34;object&#34;</code></span>

<a id="dt-a492853c3926e11a8cd2"></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-d65c7f4e1c1fd2f076ba"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-4b6e8b89e99f8700d062"></a>

**<code>sound&#45;dai</code> — required here**

<div id="dt-0fb0c6264047a4066a49">
<p style="white-space: pre-wrap">The phandle of MT7986 platform.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7812d814a51225f3c09"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-294d008d802cdd97802f"></a> <span id="dt-3901d5106c1df575b83f"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-4d93ba21e7a2d03aa4e1"></a>

### <code>codec</code> — required here

**Value type (<code>type</code>):** <span id="dt-54f8798581324c75f1b8"><code>&#34;object&#34;</code></span>

<a id="dt-b99d5f0fdb9f9922c358"></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-689bd98d988b5ce4bf07"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-8906a371a28515f3547c"></a>

**<code>sound&#45;dai</code> — required here**

<div id="dt-7822b5a12827e0159859">
<p style="white-space: pre-wrap">The phandle of wm8960 codec.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-783333a4483abb6da3b2"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-e7a1a1ce11b5da6da8bf"></a> <span id="dt-06b87627922e020727a4"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;audio&#45;routing&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;platform&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;codec&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">sound {
    compatible = "mediatek,mt7986-wm8960-sound";
    model = "mt7986-wm8960";
    audio-routing =
        "Headphone", "HP_L",
        "Headphone", "HP_R",
        "LINPUT1", "AMIC",
        "RINPUT1", "AMIC";

    platform {
        sound-dai = &lt;&amp;afe&gt;;
    };

    codec {
        sound-dai = &lt;&amp;wm8960&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>

</details>

---

# Mediatek AFE PCM controller for MT8173

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Mediatek AFE PCM controller for MT8173.

<!-- 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;mediatek&#44;mt8173&#45;afe&#45;pcm&#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;Trevor Wu &#60;trevor&#46;wu&#64;mediatek&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt8173&#45;afe&#45;pcm&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">audio infra sys clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">audio top mux</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">audio intbus mux</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">apll1 clock</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">apll2 clock</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">i2s0 mclk mux</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">i2s1 mclk mux</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">i2s2 mclk mux</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">i2s3 mclk mux</p>
> </div>

<a id="dt-de0b3dfcbfe00e590e15"></a>

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">i2s3 bclk mux</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;infra&#95;sys&#95;audio&#95;clk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;top&#95;pdn&#95;audio&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;top&#95;pdn&#95;aud&#95;intbus&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;bck0&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;bck1&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;i2s0&#95;m&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;i2s1&#95;m&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;i2s2&#95;m&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;i2s3&#95;m&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;i2s3&#95;b&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-b17dfbf4ae4b8a915685"></a>

### <code>memory&#45;region</code> — not listed as required here

<div id="dt-b794f979757a4fadd5eb">
<p style="white-space: pre-wrap">memory region for audio DMA buffers</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-95525a6e584a49d9aba7"><code>1</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;power&#45;domains&#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/clock/mt8173-clk.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/power/mt8173-power.h&gt;

mt8173-afe-pcm@11220000 {
    compatible = "mediatek,mt8173-afe-pcm";
    reg = &lt;0x11220000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 134 IRQ_TYPE_EDGE_FALLING&gt;;
    power-domains = &lt;&amp;spm MT8173_POWER_DOMAIN_AUDIO&gt;;
    clocks = &lt;&amp;infracfg CLK_INFRA_AUDIO&gt;,
             &lt;&amp;topckgen CLK_TOP_AUDIO_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_AUD_INTBUS_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL1_DIV0&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL2_DIV0&gt;,
             &lt;&amp;topckgen CLK_TOP_I2S0_M_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_I2S1_M_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_I2S2_M_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_I2S3_M_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_I2S3_B_SEL&gt;;
     clock-names = "infra_sys_audio_clk",
                   "top_pdn_audio",
                   "top_pdn_aud_intbus",
                   "bck0",
                   "bck1",
                   "i2s0_m",
                   "i2s1_m",
                   "i2s2_m",
                   "i2s3_m",
                   "i2s3_b";
      memory-region = &lt;&amp;afe_dma_mem&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>

</details>

---

# Mediatek AFE PCM controller for mt8183

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Mediatek AFE PCM controller for mt8183.

<!-- 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;mediatek&#44;mt8183&#45;audio&#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;Julien Massot &#60;jmassot&#64;collabora&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt8183&#45;audio&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-fc45b57fcd1ba81d2c64"><code>&#34;audiosys&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-b17dfbf4ae4b8a915685"></a>

### <code>memory&#45;region</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-95525a6e584a49d9aba7"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">AFE clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">ADDA DAC clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">ADDA DAC pre-distortion clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">ADDA ADC clock</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">ADDA6 ADC clock</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">Audio low-jitter 22.5792m clock</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">Audio low-jitter 24.576m clock</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">Audio PLL1 tuner clock</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">Audio PLL2 tuner clock</p>
> </div>

<a id="dt-de0b3dfcbfe00e590e15"></a>

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">I2S1 bit clock</p>
> </div>

<a id="dt-b0d2fe433bb8ee085f99"></a>

**Item 11**

> <div id="dt-ce56df8912b8f8ea9536">
> <p style="white-space: pre-wrap">I2S2 bit clock</p>
> </div>

<a id="dt-3a6e19bd8f81a7da76c2"></a>

**Item 12**

> <div id="dt-59b5f0b6f9a554d62511">
> <p style="white-space: pre-wrap">I2S3 bit clock</p>
> </div>

<a id="dt-8e906a1743e2e27755ed"></a>

**Item 13**

> <div id="dt-49b874689c816ad2fa14">
> <p style="white-space: pre-wrap">I2S4 bit clock</p>
> </div>

<a id="dt-fe3c37c81e1849a78032"></a>

**Item 14**

> <div id="dt-2b75119ffade7942520a">
> <p style="white-space: pre-wrap">Audio Time-Division Multiplexing interface clock</p>
> </div>

<a id="dt-14f773a82ee886225e05"></a>

**Item 15**

> <div id="dt-cbed695014bc5661b8b3">
> <p style="white-space: pre-wrap">Powerdown Audio test model clock</p>
> </div>

<a id="dt-01b1acd7cf60bc2a547e"></a>

**Item 16**

> <div id="dt-f4317f7c0b52c4075869">
> <p style="white-space: pre-wrap">Audio infra sys clock</p>
> </div>

<a id="dt-9e45f9cd6331f6f32d7d"></a>

**Item 17**

> <div id="dt-c2ce061dc22b7437b4ac">
> <p style="white-space: pre-wrap">Audio infra 26M clock</p>
> </div>

<a id="dt-0c374342383cc0534ef7"></a>

**Item 18**

> <div id="dt-1779d8c60d3b793ef0ac">
> <p style="white-space: pre-wrap">Mux for audio clock</p>
> </div>

<a id="dt-2d5ab55778bca2202391"></a>

**Item 19**

> <div id="dt-88b79a2550af1cd7d22d">
> <p style="white-space: pre-wrap">Mux for audio internal bus clock</p>
> </div>

<a id="dt-b8475f8348ffecc79be0"></a>

**Item 20**

> <div id="dt-cd73aaeed577212ee047">
> <p style="white-space: pre-wrap">Mux main divider by 4</p>
> </div>

<a id="dt-0d785ace18e509062062"></a>

**Item 21**

> <div id="dt-beb43333225d10759d00">
> <p style="white-space: pre-wrap">Primary audio mux</p>
> </div>

<a id="dt-e87aff203c1f37b43499"></a>

**Item 22**

> <div id="dt-2712c551ec5f33f6958b">
> <p style="white-space: pre-wrap">Primary audio PLL</p>
> </div>

<a id="dt-b33caf824d92e02304f9"></a>

**Item 23**

> <div id="dt-72a4614eab774463e189">
> <p style="white-space: pre-wrap">Secondary audio mux</p>
> </div>

<a id="dt-2c59281712d440785ca8"></a>

**Item 24**

> <div id="dt-dc7a5fd9c7621c7c8d91">
> <p style="white-space: pre-wrap">Secondary audio PLL</p>
> </div>

<a id="dt-6a7f52d490a84eb90153"></a>

**Item 25**

> <div id="dt-27a16474afdb0b8368a4">
> <p style="white-space: pre-wrap">Primary audio en-generator clock</p>
> </div>

<a id="dt-5237dd1764e016b57519"></a>

**Item 26**

> <div id="dt-2cada27cfebbe2df67d4">
> <p style="white-space: pre-wrap">Primary PLL divider by 4 for IEC</p>
> </div>

<a id="dt-81dbe98ae83101d78a58"></a>

**Item 27**

> <div id="dt-e1c0c1c625bd73d1561d">
> <p style="white-space: pre-wrap">Secondary audio en-generator clock</p>
> </div>

<a id="dt-9cc194233d8d0f03a220"></a>

**Item 28**

> <div id="dt-abb3aa585c3d987297a4">
> <p style="white-space: pre-wrap">Secondary PLL divider by 8 for IEC</p>
> </div>

<a id="dt-879d4dc2b947defa16ba"></a>

**Item 29**

> <div id="dt-9e1f94b7638f5f0a7ab1">
> <p style="white-space: pre-wrap">Mux selector for I2S port 0</p>
> </div>

<a id="dt-eef937276277e69b050d"></a>

**Item 30**

> <div id="dt-f6f8a05d85d00af10b19">
> <p style="white-space: pre-wrap">Mux selector for I2S port 1</p>
> </div>

<a id="dt-bc99d84b9ddecd58694f"></a>

**Item 31**

> <div id="dt-1d3094d6f7be2c424474">
> <p style="white-space: pre-wrap">Mux selector for I2S port 2</p>
> </div>

<a id="dt-a198064281fa58229e55"></a>

**Item 32**

> <div id="dt-7b99b3c8f993c18193a0">
> <p style="white-space: pre-wrap">Mux selector for I2S port 3</p>
> </div>

<a id="dt-a166b3bb8ec4cbe73eaf"></a>

**Item 33**

> <div id="dt-e4c4bae4333315316102">
> <p style="white-space: pre-wrap">Mux selector for I2S port 4</p>
> </div>

<a id="dt-78f2e43d1f095dd5659c"></a>

**Item 34**

> <div id="dt-bbb2677095a5c75f9b4a">
> <p style="white-space: pre-wrap">Mux selector for I2S port 5</p>
> </div>

<a id="dt-6ae3a2dbf41a0b76e73f"></a>

**Item 35**

> <div id="dt-6175e36dbd3935660e00">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 0</p>
> </div>

<a id="dt-06d6f39c9de43350cea1"></a>

**Item 36**

> <div id="dt-c46696eccf9f09c1f206">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 1</p>
> </div>

<a id="dt-ce1c437cfe8a9efdbf7b"></a>

**Item 37**

> <div id="dt-68994b206d14c4288d6b">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 2</p>
> </div>

<a id="dt-86dc5e43b6f5a1ec9c6b"></a>

**Item 38**

> <div id="dt-ae3e19332703e38fca41">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 3</p>
> </div>

<a id="dt-141e0ed2c9cea13458ed"></a>

**Item 39**

> <div id="dt-6321da0ec7c5b4614834">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 4</p>
> </div>

<a id="dt-287f4e6c16d5aa52ff0b"></a>

**Item 40**

> <div id="dt-b119e371ba58c3be5276">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for IEC</p>
> </div>

<a id="dt-634d51f6b4d9db243eea"></a>

**Item 41**

> <div id="dt-c2b98a00c19e9ce727c6">
> <p style="white-space: pre-wrap">26MHz clock for audio subsystem</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;aud&#95;afe&#95;clk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;aud&#95;dac&#95;clk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;aud&#95;dac&#95;predis&#95;clk&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;aud&#95;adc&#95;clk&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;aud&#95;adc&#95;adda6&#95;clk&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;aud&#95;apll22m&#95;clk&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;aud&#95;apll24m&#95;clk&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;aud&#95;apll1&#95;tuner&#95;clk&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;aud&#95;apll2&#95;tuner&#95;clk&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;aud&#95;i2s1&#95;bclk&#95;sw&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;aud&#95;i2s2&#95;bclk&#95;sw&#34;</code></span>

<a id="dt-cdc319b61e94b611f980"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-0bf4d52880d7237bb9a0"><code>&#34;aud&#95;i2s3&#95;bclk&#95;sw&#34;</code></span>

<a id="dt-84e94039e1444899d32b"></a>

**Item 13**

> **Exact value (<code>const</code>):** <span id="dt-cb97b2b1a01193c507c3"><code>&#34;aud&#95;i2s4&#95;bclk&#95;sw&#34;</code></span>

<a id="dt-cec2301424e740164358"></a>

**Item 14**

> **Exact value (<code>const</code>):** <span id="dt-84a2d508145b3e25748a"><code>&#34;aud&#95;tdm&#95;clk&#34;</code></span>

<a id="dt-75757bcd29a681ee94ff"></a>

**Item 15**

> **Exact value (<code>const</code>):** <span id="dt-5e8c2707ae3de3353963"><code>&#34;aud&#95;tml&#95;clk&#34;</code></span>

<a id="dt-f7409b923819861cb90a"></a>

**Item 16**

> **Exact value (<code>const</code>):** <span id="dt-a0c9f04edd8a35b52752"><code>&#34;aud&#95;infra&#95;clk&#34;</code></span>

<a id="dt-370fe5428f7d74c8ed62"></a>

**Item 17**

> **Exact value (<code>const</code>):** <span id="dt-cbc469a8adba31605a23"><code>&#34;mtkaif&#95;26m&#95;clk&#34;</code></span>

<a id="dt-e978694a7c7575946d55"></a>

**Item 18**

> **Exact value (<code>const</code>):** <span id="dt-428e37f333596c3dfc63"><code>&#34;top&#95;mux&#95;audio&#34;</code></span>

<a id="dt-8a0f8fc786dcd0abe09e"></a>

**Item 19**

> **Exact value (<code>const</code>):** <span id="dt-d60cc0e248487928a624"><code>&#34;top&#95;mux&#95;aud&#95;intbus&#34;</code></span>

<a id="dt-16e8e864c357f893b4a9"></a>

**Item 20**

> **Exact value (<code>const</code>):** <span id="dt-21822817d4fdd9cd5e0c"><code>&#34;top&#95;syspll&#95;d2&#95;d4&#34;</code></span>

<a id="dt-5dfa27a51d10cff62c09"></a>

**Item 21**

> **Exact value (<code>const</code>):** <span id="dt-3d08bef97571353ac345"><code>&#34;top&#95;mux&#95;aud&#95;1&#34;</code></span>

<a id="dt-a07bf378db4ff670158f"></a>

**Item 22**

> **Exact value (<code>const</code>):** <span id="dt-a5783ddb99d8cd030366"><code>&#34;top&#95;apll1&#95;ck&#34;</code></span>

<a id="dt-2406fe39d7286c67e6d3"></a>

**Item 23**

> **Exact value (<code>const</code>):** <span id="dt-56fe018e15025d4ce718"><code>&#34;top&#95;mux&#95;aud&#95;2&#34;</code></span>

<a id="dt-b101dd7135732313795b"></a>

**Item 24**

> **Exact value (<code>const</code>):** <span id="dt-2efa153c048b35780553"><code>&#34;top&#95;apll2&#95;ck&#34;</code></span>

<a id="dt-3f79f6eb06fac68dee3b"></a>

**Item 25**

> **Exact value (<code>const</code>):** <span id="dt-9fa53339f042dfc2237c"><code>&#34;top&#95;mux&#95;aud&#95;eng1&#34;</code></span>

<a id="dt-6d13737d824ff9447909"></a>

**Item 26**

> **Exact value (<code>const</code>):** <span id="dt-09d0dc73d8e9b3e8ca5d"><code>&#34;top&#95;apll1&#95;d8&#34;</code></span>

<a id="dt-de9b587343aaa078c0df"></a>

**Item 27**

> **Exact value (<code>const</code>):** <span id="dt-57951e3053b75ef7527f"><code>&#34;top&#95;mux&#95;aud&#95;eng2&#34;</code></span>

<a id="dt-eb69444d0b41650c9fbb"></a>

**Item 28**

> **Exact value (<code>const</code>):** <span id="dt-7d3c2a66e75e5ecd0294"><code>&#34;top&#95;apll2&#95;d8&#34;</code></span>

<a id="dt-bbb1e9058f53a8c4c899"></a>

**Item 29**

> **Exact value (<code>const</code>):** <span id="dt-f53bce89a29ae245b2de"><code>&#34;top&#95;i2s0&#95;m&#95;sel&#34;</code></span>

<a id="dt-051f2407b370fa369a2b"></a>

**Item 30**

> **Exact value (<code>const</code>):** <span id="dt-05665c3be7d14eb62219"><code>&#34;top&#95;i2s1&#95;m&#95;sel&#34;</code></span>

<a id="dt-077a452fa6d444dffc06"></a>

**Item 31**

> **Exact value (<code>const</code>):** <span id="dt-f6cae65bbf0c74dc6aff"><code>&#34;top&#95;i2s2&#95;m&#95;sel&#34;</code></span>

<a id="dt-6b1e94c8b476774e89e7"></a>

**Item 32**

> **Exact value (<code>const</code>):** <span id="dt-fd80d1b8896139656f4c"><code>&#34;top&#95;i2s3&#95;m&#95;sel&#34;</code></span>

<a id="dt-2f3511fcabd2d7c14739"></a>

**Item 33**

> **Exact value (<code>const</code>):** <span id="dt-1a1f325b8cb0a69826bd"><code>&#34;top&#95;i2s4&#95;m&#95;sel&#34;</code></span>

<a id="dt-acb86760b2c8dd3d0e16"></a>

**Item 34**

> **Exact value (<code>const</code>):** <span id="dt-4e5df40d8bc2009bda9f"><code>&#34;top&#95;i2s5&#95;m&#95;sel&#34;</code></span>

<a id="dt-f8ca7f2fb2d0a9bef9e2"></a>

**Item 35**

> **Exact value (<code>const</code>):** <span id="dt-8176f845e4ab6f76c29f"><code>&#34;top&#95;apll12&#95;div0&#34;</code></span>

<a id="dt-2cb6042e74d8b764459b"></a>

**Item 36**

> **Exact value (<code>const</code>):** <span id="dt-48e6873b17e490b1c971"><code>&#34;top&#95;apll12&#95;div1&#34;</code></span>

<a id="dt-a332bcda0e39f66f3d2d"></a>

**Item 37**

> **Exact value (<code>const</code>):** <span id="dt-b271339eb8314fee466b"><code>&#34;top&#95;apll12&#95;div2&#34;</code></span>

<a id="dt-7f5272b5afbc3507d249"></a>

**Item 38**

> **Exact value (<code>const</code>):** <span id="dt-721c05ef1958a09e85a8"><code>&#34;top&#95;apll12&#95;div3&#34;</code></span>

<a id="dt-784fe894f02f9d07edfa"></a>

**Item 39**

> **Exact value (<code>const</code>):** <span id="dt-8082dfd80173001825c1"><code>&#34;top&#95;apll12&#95;div4&#34;</code></span>

<a id="dt-4a3c8882af47f23d68b3"></a>

**Item 40**

> **Exact value (<code>const</code>):** <span id="dt-badf1ca31c448e28399f"><code>&#34;top&#95;apll12&#95;divb&#34;</code></span>

<a id="dt-597582f16db93657cfc2"></a>

**Item 41**

> **Exact value (<code>const</code>):** <span id="dt-0f05f6d60c1d5bc016ab"><code>&#34;top&#95;clk26m&#95;clk&#34;</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;resets&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clock&#45;names&#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/clock/mt8183-clk.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/power/mt8183-power.h&gt;
#include &lt;dt-bindings/reset/mt8183-resets.h&gt;

audio-controller {
    compatible = "mediatek,mt8183-audio";
    interrupts = &lt;GIC_SPI 161 IRQ_TYPE_LEVEL_LOW&gt;;
    resets = &lt;&amp;watchdog MT8183_TOPRGU_AUDIO_SW_RST&gt;;
    reset-names = "audiosys";
    power-domains = &lt;&amp;spm MT8183_POWER_DOMAIN_AUDIO&gt;;
    clocks = &lt;&amp;audiosys CLK_AUDIO_AFE&gt;,
             &lt;&amp;audiosys CLK_AUDIO_DAC&gt;,
             &lt;&amp;audiosys CLK_AUDIO_DAC_PREDIS&gt;,
             &lt;&amp;audiosys CLK_AUDIO_ADC&gt;,
             &lt;&amp;audiosys CLK_AUDIO_PDN_ADDA6_ADC&gt;,
             &lt;&amp;audiosys CLK_AUDIO_22M&gt;,
             &lt;&amp;audiosys CLK_AUDIO_24M&gt;,
             &lt;&amp;audiosys CLK_AUDIO_APLL_TUNER&gt;,
             &lt;&amp;audiosys CLK_AUDIO_APLL2_TUNER&gt;,
             &lt;&amp;audiosys CLK_AUDIO_I2S1&gt;,
             &lt;&amp;audiosys CLK_AUDIO_I2S2&gt;,
             &lt;&amp;audiosys CLK_AUDIO_I2S3&gt;,
             &lt;&amp;audiosys CLK_AUDIO_I2S4&gt;,
             &lt;&amp;audiosys CLK_AUDIO_TDM&gt;,
             &lt;&amp;audiosys CLK_AUDIO_TML&gt;,
             &lt;&amp;infracfg CLK_INFRA_AUDIO&gt;,
             &lt;&amp;infracfg CLK_INFRA_AUDIO_26M_BCLK&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_AUDIO&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_AUD_INTBUS&gt;,
             &lt;&amp;topckgen CLK_TOP_SYSPLL_D2_D4&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_AUD_1&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL1_CK&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_AUD_2&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL2_CK&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_AUD_ENG1&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL1_D8&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_AUD_ENG2&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL2_D8&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_APLL_I2S0&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_APLL_I2S1&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_APLL_I2S2&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_APLL_I2S3&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_APLL_I2S4&gt;,
             &lt;&amp;topckgen CLK_TOP_MUX_APLL_I2S5&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL12_DIV0&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL12_DIV1&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL12_DIV2&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL12_DIV3&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL12_DIV4&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL12_DIVB&gt;,
             &lt;&amp;clk26m&gt;;
  clock-names = "aud_afe_clk",
                "aud_dac_clk",
                "aud_dac_predis_clk",
                "aud_adc_clk",
                "aud_adc_adda6_clk",
                "aud_apll22m_clk",
                "aud_apll24m_clk",
                "aud_apll1_tuner_clk",
                "aud_apll2_tuner_clk",
                "aud_i2s1_bclk_sw",
                "aud_i2s2_bclk_sw",
                "aud_i2s3_bclk_sw",
                "aud_i2s4_bclk_sw",
                "aud_tdm_clk",
                "aud_tml_clk",
                "aud_infra_clk",
                "mtkaif_26m_clk",
                "top_mux_audio",
                "top_mux_aud_intbus",
                "top_syspll_d2_d4",
                "top_mux_aud_1",
                "top_apll1_ck",
                "top_mux_aud_2",
                "top_apll2_ck",
                "top_mux_aud_eng1",
                "top_apll1_d8",
                "top_mux_aud_eng2",
                "top_apll2_d8",
                "top_i2s0_m_sel",
                "top_i2s1_m_sel",
                "top_i2s2_m_sel",
                "top_i2s3_m_sel",
                "top_i2s4_m_sel",
                "top_i2s5_m_sel",
                "top_apll12_div0",
                "top_apll12_div1",
                "top_apll12_div2",
                "top_apll12_div3",
                "top_apll12_div4",
                "top_apll12_divb",
                "top_clk26m_clk";
};
</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>

</details>

---

# MediaTek MT8183 sound card with external codecs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek MT8183 sound card with external codecs.

<!-- SPDX-License-Identifier: (GPL-2.0 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;mediatek&#44;mt8183&#95;da7219&#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;Julien Massot &#60;jmassot&#64;collabora&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">MediaTek MT8183 SoC-based sound cards with DA7219 as headset codec, and MAX98357A, RT1015 or RT1015P as speaker amplifiers. Optionally includes HDMI codec.</p>
</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;mt8183&#95;da7219&#95;max98357&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mediatek&#44;mt8183&#95;da7219&#95;rt1015&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;mediatek&#44;mt8183&#95;da7219&#95;rt1015p&#34;</code></span>

<a id="dt-0466361489e099ba01d8"></a>

### <code>mediatek&#44;headset&#45;codec</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-10c3456554fa1c59396c">[<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-83b323d258e66b56020b">
<p style="white-space: pre-wrap">Phandle to the DA7219 headset codec.</p>
</div>

<a id="dt-09a0f0ac36779d63ab90"></a>

### <code>mediatek&#44;platform</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc8671eb529833022ec6">[<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-3b75e139cb66f7cb5c14">
<p style="white-space: pre-wrap">Phandle to the MT8183 ASoC platform (e.g., AFE node).</p>
</div>

<a id="dt-6a6b7a8c72b1f5d9b657"></a>

### <code>mediatek&#44;hdmi&#45;codec</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5053bf3581fbf6ff5043">[<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-07c6786ca965f9482dc1">
<p style="white-space: pre-wrap">Optional phandle to the HDMI codec (e.g., IT6505).</p>
</div>

**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;mediatek&#44;headset&#45;codec&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;mediatek&#44;platform&#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">sound {
    compatible = "mediatek,mt8183_da7219_max98357";
    mediatek,headset-codec = &lt;&amp;da7219&gt;;
    mediatek,hdmi-codec = &lt;&amp;it6505dptx&gt;;
    mediatek,platform = &lt;&amp;afe&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 OR BSD-2-Clause)</span></p>

</details>

---

# MediaTek MT8183 sound card with MT6358, TS3A227, and MAX98357/RT1015 codecs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek MT8183 sound card with MT6358, TS3A227, and MAX98357/RT1015 codecs.

<!-- SPDX-License-Identifier: (GPL-2.0 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;mediatek&#44;mt8183&#95;mt6358&#95;ts3a227&#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;Julien Massot &#60;julien&#46;massot&#64;collabora&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">MediaTek MT8183 SoC-based sound cards using the MT6358 codec, with optional TS3A227 headset codec, EC codec (via Chrome EC), and HDMI audio. Speaker amplifier can be one of MAX98357A/B, RT1015, or RT1015P.</p>
</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;mt8183&#95;mt6358&#95;ts3a227&#95;max98357&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mediatek&#44;mt8183&#95;mt6358&#95;ts3a227&#95;max98357b&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;mediatek&#44;mt8183&#95;mt6358&#95;ts3a227&#95;rt1015&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;mediatek&#44;mt8183&#95;mt6358&#95;ts3a227&#95;rt1015p&#34;</code></span>

<a id="dt-09a0f0ac36779d63ab90"></a>

### <code>mediatek&#44;platform</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc8671eb529833022ec6">[<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-3b75e139cb66f7cb5c14">
<p style="white-space: pre-wrap">Phandle to the MT8183 ASoC platform node (e.g., AFE).</p>
</div>

<a id="dt-0466361489e099ba01d8"></a>

### <code>mediatek&#44;headset&#45;codec</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-10c3456554fa1c59396c">[<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-83b323d258e66b56020b">
<p style="white-space: pre-wrap">Phandle to the TS3A227 headset codec.</p>
</div>

<a id="dt-db731fa7a2e921eb840f"></a>

### <code>mediatek&#44;ec&#45;codec</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2a80cd40d8d743df964a">[<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-9a13815691c5bc82e54b">
<p style="white-space: pre-wrap">Optional phandle to a ChromeOS EC codec node.
See bindings in google,cros-ec-codec.yaml.</p>
</div>

<a id="dt-6a6b7a8c72b1f5d9b657"></a>

### <code>mediatek&#44;hdmi&#45;codec</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5053bf3581fbf6ff5043">[<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-07c6786ca965f9482dc1">
<p style="white-space: pre-wrap">Optional phandle to an HDMI audio codec node.</p>
</div>

**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;mediatek&#44;platform&#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">sound {
    compatible = "mediatek,mt8183_mt6358_ts3a227_max98357";
    mediatek,headset-codec = &lt;&amp;ts3a227&gt;;
    mediatek,ec-codec = &lt;&amp;ec_codec&gt;;
    mediatek,hdmi-codec = &lt;&amp;it6505dptx&gt;;
    mediatek,platform = &lt;&amp;afe&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 OR BSD-2-Clause)</span></p>

</details>

---

# MediaTek AFE PCM controller for mt8188

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek AFE PCM controller for mt8188.

<!-- 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;mediatek&#44;mt8188&#45;afe&#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;Trevor Wu &#60;trevor&#46;wu&#64;mediatek&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt8188&#45;afe&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-fc45b57fcd1ba81d2c64"><code>&#34;audiosys&#34;</code></span>

<a id="dt-b17dfbf4ae4b8a915685"></a>

### <code>memory&#45;region</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-95525a6e584a49d9aba7"><code>1</code></span>

<div id="dt-b794f979757a4fadd5eb">
<p style="white-space: pre-wrap">Shared memory region for AFE memif.  A "shared-dma-pool".
See dtschema reserved-memory/shared-dma-pool.yaml for details.</p>
</div>

<a id="dt-d04808db52e44fcc9a97"></a>

### <code>mediatek&#44;topckgen</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fe7d54b0c419e2da2170">[<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-df5a2b57073fb3c903f2">
<p style="white-space: pre-wrap">The phandle of the mediatek topckgen controller</p>
</div>

<a id="dt-6d2fc48bcdc5d6d7b13f"></a>

### <code>mediatek&#44;infracfg</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5ff507f1ac9abdd8528a">[<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-39d6cddb953119cdf7fa">
<p style="white-space: pre-wrap">The phandle of the mediatek infracfg controller</p>
</div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">26M clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">audio pll1 clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">audio pll2 clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">clock divider for i2si1_mck</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">clock divider for i2si2_mck</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">clock divider for i2so1_mck</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">clock divider for i2so2_mck</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">clock divider for dptx_mck</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">a1sys hoping clock</p>
> </div>

<a id="dt-de0b3dfcbfe00e590e15"></a>

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">audio intbus clock</p>
> </div>

<a id="dt-b0d2fe433bb8ee085f99"></a>

**Item 11**

> <div id="dt-ce56df8912b8f8ea9536">
> <p style="white-space: pre-wrap">audio hires clock</p>
> </div>

<a id="dt-3a6e19bd8f81a7da76c2"></a>

**Item 12**

> <div id="dt-59b5f0b6f9a554d62511">
> <p style="white-space: pre-wrap">audio local bus clock</p>
> </div>

<a id="dt-8e906a1743e2e27755ed"></a>

**Item 13**

> <div id="dt-49b874689c816ad2fa14">
> <p style="white-space: pre-wrap">mux for dptx_mck</p>
> </div>

<a id="dt-fe3c37c81e1849a78032"></a>

**Item 14**

> <div id="dt-2b75119ffade7942520a">
> <p style="white-space: pre-wrap">mux for i2so1_mck</p>
> </div>

<a id="dt-14f773a82ee886225e05"></a>

**Item 15**

> <div id="dt-cbed695014bc5661b8b3">
> <p style="white-space: pre-wrap">mux for i2so2_mck</p>
> </div>

<a id="dt-01b1acd7cf60bc2a547e"></a>

**Item 16**

> <div id="dt-f4317f7c0b52c4075869">
> <p style="white-space: pre-wrap">mux for i2si1_mck</p>
> </div>

<a id="dt-9e45f9cd6331f6f32d7d"></a>

**Item 17**

> <div id="dt-c2ce061dc22b7437b4ac">
> <p style="white-space: pre-wrap">mux for i2si2_mck</p>
> </div>

<a id="dt-0c374342383cc0534ef7"></a>

**Item 18**

> <div id="dt-1779d8c60d3b793ef0ac">
> <p style="white-space: pre-wrap">audio 26m clock</p>
> </div>

<a id="dt-2d5ab55778bca2202391"></a>

**Item 19**

> <div id="dt-88b79a2550af1cd7d22d">
> <p style="white-space: pre-wrap">audio pll1 divide 4</p>
> </div>

<a id="dt-b8475f8348ffecc79be0"></a>

**Item 20**

> <div id="dt-cd73aaeed577212ee047">
> <p style="white-space: pre-wrap">audio pll2 divide 4</p>
> </div>

<a id="dt-0d785ace18e509062062"></a>

**Item 21**

> <div id="dt-beb43333225d10759d00">
> <p style="white-space: pre-wrap">clock divider for iec</p>
> </div>

<a id="dt-e87aff203c1f37b43499"></a>

**Item 22**

> <div id="dt-2712c551ec5f33f6958b">
> <p style="white-space: pre-wrap">mux for a2sys clock</p>
> </div>

<a id="dt-b33caf824d92e02304f9"></a>

**Item 23**

> <div id="dt-72a4614eab774463e189">
> <p style="white-space: pre-wrap">mux for aud_iec</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;clk26m&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;apll1&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;apll2&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;apll12&#95;div0&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;apll12&#95;div1&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;apll12&#95;div2&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;apll12&#95;div3&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;apll12&#95;div9&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;top&#95;a1sys&#95;hp&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;top&#95;aud&#95;intbus&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;top&#95;audio&#95;h&#34;</code></span>

<a id="dt-cdc319b61e94b611f980"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-0bf4d52880d7237bb9a0"><code>&#34;top&#95;audio&#95;local&#95;bus&#34;</code></span>

<a id="dt-84e94039e1444899d32b"></a>

**Item 13**

> **Exact value (<code>const</code>):** <span id="dt-cb97b2b1a01193c507c3"><code>&#34;top&#95;dptx&#34;</code></span>

<a id="dt-cec2301424e740164358"></a>

**Item 14**

> **Exact value (<code>const</code>):** <span id="dt-84a2d508145b3e25748a"><code>&#34;top&#95;i2so1&#34;</code></span>

<a id="dt-75757bcd29a681ee94ff"></a>

**Item 15**

> **Exact value (<code>const</code>):** <span id="dt-5e8c2707ae3de3353963"><code>&#34;top&#95;i2so2&#34;</code></span>

<a id="dt-f7409b923819861cb90a"></a>

**Item 16**

> **Exact value (<code>const</code>):** <span id="dt-a0c9f04edd8a35b52752"><code>&#34;top&#95;i2si1&#34;</code></span>

<a id="dt-370fe5428f7d74c8ed62"></a>

**Item 17**

> **Exact value (<code>const</code>):** <span id="dt-cbc469a8adba31605a23"><code>&#34;top&#95;i2si2&#34;</code></span>

<a id="dt-e978694a7c7575946d55"></a>

**Item 18**

> **Exact value (<code>const</code>):** <span id="dt-428e37f333596c3dfc63"><code>&#34;adsp&#95;audio&#95;26m&#34;</code></span>

<a id="dt-8a0f8fc786dcd0abe09e"></a>

**Item 19**

> **Exact value (<code>const</code>):** <span id="dt-d60cc0e248487928a624"><code>&#34;apll1&#95;d4&#34;</code></span>

<a id="dt-16e8e864c357f893b4a9"></a>

**Item 20**

> **Exact value (<code>const</code>):** <span id="dt-21822817d4fdd9cd5e0c"><code>&#34;apll2&#95;d4&#34;</code></span>

<a id="dt-5dfa27a51d10cff62c09"></a>

**Item 21**

> **Exact value (<code>const</code>):** <span id="dt-3d08bef97571353ac345"><code>&#34;apll12&#95;div4&#34;</code></span>

<a id="dt-a07bf378db4ff670158f"></a>

**Item 22**

> **Exact value (<code>const</code>):** <span id="dt-a5783ddb99d8cd030366"><code>&#34;top&#95;a2sys&#34;</code></span>

<a id="dt-2406fe39d7286c67e6d3"></a>

**Item 23**

> **Exact value (<code>const</code>):** <span id="dt-56fe018e15025d4ce718"><code>&#34;top&#95;aud&#95;iec&#34;</code></span>

<a id="dt-cfd5b0bbef3b67b39579"></a>

### <code>mediatek&#44;etdm&#45;in1&#45;cowork&#45;source</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-390a1733ee6da2b9d3e2">[<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-7bdfac30439bb1bb5b4c">
<p style="white-space: pre-wrap">etdm modules can share the same external clock pin. Specify which etdm clock source is required by this etdm in module.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-33b7ab663554bcbfdebd"></a> <span id="dt-12c42eeb200ad503ef25"><code>1</code></span>, <span id="dt-013018d20f475edfa8cc"><code>2</code></span>, <span id="dt-791f128e7b86718156ec"><code>3</code></span>

<a id="dt-692a68af0c2eca82a00e"></a>

### <code>mediatek&#44;etdm&#45;in2&#45;cowork&#45;source</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-093db45328b03e8f34b3">[<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-f287f8e83ef5eb7aecb9">
<p style="white-space: pre-wrap">etdm modules can share the same external clock pin. Specify which etdm clock source is required by this etdm in module.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-55d3aaae776042bcb240"></a> <span id="dt-252f8b87c740817ad594"><code>0</code></span>, <span id="dt-4f2201e0ba9da8ccc8f6"><code>2</code></span>, <span id="dt-0be0a837c4931fe3505b"><code>3</code></span>

<a id="dt-dcb37e508c8e1f8496a2"></a>

### <code>mediatek&#44;etdm&#45;out1&#45;cowork&#45;source</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0240897b4b8c3edadc1c">[<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-e2333c6c0dab8d8f957f">
<p style="white-space: pre-wrap">etdm modules can share the same external clock pin. Specify which etdm clock source is required by this etdm out module.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-021e59c65dc882e1c750"></a> <span id="dt-e1e4d93ae870d545af59"><code>0</code></span>, <span id="dt-20984f8e728adb87a127"><code>1</code></span>, <span id="dt-edfb083c0610904e36e8"><code>3</code></span>

<a id="dt-a9c69026ae19eb6898e3"></a>

### <code>mediatek&#44;etdm&#45;out2&#45;cowork&#45;source</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-40c980feba07177da17a">[<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-67f1a08f8f05660259ec">
<p style="white-space: pre-wrap">etdm modules can share the same external clock pin. Specify which etdm clock source is required by this etdm out module.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-a7e92ddb80baf3894a4a"></a> <span id="dt-1cfcfad54d48154ef40c"><code>0</code></span>, <span id="dt-0cc94776694508b7dc4e"><code>1</code></span>, <span id="dt-84568717feed07f652bb"><code>2</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-aebf816240330fb66ece"></a>

### <code>&#94;mediatek&#44;etdm&#45;in&#91;1&#45;2&#93;&#45;chn&#45;disabled&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-91ade5dd062f11a9e27f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-184849745c5e941c3ec5>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-b14e014ce0289e8a1edf"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6b53a26de8f3e19e9c69"><code>16</code></span>

<div id="dt-765b37577cf27cd1a0a2">
<p style="white-space: pre-wrap">This is a list of channel IDs which should be disabled. By default, all data received from ETDM pins will be outputted to memory. etdm in supports disable_out in direct mode(w/o interconn), so user can disable the specified channels by the property.</p>
</div>

**Items must be unique (<code>uniqueItems</code>):** <span id="dt-097c589b987bc0ac621b"><code>true</code></span>

<a id="dt-bcb52564978d8909218d"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-5bee8e022fb36bee892f"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-728d192b8951ea6757af"><code>15</code></span>

<a id="dt-7e439cfc01a29a695ec5"></a>

### <code>&#94;mediatek&#44;etdm&#45;in&#91;1&#45;2&#93;&#45;multi&#45;pin&#45;mode&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-e150d6285796768988b0"><code>&#34;boolean&#34;</code></span>

<div id="dt-6a674597fbef4bafdd4a">
<p style="white-space: pre-wrap">if present, the etdm data mode is I2S.</p>
</div>

<a id="dt-f0d60cee7a948966568b"></a>

### <code>&#94;mediatek&#44;etdm&#45;out&#91;1&#45;3&#93;&#45;multi&#45;pin&#45;mode&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-3d079c702d639a9117b7"><code>&#34;boolean&#34;</code></span>

<div id="dt-9c129928ca7fd0fa5f6c">
<p style="white-space: pre-wrap">if present, the etdm data mode is I2S.</p>
</div>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;resets&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;mediatek&#44;topckgen&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;mediatek&#44;infracfg&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;clocks&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;clock&#45;names&#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/interrupt-controller/irq.h&gt;

afe@10b10000 {
    compatible = "mediatek,mt8188-afe";
    reg = &lt;0x10b10000 0x10000&gt;;
    interrupts = &lt;GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH 0&gt;;
    resets = &lt;&amp;watchdog 14&gt;;
    reset-names = "audiosys";
    memory-region = &lt;&amp;snd_dma_mem_reserved&gt;;
    mediatek,topckgen = &lt;&amp;topckgen&gt;;
    mediatek,infracfg = &lt;&amp;infracfg_ao&gt;;
    power-domains = &lt;&amp;spm 13&gt;; //MT8188_POWER_DOMAIN_AUDIO
    mediatek,etdm-in2-cowork-source = &lt;2&gt;;
    mediatek,etdm-out2-cowork-source = &lt;0&gt;;
    mediatek,etdm-in1-multi-pin-mode;
    mediatek,etdm-in1-chn-disabled = /bits/ 8 &lt;0x0 0x2&gt;;
    clocks = &lt;&amp;clk26m&gt;,
             &lt;&amp;apmixedsys 9&gt;, //CLK_APMIXED_APLL1
             &lt;&amp;apmixedsys 10&gt;, //CLK_APMIXED_APLL2
             &lt;&amp;topckgen 186&gt;, //CLK_TOP_APLL12_CK_DIV0
             &lt;&amp;topckgen 187&gt;, //CLK_TOP_APLL12_CK_DIV1
             &lt;&amp;topckgen 188&gt;, //CLK_TOP_APLL12_CK_DIV2
             &lt;&amp;topckgen 189&gt;, //CLK_TOP_APLL12_CK_DIV3
             &lt;&amp;topckgen 191&gt;, //CLK_TOP_APLL12_CK_DIV9
             &lt;&amp;topckgen 83&gt;, //CLK_TOP_A1SYS_HP
             &lt;&amp;topckgen 31&gt;, //CLK_TOP_AUD_INTBUS
             &lt;&amp;topckgen 32&gt;, //CLK_TOP_AUDIO_H
             &lt;&amp;topckgen 69&gt;, //CLK_TOP_AUDIO_LOCAL_BUS
             &lt;&amp;topckgen 81&gt;, //CLK_TOP_DPTX
             &lt;&amp;topckgen 77&gt;, //CLK_TOP_I2SO1
             &lt;&amp;topckgen 78&gt;, //CLK_TOP_I2SO2
             &lt;&amp;topckgen 79&gt;, //CLK_TOP_I2SI1
             &lt;&amp;topckgen 80&gt;, //CLK_TOP_I2SI2
             &lt;&amp;adsp_audio26m 0&gt;, //CLK_AUDIODSP_AUDIO26M
             &lt;&amp;topckgen 132&gt;, //CLK_TOP_APLL1_D4
             &lt;&amp;topckgen 133&gt;, //CLK_TOP_APLL2_D4
             &lt;&amp;topckgen 183&gt;, //CLK_TOP_APLL12_CK_DIV4
             &lt;&amp;topckgen 84&gt;, //CLK_TOP_A2SYS
             &lt;&amp;topckgen 82&gt;; //CLK_TOP_AUD_IEC&gt;;
    clock-names = "clk26m",
                  "apll1",
                  "apll2",
                  "apll12_div0",
                  "apll12_div1",
                  "apll12_div2",
                  "apll12_div3",
                  "apll12_div9",
                  "top_a1sys_hp",
                  "top_aud_intbus",
                  "top_audio_h",
                  "top_audio_local_bus",
                  "top_dptx",
                  "top_i2so1",
                  "top_i2so2",
                  "top_i2si1",
                  "top_i2si2",
                  "adsp_audio_26m",
                  "apll1_d4",
                  "apll2_d4",
                  "apll12_div4",
                  "top_a2sys",
                  "top_aud_iec";
};
</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 103:</strong> <span> etdm2_in</span></p>

<p id="dt-comment-2"><strong>Line 104:</strong> <span> etdm1_out</span></p>

<p id="dt-comment-3"><strong>Line 105:</strong> <span> etdm2_out</span></p>

<p id="dt-comment-4"><strong>Line 113:</strong> <span> etdm1_in</span></p>

<p id="dt-comment-5"><strong>Line 114:</strong> <span> etdm1_out</span></p>

<p id="dt-comment-6"><strong>Line 115:</strong> <span> etdm2_out</span></p>

<p id="dt-comment-7"><strong>Line 123:</strong> <span> etdm1_in</span></p>

<p id="dt-comment-8"><strong>Line 124:</strong> <span> etdm2_in</span></p>

<p id="dt-comment-9"><strong>Line 125:</strong> <span> etdm2_out</span></p>

<p id="dt-comment-10"><strong>Line 133:</strong> <span> etdm1_in</span></p>

<p id="dt-comment-11"><strong>Line 134:</strong> <span> etdm2_in</span></p>

<p id="dt-comment-12"><strong>Line 135:</strong> <span> etdm1_out</span></p>

</details>

---

# MediaTek MT8188 ASoC sound card

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek MT8188 ASoC sound card.

<!-- 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;mediatek&#44;mt8188&#45;mt6359&#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;Trevor Wu &#60;trevor&#46;wu&#64;mediatek&#46;com&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;mediatek&#44;mt8188&#45;es8326&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;mediatek&#44;mt8188&#45;mt6359&#45;evb&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;mediatek&#44;mt8188&#45;nau8825&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;mediatek&#44;mt8188&#45;rt5682s&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;mediatek&#44;mt8390&#45;mt6359&#45;evk&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;mediatek&#44;mt8188&#45;mt6359&#45;evb&#34;</code></span>

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — not listed as required here

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">Valid names could be the input or output widgets of audio components, power supplies, MicBias of codec and the software switch.</p>
</div>

<a id="dt-09a0f0ac36779d63ab90"></a>

### <code>mediatek&#44;platform</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc8671eb529833022ec6">[<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-3b75e139cb66f7cb5c14">
<p style="white-space: pre-wrap">The phandle of MT8188 ASoC platform.</p>
</div>

<a id="dt-19327a0f6ca52fc4f2c6"></a>

### <code>mediatek&#44;adsp</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-039d680699a95bf7ea56">[<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-c23e038b40f205e8a9bd">
<p style="white-space: pre-wrap">The phandle of the MT8188 ADSP platform, which is the optional Audio DSP hardware that provides additional audio functionalities if present. The AFE will link to ADSP when the phandle is provided.</p>
</div>

<a id="dt-f7abf36a5e65bd99ff85"></a>

### <code>mediatek&#44;accdet</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-356dfe02f4f4b44c38c0">[<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-202ca465b0e79968da52">
<p style="white-space: pre-wrap">The phandle to the MT6359 accessory detection block, which detects audio jack insertion and removal. This property should only be present if the accdet block is actually wired to the audio jack pins and to be used for jack detection.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-56f41762ec5bb833dd20"></a>

### <code>&#94;dai&#45;link&#45;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-e9064f2829d0773e9cef"><code>&#34;object&#34;</code></span>

<div id="dt-7c27ca26e21f660e1e36">
<p style="white-space: pre-wrap">Container for dai-link level properties and CODEC sub-nodes.</p>
</div>

<a id="dt-e10053929f9698d26f0b"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-b93fb6dc3b4c9a1e1eb1"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-6ad670209bbbf6041abe">
<p style="white-space: pre-wrap">This property corresponds to the name of the BE dai-link to which we are going to update parameters in this node.</p>
</div>

<a id="dt-57ea0912895cbaf6c24e"></a>

**Array item rules (<code>items</code>)**

> **Allowed values (<code>enum</code>):** <a id="dt-bb822485db9517cf7996"></a> <span id="dt-93360e583ba0670a815c"><code>&#34;DPTX&#95;BE&#34;</code></span>, <span id="dt-a08944ecff5d508e58bb"><code>&#34;ETDM1&#95;IN&#95;BE&#34;</code></span>, <span id="dt-51a3029a31da3308d68a"><code>&#34;ETDM2&#95;IN&#95;BE&#34;</code></span>, <span id="dt-3727654564275847b985"><code>&#34;ETDM1&#95;OUT&#95;BE&#34;</code></span>, <span id="dt-eec90dfdd0b77a0a60a7"><code>&#34;ETDM2&#95;OUT&#95;BE&#34;</code></span>, <span id="dt-5198ed5d42e949cdbf8d"><code>&#34;ETDM3&#95;OUT&#95;BE&#34;</code></span>, <span id="dt-554b42ef7b32b4d1ef20"><code>&#34;PCM1&#95;BE&#34;</code></span>, <span id="dt-e2515e54f5a752f6d8c8"><code>&#34;DL&#95;SRC&#95;BE&#34;</code></span>, <span id="dt-b48cb575012c0538111f"><code>&#34;UL&#95;SRC&#95;BE&#34;</code></span>, <span id="dt-b99a9b843ecf19dd5514"><code>&#34;DMIC&#95;BE&#34;</code></span>

<a id="dt-e9700ce34735c9be895e"></a>

**<code>codec</code> — not listed as required here**

<div id="dt-674bf75e8ba438ecb738">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-e81fcb3cb36600b1c9e5"><code>&#34;object&#34;</code></span>

<a id="dt-f323949c0177c8650942"></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-181732cd24e433b247ba"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-768a6b8203e77f27ab4f"></a>

**<code>sound&#45;dai</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-bea7742ec7c9584ae5ac"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-22f18498a029d1b3b9e2"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-77122d1fb890bc0741d8"></a> <span id="dt-4e12a93dcb4b19df3125"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-17b16e1260d470cc89cb"></a>

**<code>dai&#45;format</code> — not listed as required here**

<div id="dt-f90b0d5fbc4cffd6b608">
<p style="white-space: pre-wrap">audio format.</p>
</div>

<a id="dt-2766c4bb669756b2b0bf"></a>

**Array item rules (<code>items</code>)**

> **Allowed values (<code>enum</code>):** <a id="dt-363090d0ce982b184261"></a> <span id="dt-6e8bedd772c3aebc1a3a"><code>&#34;i2s&#34;</code></span>, <span id="dt-f324e023319a8c353574"><code>&#34;right&#95;j&#34;</code></span>, <span id="dt-d0350fa9015b1fc51fe7"><code>&#34;left&#95;j&#34;</code></span>, <span id="dt-217b40276b7f274a2f5d"><code>&#34;dsp&#95;a&#34;</code></span>, <span id="dt-4487524891daa34cf351"><code>&#34;dsp&#95;b&#34;</code></span>

<a id="dt-c14ab52555621fcb099c"></a>

**<code>mediatek&#44;clk&#45;provider</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b80cdf07a7e23ad279da">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-480111d4177e2d1d881e">
<p style="white-space: pre-wrap">Indicates dai-link clock master.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-fbd6d0da4815716279d5"></a> <span id="dt-e5ab09732c18836e06b9"><code>&#34;cpu&#34;</code></span>, <span id="dt-8dae2647ebde8c39de30"><code>&#34;codec&#34;</code></span>

<a id="dt-14842ea983c6ccc7d4b5"></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-883bf2b15500b3eb27a0"></a> <span id="dt-26d54f64f6bc2a9b4488"><code>&#34;link&#45;name&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;mediatek&#44;platform&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">sound {
    compatible = "mediatek,mt8188-mt6359-evb";
    model = "MT6359-EVB";
    mediatek,platform = &lt;&amp;afe&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;aud_pins_default&gt;;
    audio-routing =
        "Headphone", "Headphone L",
        "Headphone", "Headphone R",
        "AIN1", "Headset Mic";
    dai-link-0 {
        link-name = "ETDM3_OUT_BE";
        dai-format = "i2s";
        mediatek,clk-provider = "cpu";
        codec {
            sound-dai = &lt;&amp;hdmi0&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>

</details>

---

# MediaTek Audio Front End PCM controller for MT8189

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek Audio Front End PCM controller for MT8189.

<!-- 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;mediatek&#44;mt8189&#45;afe&#45;pcm&#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;Darren Ye &#60;darren&#46;ye&#64;mediatek&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Cyril Chao &#60;cyril&#46;chao&#64;mediatek&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt8189&#45;afe&#45;pcm&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-b17dfbf4ae4b8a915685"></a>

### <code>memory&#45;region</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-95525a6e584a49d9aba7"><code>1</code></span>

<a id="dt-a427532298f2db2cf04d"></a>

### <code>mediatek&#44;apmixedsys</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-660478c3e78dc8d7d00c">[<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-f00347913f772c713a9d">
<p style="white-space: pre-wrap">To set up the apll12 tuner</p>
</div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">mux for audio intbus</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">mux for audio engen1</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">mux for audio engen2</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">mux for audio h</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">audio apll1 clock</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">audio apll2 clock</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">audio apll1 divide4</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">audio apll2 divide4</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">audio apll12 divide for i2sin0</p>
> </div>

<a id="dt-de0b3dfcbfe00e590e15"></a>

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">audio apll12 divide for i2sin1</p>
> </div>

<a id="dt-b0d2fe433bb8ee085f99"></a>

**Item 11**

> <div id="dt-ce56df8912b8f8ea9536">
> <p style="white-space: pre-wrap">audio apll12 divide for i2sout0</p>
> </div>

<a id="dt-3a6e19bd8f81a7da76c2"></a>

**Item 12**

> <div id="dt-59b5f0b6f9a554d62511">
> <p style="white-space: pre-wrap">audio apll12 divide for i2sout1</p>
> </div>

<a id="dt-8e906a1743e2e27755ed"></a>

**Item 13**

> <div id="dt-49b874689c816ad2fa14">
> <p style="white-space: pre-wrap">audio apll12 divide for fmi2s</p>
> </div>

<a id="dt-fe3c37c81e1849a78032"></a>

**Item 14**

> <div id="dt-2b75119ffade7942520a">
> <p style="white-space: pre-wrap">audio apll12 divide for tdmout mck</p>
> </div>

<a id="dt-14f773a82ee886225e05"></a>

**Item 15**

> <div id="dt-cbed695014bc5661b8b3">
> <p style="white-space: pre-wrap">audio apll12 divide for tdmout bck</p>
> </div>

<a id="dt-01b1acd7cf60bc2a547e"></a>

**Item 16**

> <div id="dt-f4317f7c0b52c4075869">
> <p style="white-space: pre-wrap">mux for audio apll1</p>
> </div>

<a id="dt-9e45f9cd6331f6f32d7d"></a>

**Item 17**

> <div id="dt-c2ce061dc22b7437b4ac">
> <p style="white-space: pre-wrap">mux for audio apll2</p>
> </div>

<a id="dt-0c374342383cc0534ef7"></a>

**Item 18**

> <div id="dt-1779d8c60d3b793ef0ac">
> <p style="white-space: pre-wrap">mux for i2sin0 mck</p>
> </div>

<a id="dt-2d5ab55778bca2202391"></a>

**Item 19**

> <div id="dt-88b79a2550af1cd7d22d">
> <p style="white-space: pre-wrap">mux for i2sin1 mck</p>
> </div>

<a id="dt-b8475f8348ffecc79be0"></a>

**Item 20**

> <div id="dt-cd73aaeed577212ee047">
> <p style="white-space: pre-wrap">mux for i2sout0 mck</p>
> </div>

<a id="dt-0d785ace18e509062062"></a>

**Item 21**

> <div id="dt-beb43333225d10759d00">
> <p style="white-space: pre-wrap">mux for i2sout1 mck</p>
> </div>

<a id="dt-e87aff203c1f37b43499"></a>

**Item 22**

> <div id="dt-2712c551ec5f33f6958b">
> <p style="white-space: pre-wrap">mux for fmi2s mck</p>
> </div>

<a id="dt-b33caf824d92e02304f9"></a>

**Item 23**

> <div id="dt-72a4614eab774463e189">
> <p style="white-space: pre-wrap">mux for tdmout mck</p>
> </div>

<a id="dt-2c59281712d440785ca8"></a>

**Item 24**

> <div id="dt-dc7a5fd9c7621c7c8d91">
> <p style="white-space: pre-wrap">26m clock</p>
> </div>

<a id="dt-6a7f52d490a84eb90153"></a>

**Item 25**

> <div id="dt-27a16474afdb0b8368a4">
> <p style="white-space: pre-wrap">audio slv clock</p>
> </div>

<a id="dt-5237dd1764e016b57519"></a>

**Item 26**

> <div id="dt-2cada27cfebbe2df67d4">
> <p style="white-space: pre-wrap">audio mst clock</p>
> </div>

<a id="dt-81dbe98ae83101d78a58"></a>

**Item 27**

> <div id="dt-e1c0c1c625bd73d1561d">
> <p style="white-space: pre-wrap">audio intbus clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;top&#95;aud&#95;intbus&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;top&#95;aud&#95;eng1&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;top&#95;aud&#95;eng2&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;top&#95;aud&#95;h&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;apll1&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;apll2&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;apll1&#95;d4&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;apll2&#95;d4&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;apll12&#95;div&#95;i2sin0&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;apll12&#95;div&#95;i2sin1&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;apll12&#95;div&#95;i2sout0&#34;</code></span>

<a id="dt-cdc319b61e94b611f980"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-0bf4d52880d7237bb9a0"><code>&#34;apll12&#95;div&#95;i2sout1&#34;</code></span>

<a id="dt-84e94039e1444899d32b"></a>

**Item 13**

> **Exact value (<code>const</code>):** <span id="dt-cb97b2b1a01193c507c3"><code>&#34;apll12&#95;div&#95;fmi2s&#34;</code></span>

<a id="dt-cec2301424e740164358"></a>

**Item 14**

> **Exact value (<code>const</code>):** <span id="dt-84a2d508145b3e25748a"><code>&#34;apll12&#95;div&#95;tdmout&#95;m&#34;</code></span>

<a id="dt-75757bcd29a681ee94ff"></a>

**Item 15**

> **Exact value (<code>const</code>):** <span id="dt-5e8c2707ae3de3353963"><code>&#34;apll12&#95;div&#95;tdmout&#95;b&#34;</code></span>

<a id="dt-f7409b923819861cb90a"></a>

**Item 16**

> **Exact value (<code>const</code>):** <span id="dt-a0c9f04edd8a35b52752"><code>&#34;top&#95;apll1&#34;</code></span>

<a id="dt-370fe5428f7d74c8ed62"></a>

**Item 17**

> **Exact value (<code>const</code>):** <span id="dt-cbc469a8adba31605a23"><code>&#34;top&#95;apll2&#34;</code></span>

<a id="dt-e978694a7c7575946d55"></a>

**Item 18**

> **Exact value (<code>const</code>):** <span id="dt-428e37f333596c3dfc63"><code>&#34;top&#95;i2sin0&#34;</code></span>

<a id="dt-8a0f8fc786dcd0abe09e"></a>

**Item 19**

> **Exact value (<code>const</code>):** <span id="dt-d60cc0e248487928a624"><code>&#34;top&#95;i2sin1&#34;</code></span>

<a id="dt-16e8e864c357f893b4a9"></a>

**Item 20**

> **Exact value (<code>const</code>):** <span id="dt-21822817d4fdd9cd5e0c"><code>&#34;top&#95;i2sout0&#34;</code></span>

<a id="dt-5dfa27a51d10cff62c09"></a>

**Item 21**

> **Exact value (<code>const</code>):** <span id="dt-3d08bef97571353ac345"><code>&#34;top&#95;i2sout1&#34;</code></span>

<a id="dt-a07bf378db4ff670158f"></a>

**Item 22**

> **Exact value (<code>const</code>):** <span id="dt-a5783ddb99d8cd030366"><code>&#34;top&#95;fmi2s&#34;</code></span>

<a id="dt-2406fe39d7286c67e6d3"></a>

**Item 23**

> **Exact value (<code>const</code>):** <span id="dt-56fe018e15025d4ce718"><code>&#34;top&#95;dptx&#34;</code></span>

<a id="dt-b101dd7135732313795b"></a>

**Item 24**

> **Exact value (<code>const</code>):** <span id="dt-2efa153c048b35780553"><code>&#34;clk26m&#34;</code></span>

<a id="dt-3f79f6eb06fac68dee3b"></a>

**Item 25**

> **Exact value (<code>const</code>):** <span id="dt-9fa53339f042dfc2237c"><code>&#34;aud&#95;slv&#95;ck&#95;peri&#34;</code></span>

<a id="dt-6d13737d824ff9447909"></a>

**Item 26**

> **Exact value (<code>const</code>):** <span id="dt-09d0dc73d8e9b3e8ca5d"><code>&#34;aud&#95;mst&#95;ck&#95;peri&#34;</code></span>

<a id="dt-de9b587343aaa078c0df"></a>

**Item 27**

> **Exact value (<code>const</code>):** <span id="dt-57951e3053b75ef7527f"><code>&#34;aud&#95;intbus&#95;ck&#95;peri&#34;</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;memory&#45;region&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clock&#45;names&#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/interrupt-controller/irq.h&gt;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    afe@11050000 {
        compatible = "mediatek,mt8189-afe-pcm";
        reg = &lt;0 0x11050000 0 0x10000&gt;;
        interrupts = &lt;GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH 0&gt;;
        memory-region = &lt;&amp;afe_dma_mem_reserved&gt;;
        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;aud_pins_default&gt;;
        power-domains = &lt;&amp;scpsys 1&gt;; //MT8189_POWER_DOMAIN_AUDIO
        clocks = &lt;&amp;topckgen_clk 23&gt;, //CLK_TOP_AUD_INTBUS_SEL
                 &lt;&amp;topckgen_clk 39&gt;, //CLK_TOP_AUD_ENGEN1_SEL
                 &lt;&amp;topckgen_clk 40&gt;, //CLK_TOP_AUD_ENGEN2_SEL
                 &lt;&amp;topckgen_clk 49&gt;, //CLK_TOP_AUDIO_H_SEL
                 &lt;&amp;topckgen_clk 146&gt;, //CLK_TOP_APLL1
                 &lt;&amp;topckgen_clk 151&gt;, //CLK_TOP_APLL2
                 &lt;&amp;topckgen_clk 148&gt;, //CLK_TOP_APLL1_D4
                 &lt;&amp;topckgen_clk 153&gt;, //CLK_TOP_APLL2_D4
                 &lt;&amp;topckgen_clk 93&gt;, //CLK_TOP_APLL12_CK_DIV_I2SIN0
                 &lt;&amp;topckgen_clk 94&gt;, //CLK_TOP_APLL12_CK_DIV_I2SIN1
                 &lt;&amp;topckgen_clk 95&gt;, //CLK_TOP_APLL12_CK_DIV_I2SOUT0
                 &lt;&amp;topckgen_clk 96&gt;, //CLK_TOP_APLL12_CK_DIV_I2SOUT1
                 &lt;&amp;topckgen_clk 97&gt;, //CLK_TOP_APLL12_CK_DIV_FMI2S
                 &lt;&amp;topckgen_clk 98&gt;, //CLK_TOP_APLL12_CK_DIV_TDMOUT_M
                 &lt;&amp;topckgen_clk 99&gt;, //CLK_TOP_APLL12_CK_DIV_TDMOUT_B
                 &lt;&amp;topckgen_clk 44&gt;, //CLK_TOP_AUD_1_SEL
                 &lt;&amp;topckgen_clk 45&gt;, //CLK_TOP_AUD_2_SEL
                 &lt;&amp;topckgen_clk 78&gt;, //CLK_TOP_APLL_I2SIN0_MCK_SEL
                 &lt;&amp;topckgen_clk 79&gt;, //CLK_TOP_APLL_I2SIN1_MCK_SEL
                 &lt;&amp;topckgen_clk 84&gt;, //CLK_TOP_APLL_I2SOUT0_MCK_SEL
                 &lt;&amp;topckgen_clk 85&gt;, //CLK_TOP_APLL_I2SOUT1_MCK_SEL
                 &lt;&amp;topckgen_clk 90&gt;, //CLK_TOP_APLL_FMI2S_MCK_SEL
                 &lt;&amp;topckgen_clk 91&gt;, //CLK_TOP_APLL_TDMOUT_MCK_SEL
                 &lt;&amp;topckgen_clk 191&gt;, //CLK_TOP_TCK_26M_MX9
                 &lt;&amp;pericfg_ao_clk 77&gt;, //CLK_PERAO_AUDIO0
                 &lt;&amp;pericfg_ao_clk 78&gt;, //CLK_PERAO_AUDIO1
                 &lt;&amp;pericfg_ao_clk 79&gt;; //CLK_PERAO_AUDIO2
        clock-names = "top_aud_intbus",
                      "top_aud_eng1",
                      "top_aud_eng2",
                      "top_aud_h",
                      "apll1",
                      "apll2",
                      "apll1_d4",
                      "apll2_d4",
                      "apll12_div_i2sin0",
                      "apll12_div_i2sin1",
                      "apll12_div_i2sout0",
                      "apll12_div_i2sout1",
                      "apll12_div_fmi2s",
                      "apll12_div_tdmout_m",
                      "apll12_div_tdmout_b",
                      "top_apll1",
                      "top_apll2",
                      "top_i2sin0",
                      "top_i2sin1",
                      "top_i2sout0",
                      "top_i2sout1",
                      "top_fmi2s",
                      "top_dptx",
                      "clk26m",
                      "aud_slv_ck_peri",
                      "aud_mst_ck_peri",
                      "aud_intbus_ck_peri";
    };
};
</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>

</details>

---

# MediaTek MT8189 ASoC sound card

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek MT8189 ASoC sound card.

<!-- 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;mediatek&#44;mt8189&#45;nau8825&#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;Darren Ye &#60;darren&#46;ye&#64;mediatek&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Cyril Chao &#60;cyril&#46;chao&#64;mediatek&#46;com&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<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;mt8189&#45;nau8825&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mediatek&#44;mt8189&#45;rt5650&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;mediatek&#44;mt8189&#45;rt5682s&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;mediatek&#44;mt8189&#45;rt5682i&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;mediatek&#44;mt8189&#45;es8326&#34;</code></span>

<a id="dt-09a0f0ac36779d63ab90"></a>

### <code>mediatek&#44;platform</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc8671eb529833022ec6">[<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-3b75e139cb66f7cb5c14">
<p style="white-space: pre-wrap">The phandle of MT8189 ASoC platform.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-56f41762ec5bb833dd20"></a>

### <code>&#94;dai&#45;link&#45;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-e9064f2829d0773e9cef"><code>&#34;object&#34;</code></span>

<div id="dt-7c27ca26e21f660e1e36">
<p style="white-space: pre-wrap">Container for dai-link level properties and CODEC sub-nodes.</p>
</div>

<a id="dt-e10053929f9698d26f0b"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-b93fb6dc3b4c9a1e1eb1"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-6ad670209bbbf6041abe">
<p style="white-space: pre-wrap">This property corresponds to the name of the BE dai-link to which we are going to update parameters in this node.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-553bdbdc5217e6d26946"></a> <span id="dt-0b4b22e5c0bba7a3fc32"><code>&#34;TDM&#95;DPTX&#95;BE&#34;</code></span>, <span id="dt-7eebdd2fe1e08bfde2c8"><code>&#34;I2SOUT0&#95;BE&#34;</code></span>, <span id="dt-2a7e6619b837f8e906f2"><code>&#34;I2SIN0&#95;BE&#34;</code></span>, <span id="dt-5a0db765d6a559b06b32"><code>&#34;I2SOUT1&#95;BE&#34;</code></span>

<a id="dt-e9700ce34735c9be895e"></a>

**<code>codec</code> — not listed as required here**

<div id="dt-674bf75e8ba438ecb738">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-e81fcb3cb36600b1c9e5"><code>&#34;object&#34;</code></span>

<a id="dt-f323949c0177c8650942"></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-181732cd24e433b247ba"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-768a6b8203e77f27ab4f"></a>

**<code>sound&#45;dai</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-bea7742ec7c9584ae5ac"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-22f18498a029d1b3b9e2"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-77122d1fb890bc0741d8"></a> <span id="dt-4e12a93dcb4b19df3125"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-17b16e1260d470cc89cb"></a>

**<code>dai&#45;format</code> — not listed as required here**

<div id="dt-f90b0d5fbc4cffd6b608">
<p style="white-space: pre-wrap">audio format.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d2612ab7ffe0719c4791"></a> <span id="dt-cc446460dfd589f39b5a"><code>&#34;i2s&#34;</code></span>, <span id="dt-456640132e1d325d840f"><code>&#34;right&#95;j&#34;</code></span>, <span id="dt-556d0e034eb4ab290ae8"><code>&#34;left&#95;j&#34;</code></span>, <span id="dt-82876d87220ad819c0db"><code>&#34;dsp&#95;a&#34;</code></span>, <span id="dt-2e99389ebae3bd2850ed"><code>&#34;dsp&#95;b&#34;</code></span>

<a id="dt-c14ab52555621fcb099c"></a>

**<code>mediatek&#44;clk&#45;provider</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b80cdf07a7e23ad279da">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-480111d4177e2d1d881e">
<p style="white-space: pre-wrap">Indicates dai-link clock master.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-fbd6d0da4815716279d5"></a> <span id="dt-e5ab09732c18836e06b9"><code>&#34;cpu&#34;</code></span>, <span id="dt-8dae2647ebde8c39de30"><code>&#34;codec&#34;</code></span>

<a id="dt-14842ea983c6ccc7d4b5"></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-883bf2b15500b3eb27a0"></a> <span id="dt-26d54f64f6bc2a9b4488"><code>&#34;link&#45;name&#34;</code></span>

**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;mediatek&#44;platform&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "mediatek,mt8189-nau8825";
    model = "mt8189_rt9123_8825";
    mediatek,platform = &lt;&amp;afe&gt;;
    dai-link-0 {
        link-name = "I2SOUT1_BE";
        dai-format = "i2s";
        mediatek,clk-provider = "cpu";
        codec {
            sound-dai = &lt;&amp;nau8825&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>

</details>

---

# MediaTek Audio Front End PCM controller for MT8365

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek Audio Front End PCM controller for MT8365.

<!-- 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;mediatek&#44;mt8365&#45;afe&#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;Alexandre Mergnat &#60;amergnat&#64;baylibre&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt8365&#45;afe&#45;pcm&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">26M clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">mux for audio clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">audio i2s0 mck</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">audio i2s1 mck</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">audio i2s2 mck</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">audio i2s3 mck</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">engen 1 clock</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">engen 2 clock</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">audio 1 clock</p>
> </div>

<a id="dt-de0b3dfcbfe00e590e15"></a>

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">audio 2 clock</p>
> </div>

<a id="dt-b0d2fe433bb8ee085f99"></a>

**Item 11**

> <div id="dt-ce56df8912b8f8ea9536">
> <p style="white-space: pre-wrap">mux for i2s0</p>
> </div>

<a id="dt-3a6e19bd8f81a7da76c2"></a>

**Item 12**

> <div id="dt-59b5f0b6f9a554d62511">
> <p style="white-space: pre-wrap">mux for i2s1</p>
> </div>

<a id="dt-8e906a1743e2e27755ed"></a>

**Item 13**

> <div id="dt-49b874689c816ad2fa14">
> <p style="white-space: pre-wrap">mux for i2s2</p>
> </div>

<a id="dt-fe3c37c81e1849a78032"></a>

**Item 14**

> <div id="dt-2b75119ffade7942520a">
> <p style="white-space: pre-wrap">mux for i2s3</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;top&#95;clk26m&#95;clk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;top&#95;audio&#95;sel&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;audio&#95;i2s0&#95;m&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;audio&#95;i2s1&#95;m&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;audio&#95;i2s2&#95;m&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;audio&#95;i2s3&#95;m&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;engen1&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;engen2&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;aud1&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;aud2&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;i2s0&#95;m&#95;sel&#34;</code></span>

<a id="dt-cdc319b61e94b611f980"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-0bf4d52880d7237bb9a0"><code>&#34;i2s1&#95;m&#95;sel&#34;</code></span>

<a id="dt-84e94039e1444899d32b"></a>

**Item 13**

> **Exact value (<code>const</code>):** <span id="dt-cb97b2b1a01193c507c3"><code>&#34;i2s2&#95;m&#95;sel&#34;</code></span>

<a id="dt-cec2301424e740164358"></a>

**Item 14**

> **Exact value (<code>const</code>):** <span id="dt-84a2d508145b3e25748a"><code>&#34;i2s3&#95;m&#95;sel&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-076ff1aa0a3bb813d598"></a>

### <code>mediatek&#44;dmic&#45;mode</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-02ee060b29568798b6a0">[<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-3ab534585add973f346a">
<p style="white-space: pre-wrap">Indicates how many data pins are used to transmit two channels of PDM signal. 1 means two wires, 0 means one wire. Default value is 0.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d90841188e52c337fe2e"></a> <span id="dt-46e55ab2ab2445fc9192"><code>0</code></span>, <span id="dt-d1e648aa58175c533bea"><code>1</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;power&#45;domains&#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/clock/mediatek,mt8365-clk.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/power/mediatek,mt8365-power.h&gt;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    audio-controller@11220000 {
        compatible = "mediatek,mt8365-afe-pcm";
        reg = &lt;0 0x11220000 0 0x1000&gt;;
        #sound-dai-cells = &lt;0&gt;;
        clocks = &lt;&amp;clk26m&gt;,
                 &lt;&amp;topckgen CLK_TOP_AUDIO_SEL&gt;,
                 &lt;&amp;topckgen CLK_TOP_AUD_I2S0_M&gt;,
                 &lt;&amp;topckgen CLK_TOP_AUD_I2S1_M&gt;,
                 &lt;&amp;topckgen CLK_TOP_AUD_I2S2_M&gt;,
                 &lt;&amp;topckgen CLK_TOP_AUD_I2S3_M&gt;,
                 &lt;&amp;topckgen CLK_TOP_AUD_ENGEN1_SEL&gt;,
                 &lt;&amp;topckgen CLK_TOP_AUD_ENGEN2_SEL&gt;,
                 &lt;&amp;topckgen CLK_TOP_AUD_1_SEL&gt;,
                 &lt;&amp;topckgen CLK_TOP_AUD_2_SEL&gt;,
                 &lt;&amp;topckgen CLK_TOP_APLL_I2S0_SEL&gt;,
                 &lt;&amp;topckgen CLK_TOP_APLL_I2S1_SEL&gt;,
                 &lt;&amp;topckgen CLK_TOP_APLL_I2S2_SEL&gt;,
                 &lt;&amp;topckgen CLK_TOP_APLL_I2S3_SEL&gt;;
        clock-names = "top_clk26m_clk",
                      "top_audio_sel",
                      "audio_i2s0_m",
                      "audio_i2s1_m",
                      "audio_i2s2_m",
                      "audio_i2s3_m",
                      "engen1",
                      "engen2",
                      "aud1",
                      "aud2",
                      "i2s0_m_sel",
                      "i2s1_m_sel",
                      "i2s2_m_sel",
                      "i2s3_m_sel";
        interrupts = &lt;GIC_SPI 97 IRQ_TYPE_LEVEL_LOW&gt;;
        power-domains = &lt;&amp;spm MT8365_POWER_DOMAIN_AUDIO&gt;;
        mediatek,dmic-mode = &lt;1&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 68:</strong> <span> one wire</span></p>

<p id="dt-comment-2"><strong>Line 69:</strong> <span> two wires</span></p>

</details>

---

# MediaTek MT8365 ASoC sound card

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek MT8365 ASoC sound card.

<!-- 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;mediatek&#44;mt8365&#45;mt6357&#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;Alexandre Mergnat &#60;amergnat&#64;baylibre&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt8365&#45;mt6357&#34;</code></span>

<a id="dt-abe836d65f0d3b516449"></a>

### <code>pinctrl&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-3c0b6da8fca9dcaba9e2"><code>1</code></span>

<a id="dt-2a4c8347cd450cbb54d1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-81e07bec64c76061809a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-53a75a2483b213288417"><code>&#34;default&#34;</code></span>

<a id="dt-533e247d3334f36b600b"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-07541635483a597d9829"><code>&#34;dmic&#34;</code></span>

<a id="dt-9f322d4f262a0ae1d3eb"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-a1566be9ea75ae79663b"><code>&#34;miso&#95;off&#34;</code></span>

<a id="dt-b1aae363ac69146247fa"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-62bd7e40555d95dd7f95"><code>&#34;miso&#95;on&#34;</code></span>

<a id="dt-e68f588ecec64dfefb35"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-ecc5443e68b28d828a70"><code>&#34;mosi&#95;off&#34;</code></span>

<a id="dt-4cfbbb59f889380fd0b5"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-e39065b9a147035a4995"><code>&#34;mosi&#95;on&#34;</code></span>

<a id="dt-09a0f0ac36779d63ab90"></a>

### <code>mediatek&#44;platform</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc8671eb529833022ec6">[<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-3b75e139cb66f7cb5c14">
<p style="white-space: pre-wrap">The phandle of MT8365 ASoC platform.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-56f41762ec5bb833dd20"></a>

### <code>&#94;dai&#45;link&#45;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-e9064f2829d0773e9cef"><code>&#34;object&#34;</code></span>

<div id="dt-7c27ca26e21f660e1e36">
<p style="white-space: pre-wrap">Container for dai-link level properties and CODEC sub-nodes.</p>
</div>

<a id="dt-e10053929f9698d26f0b"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-e9700ce34735c9be895e"></a>

**<code>codec</code> — not listed as required here**

**Value type (<code>type</code>):** <span id="dt-e81fcb3cb36600b1c9e5"><code>&#34;object&#34;</code></span>

<div id="dt-674bf75e8ba438ecb738">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

<a id="dt-181732cd24e433b247ba"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-768a6b8203e77f27ab4f"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-22f18498a029d1b3b9e2"><code>1</code></span>

<div id="dt-75a6132048206739e2ab">
<p style="white-space: pre-wrap">phandle of the codec DAI</p>
</div>

<a id="dt-f323949c0177c8650942"></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-b93fb6dc3b4c9a1e1eb1"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-6ad670209bbbf6041abe">
<p style="white-space: pre-wrap">Indicates dai-link name and PCM stream name</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-553bdbdc5217e6d26946"></a> <span id="dt-0b4b22e5c0bba7a3fc32"><code>&#34;I2S&#95;IN&#95;BE&#34;</code></span>, <span id="dt-7eebdd2fe1e08bfde2c8"><code>&#34;I2S&#95;OUT&#95;BE&#34;</code></span>, <span id="dt-2a7e6619b837f8e906f2"><code>&#34;PCM1&#95;BE&#34;</code></span>, <span id="dt-5a0db765d6a559b06b32"><code>&#34;PDM1&#95;BE&#34;</code></span>, <span id="dt-f145c8b33379f46fee35"><code>&#34;PDM2&#95;BE&#34;</code></span>, <span id="dt-eea6f4e25f1253230ce0"><code>&#34;PDM3&#95;BE&#34;</code></span>, <span id="dt-52646843f935925b2473"><code>&#34;PDM4&#95;BE&#34;</code></span>, <span id="dt-39e24e934976eae608b0"><code>&#34;SPDIF&#95;IN&#95;BE&#34;</code></span>, <span id="dt-896dd84c195d3222e870"><code>&#34;SPDIF&#95;OUT&#95;BE&#34;</code></span>, <span id="dt-fb7a7fbc467c8a6c09de"><code>&#34;TDM&#95;IN&#95;BE&#34;</code></span>, <span id="dt-1c81042cb50295fee3bd"><code>&#34;TDM&#95;OUT&#95;BE&#34;</code></span>

<a id="dt-a1c7edcc86988628eee1"></a>

**<code>sound&#45;dai</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c32dcfd77892b331d2d9"><code>1</code></span>

<div id="dt-90dc847ff2d69d3831dd">
<p style="white-space: pre-wrap">phandle of the CPU DAI</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-883bf2b15500b3eb27a0"></a> <span id="dt-26d54f64f6bc2a9b4488"><code>&#34;link&#45;name&#34;</code></span>, <span id="dt-5542975edd29a222a9d8"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-14842ea983c6ccc7d4b5"></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;pinctrl&#45;names&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;mediatek&#44;platform&#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">sound {
    compatible = "mediatek,mt8365-mt6357";
    pinctrl-names = "default",
                    "dmic",
                    "miso_off",
                    "miso_on",
                    "mosi_off",
                    "mosi_on";
    pinctrl-0 = &lt;&amp;aud_default_pins&gt;;
    pinctrl-1 = &lt;&amp;aud_dmic_pins&gt;;
    pinctrl-2 = &lt;&amp;aud_miso_off_pins&gt;;
    pinctrl-3 = &lt;&amp;aud_miso_on_pins&gt;;
    pinctrl-4 = &lt;&amp;aud_mosi_off_pins&gt;;
    pinctrl-5 = &lt;&amp;aud_mosi_on_pins&gt;;
    mediatek,platform = &lt;&amp;afe&gt;;

    /* hdmi interface */
    dai-link-0 {
        link-name = "I2S_OUT_BE";
        sound-dai = &lt;&amp;afe&gt;;

        codec {
            sound-dai = &lt;&amp;it66121hdmitx&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>

</details>

---

# Microchip I2S Multi-Channel Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Microchip I2S Multi-Channel Controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;microchip&#44;sama7g5&#45;i2smcc&#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;Codrin Ciubotariu &#60;codrin&#46;ciubotariu&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The I2SMCC complies with the Inter-IC Sound (I2S) bus specification and supports a Time Division Multiplexed (TDM) interface with external multi-channel audio codecs. It consists of a receiver, a transmitter and a common clock generator that can be enabled separately to provide Adapter, Client or Controller modes with receiver and/or transmitter active. On later I2SMCC versions (starting with Microchip's SAMA7G5) I2S multi-channel is supported by using multiple data pins, output and input, without TDM.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;microchip&#44;sam9x60&#45;i2smcc&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;microchip&#44;sama7g5&#45;i2smcc&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;microchip&#44;sam9x7&#45;i2smcc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;microchip&#44;sam9x60&#45;i2smcc&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral Bus Clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Generic Clock (Optional). Should be set mostly when Master Mode is required.</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;gclk&#34;</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">TX DMA Channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">RX DMA Channel</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-2e34f82aff6a688e3652"></a>

### <code>microchip&#44;tdm&#45;data&#45;pair</code> — not listed as required here

<div id="dt-28fe615b2ead109fce29">
<p style="white-space: pre-wrap">Represents the DIN/DOUT pair pins that are used to receive/send TDM data. It is optional and it is only needed if the controller uses the TDM mode.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f80cdecb4fcf1cbdce13">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-cb434e6bda91f9109635>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-ff6d6e1c03ff4f2c62e8"></a> <span id="dt-9a51ab6835dd4040443d"><code>0</code></span>, <span id="dt-4e4b91a1eb0d6abcd810"><code>1</code></span>, <span id="dt-85fab87c20de790212ed"><code>2</code></span>, <span id="dt-e284d0ee1089e5fa96b1"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-ed2a877e1a5f1466e829"><code>0</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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**
> >
> > **Exact value (<code>const</code>):** <span id="dt-845f8d468c0609fc60ce"><code>&#34;microchip&#44;sam9x60&#45;i2smcc&#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-2b6d94d787dd96185466"></a>
> >
> > **<code>microchip&#44;tdm&#45;data&#45;pair</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/dma/at91.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

i2s@f001c000 {
    #sound-dai-cells = &lt;0&gt;;
    compatible = "microchip,sam9x60-i2smcc";
    reg = &lt;0xf001c000 0x100&gt;;
    interrupts = &lt;34 IRQ_TYPE_LEVEL_HIGH 7&gt;;
    dmas = &lt;&amp;dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
                   AT91_XDMAC_DT_PERID(36))&gt;,
           &lt;&amp;dma0 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
                   AT91_XDMAC_DT_PERID(37))&gt;;
    dma-names = "tx", "rx";
    clocks = &lt;&amp;i2s_clk&gt;, &lt;&amp;i2s_gclk&gt;;
    clock-names = "pclk", "gclk";
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_i2s_default&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 OR BSD-2-Clause)</span></p>

</details>

---

# Microchip Pulse Density Microphone Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Microchip Pulse Density Microphone Controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;microchip&#44;sama7g5&#45;pdmc&#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;Codrin Ciubotariu &#60;codrin&#46;ciubotariu&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Microchip Pulse Density Microphone Controller (PDMC) interfaces up to 4 digital microphones having Pulse Density Modulated (PDM) outputs.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;microchip&#44;sama7g5&#45;pdmc&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral Bus Clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Generic Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;gclk&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<div id="dt-af21a91b793bee877863">
<p style="white-space: pre-wrap">RX DMA Channel</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>1</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-05981720df4cd7d43d3c"><code>&#34;rx&#34;</code></span>

<a id="dt-619e312f468d92a752d6"></a>

### <code>microchip&#44;mic&#45;pos</code> — required here

<div id="dt-22a6c9d41fdb5d34004b">
<p style="white-space: pre-wrap">Position of PDM microphones on the DS line and the sampling edge (rising
or falling) of the CLK line. A microphone is represented as a pair of DS
line and the sampling edge. The first microphone is mapped to channel 0,
the second to channel 1, etc.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f0b0e42b7aeaac64d718">[<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-5377b539b60c506626ec"></a>

#### Array item rules (<code>items</code>)

> <a id="dt-627e25e8443abfc45fe3"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-368fb4fb23ae741d74de"></a>
>
> **Item 1**
>
> > <div id="dt-63118c7dce60d3939151">
> > <p style="white-space: pre-wrap">value for DS line</p>
> > </div>
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-38ad8b54db908377ca0a"></a> <span id="dt-075d25a9ea23c07108da"><code>0</code></span>, <span id="dt-cc22e6e8b89cb322201d"><code>1</code></span>
>
> <a id="dt-fc81078f05e4712b5dd4"></a>
>
> **Item 2**
>
> > <div id="dt-30fe8079230f2b26804d">
> > <p style="white-space: pre-wrap">value for sampling edge</p>
> > </div>
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-0e007b88d3e1511b3a61"></a> <span id="dt-38b4f9b69c6e79b513df"><code>0</code></span>, <span id="dt-3296b973a965c7367984"><code>1</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-08dd97df21d2ff488e1e"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-fd1a432b990b2567ef25"><code>4</code></span>

**Items must be unique (<code>uniqueItems</code>):** <span id="dt-0aac73f953a3abbcb3ff"><code>true</code></span>

<a id="dt-8f400cf92736f7549aa1"></a>

### <code>microchip&#44;startup&#45;delay&#45;us</code> — not listed as required here

<div id="dt-ffaea1ad533ffcaaa516">
<p style="white-space: pre-wrap">Specifies the delay in microseconds that needs to be applied after
enabling the PDMC microphones to avoid unwanted noise due to microphones
not being ready.</p>
</div>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;microchip&#44;mic&#45;pos&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/at91.h&gt;
#include &lt;dt-bindings/dma/at91.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/sound/microchip,pdmc.h&gt;

pdmc: sound@e1608000 {
    compatible = "microchip,sama7g5-pdmc";
    reg = &lt;0xe1608000 0x4000&gt;;
    #sound-dai-cells = &lt;0&gt;;
    interrupts = &lt;GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH&gt;;
    dmas = &lt;&amp;dma0 AT91_XDMAC_DT_PERID(37)&gt;;
    dma-names = "rx";
    clocks = &lt;&amp;pmc PMC_TYPE_PERIPHERAL 68&gt;, &lt;&amp;pmc PMC_TYPE_GCK 68&gt;;
    clock-names = "pclk", "gclk";
    microchip,mic-pos = &lt;MCHP_PDMC_DS0 MCHP_PDMC_CLK_POSITIVE&gt;,
                        &lt;MCHP_PDMC_DS0 MCHP_PDMC_CLK_NEGATIVE&gt;,
                        &lt;MCHP_PDMC_DS1 MCHP_PDMC_CLK_POSITIVE&gt;,
                        &lt;MCHP_PDMC_DS1 MCHP_PDMC_CLK_NEGATIVE&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 OR BSD-2-Clause)</span></p>

</details>

---

# Microchip S/PDIF Rx Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Microchip S/PDIF Rx Controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;microchip&#44;sama7g5&#45;spdifrx&#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;Codrin Ciubotariu &#60;codrin&#46;ciubotariu&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Microchip Sony/Philips Digital Interface Receiver is a serial port compliant with the IEC-60958 standard.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;microchip&#44;sama7g5&#45;spdifrx&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral Bus Clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Generic Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;gclk&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<div id="dt-af21a91b793bee877863">
<p style="white-space: pre-wrap">RX DMA Channel</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>1</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-05981720df4cd7d43d3c"><code>&#34;rx&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/at91.h&gt;
#include &lt;dt-bindings/dma/at91.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

spdifrx: spdifrx@e1614000 {
    #sound-dai-cells = &lt;0&gt;;
    compatible = "microchip,sama7g5-spdifrx";
    reg = &lt;0xe1614000 0x4000&gt;;
    interrupts = &lt;GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH&gt;;
    dmas = &lt;&amp;dma0 AT91_XDMAC_DT_PERID(49)&gt;;
    dma-names = "rx";
    clocks = &lt;&amp;pmc PMC_TYPE_PERIPHERAL 84&gt;, &lt;&amp;pmc PMC_TYPE_GCK 84&gt;;
    clock-names = "pclk", "gclk";
};
</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 OR BSD-2-Clause)</span></p>

</details>

---

# Microchip S/PDIF Tx Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Microchip S/PDIF Tx Controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;microchip&#44;sama7g5&#45;spdiftx&#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;Codrin Ciubotariu &#60;codrin&#46;ciubotariu&#64;microchip&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Microchip Sony/Philips Digital Interface Transmitter is a serial port compliant with the IEC-60958 standard.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;microchip&#44;sama7g5&#45;spdiftx&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Peripheral Bus Clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Generic Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;gclk&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<div id="dt-af21a91b793bee877863">
<p style="white-space: pre-wrap">TX DMA Channel</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>1</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-05981720df4cd7d43d3c"><code>&#34;tx&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/at91.h&gt;
#include &lt;dt-bindings/dma/at91.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

spdiftx@e1618000 {
    #sound-dai-cells = &lt;0&gt;;
    compatible = "microchip,sama7g5-spdiftx";
    reg = &lt;0xe1618000 0x4000&gt;;
    interrupts = &lt;GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH&gt;;
    dmas = &lt;&amp;dma0 AT91_XDMAC_DT_PERID(50)&gt;;
    dma-names = "tx";
    clocks = &lt;&amp;pmc PMC_TYPE_PERIPHERAL 85&gt;, &lt;&amp;pmc PMC_TYPE_GCK 85&gt;;
    clock-names = "pclk", "gclk";
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_spdiftx_default&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 OR BSD-2-Clause)</span></p>

</details>

---

# ZL38060 Connected Home Audio Processor from Microsemi.

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for ZL38060 Connected Home Audio Processor from Microsemi..

<!-- SPDX-License-Identifier: (GPL-2.0 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;mscc&#44;zl38060&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The ZL38060 is a "Connected Home Audio Processor" from Microsemi,
which consists of a Digital Signal Processor (DSP), several Digital
Audio Interfaces (DAIs), analog outputs, and a block of 14 GPIOs.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jaroslav Kysela &#60;perex&#64;perex&#46;cz&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Takashi Iwai &#60;tiwai&#64;suse&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mscc&#44;zl38060&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">SPI device address.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-f17e1c3bb71259096275"><code>24000000</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">A GPIO line handling reset of the chip. As the line is active low, it should be marked GPIO_ACTIVE_LOW (see ../gpio/gpio.txt)</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec: zl38060@0 {
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        #sound-dai-cells = &lt;0&gt;;
        compatible = "mscc,zl38060";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;12000000&gt;;
        reset-gpios = &lt;&amp;gpio1 0 GPIO_ACTIVE_LOW&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 OR BSD-2-Clause)</span></p>

</details>

---

# Mediatek MT6359 Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Mediatek MT6359 Codec.

<!-- 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;sound&#47;mt6359&#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;Eason Yen &#60;eason&#46;yen&#64;mediatek&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jiaxin Yu &#60;jiaxin&#46;yu&#64;mediatek&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Shane Chien &#60;shane&#46;chien&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The communication between MT6359 and SoC is through Mediatek PMIC wrapper.
For more detail, please visit Mediatek PMIC wrapper documentation.
Must be a child node of PMIC wrapper.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-076ff1aa0a3bb813d598"></a>

### <code>mediatek&#44;dmic&#45;mode</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-02ee060b29568798b6a0">[<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-3ab534585add973f346a">
<p style="white-space: pre-wrap">Indicates how many data pins are used to transmit two channels of PDM
signal. 0 means two wires, 1 means one wire. Default value is 0.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d90841188e52c337fe2e"></a> <span id="dt-46e55ab2ab2445fc9192"><code>0</code></span>, <span id="dt-d1e648aa58175c533bea"><code>1</code></span>

<a id="dt-51638c159e50dfe30e6d"></a>

### <code>mediatek&#44;mic&#45;type&#45;0</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ffab9f1858e0625bc87b">[<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-544682c9ec350ab3bb50">
<p style="white-space: pre-wrap">Specifies the type of mic type connected to adc0</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-e28e0d1f7dc56bc5ce0f"></a> <span id="dt-d9e639c6b9bafbf05e9d"><code>0</code></span>, <span id="dt-224c5876dfebfb7b5d54"><code>1</code></span>, <span id="dt-8c3830a9a98e951bfeca"><code>2</code></span>, <span id="dt-4a6e00e3178ad38420a6"><code>3</code></span>, <span id="dt-12d196c7cc30eb067a3b"><code>4</code></span>, <span id="dt-96d5ba00b67943f879b4"><code>5</code></span>

<a id="dt-8b3d9564259dcfdd9615"></a>

### <code>mediatek&#44;mic&#45;type&#45;1</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-32c971098d15ebc48ae7">[<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-7724b755bfaac0dce695">
<p style="white-space: pre-wrap">Specifies the type of mic type connected to adc1</p>
</div>

<a id="dt-0e3eff70a65bac0efe94"></a>

### <code>mediatek&#44;mic&#45;type&#45;2</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1a25021ef1dcb12228c0">[<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-09e2026250f241dd73be">
<p style="white-space: pre-wrap">Specifies the type of mic type connected to adc2</p>
</div>

<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">mt6359codec: audio-codec {
    mediatek,dmic-mode = &lt;0&gt;;
    mediatek,mic-type-0 = &lt;2&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</span></p>

<p id="dt-comment-1"><strong>Line 26:</strong> <span> two wires</span></p>

<p id="dt-comment-2"><strong>Line 27:</strong> <span> one wire</span></p>

<p id="dt-comment-3"><strong>Line 35:</strong> <span> IDLE - mic in turn-off status</span></p>

<p id="dt-comment-4"><strong>Line 36:</strong> <span> ACC - analog mic with alternating coupling</span></p>

<p id="dt-comment-5"><strong>Line 37:</strong> <span> DMIC - digital mic</span></p>

<p id="dt-comment-6"><strong>Line 38:</strong> <span> DCC - analog mic with direct couping</span></p>

<p id="dt-comment-7"><strong>Line 39:</strong> <span> DCC_ECM_DIFF - analog electret condenser mic with differential mode</span></p>

<p id="dt-comment-8"><strong>Line 40:</strong> <span> DCC_ECM_SINGLE - analog electret condenser mic with single mode</span></p>

</details>

---

# Mediatek AFE PCM controller for mt8186

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Mediatek AFE PCM controller for mt8186.

<!-- 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;mt8186&#45;afe&#45;pcm&#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;Jiaxin Yu &#60;jiaxin&#46;yu&#64;mediatek&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt8186&#45;sound&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-fc45b57fcd1ba81d2c64"><code>&#34;audiosys&#34;</code></span>

<a id="dt-b17dfbf4ae4b8a915685"></a>

### <code>memory&#45;region</code> — not listed as required here

<div id="dt-b794f979757a4fadd5eb">
<p style="white-space: pre-wrap">memory region for audio DMA buffers</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-95525a6e584a49d9aba7"><code>1</code></span>

<a id="dt-a427532298f2db2cf04d"></a>

### <code>mediatek&#44;apmixedsys</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-660478c3e78dc8d7d00c">[<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-f00347913f772c713a9d">
<p style="white-space: pre-wrap">The phandle of the mediatek apmixedsys controller</p>
</div>

<a id="dt-6d2fc48bcdc5d6d7b13f"></a>

### <code>mediatek&#44;infracfg</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5ff507f1ac9abdd8528a">[<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-39d6cddb953119cdf7fa">
<p style="white-space: pre-wrap">The phandle of the mediatek infracfg controller</p>
</div>

<a id="dt-d04808db52e44fcc9a97"></a>

### <code>mediatek&#44;topckgen</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fe7d54b0c419e2da2170">[<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-df5a2b57073fb3c903f2">
<p style="white-space: pre-wrap">The phandle of the mediatek topckgen controller</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">audio infra sys clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">audio infra 26M clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">audio top mux</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">audio intbus mux</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">mainpll 136.5M clock</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">faud1 mux</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">apll1 clock</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">faud2 mux</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">apll2 clock</p>
> </div>

<a id="dt-de0b3dfcbfe00e590e15"></a>

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">audio engen1 mux</p>
> </div>

<a id="dt-b0d2fe433bb8ee085f99"></a>

**Item 11**

> <div id="dt-ce56df8912b8f8ea9536">
> <p style="white-space: pre-wrap">apll1_d8 22.5792M clock</p>
> </div>

<a id="dt-3a6e19bd8f81a7da76c2"></a>

**Item 12**

> <div id="dt-59b5f0b6f9a554d62511">
> <p style="white-space: pre-wrap">audio engen2 mux</p>
> </div>

<a id="dt-8e906a1743e2e27755ed"></a>

**Item 13**

> <div id="dt-49b874689c816ad2fa14">
> <p style="white-space: pre-wrap">apll2_d8 24.576M clock</p>
> </div>

<a id="dt-fe3c37c81e1849a78032"></a>

**Item 14**

> <div id="dt-2b75119ffade7942520a">
> <p style="white-space: pre-wrap">i2s0 mclk mux</p>
> </div>

<a id="dt-14f773a82ee886225e05"></a>

**Item 15**

> <div id="dt-cbed695014bc5661b8b3">
> <p style="white-space: pre-wrap">i2s1 mclk mux</p>
> </div>

<a id="dt-01b1acd7cf60bc2a547e"></a>

**Item 16**

> <div id="dt-f4317f7c0b52c4075869">
> <p style="white-space: pre-wrap">i2s2 mclk mux</p>
> </div>

<a id="dt-9e45f9cd6331f6f32d7d"></a>

**Item 17**

> <div id="dt-c2ce061dc22b7437b4ac">
> <p style="white-space: pre-wrap">i2s4 mclk mux</p>
> </div>

<a id="dt-0c374342383cc0534ef7"></a>

**Item 18**

> <div id="dt-1779d8c60d3b793ef0ac">
> <p style="white-space: pre-wrap">tdm mclk mux</p>
> </div>

<a id="dt-2d5ab55778bca2202391"></a>

**Item 19**

> <div id="dt-88b79a2550af1cd7d22d">
> <p style="white-space: pre-wrap">i2s0_mck divider</p>
> </div>

<a id="dt-b8475f8348ffecc79be0"></a>

**Item 20**

> <div id="dt-cd73aaeed577212ee047">
> <p style="white-space: pre-wrap">i2s1_mck divider</p>
> </div>

<a id="dt-0d785ace18e509062062"></a>

**Item 21**

> <div id="dt-beb43333225d10759d00">
> <p style="white-space: pre-wrap">i2s2_mck divider</p>
> </div>

<a id="dt-e87aff203c1f37b43499"></a>

**Item 22**

> <div id="dt-2712c551ec5f33f6958b">
> <p style="white-space: pre-wrap">i2s4_mck divider</p>
> </div>

<a id="dt-b33caf824d92e02304f9"></a>

**Item 23**

> <div id="dt-72a4614eab774463e189">
> <p style="white-space: pre-wrap">tdm_mck divider</p>
> </div>

<a id="dt-2c59281712d440785ca8"></a>

**Item 24**

> <div id="dt-dc7a5fd9c7621c7c8d91">
> <p style="white-space: pre-wrap">audio hires mux</p>
> </div>

<a id="dt-6a7f52d490a84eb90153"></a>

**Item 25**

> <div id="dt-27a16474afdb0b8368a4">
> <p style="white-space: pre-wrap">26M clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;aud&#95;infra&#95;clk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mtkaif&#95;26m&#95;clk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;top&#95;mux&#95;audio&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;top&#95;mux&#95;audio&#95;int&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;top&#95;mainpll&#95;d2&#95;d4&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;top&#95;mux&#95;aud&#95;1&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;top&#95;apll1&#95;ck&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;top&#95;mux&#95;aud&#95;2&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;top&#95;apll2&#95;ck&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;top&#95;mux&#95;aud&#95;eng1&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;top&#95;apll1&#95;d8&#34;</code></span>

<a id="dt-cdc319b61e94b611f980"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-0bf4d52880d7237bb9a0"><code>&#34;top&#95;mux&#95;aud&#95;eng2&#34;</code></span>

<a id="dt-84e94039e1444899d32b"></a>

**Item 13**

> **Exact value (<code>const</code>):** <span id="dt-cb97b2b1a01193c507c3"><code>&#34;top&#95;apll2&#95;d8&#34;</code></span>

<a id="dt-cec2301424e740164358"></a>

**Item 14**

> **Exact value (<code>const</code>):** <span id="dt-84a2d508145b3e25748a"><code>&#34;top&#95;i2s0&#95;m&#95;sel&#34;</code></span>

<a id="dt-75757bcd29a681ee94ff"></a>

**Item 15**

> **Exact value (<code>const</code>):** <span id="dt-5e8c2707ae3de3353963"><code>&#34;top&#95;i2s1&#95;m&#95;sel&#34;</code></span>

<a id="dt-f7409b923819861cb90a"></a>

**Item 16**

> **Exact value (<code>const</code>):** <span id="dt-a0c9f04edd8a35b52752"><code>&#34;top&#95;i2s2&#95;m&#95;sel&#34;</code></span>

<a id="dt-370fe5428f7d74c8ed62"></a>

**Item 17**

> **Exact value (<code>const</code>):** <span id="dt-cbc469a8adba31605a23"><code>&#34;top&#95;i2s4&#95;m&#95;sel&#34;</code></span>

<a id="dt-e978694a7c7575946d55"></a>

**Item 18**

> **Exact value (<code>const</code>):** <span id="dt-428e37f333596c3dfc63"><code>&#34;top&#95;tdm&#95;m&#95;sel&#34;</code></span>

<a id="dt-8a0f8fc786dcd0abe09e"></a>

**Item 19**

> **Exact value (<code>const</code>):** <span id="dt-d60cc0e248487928a624"><code>&#34;top&#95;apll12&#95;div0&#34;</code></span>

<a id="dt-16e8e864c357f893b4a9"></a>

**Item 20**

> **Exact value (<code>const</code>):** <span id="dt-21822817d4fdd9cd5e0c"><code>&#34;top&#95;apll12&#95;div1&#34;</code></span>

<a id="dt-5dfa27a51d10cff62c09"></a>

**Item 21**

> **Exact value (<code>const</code>):** <span id="dt-3d08bef97571353ac345"><code>&#34;top&#95;apll12&#95;div2&#34;</code></span>

<a id="dt-a07bf378db4ff670158f"></a>

**Item 22**

> **Exact value (<code>const</code>):** <span id="dt-a5783ddb99d8cd030366"><code>&#34;top&#95;apll12&#95;div4&#34;</code></span>

<a id="dt-2406fe39d7286c67e6d3"></a>

**Item 23**

> **Exact value (<code>const</code>):** <span id="dt-56fe018e15025d4ce718"><code>&#34;top&#95;apll12&#95;div&#95;tdm&#34;</code></span>

<a id="dt-b101dd7135732313795b"></a>

**Item 24**

> **Exact value (<code>const</code>):** <span id="dt-2efa153c048b35780553"><code>&#34;top&#95;mux&#95;audio&#95;h&#34;</code></span>

<a id="dt-3f79f6eb06fac68dee3b"></a>

**Item 25**

> **Exact value (<code>const</code>):** <span id="dt-9fa53339f042dfc2237c"><code>&#34;top&#95;clk26m&#95;clk&#34;</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;resets&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;mediatek&#44;apmixedsys&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;mediatek&#44;infracfg&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;mediatek&#44;topckgen&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;clocks&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;clock&#45;names&#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/interrupt-controller/irq.h&gt;

afe: mt8186-afe-pcm@11210000 {
    compatible = "mediatek,mt8186-sound";
    reg = &lt;0x11210000 0x2000&gt;;
    interrupts = &lt;GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH&gt;;
    resets = &lt;&amp;watchdog 17&gt;; //MT8186_TOPRGU_AUDIO_SW_RST
    reset-names = "audiosys";
    mediatek,apmixedsys = &lt;&amp;apmixedsys&gt;;
    mediatek,infracfg = &lt;&amp;infracfg&gt;;
    mediatek,topckgen = &lt;&amp;topckgen&gt;;
    clocks = &lt;&amp;infracfg_ao 44&gt;, //CLK_INFRA_AO_AUDIO
             &lt;&amp;infracfg_ao 54&gt;, //CLK_INFRA_AO_AUDIO_26M_BCLK
             &lt;&amp;topckgen 15&gt;, //CLK_TOP_AUDIO
             &lt;&amp;topckgen 16&gt;, //CLK_TOP_AUD_INTBUS
             &lt;&amp;topckgen 70&gt;, //CLK_TOP_MAINPLL_D2_D4
             &lt;&amp;topckgen 17&gt;, //CLK_TOP_AUD_1
             &lt;&amp;apmixedsys 12&gt;, //CLK_APMIXED_APLL1
             &lt;&amp;topckgen 18&gt;, //CLK_TOP_AUD_2
             &lt;&amp;apmixedsys 13&gt;, //CLK_APMIXED_APLL2
             &lt;&amp;topckgen 19&gt;, //CLK_TOP_AUD_ENGEN1
             &lt;&amp;topckgen 101&gt;, //CLK_TOP_APLL1_D8
             &lt;&amp;topckgen 20&gt;, //CLK_TOP_AUD_ENGEN2
             &lt;&amp;topckgen 104&gt;, //CLK_TOP_APLL2_D8
             &lt;&amp;topckgen 63&gt;, //CLK_TOP_APLL_I2S0_MCK_SEL
             &lt;&amp;topckgen 64&gt;, //CLK_TOP_APLL_I2S1_MCK_SEL
             &lt;&amp;topckgen 65&gt;, //CLK_TOP_APLL_I2S2_MCK_SEL
             &lt;&amp;topckgen 66&gt;, //CLK_TOP_APLL_I2S4_MCK_SEL
             &lt;&amp;topckgen 67&gt;, //CLK_TOP_APLL_TDMOUT_MCK_SEL
             &lt;&amp;topckgen 131&gt;, //CLK_TOP_APLL12_CK_DIV0
             &lt;&amp;topckgen 132&gt;, //CLK_TOP_APLL12_CK_DIV1
             &lt;&amp;topckgen 133&gt;, //CLK_TOP_APLL12_CK_DIV2
             &lt;&amp;topckgen 134&gt;, //CLK_TOP_APLL12_CK_DIV4
             &lt;&amp;topckgen 135&gt;, //CLK_TOP_APLL12_CK_DIV_TDMOUT_M
             &lt;&amp;topckgen 44&gt;, //CLK_TOP_AUDIO_H
             &lt;&amp;clk26m&gt;;
    clock-names = "aud_infra_clk",
                  "mtkaif_26m_clk",
                  "top_mux_audio",
                  "top_mux_audio_int",
                  "top_mainpll_d2_d4",
                  "top_mux_aud_1",
                  "top_apll1_ck",
                  "top_mux_aud_2",
                  "top_apll2_ck",
                  "top_mux_aud_eng1",
                  "top_apll1_d8",
                  "top_mux_aud_eng2",
                  "top_apll2_d8",
                  "top_i2s0_m_sel",
                  "top_i2s1_m_sel",
                  "top_i2s2_m_sel",
                  "top_i2s4_m_sel",
                  "top_tdm_m_sel",
                  "top_apll12_div0",
                  "top_apll12_div1",
                  "top_apll12_div2",
                  "top_apll12_div4",
                  "top_apll12_div_tdm",
                  "top_mux_audio_h",
                  "top_clk26m_clk";
    memory-region = &lt;&amp;afe_dma_mem&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>

</details>

---

# Mediatek MT8186 with MT6366, DA7219 and MAX98357 ASoC sound card driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Mediatek MT8186 with MT6366, DA7219 and MAX98357 ASoC sound card driver.

<!-- 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;mt8186&#45;mt6366&#45;da7219&#45;max98357&#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;Jiaxin Yu &#60;jiaxin&#46;yu&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes the MT8186 sound card.</p>
</div>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<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;mt8186&#45;mt6366&#45;da7219&#45;max98357&#45;sound&#34;</code></span>

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5aa48addbfe3befc2051">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source. Valid names could be the input or output widgets of audio components, power supplies, MicBias of codec and the software switch.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-a29f7d323ea232d8bd66"><code>2</code></span>

<a id="dt-5e9e0ead018c0629bb41"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-500d12f0fee987915a09"></a> <span id="dt-9e4d9f5ca49cf444e54b"><code>&#34;HDMI1&#34;</code></span>, <span id="dt-8b51d77363ef6dd115a7"><code>&#34;Headphones&#34;</code></span>, <span id="dt-0d61388e993ec7528d40"><code>&#34;Line Out&#34;</code></span>, <span id="dt-ad3f027d5402d2f51fa3"><code>&#34;MIC&#34;</code></span>, <span id="dt-1ea2038c57d5083c7fc0"><code>&#34;Speakers&#34;</code></span>, <span id="dt-aa467fddd56adb652c07"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-8f56ddae3ab27b31526c"><code>&#34;HPL&#34;</code></span>, <span id="dt-2d9b5d74b93f9dff2280"><code>&#34;HPR&#34;</code></span>, <span id="dt-3c9eee441bb8756e4e74"><code>&#34;Speaker&#34;</code></span>, <span id="dt-35f6a504d7bb82efb22e"><code>&#34;TX&#34;</code></span>

<a id="dt-09a0f0ac36779d63ab90"></a>

### <code>mediatek&#44;platform</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc8671eb529833022ec6">[<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-3b75e139cb66f7cb5c14">
<p style="white-space: pre-wrap">The phandle of MT8186 ASoC platform.</p>
</div>

<a id="dt-1712bbb09854505ea35a"></a>

### <code>headset&#45;codec</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-792f98233d0bf47fa8fb"><code>&#34;object&#34;</code></span>

**Deprecated (<code>deprecated</code>):** <span id="dt-c1e581aa6adf922b4ae2"><code>true</code></span>

<a id="dt-b22f9eea71cec3cbfa48"></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-91c07602c27005787a7e"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-6a4d293056d5fb67cf38"></a>

**<code>sound&#45;dai</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-449943072573e5514e49"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-fdaa54f9fc8229b78fb8"></a> <span id="dt-d3954dea6eac67d2a450"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-64f5fdd35da805af1f17"></a>

### <code>playback&#45;codecs</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-dcc7616585c568125d92"><code>&#34;object&#34;</code></span>

**Deprecated (<code>deprecated</code>):** <span id="dt-d83fa679da612c7d11c5"><code>true</code></span>

<a id="dt-b9bfb813cbd9da9ccfda"></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-536e51830dd1094766d4"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-6cd0a3ba06ddea87dde7"></a>

**<code>sound&#45;dai</code> — required here**

<a id="dt-44d7ff0ac9b5b7dee767"></a>

**Array item rules (<code>items</code>)**

<a id="dt-0782d1d47dba5169db98"></a>

**Item 1**

> <div id="dt-e6878dfda40092a8578c">
> <p style="white-space: pre-wrap">phandle of dp codec</p>
> </div>

<a id="dt-90c46aa458b946b41f33"></a>

**Item 2**

> <div id="dt-76c8a1f2b57feca0c6d6">
> <p style="white-space: pre-wrap">phandle of l channel speaker codec</p>
> </div>

<a id="dt-554872036ba682394dd1"></a>

**Item 3**

> <div id="dt-4f375bf122d3710ae8ae">
> <p style="white-space: pre-wrap">phandle of r channel speaker codec</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-708e70e087b143aa1e1b"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-ab261e0e01ab8d795da7"></a> <span id="dt-8c0fa2fc5e17501e094d"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-19327a0f6ca52fc4f2c6"></a>

### <code>mediatek&#44;adsp</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-039d680699a95bf7ea56">[<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-c23e038b40f205e8a9bd">
<p style="white-space: pre-wrap">The phandle of MT8186 ADSP platform.</p>
</div>

<a id="dt-6d8c2e1cc348b00053b1"></a>

### <code>mediatek&#44;dai&#45;link</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fa1b7b883fc25d9eb0d9">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-7360acce49da10397d42>)</span>

<div id="dt-f02a151e789c41cd4106">
<p style="white-space: pre-wrap">A list of the desired dai-links in the sound card. Each entry is a name defined in the machine driver.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-1835a0317dae1488a052"></a>

### <code>&#46;&#42;&#45;dai&#45;link&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-1a6254090caf95caf53c"><code>&#34;object&#34;</code></span>

<a id="dt-648a771abb8056027ce0"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-1ddc58bbafb86167caab">
<p style="white-space: pre-wrap">Container for dai-link level properties and CODEC sub-nodes.</p>
</div>

<a id="dt-9937d7ae7daaa5558a92"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-f3ff20eb2dcb97d07f08"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-9e8bacbda230fc6c3874">
<p style="white-space: pre-wrap">Indicates dai-link name and PCM stream name</p>
</div>

<a id="dt-e30fb2599a74e5fb77b7"></a>

**Array item rules (<code>items</code>)**

> **Allowed values (<code>enum</code>):** <a id="dt-dad55df4eb7ce4005bc9"></a> <span id="dt-eb904b8882aca4325d80"><code>&#34;I2S0&#34;</code></span>, <span id="dt-78ff06ddf221075b8409"><code>&#34;I2S1&#34;</code></span>, <span id="dt-642a4d4ea6db63ef0956"><code>&#34;I2S2&#34;</code></span>, <span id="dt-6a5ba5bd26e8c05f6501"><code>&#34;I2S3&#34;</code></span>

<a id="dt-c5d0bdf7d32065aee72e"></a>

**<code>codec</code> — not listed as required here**

<div id="dt-390ad724e6e87a8e6f31">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b7834a5ff371f1becdcb"><code>&#34;object&#34;</code></span>

<a id="dt-a476ce8ca86c939806d1"></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-273b21d778eba1efd580"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-0936ce529515b6115195"></a>

**<code>sound&#45;dai</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-6ccb878433c25793bb0f"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-dc3c81446a4d7cfb1282"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-536235ca9a4d730c7439"></a> <span id="dt-006b3194ed20a4b14f0b"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-8798deb9dc5a41c9e07b"></a>

**<code>dai&#45;format</code> — not listed as required here**

<div id="dt-97a8f259e648a9ac77a9">
<p style="white-space: pre-wrap">audio format</p>
</div>

<a id="dt-54e69f644c56463ce836"></a>

**Array item rules (<code>items</code>)**

> **Allowed values (<code>enum</code>):** <a id="dt-1c1295abfbc6b9416b03"></a> <span id="dt-11363b158ba6e383a8c7"><code>&#34;i2s&#34;</code></span>, <span id="dt-9db46f5d0873219c7584"><code>&#34;right&#95;j&#34;</code></span>, <span id="dt-fa26502fd0de322fef3e"><code>&#34;left&#95;j&#34;</code></span>, <span id="dt-665b6d2eab6571de4c45"><code>&#34;dsp&#95;a&#34;</code></span>, <span id="dt-2f3667b07695facc4516"><code>&#34;dsp&#95;b&#34;</code></span>

<a id="dt-99f2faea7f542a13c7ec"></a>

**<code>mediatek&#44;clk&#45;provider</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-adb0b94d65c0a8613606">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-c06c1486bc5f4b628928">
<p style="white-space: pre-wrap">Indicates dai-link clock master.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-1d6ba8ad84e3101d3a45"></a> <span id="dt-94fcaed2902c1c969fbf"><code>&#34;cpu&#34;</code></span>, <span id="dt-3c9f01283911149a1e70"><code>&#34;codec&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-0c473b2dd68c1cb91dd6"></a> <span id="dt-5ada0b495601465325ac"><code>&#34;link&#45;name&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;mediatek&#44;platform&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-3bfe73d6d5d592adab9c"></a>
>
> ### This rule must not match (<code>not</code>)
>
> > <a id="dt-4d5a338468760f7e72c4"></a>
> >
> > #### Properties matching a name pattern (<code>patternProperties</code>)
> >
> > <a id="dt-4c9c9d360ad9ae706349"></a>
> >
> > **<code>&#46;&#42;&#45;dai&#45;link&#36;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-fcccb934efbac73716d7"></a>
>
> #### <code>headset&#45;codec</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-d9283124c6d21d187562"></a>
>
> #### <code>speaker&#45;codecs</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">
sound: mt8186-sound {
    compatible = "mediatek,mt8186-mt6366-da7219-max98357-sound";
    model = "mt8186_da7219_m98357";
    pinctrl-names = "aud_clk_mosi_off",
                    "aud_clk_mosi_on";
    pinctrl-0 = &lt;&amp;aud_clk_mosi_off&gt;;
    pinctrl-1 = &lt;&amp;aud_clk_mosi_on&gt;;
    mediatek,platform = &lt;&amp;afe&gt;;

    audio-routing =
            "Headphones", "HPL",
            "Headphones", "HPR",
            "MIC", "Headset Mic",
            "Speakers", "Speaker",
            "HDMI1", "TX";

    hs-playback-dai-link {
            link-name = "I2S0";
            dai-format = "i2s";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;da7219&gt;;
            };
    };

    hs-capture-dai-link {
            link-name = "I2S1";
            dai-format = "i2s";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;da7219&gt;;
            };
    };

    spk-dp-playback-dai-link {
            link-name = "I2S3";
            dai-format = "i2s";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;anx_bridge_dp&gt;, &lt;&amp;max98357a&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 34:</strong> <span> Sinks</span></p>

<p id="dt-comment-2"><strong>Line 41:</strong> <span> Sources</span></p>

<p id="dt-comment-3"><strong>Line 140:</strong> <span> Disallow legacy properties if xxx-dai-link nodes are specified</span></p>

</details>

---

# Mediatek MT8186 with MT6366, RT1019 and RT5682S ASoC sound card driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Mediatek MT8186 with MT6366, RT1019 and RT5682S ASoC sound card driver.

<!-- 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;mt8186&#45;mt6366&#45;rt1019&#45;rt5682s&#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;Jiaxin Yu &#60;jiaxin&#46;yu&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes the MT8186 sound card.</p>
</div>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<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;mt8186&#45;mt6366&#45;rt1019&#45;rt5682s&#45;sound&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mediatek&#44;mt8186&#45;mt6366&#45;rt5682s&#45;max98360&#45;sound&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;mediatek&#44;mt8186&#45;mt6366&#45;rt5650&#45;sound&#34;</code></span>

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5aa48addbfe3befc2051">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source. Valid names could be the input or output widgets of audio components, power supplies, MicBias of codec and the software switch.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-a29f7d323ea232d8bd66"><code>2</code></span>

<a id="dt-5e9e0ead018c0629bb41"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-500d12f0fee987915a09"></a> <span id="dt-9e4d9f5ca49cf444e54b"><code>&#34;HDMI1&#34;</code></span>, <span id="dt-8b51d77363ef6dd115a7"><code>&#34;Headphone&#34;</code></span>, <span id="dt-0d61388e993ec7528d40"><code>&#34;IN1P&#34;</code></span>, <span id="dt-ad3f027d5402d2f51fa3"><code>&#34;IN1N&#34;</code></span>, <span id="dt-1ea2038c57d5083c7fc0"><code>&#34;Line Out&#34;</code></span>, <span id="dt-aa467fddd56adb652c07"><code>&#34;Speakers&#34;</code></span>, <span id="dt-8f56ddae3ab27b31526c"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-2d9b5d74b93f9dff2280"><code>&#34;HPOL&#34;</code></span>, <span id="dt-3c9eee441bb8756e4e74"><code>&#34;HPOR&#34;</code></span>, <span id="dt-35f6a504d7bb82efb22e"><code>&#34;Speaker&#34;</code></span>, <span id="dt-90b20df532376c042151"><code>&#34;SPOL&#34;</code></span>, <span id="dt-27ba4b2d08528afd8bec"><code>&#34;SPOR&#34;</code></span>, <span id="dt-3cb8e461a79e2e5e40a8"><code>&#34;TX&#34;</code></span>

<a id="dt-09a0f0ac36779d63ab90"></a>

### <code>mediatek&#44;platform</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc8671eb529833022ec6">[<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-3b75e139cb66f7cb5c14">
<p style="white-space: pre-wrap">The phandle of MT8186 ASoC platform.</p>
</div>

<a id="dt-1cc60de1d21e8448bd17"></a>

### <code>dmic&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-2f2f09cc69c4ce5a70e1"><code>1</code></span>

<div id="dt-4e5bb588aae411d98f91">
<p style="white-space: pre-wrap">dmic-gpios optional prop for switching between two DMICs. Ex, the GPIO can control a MUX HW component to select dmic clk and data form a Front or Rear dmic.</p>
</div>

<a id="dt-1712bbb09854505ea35a"></a>

### <code>headset&#45;codec</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-792f98233d0bf47fa8fb"><code>&#34;object&#34;</code></span>

**Deprecated (<code>deprecated</code>):** <span id="dt-c1e581aa6adf922b4ae2"><code>true</code></span>

<a id="dt-b22f9eea71cec3cbfa48"></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-91c07602c27005787a7e"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-6a4d293056d5fb67cf38"></a>

**<code>sound&#45;dai</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-449943072573e5514e49"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-fdaa54f9fc8229b78fb8"></a> <span id="dt-d3954dea6eac67d2a450"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-64f5fdd35da805af1f17"></a>

### <code>playback&#45;codecs</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-dcc7616585c568125d92"><code>&#34;object&#34;</code></span>

**Deprecated (<code>deprecated</code>):** <span id="dt-d83fa679da612c7d11c5"><code>true</code></span>

<a id="dt-b9bfb813cbd9da9ccfda"></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-536e51830dd1094766d4"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-6cd0a3ba06ddea87dde7"></a>

**<code>sound&#45;dai</code> — required here**

<a id="dt-44d7ff0ac9b5b7dee767"></a>

**Array item rules (<code>items</code>)**

<a id="dt-0782d1d47dba5169db98"></a>

**Item 1**

> <div id="dt-e6878dfda40092a8578c">
> <p style="white-space: pre-wrap">phandle of dp codec</p>
> </div>

<a id="dt-90c46aa458b946b41f33"></a>

**Item 2**

> <div id="dt-76c8a1f2b57feca0c6d6">
> <p style="white-space: pre-wrap">phandle of l channel speaker codec</p>
> </div>

<a id="dt-554872036ba682394dd1"></a>

**Item 3**

> <div id="dt-4f375bf122d3710ae8ae">
> <p style="white-space: pre-wrap">phandle of r channel speaker codec</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-708e70e087b143aa1e1b"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-ab261e0e01ab8d795da7"></a> <span id="dt-8c0fa2fc5e17501e094d"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-19327a0f6ca52fc4f2c6"></a>

### <code>mediatek&#44;adsp</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-039d680699a95bf7ea56">[<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-c23e038b40f205e8a9bd">
<p style="white-space: pre-wrap">The phandle of MT8186 ADSP platform.</p>
</div>

<a id="dt-6d8c2e1cc348b00053b1"></a>

### <code>mediatek&#44;dai&#45;link</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fa1b7b883fc25d9eb0d9">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-7360acce49da10397d42>)</span>

<div id="dt-f02a151e789c41cd4106">
<p style="white-space: pre-wrap">A list of the desired dai-links in the sound card. Each entry is a name defined in the machine driver.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-1835a0317dae1488a052"></a>

### <code>&#46;&#42;&#45;dai&#45;link&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-1a6254090caf95caf53c"><code>&#34;object&#34;</code></span>

<a id="dt-648a771abb8056027ce0"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-1ddc58bbafb86167caab">
<p style="white-space: pre-wrap">Container for dai-link level properties and CODEC sub-nodes.</p>
</div>

<a id="dt-9937d7ae7daaa5558a92"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-f3ff20eb2dcb97d07f08"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-9e8bacbda230fc6c3874">
<p style="white-space: pre-wrap">Indicates dai-link name and PCM stream name</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-89db63b45638e69f793e"></a> <span id="dt-f7a2f33cd994c9478f7b"><code>&#34;I2S0&#34;</code></span>, <span id="dt-96faa4709a4d5db246ec"><code>&#34;I2S1&#34;</code></span>, <span id="dt-5890b3df19c888f85dbe"><code>&#34;I2S2&#34;</code></span>, <span id="dt-51cc37960a458529a8fa"><code>&#34;I2S3&#34;</code></span>

<a id="dt-c5d0bdf7d32065aee72e"></a>

**<code>codec</code> — not listed as required here**

<div id="dt-390ad724e6e87a8e6f31">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b7834a5ff371f1becdcb"><code>&#34;object&#34;</code></span>

<a id="dt-a476ce8ca86c939806d1"></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-273b21d778eba1efd580"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-0936ce529515b6115195"></a>

**<code>sound&#45;dai</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-6ccb878433c25793bb0f"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-dc3c81446a4d7cfb1282"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-536235ca9a4d730c7439"></a> <span id="dt-006b3194ed20a4b14f0b"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-8798deb9dc5a41c9e07b"></a>

**<code>dai&#45;format</code> — not listed as required here**

<div id="dt-97a8f259e648a9ac77a9">
<p style="white-space: pre-wrap">audio format</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-700bf66ca61a5272343d"></a> <span id="dt-995b4abe6c382caee91d"><code>&#34;i2s&#34;</code></span>, <span id="dt-69789a608990cef25361"><code>&#34;right&#95;j&#34;</code></span>, <span id="dt-3ac6a40cfbcd8e0ec4f3"><code>&#34;left&#95;j&#34;</code></span>, <span id="dt-21aaa216da6c02d3f29f"><code>&#34;dsp&#95;a&#34;</code></span>, <span id="dt-14a09a33b87fdfcfb8fe"><code>&#34;dsp&#95;b&#34;</code></span>

<a id="dt-99f2faea7f542a13c7ec"></a>

**<code>mediatek&#44;clk&#45;provider</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-adb0b94d65c0a8613606">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-c06c1486bc5f4b628928">
<p style="white-space: pre-wrap">Indicates dai-link clock master.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-1d6ba8ad84e3101d3a45"></a> <span id="dt-94fcaed2902c1c969fbf"><code>&#34;cpu&#34;</code></span>, <span id="dt-3c9f01283911149a1e70"><code>&#34;codec&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-0c473b2dd68c1cb91dd6"></a> <span id="dt-5ada0b495601465325ac"><code>&#34;link&#45;name&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;mediatek&#44;platform&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-3bfe73d6d5d592adab9c"></a>
>
> ### This rule must not match (<code>not</code>)
>
> > <a id="dt-4d5a338468760f7e72c4"></a>
> >
> > #### Properties matching a name pattern (<code>patternProperties</code>)
> >
> > <a id="dt-4c9c9d360ad9ae706349"></a>
> >
> > **<code>&#46;&#42;&#45;dai&#45;link&#36;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-fcccb934efbac73716d7"></a>
>
> #### <code>headset&#45;codec</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-d9283124c6d21d187562"></a>
>
> #### <code>speaker&#45;codecs</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;

sound: mt8186-sound {
    compatible = "mediatek,mt8186-mt6366-rt1019-rt5682s-sound";
    model = "mt8186_rt1019_rt5682s";
    pinctrl-names = "aud_clk_mosi_off",
                    "aud_clk_mosi_on",
                    "aud_gpio_dmic_sec";
    pinctrl-0 = &lt;&amp;aud_clk_mosi_off&gt;;
    pinctrl-1 = &lt;&amp;aud_clk_mosi_on&gt;;
    pinctrl-2 = &lt;&amp;aud_gpio_dmic_sec&gt;;
    mediatek,platform = &lt;&amp;afe&gt;;

    dmic-gpios = &lt;&amp;pio 23 GPIO_ACTIVE_HIGH&gt;;

    audio-routing =
            "Headphone", "HPOL",
            "Headphone", "HPOR",
            "IN1P", "Headset Mic",
            "Speakers", "Speaker",
            "HDMI1", "TX";

    hs-playback-dai-link {
            link-name = "I2S0";
            dai-format = "i2s";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;rt5682s 0&gt;;
            };
    };

    hs-capture-dai-link {
            link-name = "I2S1";
            dai-format = "i2s";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;rt5682s 0&gt;;
            };
    };

    spk-hdmi-playback-dai-link {
            link-name = "I2S3";
            dai-format = "i2s";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;it6505dptx&gt;, &lt;&amp;rt1019p&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 36:</strong> <span> Sinks</span></p>

<p id="dt-comment-2"><strong>Line 44:</strong> <span> Sources</span></p>

<p id="dt-comment-3"><strong>Line 139:</strong> <span> Disallow legacy properties if xxx-dai-link nodes are specified</span></p>

</details>

---

# Mediatek AFE PCM controller for mt8192

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Mediatek AFE PCM controller for mt8192.

<!-- 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;mt8192&#45;afe&#45;pcm&#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;Jiaxin Yu &#60;jiaxin&#46;yu&#64;mediatek&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Shane Chien &#60;shane&#46;chien&#64;mediatek&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt8192&#45;audio&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-fc45b57fcd1ba81d2c64"><code>&#34;audiosys&#34;</code></span>

<a id="dt-b17dfbf4ae4b8a915685"></a>

### <code>memory&#45;region</code> — not listed as required here

<div id="dt-b794f979757a4fadd5eb">
<p style="white-space: pre-wrap">memory region for audio DMA buffers</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-95525a6e584a49d9aba7"><code>1</code></span>

<a id="dt-a427532298f2db2cf04d"></a>

### <code>mediatek&#44;apmixedsys</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-660478c3e78dc8d7d00c">[<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-f00347913f772c713a9d">
<p style="white-space: pre-wrap">The phandle of the mediatek apmixedsys controller</p>
</div>

<a id="dt-6d2fc48bcdc5d6d7b13f"></a>

### <code>mediatek&#44;infracfg</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5ff507f1ac9abdd8528a">[<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-39d6cddb953119cdf7fa">
<p style="white-space: pre-wrap">The phandle of the mediatek infracfg controller</p>
</div>

<a id="dt-d04808db52e44fcc9a97"></a>

### <code>mediatek&#44;topckgen</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fe7d54b0c419e2da2170">[<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-df5a2b57073fb3c903f2">
<p style="white-space: pre-wrap">The phandle of the mediatek topckgen controller</p>
</div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">AFE clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">ADDA DAC clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">ADDA DAC pre-distortion clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">ADDA ADC clock</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">ADDA6 ADC clock</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">Audio low-jitter 22.5792m clock</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">Audio low-jitter 24.576m clock</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">Audio PLL1 tuner clock</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">Audio PLL2 tuner clock</p>
> </div>

<a id="dt-de0b3dfcbfe00e590e15"></a>

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">Audio Time-Division Multiplexing interface clock</p>
> </div>

<a id="dt-b0d2fe433bb8ee085f99"></a>

**Item 11**

> <div id="dt-ce56df8912b8f8ea9536">
> <p style="white-space: pre-wrap">ADDA ADC Sine Generator clock</p>
> </div>

<a id="dt-3a6e19bd8f81a7da76c2"></a>

**Item 12**

> <div id="dt-59b5f0b6f9a554d62511">
> <p style="white-space: pre-wrap">audio Non-LE clock</p>
> </div>

<a id="dt-8e906a1743e2e27755ed"></a>

**Item 13**

> <div id="dt-49b874689c816ad2fa14">
> <p style="white-space: pre-wrap">Audio DAC High-Resolution clock</p>
> </div>

<a id="dt-fe3c37c81e1849a78032"></a>

**Item 14**

> <div id="dt-2b75119ffade7942520a">
> <p style="white-space: pre-wrap">Audio High-Resolution ADC clock</p>
> </div>

<a id="dt-14f773a82ee886225e05"></a>

**Item 15**

> <div id="dt-cbed695014bc5661b8b3">
> <p style="white-space: pre-wrap">Audio High-Resolution ADC SineGen clock</p>
> </div>

<a id="dt-01b1acd7cf60bc2a547e"></a>

**Item 16**

> <div id="dt-f4317f7c0b52c4075869">
> <p style="white-space: pre-wrap">Audio ADDA6 High-Resolution ADC clock</p>
> </div>

<a id="dt-9e45f9cd6331f6f32d7d"></a>

**Item 17**

> <div id="dt-c2ce061dc22b7437b4ac">
> <p style="white-space: pre-wrap">Tertiary ADDA DAC clock</p>
> </div>

<a id="dt-0c374342383cc0534ef7"></a>

**Item 18**

> <div id="dt-1779d8c60d3b793ef0ac">
> <p style="white-space: pre-wrap">Tertiary ADDA DAC pre-distortion clock</p>
> </div>

<a id="dt-2d5ab55778bca2202391"></a>

**Item 19**

> <div id="dt-88b79a2550af1cd7d22d">
> <p style="white-space: pre-wrap">Tertiary ADDA DAC Sine Generator clock</p>
> </div>

<a id="dt-b8475f8348ffecc79be0"></a>

**Item 20**

> <div id="dt-cd73aaeed577212ee047">
> <p style="white-space: pre-wrap">Tertiary ADDA DAC High-Resolution clock</p>
> </div>

<a id="dt-0d785ace18e509062062"></a>

**Item 21**

> <div id="dt-beb43333225d10759d00">
> <p style="white-space: pre-wrap">Audio infra sys clock</p>
> </div>

<a id="dt-e87aff203c1f37b43499"></a>

**Item 22**

> <div id="dt-2712c551ec5f33f6958b">
> <p style="white-space: pre-wrap">Audio infra 26M clock</p>
> </div>

<a id="dt-b33caf824d92e02304f9"></a>

**Item 23**

> <div id="dt-72a4614eab774463e189">
> <p style="white-space: pre-wrap">Mux for audio clock</p>
> </div>

<a id="dt-2c59281712d440785ca8"></a>

**Item 24**

> <div id="dt-dc7a5fd9c7621c7c8d91">
> <p style="white-space: pre-wrap">Mux for audio internal bus clock</p>
> </div>

<a id="dt-6a7f52d490a84eb90153"></a>

**Item 25**

> <div id="dt-27a16474afdb0b8368a4">
> <p style="white-space: pre-wrap">Mux main divider by 4</p>
> </div>

<a id="dt-5237dd1764e016b57519"></a>

**Item 26**

> <div id="dt-2cada27cfebbe2df67d4">
> <p style="white-space: pre-wrap">Primary audio mux</p>
> </div>

<a id="dt-81dbe98ae83101d78a58"></a>

**Item 27**

> <div id="dt-e1c0c1c625bd73d1561d">
> <p style="white-space: pre-wrap">Primary audio PLL</p>
> </div>

<a id="dt-9cc194233d8d0f03a220"></a>

**Item 28**

> <div id="dt-abb3aa585c3d987297a4">
> <p style="white-space: pre-wrap">Secondary audio mux</p>
> </div>

<a id="dt-879d4dc2b947defa16ba"></a>

**Item 29**

> <div id="dt-9e1f94b7638f5f0a7ab1">
> <p style="white-space: pre-wrap">Secondary audio PLL</p>
> </div>

<a id="dt-eef937276277e69b050d"></a>

**Item 30**

> <div id="dt-f6f8a05d85d00af10b19">
> <p style="white-space: pre-wrap">Primary audio en-generator clock</p>
> </div>

<a id="dt-bc99d84b9ddecd58694f"></a>

**Item 31**

> <div id="dt-1d3094d6f7be2c424474">
> <p style="white-space: pre-wrap">Primary PLL divider by 4 for IEC</p>
> </div>

<a id="dt-a198064281fa58229e55"></a>

**Item 32**

> <div id="dt-7b99b3c8f993c18193a0">
> <p style="white-space: pre-wrap">Secondary audio en-generator clock</p>
> </div>

<a id="dt-a166b3bb8ec4cbe73eaf"></a>

**Item 33**

> <div id="dt-e4c4bae4333315316102">
> <p style="white-space: pre-wrap">Secondary PLL divider by 4 for IEC</p>
> </div>

<a id="dt-78f2e43d1f095dd5659c"></a>

**Item 34**

> <div id="dt-bbb2677095a5c75f9b4a">
> <p style="white-space: pre-wrap">Mux selector for I2S port 0</p>
> </div>

<a id="dt-6ae3a2dbf41a0b76e73f"></a>

**Item 35**

> <div id="dt-6175e36dbd3935660e00">
> <p style="white-space: pre-wrap">Mux selector for I2S port 1</p>
> </div>

<a id="dt-06d6f39c9de43350cea1"></a>

**Item 36**

> <div id="dt-c46696eccf9f09c1f206">
> <p style="white-space: pre-wrap">Mux selector for I2S port 2</p>
> </div>

<a id="dt-ce1c437cfe8a9efdbf7b"></a>

**Item 37**

> <div id="dt-68994b206d14c4288d6b">
> <p style="white-space: pre-wrap">Mux selector for I2S port 3</p>
> </div>

<a id="dt-86dc5e43b6f5a1ec9c6b"></a>

**Item 38**

> <div id="dt-ae3e19332703e38fca41">
> <p style="white-space: pre-wrap">Mux selector for I2S port 4</p>
> </div>

<a id="dt-141e0ed2c9cea13458ed"></a>

**Item 39**

> <div id="dt-6321da0ec7c5b4614834">
> <p style="white-space: pre-wrap">Mux selector for I2S port 5</p>
> </div>

<a id="dt-287f4e6c16d5aa52ff0b"></a>

**Item 40**

> <div id="dt-b119e371ba58c3be5276">
> <p style="white-space: pre-wrap">Mux selector for I2S port 6</p>
> </div>

<a id="dt-634d51f6b4d9db243eea"></a>

**Item 41**

> <div id="dt-c2b98a00c19e9ce727c6">
> <p style="white-space: pre-wrap">Mux selector for I2S port 7</p>
> </div>

<a id="dt-53a91fc8863ba68bdaf5"></a>

**Item 42**

> <div id="dt-fb8716ebdd8e14409e71">
> <p style="white-space: pre-wrap">Mux selector for I2S port 8</p>
> </div>

<a id="dt-4b0d41e331d5fd4d5689"></a>

**Item 43**

> <div id="dt-4181f9faf4091acb6dc0">
> <p style="white-space: pre-wrap">Mux selector for I2S port 9</p>
> </div>

<a id="dt-2895e611852737f7cee9"></a>

**Item 44**

> <div id="dt-20ce9e968aeb3656a39c">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 0</p>
> </div>

<a id="dt-2679da0758b2ab6d4ac8"></a>

**Item 45**

> <div id="dt-f208f0b3638d54ed6034">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 1</p>
> </div>

<a id="dt-c4dac797a7dd2a2d9843"></a>

**Item 46**

> <div id="dt-1e7357f1e53aead24ae0">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 2</p>
> </div>

<a id="dt-aa45b9819a8dd1737d1b"></a>

**Item 47**

> <div id="dt-19dd9e0bf831487a1a1d">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 3</p>
> </div>

<a id="dt-e434293ec9af8cf7e504"></a>

**Item 48**

> <div id="dt-0b8e98c6fa99178aefd6">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 4</p>
> </div>

<a id="dt-5a005d33c82a1ce3ac4c"></a>

**Item 49**

> <div id="dt-d4bd2ecd30be9a2d0070">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for IEC</p>
> </div>

<a id="dt-1b1eb440df7c6f37097a"></a>

**Item 50**

> <div id="dt-35fb9522dbe520ec8698">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 5</p>
> </div>

<a id="dt-8d47ae55c453ef81b8f1"></a>

**Item 51**

> <div id="dt-9767d308d8f246feb016">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 6</p>
> </div>

<a id="dt-43a96ac652466674290c"></a>

**Item 52**

> <div id="dt-3af6af26f49e2525e1b5">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 7</p>
> </div>

<a id="dt-4efefe51bb59b4a2d596"></a>

**Item 53**

> <div id="dt-13a87017da3de4025e07">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 8</p>
> </div>

<a id="dt-aced924562906d296123"></a>

**Item 54**

> <div id="dt-664ebd5f53347350fa60">
> <p style="white-space: pre-wrap">APLL1 and APLL2 divider for I2S port 9</p>
> </div>

<a id="dt-0b411c5f2786dc95a1ad"></a>

**Item 55**

> <div id="dt-1b9a89c2913c07de7935">
> <p style="white-space: pre-wrap">Top mux for audio subsystem</p>
> </div>

<a id="dt-d6143b3fa6f273332c03"></a>

**Item 56**

> <div id="dt-76deffaed26099635090">
> <p style="white-space: pre-wrap">26MHz clock for audio subsystem</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;aud&#95;afe&#95;clk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;aud&#95;dac&#95;clk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;aud&#95;dac&#95;predis&#95;clk&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;aud&#95;adc&#95;clk&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;aud&#95;adda6&#95;adc&#95;clk&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;aud&#95;apll22m&#95;clk&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;aud&#95;apll24m&#95;clk&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;aud&#95;apll1&#95;tuner&#95;clk&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;aud&#95;apll2&#95;tuner&#95;clk&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;aud&#95;tdm&#95;clk&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;aud&#95;tml&#95;clk&#34;</code></span>

<a id="dt-cdc319b61e94b611f980"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-0bf4d52880d7237bb9a0"><code>&#34;aud&#95;nle&#34;</code></span>

<a id="dt-84e94039e1444899d32b"></a>

**Item 13**

> **Exact value (<code>const</code>):** <span id="dt-cb97b2b1a01193c507c3"><code>&#34;aud&#95;dac&#95;hires&#95;clk&#34;</code></span>

<a id="dt-cec2301424e740164358"></a>

**Item 14**

> **Exact value (<code>const</code>):** <span id="dt-84a2d508145b3e25748a"><code>&#34;aud&#95;adc&#95;hires&#95;clk&#34;</code></span>

<a id="dt-75757bcd29a681ee94ff"></a>

**Item 15**

> **Exact value (<code>const</code>):** <span id="dt-5e8c2707ae3de3353963"><code>&#34;aud&#95;adc&#95;hires&#95;tml&#34;</code></span>

<a id="dt-f7409b923819861cb90a"></a>

**Item 16**

> **Exact value (<code>const</code>):** <span id="dt-a0c9f04edd8a35b52752"><code>&#34;aud&#95;adda6&#95;adc&#95;hires&#95;clk&#34;</code></span>

<a id="dt-370fe5428f7d74c8ed62"></a>

**Item 17**

> **Exact value (<code>const</code>):** <span id="dt-cbc469a8adba31605a23"><code>&#34;aud&#95;3rd&#95;dac&#95;clk&#34;</code></span>

<a id="dt-e978694a7c7575946d55"></a>

**Item 18**

> **Exact value (<code>const</code>):** <span id="dt-428e37f333596c3dfc63"><code>&#34;aud&#95;3rd&#95;dac&#95;predis&#95;clk&#34;</code></span>

<a id="dt-8a0f8fc786dcd0abe09e"></a>

**Item 19**

> **Exact value (<code>const</code>):** <span id="dt-d60cc0e248487928a624"><code>&#34;aud&#95;3rd&#95;dac&#95;tml&#34;</code></span>

<a id="dt-16e8e864c357f893b4a9"></a>

**Item 20**

> **Exact value (<code>const</code>):** <span id="dt-21822817d4fdd9cd5e0c"><code>&#34;aud&#95;3rd&#95;dac&#95;hires&#95;clk&#34;</code></span>

<a id="dt-5dfa27a51d10cff62c09"></a>

**Item 21**

> **Exact value (<code>const</code>):** <span id="dt-3d08bef97571353ac345"><code>&#34;aud&#95;infra&#95;clk&#34;</code></span>

<a id="dt-a07bf378db4ff670158f"></a>

**Item 22**

> **Exact value (<code>const</code>):** <span id="dt-a5783ddb99d8cd030366"><code>&#34;aud&#95;infra&#95;26m&#95;clk&#34;</code></span>

<a id="dt-2406fe39d7286c67e6d3"></a>

**Item 23**

> **Exact value (<code>const</code>):** <span id="dt-56fe018e15025d4ce718"><code>&#34;top&#95;mux&#95;audio&#34;</code></span>

<a id="dt-b101dd7135732313795b"></a>

**Item 24**

> **Exact value (<code>const</code>):** <span id="dt-2efa153c048b35780553"><code>&#34;top&#95;mux&#95;audio&#95;int&#34;</code></span>

<a id="dt-3f79f6eb06fac68dee3b"></a>

**Item 25**

> **Exact value (<code>const</code>):** <span id="dt-9fa53339f042dfc2237c"><code>&#34;top&#95;mainpll&#95;d4&#95;d4&#34;</code></span>

<a id="dt-6d13737d824ff9447909"></a>

**Item 26**

> **Exact value (<code>const</code>):** <span id="dt-09d0dc73d8e9b3e8ca5d"><code>&#34;top&#95;mux&#95;aud&#95;1&#34;</code></span>

<a id="dt-de9b587343aaa078c0df"></a>

**Item 27**

> **Exact value (<code>const</code>):** <span id="dt-57951e3053b75ef7527f"><code>&#34;top&#95;apll1&#95;ck&#34;</code></span>

<a id="dt-eb69444d0b41650c9fbb"></a>

**Item 28**

> **Exact value (<code>const</code>):** <span id="dt-7d3c2a66e75e5ecd0294"><code>&#34;top&#95;mux&#95;aud&#95;2&#34;</code></span>

<a id="dt-bbb1e9058f53a8c4c899"></a>

**Item 29**

> **Exact value (<code>const</code>):** <span id="dt-f53bce89a29ae245b2de"><code>&#34;top&#95;apll2&#95;ck&#34;</code></span>

<a id="dt-051f2407b370fa369a2b"></a>

**Item 30**

> **Exact value (<code>const</code>):** <span id="dt-05665c3be7d14eb62219"><code>&#34;top&#95;mux&#95;aud&#95;eng1&#34;</code></span>

<a id="dt-077a452fa6d444dffc06"></a>

**Item 31**

> **Exact value (<code>const</code>):** <span id="dt-f6cae65bbf0c74dc6aff"><code>&#34;top&#95;apll1&#95;d4&#34;</code></span>

<a id="dt-6b1e94c8b476774e89e7"></a>

**Item 32**

> **Exact value (<code>const</code>):** <span id="dt-fd80d1b8896139656f4c"><code>&#34;top&#95;mux&#95;aud&#95;eng2&#34;</code></span>

<a id="dt-2f3511fcabd2d7c14739"></a>

**Item 33**

> **Exact value (<code>const</code>):** <span id="dt-1a1f325b8cb0a69826bd"><code>&#34;top&#95;apll2&#95;d4&#34;</code></span>

<a id="dt-acb86760b2c8dd3d0e16"></a>

**Item 34**

> **Exact value (<code>const</code>):** <span id="dt-4e5df40d8bc2009bda9f"><code>&#34;top&#95;i2s0&#95;m&#95;sel&#34;</code></span>

<a id="dt-f8ca7f2fb2d0a9bef9e2"></a>

**Item 35**

> **Exact value (<code>const</code>):** <span id="dt-8176f845e4ab6f76c29f"><code>&#34;top&#95;i2s1&#95;m&#95;sel&#34;</code></span>

<a id="dt-2cb6042e74d8b764459b"></a>

**Item 36**

> **Exact value (<code>const</code>):** <span id="dt-48e6873b17e490b1c971"><code>&#34;top&#95;i2s2&#95;m&#95;sel&#34;</code></span>

<a id="dt-a332bcda0e39f66f3d2d"></a>

**Item 37**

> **Exact value (<code>const</code>):** <span id="dt-b271339eb8314fee466b"><code>&#34;top&#95;i2s3&#95;m&#95;sel&#34;</code></span>

<a id="dt-7f5272b5afbc3507d249"></a>

**Item 38**

> **Exact value (<code>const</code>):** <span id="dt-721c05ef1958a09e85a8"><code>&#34;top&#95;i2s4&#95;m&#95;sel&#34;</code></span>

<a id="dt-784fe894f02f9d07edfa"></a>

**Item 39**

> **Exact value (<code>const</code>):** <span id="dt-8082dfd80173001825c1"><code>&#34;top&#95;i2s5&#95;m&#95;sel&#34;</code></span>

<a id="dt-4a3c8882af47f23d68b3"></a>

**Item 40**

> **Exact value (<code>const</code>):** <span id="dt-badf1ca31c448e28399f"><code>&#34;top&#95;i2s6&#95;m&#95;sel&#34;</code></span>

<a id="dt-597582f16db93657cfc2"></a>

**Item 41**

> **Exact value (<code>const</code>):** <span id="dt-0f05f6d60c1d5bc016ab"><code>&#34;top&#95;i2s7&#95;m&#95;sel&#34;</code></span>

<a id="dt-0774d8daa5211b4add7d"></a>

**Item 42**

> **Exact value (<code>const</code>):** <span id="dt-131f9a73a841d2bb7c2e"><code>&#34;top&#95;i2s8&#95;m&#95;sel&#34;</code></span>

<a id="dt-5d3e21134c7a45970406"></a>

**Item 43**

> **Exact value (<code>const</code>):** <span id="dt-8c1a638906bdbab2b331"><code>&#34;top&#95;i2s9&#95;m&#95;sel&#34;</code></span>

<a id="dt-4709ff79c375fea41f03"></a>

**Item 44**

> **Exact value (<code>const</code>):** <span id="dt-17fd3a871741bfdef5f4"><code>&#34;top&#95;apll12&#95;div0&#34;</code></span>

<a id="dt-3f2509af51e5e055d48a"></a>

**Item 45**

> **Exact value (<code>const</code>):** <span id="dt-ad6e8c96933b6549a0fc"><code>&#34;top&#95;apll12&#95;div1&#34;</code></span>

<a id="dt-c1c6d178ce6aa13226a4"></a>

**Item 46**

> **Exact value (<code>const</code>):** <span id="dt-5e60ad1b4c9e6f30c597"><code>&#34;top&#95;apll12&#95;div2&#34;</code></span>

<a id="dt-6f444b3a12bb6bcf3bfa"></a>

**Item 47**

> **Exact value (<code>const</code>):** <span id="dt-449bbf8d1f873a3b7f50"><code>&#34;top&#95;apll12&#95;div3&#34;</code></span>

<a id="dt-c2be3ab09a2ac461cafb"></a>

**Item 48**

> **Exact value (<code>const</code>):** <span id="dt-5ea612fa9475e83b046e"><code>&#34;top&#95;apll12&#95;div4&#34;</code></span>

<a id="dt-112b02eca6ede703e91d"></a>

**Item 49**

> **Exact value (<code>const</code>):** <span id="dt-9beb06b39ae81029c06c"><code>&#34;top&#95;apll12&#95;divb&#34;</code></span>

<a id="dt-c88b8c1d8343793ab57e"></a>

**Item 50**

> **Exact value (<code>const</code>):** <span id="dt-35ac693dd64f5abbe7a5"><code>&#34;top&#95;apll12&#95;div5&#34;</code></span>

<a id="dt-5cd1b7eba6be453b884b"></a>

**Item 51**

> **Exact value (<code>const</code>):** <span id="dt-9cfacf8897ec3f810c13"><code>&#34;top&#95;apll12&#95;div6&#34;</code></span>

<a id="dt-530fefccda8e75950a60"></a>

**Item 52**

> **Exact value (<code>const</code>):** <span id="dt-c42caf1f7e50b520fa5b"><code>&#34;top&#95;apll12&#95;div7&#34;</code></span>

<a id="dt-cb28c45fae481c09799a"></a>

**Item 53**

> **Exact value (<code>const</code>):** <span id="dt-e49a31d8761934ebc079"><code>&#34;top&#95;apll12&#95;div8&#34;</code></span>

<a id="dt-2be8c397f8e6a0fa4a13"></a>

**Item 54**

> **Exact value (<code>const</code>):** <span id="dt-2f51dcc89004764e12c5"><code>&#34;top&#95;apll12&#95;div9&#34;</code></span>

<a id="dt-299baeb0ad6f542cc527"></a>

**Item 55**

> **Exact value (<code>const</code>):** <span id="dt-03adef8496060cbe24a2"><code>&#34;top&#95;mux&#95;audio&#95;h&#34;</code></span>

<a id="dt-e7fe0c2a4f207b800bc5"></a>

**Item 56**

> **Exact value (<code>const</code>):** <span id="dt-adc6513077b9becbdc8a"><code>&#34;top&#95;clk26m&#95;clk&#34;</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;resets&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;mediatek&#44;apmixedsys&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;mediatek&#44;infracfg&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;mediatek&#44;topckgen&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;clocks&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;clock&#45;names&#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/clock/mt8192-clk.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/power/mt8192-power.h&gt;
#include &lt;dt-bindings/reset/mt8192-resets.h&gt;

afe: mt8192-afe-pcm {
    compatible = "mediatek,mt8192-audio";
    interrupts = &lt;GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;audsys CLK_AUD_AFE&gt;, &lt;&amp;audsys CLK_AUD_DAC&gt;,
             &lt;&amp;audsys CLK_AUD_DAC_PREDIS&gt;, &lt;&amp;audsys CLK_AUD_ADC&gt;,
             &lt;&amp;audsys CLK_AUD_ADDA6_ADC&gt;, &lt;&amp;audsys CLK_AUD_22M&gt;,
             &lt;&amp;audsys CLK_AUD_24M&gt;, &lt;&amp;audsys CLK_AUD_APLL_TUNER&gt;,
             &lt;&amp;audsys CLK_AUD_APLL2_TUNER&gt;, &lt;&amp;audsys CLK_AUD_TDM&gt;,
             &lt;&amp;audsys CLK_AUD_TML&gt;, &lt;&amp;audsys CLK_AUD_NLE&gt;,
             &lt;&amp;audsys CLK_AUD_DAC_HIRES&gt;, &lt;&amp;audsys CLK_AUD_ADC_HIRES&gt;,
             &lt;&amp;audsys CLK_AUD_ADC_HIRES_TML&gt;, &lt;&amp;audsys CLK_AUD_ADDA6_ADC_HIRES&gt;,
             &lt;&amp;audsys CLK_AUD_3RD_DAC&gt;, &lt;&amp;audsys CLK_AUD_3RD_DAC_PREDIS&gt;,
             &lt;&amp;audsys CLK_AUD_3RD_DAC_TML&gt;, &lt;&amp;audsys CLK_AUD_3RD_DAC_HIRES&gt;,
             &lt;&amp;infracfg CLK_INFRA_AUDIO&gt;, &lt;&amp;infracfg CLK_INFRA_AUDIO_26M_B&gt;,
             &lt;&amp;topckgen CLK_TOP_AUDIO_SEL&gt;, &lt;&amp;topckgen CLK_TOP_AUD_INTBUS_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_MAINPLL_D4_D4&gt;, &lt;&amp;topckgen CLK_TOP_AUD_1_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL1&gt;, &lt;&amp;topckgen CLK_TOP_AUD_2_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL2&gt;, &lt;&amp;topckgen CLK_TOP_AUD_ENGEN1_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL1_D4&gt;, &lt;&amp;topckgen CLK_TOP_AUD_ENGEN2_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL2_D4&gt;, &lt;&amp;topckgen CLK_TOP_APLL_I2S0_M_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL_I2S1_M_SEL&gt;, &lt;&amp;topckgen CLK_TOP_APLL_I2S2_M_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL_I2S3_M_SEL&gt;, &lt;&amp;topckgen CLK_TOP_APLL_I2S4_M_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL_I2S5_M_SEL&gt;, &lt;&amp;topckgen CLK_TOP_APLL_I2S6_M_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL_I2S7_M_SEL&gt;, &lt;&amp;topckgen CLK_TOP_APLL_I2S8_M_SEL&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL_I2S9_M_SEL&gt;, &lt;&amp;topckgen CLK_TOP_APLL12_DIV0&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL12_DIV1&gt;, &lt;&amp;topckgen CLK_TOP_APLL12_DIV2&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL12_DIV3&gt;, &lt;&amp;topckgen CLK_TOP_APLL12_DIV4&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL12_DIVB&gt;, &lt;&amp;topckgen CLK_TOP_APLL12_DIV5&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL12_DIV6&gt;, &lt;&amp;topckgen CLK_TOP_APLL12_DIV7&gt;,
             &lt;&amp;topckgen CLK_TOP_APLL12_DIV8&gt;, &lt;&amp;topckgen CLK_TOP_APLL12_DIV9&gt;,
             &lt;&amp;topckgen CLK_TOP_AUDIO_H_SEL&gt;, &lt;&amp;clk26m&gt;;
    clock-names = "aud_afe_clk", "aud_dac_clk",
                  "aud_dac_predis_clk", "aud_adc_clk",
                  "aud_adda6_adc_clk", "aud_apll22m_clk",
                  "aud_apll24m_clk", "aud_apll1_tuner_clk",
                  "aud_apll2_tuner_clk", "aud_tdm_clk",
                  "aud_tml_clk", "aud_nle",
                  "aud_dac_hires_clk", "aud_adc_hires_clk",
                  "aud_adc_hires_tml", "aud_adda6_adc_hires_clk",
                  "aud_3rd_dac_clk", "aud_3rd_dac_predis_clk",
                  "aud_3rd_dac_tml", "aud_3rd_dac_hires_clk",
                  "aud_infra_clk", "aud_infra_26m_clk",
                  "top_mux_audio", "top_mux_audio_int",
                  "top_mainpll_d4_d4", "top_mux_aud_1",
                  "top_apll1_ck", "top_mux_aud_2",
                  "top_apll2_ck", "top_mux_aud_eng1",
                  "top_apll1_d4", "top_mux_aud_eng2",
                  "top_apll2_d4", "top_i2s0_m_sel",
                  "top_i2s1_m_sel", "top_i2s2_m_sel",
                  "top_i2s3_m_sel", "top_i2s4_m_sel",
                  "top_i2s5_m_sel", "top_i2s6_m_sel",
                  "top_i2s7_m_sel", "top_i2s8_m_sel",
                  "top_i2s9_m_sel", "top_apll12_div0",
                  "top_apll12_div1", "top_apll12_div2",
                  "top_apll12_div3", "top_apll12_div4",
                  "top_apll12_divb", "top_apll12_div5",
                  "top_apll12_div6", "top_apll12_div7",
                  "top_apll12_div8", "top_apll12_div9",
                  "top_mux_audio_h", "top_clk26m_clk";
    memory-region = &lt;&amp;afe_dma_mem&gt;;
    power-domains = &lt;&amp;scpsys MT8192_POWER_DOMAIN_AUDIO&gt;;
    resets = &lt;&amp;watchdog MT8192_TOPRGU_AUDIO_SW_RST&gt;;
    reset-names = "audiosys";
    mediatek,apmixedsys = &lt;&amp;apmixedsys&gt;;
    mediatek,infracfg = &lt;&amp;infracfg&gt;;
    mediatek,topckgen = &lt;&amp;topckgen&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>

</details>

---

# Mediatek MT8192 with MT6359, RT1015 and RT5682 ASoC sound card driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Mediatek MT8192 with MT6359, RT1015 and RT5682 ASoC sound card driver.

<!-- 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;mt8192&#45;mt6359&#45;rt1015&#45;rt5682&#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;Jiaxin Yu &#60;jiaxin&#46;yu&#64;mediatek&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Shane Chien &#60;shane&#46;chien&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes the MT8192 sound card.</p>
</div>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<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&#95;mt6359&#95;rt1015&#95;rt5682&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mediatek&#44;mt8192&#95;mt6359&#95;rt1015p&#95;rt5682&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;mediatek&#44;mt8192&#95;mt6359&#95;rt1015p&#95;rt5682s&#34;</code></span>

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — not listed as required here

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source. Valid names could be the input or output widgets of audio components, power supplies, MicBias of codec and the software switch.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-a29f7d323ea232d8bd66"><code>2</code></span>

<a id="dt-5e9e0ead018c0629bb41"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-500d12f0fee987915a09"></a> <span id="dt-9e4d9f5ca49cf444e54b"><code>&#34;Speakers&#34;</code></span>, <span id="dt-8b51d77363ef6dd115a7"><code>&#34;Headphone Jack&#34;</code></span>, <span id="dt-0d61388e993ec7528d40"><code>&#34;IN1P&#34;</code></span>, <span id="dt-ad3f027d5402d2f51fa3"><code>&#34;Left Spk&#34;</code></span>, <span id="dt-1ea2038c57d5083c7fc0"><code>&#34;Right Spk&#34;</code></span>, <span id="dt-aa467fddd56adb652c07"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-8f56ddae3ab27b31526c"><code>&#34;HPOL&#34;</code></span>, <span id="dt-2d9b5d74b93f9dff2280"><code>&#34;HPOR&#34;</code></span>, <span id="dt-3c9eee441bb8756e4e74"><code>&#34;Left SPO&#34;</code></span>, <span id="dt-35f6a504d7bb82efb22e"><code>&#34;Right SPO&#34;</code></span>, <span id="dt-90b20df532376c042151"><code>&#34;Speaker&#34;</code></span>

<a id="dt-09a0f0ac36779d63ab90"></a>

### <code>mediatek&#44;platform</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc8671eb529833022ec6">[<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-3b75e139cb66f7cb5c14">
<p style="white-space: pre-wrap">The phandle of MT8192 ASoC platform.</p>
</div>

<a id="dt-6a6b7a8c72b1f5d9b657"></a>

### <code>mediatek&#44;hdmi&#45;codec</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5053bf3581fbf6ff5043">[<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-07c6786ca965f9482dc1">
<p style="white-space: pre-wrap">The phandle of HDMI codec.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-68a04d1fd01071ddda20"><code>true</code></span>

<a id="dt-1712bbb09854505ea35a"></a>

### <code>headset&#45;codec</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-792f98233d0bf47fa8fb"><code>&#34;object&#34;</code></span>

<a id="dt-b22f9eea71cec3cbfa48"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

**Deprecated (<code>deprecated</code>):** <span id="dt-c1e581aa6adf922b4ae2"><code>true</code></span>

<a id="dt-91c07602c27005787a7e"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-6a4d293056d5fb67cf38"></a>

**<code>sound&#45;dai</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-449943072573e5514e49"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-fdaa54f9fc8229b78fb8"></a> <span id="dt-d3954dea6eac67d2a450"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-b7761dcab0919d57bc29"></a>

### <code>speaker&#45;codecs</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-b541af3477c62179d585"><code>&#34;object&#34;</code></span>

<a id="dt-405b02c7db771bfda755"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

**Deprecated (<code>deprecated</code>):** <span id="dt-b977159348af6d75a8e8"><code>true</code></span>

<a id="dt-bfca383d03601854b225"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-2eb26e33ff23862a7b3c"></a>

**<code>sound&#45;dai</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-1ca294d7d08270e79fcc"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8d7ea51a3bf55882be5b"><code>2</code></span>

<a id="dt-99cedd0de356a6122476"></a>

**Array item rules (<code>items</code>)**

> **Maximum number of items (<code>maxItems</code>):** <span id="dt-f1b1b206796ef79d03d5"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-3c8503d77fe94469c96f"></a> <span id="dt-f4ddbb851377328b8e9e"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-1835a0317dae1488a052"></a>

### <code>&#46;&#42;&#45;dai&#45;link&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-1a6254090caf95caf53c"><code>&#34;object&#34;</code></span>

<a id="dt-648a771abb8056027ce0"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-1ddc58bbafb86167caab">
<p style="white-space: pre-wrap">Container for dai-link level properties and CODEC sub-nodes.</p>
</div>

<a id="dt-9937d7ae7daaa5558a92"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-f3ff20eb2dcb97d07f08"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-9e8bacbda230fc6c3874">
<p style="white-space: pre-wrap">Indicates dai-link name and PCM stream name</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-89db63b45638e69f793e"></a> <span id="dt-f7a2f33cd994c9478f7b"><code>&#34;I2S0&#34;</code></span>, <span id="dt-96faa4709a4d5db246ec"><code>&#34;I2S1&#34;</code></span>, <span id="dt-5890b3df19c888f85dbe"><code>&#34;I2S2&#34;</code></span>, <span id="dt-51cc37960a458529a8fa"><code>&#34;I2S3&#34;</code></span>, <span id="dt-32713acb5136843e9647"><code>&#34;I2S4&#34;</code></span>, <span id="dt-06713c7f4dcd3cfb0088"><code>&#34;I2S5&#34;</code></span>, <span id="dt-effe93d975e81a1e2276"><code>&#34;I2S6&#34;</code></span>, <span id="dt-c00fd181104a42ad4d96"><code>&#34;I2S7&#34;</code></span>, <span id="dt-6e85673f6a84d149621e"><code>&#34;I2S8&#34;</code></span>, <span id="dt-f030c6a83f490856d117"><code>&#34;I2S9&#34;</code></span>, <span id="dt-83bb147ec5d15bb89bb1"><code>&#34;TDM&#34;</code></span>

<a id="dt-c5d0bdf7d32065aee72e"></a>

**<code>codec</code> — not listed as required here**

<div id="dt-390ad724e6e87a8e6f31">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b7834a5ff371f1becdcb"><code>&#34;object&#34;</code></span>

<a id="dt-a476ce8ca86c939806d1"></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-273b21d778eba1efd580"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-0936ce529515b6115195"></a>

**<code>sound&#45;dai</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-6ccb878433c25793bb0f"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-dc3c81446a4d7cfb1282"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-536235ca9a4d730c7439"></a> <span id="dt-006b3194ed20a4b14f0b"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-8798deb9dc5a41c9e07b"></a>

**<code>dai&#45;format</code> — not listed as required here**

<div id="dt-97a8f259e648a9ac77a9">
<p style="white-space: pre-wrap">audio format</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-700bf66ca61a5272343d"></a> <span id="dt-995b4abe6c382caee91d"><code>&#34;i2s&#34;</code></span>, <span id="dt-69789a608990cef25361"><code>&#34;right&#95;j&#34;</code></span>, <span id="dt-3ac6a40cfbcd8e0ec4f3"><code>&#34;left&#95;j&#34;</code></span>, <span id="dt-21aaa216da6c02d3f29f"><code>&#34;dsp&#95;a&#34;</code></span>, <span id="dt-14a09a33b87fdfcfb8fe"><code>&#34;dsp&#95;b&#34;</code></span>

<a id="dt-99f2faea7f542a13c7ec"></a>

**<code>mediatek&#44;clk&#45;provider</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-adb0b94d65c0a8613606">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-c06c1486bc5f4b628928">
<p style="white-space: pre-wrap">Indicates dai-link clock master.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-1d6ba8ad84e3101d3a45"></a> <span id="dt-94fcaed2902c1c969fbf"><code>&#34;cpu&#34;</code></span>, <span id="dt-3c9f01283911149a1e70"><code>&#34;codec&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-0c473b2dd68c1cb91dd6"></a> <span id="dt-5ada0b495601465325ac"><code>&#34;link&#45;name&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;mediatek&#44;platform&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-3bfe73d6d5d592adab9c"></a>
>
> ### This rule must not match (<code>not</code>)
>
> > <a id="dt-4d5a338468760f7e72c4"></a>
> >
> > #### Properties matching a name pattern (<code>patternProperties</code>)
> >
> > <a id="dt-4c9c9d360ad9ae706349"></a>
> >
> > **<code>&#46;&#42;&#45;dai&#45;link&#36;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-fcccb934efbac73716d7"></a>
>
> #### <code>headset&#45;codec</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-d9283124c6d21d187562"></a>
>
> #### <code>speaker&#45;codecs</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-93310da7df33c0ba9a55"></a>
>
> #### <code>mediatek&#44;hdmi&#45;codec</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">
sound: mt8192-sound {
    compatible = "mediatek,mt8192_mt6359_rt1015_rt5682";
    model = "mt8192_mt6359_rt1015_rt5682";
    pinctrl-names = "aud_clk_mosi_off",
                    "aud_clk_mosi_on";
    pinctrl-0 = &lt;&amp;aud_clk_mosi_off&gt;;
    pinctrl-1 = &lt;&amp;aud_clk_mosi_on&gt;;
    mediatek,platform = &lt;&amp;afe&gt;;

    audio-routing =
            "Headphone Jack", "HPOL",
            "Headphone Jack", "HPOR",
            "IN1P", "Headset Mic",
            "Speakers", "Speaker";

    spk-playback-dai-link {
            link-name = "I2S3";
            dai-format = "i2s";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;rt1015p&gt;;
            };
    };

    hs-playback-dai-link {
            link-name = "I2S8";
            dai-format = "i2s";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;rt5682 0&gt;;
            };
    };

    hs-capture-dai-link {
            link-name = "I2S9";
            dai-format = "i2s";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;rt5682 0&gt;;
            };
    };

    displayport-dai-link {
            link-name = "TDM";
            dai-format = "dsp_a";
            codec {
                    sound-dai = &lt;&amp;anx_bridge_dp&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 36:</strong> <span> Sinks</span></p>

<p id="dt-comment-2"><strong>Line 43:</strong> <span> Sources</span></p>

<p id="dt-comment-3"><strong>Line 138:</strong> <span> Disallow legacy properties if xxx-dai-link nodes are specified</span></p>

</details>

---

# Mediatek AFE PCM controller for mt8195

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Mediatek AFE PCM controller for mt8195.

<!-- 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;mt8195&#45;afe&#45;pcm&#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;Trevor Wu &#60;trevor&#46;wu&#64;mediatek&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt8195&#45;audio&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-fc45b57fcd1ba81d2c64"><code>&#34;audiosys&#34;</code></span>

<a id="dt-b17dfbf4ae4b8a915685"></a>

### <code>memory&#45;region</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-95525a6e584a49d9aba7"><code>1</code></span>

<div id="dt-b794f979757a4fadd5eb">
<p style="white-space: pre-wrap">Shared memory region for AFE memif.  A "shared-dma-pool".
See ../reserved-memory/reserved-memory.txt for details.</p>
</div>

<a id="dt-d04808db52e44fcc9a97"></a>

### <code>mediatek&#44;topckgen</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fe7d54b0c419e2da2170">[<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-df5a2b57073fb3c903f2">
<p style="white-space: pre-wrap">The phandle of the mediatek topckgen controller</p>
</div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">26M clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">audio pll1 clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">audio pll2 clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">clock divider for i2si1_mck</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">clock divider for i2si2_mck</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">clock divider for i2so1_mck</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">clock divider for i2so2_mck</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">clock divider for dptx_mck</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">a1sys hoping clock</p>
> </div>

<a id="dt-de0b3dfcbfe00e590e15"></a>

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">audio intbus clock</p>
> </div>

<a id="dt-b0d2fe433bb8ee085f99"></a>

**Item 11**

> <div id="dt-ce56df8912b8f8ea9536">
> <p style="white-space: pre-wrap">audio hires clock</p>
> </div>

<a id="dt-3a6e19bd8f81a7da76c2"></a>

**Item 12**

> <div id="dt-59b5f0b6f9a554d62511">
> <p style="white-space: pre-wrap">audio local bus clock</p>
> </div>

<a id="dt-8e906a1743e2e27755ed"></a>

**Item 13**

> <div id="dt-49b874689c816ad2fa14">
> <p style="white-space: pre-wrap">mux for dptx_mck</p>
> </div>

<a id="dt-fe3c37c81e1849a78032"></a>

**Item 14**

> <div id="dt-2b75119ffade7942520a">
> <p style="white-space: pre-wrap">mux for i2so1_mck</p>
> </div>

<a id="dt-14f773a82ee886225e05"></a>

**Item 15**

> <div id="dt-cbed695014bc5661b8b3">
> <p style="white-space: pre-wrap">mux for i2so2_mck</p>
> </div>

<a id="dt-01b1acd7cf60bc2a547e"></a>

**Item 16**

> <div id="dt-f4317f7c0b52c4075869">
> <p style="white-space: pre-wrap">mux for i2si1_mck</p>
> </div>

<a id="dt-9e45f9cd6331f6f32d7d"></a>

**Item 17**

> <div id="dt-c2ce061dc22b7437b4ac">
> <p style="white-space: pre-wrap">mux for i2si2_mck</p>
> </div>

<a id="dt-0c374342383cc0534ef7"></a>

**Item 18**

> <div id="dt-1779d8c60d3b793ef0ac">
> <p style="white-space: pre-wrap">audio infra 26M clock</p>
> </div>

<a id="dt-2d5ab55778bca2202391"></a>

**Item 19**

> <div id="dt-88b79a2550af1cd7d22d">
> <p style="white-space: pre-wrap">infra bus clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;clk26m&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;apll1&#95;ck&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;apll2&#95;ck&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;apll12&#95;div0&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;apll12&#95;div1&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;apll12&#95;div2&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;apll12&#95;div3&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;apll12&#95;div9&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;a1sys&#95;hp&#95;sel&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;aud&#95;intbus&#95;sel&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;audio&#95;h&#95;sel&#34;</code></span>

<a id="dt-cdc319b61e94b611f980"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-0bf4d52880d7237bb9a0"><code>&#34;audio&#95;local&#95;bus&#95;sel&#34;</code></span>

<a id="dt-84e94039e1444899d32b"></a>

**Item 13**

> **Exact value (<code>const</code>):** <span id="dt-cb97b2b1a01193c507c3"><code>&#34;dptx&#95;m&#95;sel&#34;</code></span>

<a id="dt-cec2301424e740164358"></a>

**Item 14**

> **Exact value (<code>const</code>):** <span id="dt-84a2d508145b3e25748a"><code>&#34;i2so1&#95;m&#95;sel&#34;</code></span>

<a id="dt-75757bcd29a681ee94ff"></a>

**Item 15**

> **Exact value (<code>const</code>):** <span id="dt-5e8c2707ae3de3353963"><code>&#34;i2so2&#95;m&#95;sel&#34;</code></span>

<a id="dt-f7409b923819861cb90a"></a>

**Item 16**

> **Exact value (<code>const</code>):** <span id="dt-a0c9f04edd8a35b52752"><code>&#34;i2si1&#95;m&#95;sel&#34;</code></span>

<a id="dt-370fe5428f7d74c8ed62"></a>

**Item 17**

> **Exact value (<code>const</code>):** <span id="dt-cbc469a8adba31605a23"><code>&#34;i2si2&#95;m&#95;sel&#34;</code></span>

<a id="dt-e978694a7c7575946d55"></a>

**Item 18**

> **Exact value (<code>const</code>):** <span id="dt-428e37f333596c3dfc63"><code>&#34;infra&#95;ao&#95;audio&#95;26m&#95;b&#34;</code></span>

<a id="dt-8a0f8fc786dcd0abe09e"></a>

**Item 19**

> **Exact value (<code>const</code>):** <span id="dt-d60cc0e248487928a624"><code>&#34;scp&#95;adsp&#95;audiodsp&#34;</code></span>

<a id="dt-5627c74d0693f23ba92f"></a>

### <code>mediatek&#44;etdm&#45;in1&#45;chn&#45;disabled</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8dcfbbd5ba3ee151d634">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-184849745c5e941c3ec5>)</span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b106c3917c4b8f56fcfa"><code>24</code></span>

<div id="dt-47724cf242635c734e37">
<p style="white-space: pre-wrap">Specify which input channel should be disabled.</p>
</div>

<a id="dt-d3fcec6780d3b1b82ebe"></a>

### <code>mediatek&#44;etdm&#45;in2&#45;chn&#45;disabled</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-63cdb29658e59e63a98a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-184849745c5e941c3ec5>)</span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8b70da885aebfd2630c8"><code>16</code></span>

<div id="dt-dba97152aeee97b4c7cd">
<p style="white-space: pre-wrap">Specify which input channel should be disabled.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-a26d13962b911bac7d3d"></a>

### <code>&#94;mediatek&#44;etdm&#45;in&#91;1&#45;2&#93;&#45;mclk&#45;always&#45;on&#45;rate&#45;hz&#36;</code> — name matches this regular expression

<div id="dt-4a0599dbb31d3c7c34de">
<p style="white-space: pre-wrap">Specify etdm in mclk output rate for always on case.</p>
</div>

<a id="dt-dc7ead147c844bd00d92"></a>

### <code>&#94;mediatek&#44;etdm&#45;out&#91;1&#45;3&#93;&#45;mclk&#45;always&#45;on&#45;rate&#45;hz&#36;</code> — name matches this regular expression

<div id="dt-7ada878fdc962de3d3a0">
<p style="white-space: pre-wrap">Specify etdm out mclk output rate for always on case.</p>
</div>

<a id="dt-7e439cfc01a29a695ec5"></a>

### <code>&#94;mediatek&#44;etdm&#45;in&#91;1&#45;2&#93;&#45;multi&#45;pin&#45;mode&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-e150d6285796768988b0"><code>&#34;boolean&#34;</code></span>

<div id="dt-6a674597fbef4bafdd4a">
<p style="white-space: pre-wrap">if present, the etdm data mode is I2S.</p>
</div>

<a id="dt-f0d60cee7a948966568b"></a>

### <code>&#94;mediatek&#44;etdm&#45;out&#91;1&#45;3&#93;&#45;multi&#45;pin&#45;mode&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-3d079c702d639a9117b7"><code>&#34;boolean&#34;</code></span>

<div id="dt-9c129928ca7fd0fa5f6c">
<p style="white-space: pre-wrap">if present, the etdm data mode is I2S.</p>
</div>

<a id="dt-50119dd0ac7e5efbed57"></a>

### <code>&#94;mediatek&#44;etdm&#45;in&#91;1&#45;2&#93;&#45;cowork&#45;source&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-776c461a88fe157126db">[<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-9226b56ec151294f8c3d">
<p style="white-space: pre-wrap">etdm modules can share the same external clock pin. Specify
which etdm clock source is required by this etdm in module.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-892547898f3345c399f9"></a> <span id="dt-fea7983e74b96f03a35d"><code>0</code></span>, <span id="dt-fcee5058a6e721dbc981"><code>1</code></span>, <span id="dt-e983e04762a6bad7d931"><code>2</code></span>, <span id="dt-57753a882d1cc21441b1"><code>3</code></span>

<a id="dt-2d708542b0c1e9e39f2c"></a>

### <code>&#94;mediatek&#44;etdm&#45;out&#91;1&#45;2&#93;&#45;cowork&#45;source&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4e347a37143000f5a95f">[<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-41ebe9fb2d934c47c28f">
<p style="white-space: pre-wrap">etdm modules can share the same external clock pin. Specify
which etdm clock source is required by this etdm out module.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-72754f3b1cfb78d74291"></a> <span id="dt-73ddd90ff6223edaa985"><code>0</code></span>, <span id="dt-ebc7fc48c8b4228de14c"><code>1</code></span>, <span id="dt-7910916b2739e29848a5"><code>2</code></span>, <span id="dt-abd8ca25928541771954"><code>3</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;resets&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;mediatek&#44;topckgen&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;clocks&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;memory&#45;region&#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/interrupt-controller/irq.h&gt;

afe: mt8195-afe-pcm@10890000 {
    compatible = "mediatek,mt8195-audio";
    reg = &lt;0x10890000 0x10000&gt;;
    interrupts = &lt;GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH 0&gt;;
    resets = &lt;&amp;watchdog 14&gt;;
    reset-names = "audiosys";
    mediatek,topckgen = &lt;&amp;topckgen&gt;;
    power-domains = &lt;&amp;spm 7&gt;; //MT8195_POWER_DOMAIN_AUDIO
    memory-region = &lt;&amp;snd_dma_mem_reserved&gt;;
    clocks = &lt;&amp;clk26m&gt;,
             &lt;&amp;topckgen 163&gt;, //CLK_TOP_APLL1
             &lt;&amp;topckgen 166&gt;, //CLK_TOP_APLL2
             &lt;&amp;topckgen 233&gt;, //CLK_TOP_APLL12_DIV0
             &lt;&amp;topckgen 234&gt;, //CLK_TOP_APLL12_DIV1
             &lt;&amp;topckgen 235&gt;, //CLK_TOP_APLL12_DIV2
             &lt;&amp;topckgen 236&gt;, //CLK_TOP_APLL12_DIV3
             &lt;&amp;topckgen 238&gt;, //CLK_TOP_APLL12_DIV9
             &lt;&amp;topckgen 100&gt;, //CLK_TOP_A1SYS_HP_SEL
             &lt;&amp;topckgen 33&gt;, //CLK_TOP_AUD_INTBUS_SEL
             &lt;&amp;topckgen 34&gt;, //CLK_TOP_AUDIO_H_SEL
             &lt;&amp;topckgen 107&gt;, //CLK_TOP_AUDIO_LOCAL_BUS_SEL
             &lt;&amp;topckgen 98&gt;, //CLK_TOP_DPTX_M_SEL
             &lt;&amp;topckgen 94&gt;, //CLK_TOP_I2SO1_M_SEL
             &lt;&amp;topckgen 95&gt;, //CLK_TOP_I2SO2_M_SEL
             &lt;&amp;topckgen 96&gt;, //CLK_TOP_I2SI1_M_SEL
             &lt;&amp;topckgen 97&gt;, //CLK_TOP_I2SI2_M_SEL
             &lt;&amp;infracfg_ao 50&gt;, //CLK_INFRA_AO_AUDIO_26M_B
             &lt;&amp;scp_adsp 0&gt;; //CLK_SCP_ADSP_AUDIODSP
    clock-names = "clk26m",
                  "apll1_ck",
                  "apll2_ck",
                  "apll12_div0",
                  "apll12_div1",
                  "apll12_div2",
                  "apll12_div3",
                  "apll12_div9",
                  "a1sys_hp_sel",
                  "aud_intbus_sel",
                  "audio_h_sel",
                  "audio_local_bus_sel",
                  "dptx_m_sel",
                  "i2so1_m_sel",
                  "i2so2_m_sel",
                  "i2si1_m_sel",
                  "i2si2_m_sel",
                  "infra_ao_audio_26m_b",
                  "scp_adsp_audiodsp";
};
</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 116:</strong> <span> etdm1_in</span></p>

<p id="dt-comment-2"><strong>Line 117:</strong> <span> etdm2_in</span></p>

<p id="dt-comment-3"><strong>Line 118:</strong> <span> etdm1_out</span></p>

<p id="dt-comment-4"><strong>Line 119:</strong> <span> etdm2_out</span></p>

<p id="dt-comment-5"><strong>Line 127:</strong> <span> etdm1_in</span></p>

<p id="dt-comment-6"><strong>Line 128:</strong> <span> etdm2_in</span></p>

<p id="dt-comment-7"><strong>Line 129:</strong> <span> etdm1_out</span></p>

<p id="dt-comment-8"><strong>Line 130:</strong> <span> etdm2_out</span></p>

</details>

---

# MediaTek MT8195 ASoC sound card driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for MediaTek MT8195 ASoC sound card driver.

<!-- 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;mt8195&#45;mt6359&#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;Trevor Wu &#60;trevor&#46;wu&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes the MT8195 sound card.</p>
</div>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<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;mt8195&#95;mt6359&#95;rt1019&#95;rt5682&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mediatek&#44;mt8195&#95;mt6359&#95;rt1011&#95;rt5682&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;mediatek&#44;mt8195&#95;mt6359&#95;max98390&#95;rt5682&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;mediatek&#44;mt8195&#95;mt6359&#34;</code></span>

<a id="dt-35a8a57fdd6e9ed01be8"></a>

### <code>model</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4888cbb3b35392d2f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bf4b69bd171c38756e1b">
<p style="white-space: pre-wrap">User specified audio sound card name</p>
</div>

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — not listed as required here

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source. Valid names could be the input or output widgets of audio components, power supplies, MicBias of codec and the software switch.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-a29f7d323ea232d8bd66"><code>2</code></span>

<a id="dt-5e9e0ead018c0629bb41"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-500d12f0fee987915a09"></a> <span id="dt-9e4d9f5ca49cf444e54b"><code>&#34;Ext Spk&#34;</code></span>, <span id="dt-8b51d77363ef6dd115a7"><code>&#34;Headphone&#34;</code></span>, <span id="dt-0d61388e993ec7528d40"><code>&#34;IN1P&#34;</code></span>, <span id="dt-ad3f027d5402d2f51fa3"><code>&#34;Left Spk&#34;</code></span>, <span id="dt-1ea2038c57d5083c7fc0"><code>&#34;Right Spk&#34;</code></span>, <span id="dt-aa467fddd56adb652c07"><code>&#34;Headphone L&#34;</code></span>, <span id="dt-8f56ddae3ab27b31526c"><code>&#34;Headphone R&#34;</code></span>, <span id="dt-2d9b5d74b93f9dff2280"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-3c9eee441bb8756e4e74"><code>&#34;HPOL&#34;</code></span>, <span id="dt-35f6a504d7bb82efb22e"><code>&#34;HPOR&#34;</code></span>, <span id="dt-90b20df532376c042151"><code>&#34;Left BE&#95;OUT&#34;</code></span>, <span id="dt-27ba4b2d08528afd8bec"><code>&#34;Left SPO&#34;</code></span>, <span id="dt-3cb8e461a79e2e5e40a8"><code>&#34;Right BE&#95;OUT&#34;</code></span>, <span id="dt-94dee80e752473b877ee"><code>&#34;Right SPO&#34;</code></span>, <span id="dt-a23de8e48fc6ca292794"><code>&#34;Speaker&#34;</code></span>

<a id="dt-09a0f0ac36779d63ab90"></a>

### <code>mediatek&#44;platform</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc8671eb529833022ec6">[<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-3b75e139cb66f7cb5c14">
<p style="white-space: pre-wrap">The phandle of MT8195 ASoC platform.</p>
</div>

<a id="dt-da04593e4c40bad20442"></a>

### <code>mediatek&#44;dptx&#45;codec</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d43f58857fc5182e3d68">[<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-0892d79ab95134e9f830">
<p style="white-space: pre-wrap">The phandle of MT8195 Display Port Tx codec node.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-bd911689927ee1433d86"><code>true</code></span>

<a id="dt-6a6b7a8c72b1f5d9b657"></a>

### <code>mediatek&#44;hdmi&#45;codec</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5053bf3581fbf6ff5043">[<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-07c6786ca965f9482dc1">
<p style="white-space: pre-wrap">The phandle of MT8195 HDMI codec node.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-68a04d1fd01071ddda20"><code>true</code></span>

<a id="dt-19327a0f6ca52fc4f2c6"></a>

### <code>mediatek&#44;adsp</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-039d680699a95bf7ea56">[<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-c23e038b40f205e8a9bd">
<p style="white-space: pre-wrap">The phandle of MT8195 ADSP platform.</p>
</div>

<a id="dt-6d8c2e1cc348b00053b1"></a>

### <code>mediatek&#44;dai&#45;link</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fa1b7b883fc25d9eb0d9">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-7360acce49da10397d42>)</span>

<div id="dt-f02a151e789c41cd4106">
<p style="white-space: pre-wrap">A list of the desired dai-links in the sound card. Each entry is a name defined in the machine driver.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-1835a0317dae1488a052"></a>

### <code>&#46;&#42;&#45;dai&#45;link&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-1a6254090caf95caf53c"><code>&#34;object&#34;</code></span>

<a id="dt-648a771abb8056027ce0"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-1ddc58bbafb86167caab">
<p style="white-space: pre-wrap">Container for dai-link level properties and CODEC sub-nodes.</p>
</div>

<a id="dt-9937d7ae7daaa5558a92"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-f3ff20eb2dcb97d07f08"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-9e8bacbda230fc6c3874">
<p style="white-space: pre-wrap">Indicates dai-link name and PCM stream name</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-89db63b45638e69f793e"></a> <span id="dt-f7a2f33cd994c9478f7b"><code>&#34;DL&#95;SRC&#95;BE&#34;</code></span>, <span id="dt-96faa4709a4d5db246ec"><code>&#34;DPTX&#95;BE&#34;</code></span>, <span id="dt-5890b3df19c888f85dbe"><code>&#34;ETDM1&#95;IN&#95;BE&#34;</code></span>, <span id="dt-51cc37960a458529a8fa"><code>&#34;ETDM2&#95;IN&#95;BE&#34;</code></span>, <span id="dt-32713acb5136843e9647"><code>&#34;ETDM1&#95;OUT&#95;BE&#34;</code></span>, <span id="dt-06713c7f4dcd3cfb0088"><code>&#34;ETDM2&#95;OUT&#95;BE&#34;</code></span>, <span id="dt-effe93d975e81a1e2276"><code>&#34;ETDM3&#95;OUT&#95;BE&#34;</code></span>, <span id="dt-c00fd181104a42ad4d96"><code>&#34;PCM1&#95;BE&#34;</code></span>

<a id="dt-c5d0bdf7d32065aee72e"></a>

**<code>codec</code> — not listed as required here**

<div id="dt-390ad724e6e87a8e6f31">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b7834a5ff371f1becdcb"><code>&#34;object&#34;</code></span>

<a id="dt-a476ce8ca86c939806d1"></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-273b21d778eba1efd580"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-0936ce529515b6115195"></a>

**<code>sound&#45;dai</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-6ccb878433c25793bb0f"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-dc3c81446a4d7cfb1282"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-536235ca9a4d730c7439"></a> <span id="dt-006b3194ed20a4b14f0b"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-8798deb9dc5a41c9e07b"></a>

**<code>dai&#45;format</code> — not listed as required here**

<div id="dt-97a8f259e648a9ac77a9">
<p style="white-space: pre-wrap">audio format</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-700bf66ca61a5272343d"></a> <span id="dt-995b4abe6c382caee91d"><code>&#34;i2s&#34;</code></span>, <span id="dt-69789a608990cef25361"><code>&#34;right&#95;j&#34;</code></span>, <span id="dt-3ac6a40cfbcd8e0ec4f3"><code>&#34;left&#95;j&#34;</code></span>, <span id="dt-21aaa216da6c02d3f29f"><code>&#34;dsp&#95;a&#34;</code></span>, <span id="dt-14a09a33b87fdfcfb8fe"><code>&#34;dsp&#95;b&#34;</code></span>

<a id="dt-99f2faea7f542a13c7ec"></a>

**<code>mediatek&#44;clk&#45;provider</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-adb0b94d65c0a8613606">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-c06c1486bc5f4b628928">
<p style="white-space: pre-wrap">Indicates dai-link clock master.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-1d6ba8ad84e3101d3a45"></a> <span id="dt-94fcaed2902c1c969fbf"><code>&#34;cpu&#34;</code></span>, <span id="dt-3c9f01283911149a1e70"><code>&#34;codec&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-0c473b2dd68c1cb91dd6"></a> <span id="dt-5ada0b495601465325ac"><code>&#34;link&#45;name&#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.

**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;mediatek&#44;platform&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-3bfe73d6d5d592adab9c"></a>
>
> ### This rule must not match (<code>not</code>)
>
> > <a id="dt-4d5a338468760f7e72c4"></a>
> >
> > #### Properties matching a name pattern (<code>patternProperties</code>)
> >
> > <a id="dt-4c9c9d360ad9ae706349"></a>
> >
> > **<code>&#46;&#42;&#45;dai&#45;link&#36;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-3a2e196fe89652ed91a3"></a>
>
> #### <code>mediatek&#44;dptx&#45;codec</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-93310da7df33c0ba9a55"></a>
>
> #### <code>mediatek&#44;hdmi&#45;codec</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">
sound: mt8195-sound {
    compatible = "mediatek,mt8195_mt6359_rt1019_rt5682";
    model = "mt8195_r1019_5682";
    mediatek,platform = &lt;&amp;afe&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;aud_pins_default&gt;;

    audio-routing =
            "Headphone", "HPOL",
            "Headphone", "HPOR",
            "IN1P", "Headset Mic",
            "Ext Spk", "Speaker";

    mm-dai-link {
            link-name = "ETDM1_IN_BE";
            mediatek,clk-provider = "cpu";
    };

    hs-playback-dai-link {
            link-name = "ETDM1_OUT_BE";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;headset_codec&gt;;
            };
    };

    hs-capture-dai-link {
            link-name = "ETDM2_IN_BE";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;headset_codec&gt;;
            };
    };

    spk-playback-dai-link {
            link-name = "ETDM2_OUT_BE";
            mediatek,clk-provider = "cpu";
            codec {
                    sound-dai = &lt;&amp;spk_amplifier&gt;;
            };
    };

    hdmi-dai-link {
            link-name = "ETDM3_OUT_BE";
            codec {
                    sound-dai = &lt;&amp;hdmi_tx&gt;;
            };
    };

    displayport-dai-link {
            link-name = "DPTX_BE";
            codec {
                    sound-dai = &lt;&amp;dp_tx&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 40:</strong> <span> Sinks</span></p>

<p id="dt-comment-2"><strong>Line 47:</strong> <span> Sources</span></p>

<p id="dt-comment-3"><strong>Line 132:</strong> <span> Disallow legacy properties if xxx-dai-link nodes are specified</span></p>

</details>

---

# NeoFidelity NTP8835/NTP8835C Amplifiers

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NeoFidelity NTP8835/NTP8835C Amplifiers.

<!-- 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;neofidelity&#44;ntp8835&#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;Igor Prusov &#60;ivprusov&#64;salutedevices&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The NTP8835 is a single chip full digital audio amplifier
including power stages for stereo amplifier systems.
NTP8835 is integrated with versatile digital audio signal
processing functions, high-performance, high-fidelity fully
digital PWM modulator and two high-power full-bridge MOSFET
power stages. NTP8835C has identical programming interface,
but has different output signal characteristics.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;neofidelity&#44;ntp8835&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;neofidelity&#44;ntp8835c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-917ea1ad16cfd55f8ef7"></a> <span id="dt-808e90b1016f267b83cf"><code>42</code></span>, <span id="dt-3f3177878e4e0b370619"><code>43</code></span>, <span id="dt-b018bc0e5d6ac627f72d"><code>44</code></span>, <span id="dt-10775521733bdc1804a2"><code>45</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>4</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;wck&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;bck&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;scl&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;mclk&#34;</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
 i2c {
   #address-cells = &lt;1&gt;;
   #size-cells = &lt;0&gt;;
   audio-codec@2b {
     compatible = "neofidelity,ntp8835";
     #sound-dai-cells = &lt;0&gt;;
     reg = &lt;0x2b&gt;;
     reset-gpios = &lt;&amp;gpio 5 GPIO_ACTIVE_LOW&gt;;
     clocks = &lt;&amp;clkc 551&gt;, &lt;&amp;clkc 552&gt;, &lt;&amp;clkc 553&gt;, &lt;&amp;clkc 554&gt;;
     clock-names = "wck", "bck", "scl", "mclk";
   };
 };
</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>

</details>

---

# NeoFidelity NTP8918 Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NeoFidelity NTP8918 Amplifier.

<!-- 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;neofidelity&#44;ntp8918&#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;Igor Prusov &#60;ivprusov&#64;salutedevices&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The NTP8918 is a single chip full digital audio amplifier including power stage for stereo amplifier system. The NTP8918 is integrated with versatile digital audio signal processing functions, high-performance, high-fidelity fully digital PWM modulator and two high-power full-bridge MOSFET power stages.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;neofidelity&#44;ntp8918&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-917ea1ad16cfd55f8ef7"></a> <span id="dt-808e90b1016f267b83cf"><code>42</code></span>, <span id="dt-3f3177878e4e0b370619"><code>43</code></span>, <span id="dt-b018bc0e5d6ac627f72d"><code>44</code></span>, <span id="dt-10775521733bdc1804a2"><code>45</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>3</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;wck&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;scl&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;bck&#34;</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@2a {
        compatible = "neofidelity,ntp8918";
        #sound-dai-cells = &lt;0&gt;;
        reg = &lt;0x2a&gt;;
        clocks = &lt;&amp;clkc 150&gt;, &lt;&amp;clkc 151&gt;, &lt;&amp;clkc 152&gt;;
        clock-names =  "wck", "scl", "bck";
        reset-gpios = &lt;&amp;gpio 5 GPIO_ACTIVE_LOW&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>

</details>

---

# NAU8315/NAU8318 Mono Class-D Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NAU8315/NAU8318 Mono Class-D Amplifier.

<!-- 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;nuvoton&#44;nau8315&#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;David Lin &#60;CTLIN0&#64;nuvoton&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;nuvoton&#44;nau8315&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nuvoton&#44;nau8318&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO specifier for the chip's device enable input(EN) pin. If this option is not specified then driver does not manage the pin state (e.g. chip is always on).</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

codec {
    compatible = "nuvoton,nau8315";
    #sound-dai-cells = &lt;0&gt;;
    enable-gpios = &lt;&amp;gpio1 5 GPIO_ACTIVE_HIGH&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>

</details>

---

# NAU8325 audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NAU8325 audio Amplifier.

<!-- 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;nuvoton&#44;nau8325&#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;Seven Lee &#60;WTLI&#64;nuvoton&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;nuvoton&#44;nau8325&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-119aa0f63d3d98584e95"></a>

### <code>nuvoton&#44;vref&#45;impedance&#45;ohms</code> — not listed as required here

<div id="dt-37a2c9a66f13cf10dec3">
<p style="white-space: pre-wrap">The vref impedance to be used in ohms. Middle of voltage enables Tie-Off selection options. Due to the high impedance of the VREF pin, it is important to use a low-leakage capacitor.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-573ce43779c7fce4d043"></a> <span id="dt-1cac4785746a6dd7802e"><code>0</code></span>, <span id="dt-989de7b3d75e712a2e98"><code>25000</code></span>, <span id="dt-131977c09fc4a23bb2ae"><code>125000</code></span>, <span id="dt-93bc05a0e1a6188e2afc"><code>2500</code></span>

<a id="dt-e421efd89c8caf65edc3"></a>

### <code>nuvoton&#44;dac&#45;vref&#45;microvolt</code> — not listed as required here

<div id="dt-dbc8f1cb17845b60378b">
<p style="white-space: pre-wrap">The DAC vref to be used in voltage. DAC reference voltage setting. Can be used for minor tuning of the output level. Since the VDDA is range between 1.62 to 1.98 voltage, the typical value for design is 1.8V. After the minor tuning, the final microvolt are as the below.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-60133b2c38ece6484e0f"></a> <span id="dt-29c2f378621bf2d47442"><code>1800000</code></span>, <span id="dt-63394f2cb21c547f08c9"><code>2700000</code></span>, <span id="dt-006f2f5481b8a7f9fafb"><code>2880000</code></span>, <span id="dt-8239fda707a5f9e12c83"><code>3060000</code></span>

<a id="dt-a10ffdfda46a6a187f9b"></a>

### <code>nuvoton&#44;alc&#45;enable</code> — not listed as required here

<div id="dt-57fe3aabf821da882ffc">
<p style="white-space: pre-wrap">Enable digital automatic level control (ALC) function.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-0743254eae3381ed029d"><code>&#34;boolean&#34;</code></span>

<a id="dt-1a2a297d8cbe246d5371"></a>

### <code>nuvoton&#44;clock&#45;detection&#45;disable</code> — not listed as required here

<div id="dt-6c3d80ce83ccd83e92ba">
<p style="white-space: pre-wrap">When clock detection is enabled, it will detect whether MCLK and FS are within the range. MCLK range is from 2.048MHz to 24.576MHz. FS range is from 8kHz to 96kHz. And also needs to detect the ratio MCLK_SRC/LRCK of 256, 400 or 500, and needs to detect the BCLK to make sure data is present. There needs to be at least 8 BCLK cycles per Frame Sync.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-90fcafdb4232f7b08373"><code>&#34;boolean&#34;</code></span>

<a id="dt-05a03238a8916b754df4"></a>

### <code>nuvoton&#44;clock&#45;det&#45;data</code> — not listed as required here

<div id="dt-ffc7713b7feef7656402">
<p style="white-space: pre-wrap">Request clock detection to require 2048 non-zero samples before enabling the audio paths. If set then non-zero samples is required, otherwise it doesn't matter.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-d1f6b9f8543a1bf53d8d"><code>&#34;boolean&#34;</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@21 {
        compatible = "nuvoton,nau8325";
        reg = &lt;0x21&gt;;
        nuvoton,vref-impedance-ohms = &lt;125000&gt;;
        nuvoton,dac-vref-microvolt = &lt;2880000&gt;;
        nuvoton,alc-enable;
        nuvoton,clock-det-data;
    };
};
</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>

</details>

---

# NAU88L21 audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NAU88L21 audio codec.

<!-- 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;nuvoton&#44;nau8821&#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;Seven Lee &#60;wtli&#64;nuvoton&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;nuvoton&#44;nau8821&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-25cc03f2d6d1e69ef0de"></a>

### <code>nuvoton&#44;jkdet&#45;enable</code> — not listed as required here

<div id="dt-636cd204871543e44bd7">
<p style="white-space: pre-wrap">Enable jack detection via JKDET pin.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-066f3ac61fd6029a480d"><code>&#34;boolean&#34;</code></span>

<a id="dt-a4d54f1bac330c8d9cd1"></a>

### <code>nuvoton&#44;jkdet&#45;pull&#45;enable</code> — not listed as required here

<div id="dt-1c068abf8fcd2638e062">
<p style="white-space: pre-wrap">Enable JKDET pin pull. If set - pin pull enabled, otherwise pin in high impedance state.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-99e98ad26d7325c93a47"><code>&#34;boolean&#34;</code></span>

<a id="dt-f581ab6d77fb24d67422"></a>

### <code>nuvoton&#44;jkdet&#45;pull&#45;up</code> — not listed as required here

<div id="dt-7043668c27a70d171f85">
<p style="white-space: pre-wrap">Pull-up JKDET pin. If set then JKDET pin is pull up, otherwise pull down.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-9220c7be4d8e2191eb92"><code>&#34;boolean&#34;</code></span>

<a id="dt-19dab5c3e94aa989627f"></a>

### <code>nuvoton&#44;key&#45;enable</code> — not listed as required here

<div id="dt-68c103cb6c048e9756cc">
<p style="white-space: pre-wrap">handles key press detection.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b234bd2653f3559d745a"><code>&#34;boolean&#34;</code></span>

<a id="dt-25bb95723ea9460a17cf"></a>

### <code>nuvoton&#44;jkdet&#45;polarity</code> — not listed as required here

<div id="dt-fcdc6dd0646dafff9189">
<p style="white-space: pre-wrap">JKDET pin polarity.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d814e457ef927b0b14d8">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-d1b3ffbae54806337632"></a> <span id="dt-d6ff30c1608c2782ad02"><code>0</code></span>, <span id="dt-1c3209c0390f9e6a5b6a"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-a04a155a79d0014800d1"><code>1</code></span>

<a id="dt-49e06f7544e09cb6754e"></a>

### <code>nuvoton&#44;micbias&#45;voltage</code> — not listed as required here

<div id="dt-8f63d5ac9cb35f4510b9">
<p style="white-space: pre-wrap">MICBIAS output level select.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a6a8b9de7ace54933ad5">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-fbd1df6c60a6e3637452"></a> <span id="dt-ae0c6e857db3d2aeb182"><code>0</code></span>, <span id="dt-cc7673bdcb0d2776deee"><code>1</code></span>, <span id="dt-9bc502ee737fda8ca23f"><code>2</code></span>, <span id="dt-0c27989094f6849ee1a4"><code>3</code></span>, <span id="dt-413ff9e152867d643690"><code>4</code></span>, <span id="dt-833144e87f977e1c6676"><code>5</code></span>, <span id="dt-7e13f945be162e03e6b0"><code>6</code></span>, <span id="dt-6c54ef2461cfd4b4a667"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-1af41c39d17c767fc333"><code>6</code></span>

<a id="dt-a6574e648409ac3a2dd8"></a>

### <code>nuvoton&#44;vref&#45;impedance</code> — not listed as required here

<div id="dt-aaa54d902542e65d1322">
<p style="white-space: pre-wrap">VMID Tie-off impedance select.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7688e52046dc15bfe680">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-6b9bc5c50d1c8724ff31"></a> <span id="dt-bb2611d2148f23142e4e"><code>0</code></span>, <span id="dt-02e1e04213aee43f8a6c"><code>1</code></span>, <span id="dt-299f85c193f00b8ee037"><code>2</code></span>, <span id="dt-c6967940d3925fc29c05"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-3224099fe508ae787e39"><code>2</code></span>

<a id="dt-769d705875b987a7716b"></a>

### <code>nuvoton&#44;jack&#45;insert&#45;debounce</code> — not listed as required here

<div id="dt-116aa3ea51b9025f04a9">
<p style="white-space: pre-wrap">number from 0 to 7 that sets debounce time to 2^(n+2)ms.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b949ca465e825af2d120">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Maximum value (<code>maximum</code>):** <span id="dt-719e330baef22f42b6b4"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-bbe0ba69162f81442d1a"><code>7</code></span>

<a id="dt-c790baef1cdb9986bbf9"></a>

### <code>nuvoton&#44;jack&#45;eject&#45;debounce</code> — not listed as required here

<div id="dt-ecfb92a7cdfeaf642282">
<p style="white-space: pre-wrap">number from 0 to 7 that sets debounce time to 2^(n+2)ms.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-08598990d9d4c9cb2bd5">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Maximum value (<code>maximum</code>):** <span id="dt-cfef22b109a8e874ab1a"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-2f634c942ff82fc334d5"><code>0</code></span>

<a id="dt-1031dff2d1325ddf8956"></a>

### <code>nuvoton&#44;dmic&#45;clk&#45;threshold</code> — not listed as required here

<div id="dt-6ca6e779936b3e330f54">
<p style="white-space: pre-wrap">DMIC clock speed expected value. Unit is Hz.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b3cc8da676bea81655dc">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-b822f9961c10ffedd423"><code>3072000</code></span>

<a id="dt-ce5cef70114b0dff98a1"></a>

### <code>nuvoton&#44;dmic&#45;slew&#45;rate</code> — not listed as required here

<div id="dt-984e7d372a3cdf1ef088">
<p style="white-space: pre-wrap">The range 0 to 7 represents the speed of DMIC slew rate. The lowest value 0 means the slowest rate and the highest value 7 means the fastest rate.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9c3d38e4ee196db7849f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Maximum value (<code>maximum</code>):** <span id="dt-61b514ae644ffe7e1f6a"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-41e05d872995c36f45a9"><code>0</code></span>

<a id="dt-37d9a387c7121d74c7f2"></a>

### <code>nuvoton&#44;left&#45;input&#45;single&#45;end</code> — not listed as required here

<div id="dt-7af44c8084f389891451">
<p style="white-space: pre-wrap">Enable left input with single-ended settings if set. For the headset mic application, the single-ended control is just limited to the left adc for design demand.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-a8424b416905e81833e7"><code>&#34;boolean&#34;</code></span>

<a id="dt-a074dd9f84d049ecf1cb"></a>

### <code>nuvoton&#44;adc&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-669b93e208f3a886f65a">
<p style="white-space: pre-wrap">Delay (in ms) to make input path stable and avoid pop noise.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-3b74dbebf8ca412188d0"><code>125</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-5d675e52689a312c76a9"><code>500</code></span>

**Default value (<code>default</code>):** <span id="dt-bd8a3efb5388902b465e"><code>125</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@1b {
        compatible = "nuvoton,nau8821";
        reg = &lt;0x1b&gt;;
        interrupt-parent = &lt;&amp;gpio&gt;;
        interrupts = &lt;23 IRQ_TYPE_LEVEL_LOW&gt;;
        nuvoton,jkdet-enable;
        nuvoton,jkdet-pull-enable;
        nuvoton,jkdet-pull-up;
        nuvoton,key-enable;
        nuvoton,left-input-single-end;
        nuvoton,jkdet-polarity = &lt;GPIO_ACTIVE_LOW&gt;;
        nuvoton,micbias-voltage = &lt;6&gt;;
        nuvoton,vref-impedance = &lt;2&gt;;
        nuvoton,jack-insert-debounce = &lt;7&gt;;
        nuvoton,jack-eject-debounce = &lt;0&gt;;
        nuvoton,dmic-clk-threshold = &lt;3072000&gt;;
        nuvoton,dmic-slew-rate = &lt;0&gt;;
        nuvoton,adc-delay-ms = &lt;125&gt;;
        #sound-dai-cells = &lt;0&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 47:</strong> <span> active high</span></p>

<p id="dt-comment-2"><strong>Line 48:</strong> <span> active low</span></p>

<p id="dt-comment-3"><strong>Line 55:</strong> <span> VDDA</span></p>

<p id="dt-comment-4"><strong>Line 56:</strong> <span> VDDA * 1</span></p>

<p id="dt-comment-5"><strong>Line 57:</strong> <span> VDDA * 1.1</span></p>

<p id="dt-comment-6"><strong>Line 58:</strong> <span> VDDA * 1.2</span></p>

<p id="dt-comment-7"><strong>Line 59:</strong> <span> VDDA * 1.3</span></p>

<p id="dt-comment-8"><strong>Line 60:</strong> <span> VDDA * 1.4</span></p>

<p id="dt-comment-9"><strong>Line 61:</strong> <span> VDDA * 1.53</span></p>

<p id="dt-comment-10"><strong>Line 62:</strong> <span> VDDA * 1.53</span></p>

<p id="dt-comment-11"><strong>Line 69:</strong> <span> open</span></p>

<p id="dt-comment-12"><strong>Line 70:</strong> <span> 25KOhms</span></p>

<p id="dt-comment-13"><strong>Line 71:</strong> <span> 125KOhms</span></p>

<p id="dt-comment-14"><strong>Line 72:</strong> <span> 2.5KOhms</span></p>

</details>

---

# NAU8822 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NAU8822 audio CODEC.

<!-- 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;nuvoton&#44;nau8822&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">24 bit stereo audio codec with speaker driver.
This device supports I2C/SPI.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;David Lin &#60;CTLIN0&#64;nuvoton&#46;com&#62;&#34;</code></span>

<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;nuvoton&#44;nau8822&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

<a id="dt-e95c7ecd4968b4279cb8"></a>

### <code>nuvoton&#44;spk&#45;btl</code> — not listed as required here

<div id="dt-ee8ba9413431307d646f">
<p style="white-space: pre-wrap">If set, configure the two loudspeaker outputs as a Bridge Tied Load output to drive a high power external loudspeaker.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5c3720dfb26bd1daf07e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

**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>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1a {
        compatible = "nuvoton,nau8822";
        reg = &lt;0x1a&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>

</details>

---

# NAU8824 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NAU8824 audio CODEC.

<!-- 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;nuvoton&#44;nau8824&#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;John Hsu &#60;KCHSU0&#64;nuvoton&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;nuvoton&#44;nau8824&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">The phandle of the master clock to the CODEC</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-25bb95723ea9460a17cf"></a>

### <code>nuvoton&#44;jkdet&#45;polarity</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d814e457ef927b0b14d8">[<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-fcdc6dd0646dafff9189">
<p style="white-space: pre-wrap">JKDET pin polarity.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d1b3ffbae54806337632"></a> <span id="dt-d6ff30c1608c2782ad02"><code>0</code></span>, <span id="dt-1c3209c0390f9e6a5b6a"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-a04a155a79d0014800d1"><code>1</code></span>

<a id="dt-a6574e648409ac3a2dd8"></a>

### <code>nuvoton&#44;vref&#45;impedance</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7688e52046dc15bfe680">[<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-aaa54d902542e65d1322">
<p style="white-space: pre-wrap">VREF Impedance selection.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-6b9bc5c50d1c8724ff31"></a> <span id="dt-bb2611d2148f23142e4e"><code>0</code></span>, <span id="dt-02e1e04213aee43f8a6c"><code>1</code></span>, <span id="dt-299f85c193f00b8ee037"><code>2</code></span>, <span id="dt-c6967940d3925fc29c05"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-3224099fe508ae787e39"><code>2</code></span>

<a id="dt-49e06f7544e09cb6754e"></a>

### <code>nuvoton&#44;micbias&#45;voltage</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a6a8b9de7ace54933ad5">[<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-8f63d5ac9cb35f4510b9">
<p style="white-space: pre-wrap">Micbias voltage level.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-fbd1df6c60a6e3637452"></a> <span id="dt-ae0c6e857db3d2aeb182"><code>0</code></span>, <span id="dt-cc7673bdcb0d2776deee"><code>1</code></span>, <span id="dt-9bc502ee737fda8ca23f"><code>2</code></span>, <span id="dt-0c27989094f6849ee1a4"><code>3</code></span>, <span id="dt-413ff9e152867d643690"><code>4</code></span>, <span id="dt-833144e87f977e1c6676"><code>5</code></span>, <span id="dt-7e13f945be162e03e6b0"><code>6</code></span>, <span id="dt-6c54ef2461cfd4b4a667"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-1af41c39d17c767fc333"><code>6</code></span>

<a id="dt-b29b83dc101dd7fb63ce"></a>

### <code>nuvoton&#44;sar&#45;threshold&#45;num</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c79a7b884318fd39dbfa">[<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-e05936509fd1b4da706d">
<p style="white-space: pre-wrap">Number of buttons supported.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-c7543f63c3573e10266a"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-acf8fb8678c4f67f629c"><code>8</code></span>

**Default value (<code>default</code>):** <span id="dt-c62c7dd00a950f39741a"><code>4</code></span>

<a id="dt-81e3e8b3c2d67c205749"></a>

### <code>nuvoton&#44;sar&#45;threshold</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3f17b4a454c9f922a693">[<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>

<div id="dt-8f32274f6467032327c0">
<p style="white-space: pre-wrap">Impedance threshold for each button. Array that contains up to 8 buttons configuration. SAR value is calculated as SAR = 255 * MICBIAS / SAR_VOLTAGE * R / (2000 + R) where MICBIAS is configured by 'nuvoton,micbias-voltage', SAR_VOLTAGE is configured by 'nuvoton,sar-voltage', R - button impedance. Refer datasheet section 10.2 for more information about threshold calculation.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-e82eb67bf8f09bb97c35"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ad46668ae5a634beb919"><code>8</code></span>

<a id="dt-a6a484a9fb4be4b008ab"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-5a93903671cb18a6c723"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-2abf6006670dc4232696"><code>255</code></span>

<a id="dt-93decda2a3a75bca2c81"></a>

### <code>nuvoton&#44;sar&#45;hysteresis</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2015fc211629a137dbac">[<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-68e2d4e1f11b9b7f1d59">
<p style="white-space: pre-wrap">Button impedance measurement hysteresis.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-80cec28356868061b6d7"><code>0</code></span>

<a id="dt-e8285eb90b426fdcd1db"></a>

### <code>nuvoton&#44;sar&#45;voltage</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-225e468440db4c7de778">[<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-5ee9e1197144a7caab94">
<p style="white-space: pre-wrap">Reference voltage for button impedance measurement.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-1d09e13425f39357251f"></a> <span id="dt-9a07110f999ca5b143e9"><code>0</code></span>, <span id="dt-a409270fba15ab4c6cc5"><code>1</code></span>, <span id="dt-e20009f565fcfd553d69"><code>2</code></span>, <span id="dt-39d185bede27fc9aecde"><code>3</code></span>, <span id="dt-07d7772a2116c5e0778d"><code>4</code></span>, <span id="dt-61530df83a0c7be0e670"><code>5</code></span>, <span id="dt-4dabaee41de29b47cf14"><code>6</code></span>, <span id="dt-0f86209ea24375aa367f"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-f9a44c9f859c747d0c01"><code>6</code></span>

<a id="dt-8d033668a821712228a8"></a>

### <code>nuvoton&#44;sar&#45;compare&#45;time</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-93de791a47dc41ec211c">[<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-3744b4b6bf857a443995">
<p style="white-space: pre-wrap">SAR compare time.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-4417b2962de5c598f9f0"></a> <span id="dt-96b7dd68680ab81b47c1"><code>0</code></span>, <span id="dt-ee84ec0aa35310d7a7b0"><code>1</code></span>, <span id="dt-fb40261fbac3df47e3a7"><code>2</code></span>, <span id="dt-1aa12ebf8e7b9ced61b2"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-9462b0c4067fcddac7e8"><code>1</code></span>

<a id="dt-df79c4e388d42a81de90"></a>

### <code>nuvoton&#44;sar&#45;sampling&#45;time</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9510b8755864b9c8c3f4">[<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-62b9c99640ef08aded5a">
<p style="white-space: pre-wrap">SAR sampling time.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-59a506318ca1bb66ccee"></a> <span id="dt-68162459ea3da3718e8a"><code>0</code></span>, <span id="dt-13de86e207f65bec3841"><code>1</code></span>, <span id="dt-244a9920bf0f46a2545b"><code>2</code></span>, <span id="dt-df0b35b967e6c78f0b16"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-1cdc89ad9273c8ca59e9"><code>1</code></span>

<a id="dt-11611002e6de161d32f1"></a>

### <code>nuvoton&#44;short&#45;key&#45;debounce</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-87f90ebf1aedc835e81f">[<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-f805f896bfeca44dd8de">
<p style="white-space: pre-wrap">Button short key press debounce time.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-bab39ea68106c4293a46"></a> <span id="dt-b4fb78bbcbfc68460e21"><code>0</code></span>, <span id="dt-d0aa8c231a05c7f66faa"><code>1</code></span>, <span id="dt-f2a447f94c6ab8c7b952"><code>2</code></span>

**Default value (<code>default</code>):** <span id="dt-c898a5de6a3f681afe84"><code>0</code></span>

<a id="dt-c790baef1cdb9986bbf9"></a>

### <code>nuvoton&#44;jack&#45;eject&#45;debounce</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-08598990d9d4c9cb2bd5">[<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-ecfb92a7cdfeaf642282">
<p style="white-space: pre-wrap">Jack ejection debounce time.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-b4e14294e341dd3394d6"></a> <span id="dt-43c4e04a3ca9dbb16a81"><code>0</code></span>, <span id="dt-7001b57ca9567ac37f0c"><code>1</code></span>, <span id="dt-16dbcdd18ac027d1ec75"><code>2</code></span>

**Default value (<code>default</code>):** <span id="dt-2f634c942ff82fc334d5"><code>1</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@1a {
        #sound-dai-cells = &lt;0&gt;;
        compatible = "nuvoton,nau8824";
        reg = &lt;0x1a&gt;;
        interrupt-parent = &lt;&amp;gpio&gt;;
        interrupts = &lt;38 IRQ_TYPE_LEVEL_LOW&gt;;
        nuvoton,vref-impedance = &lt;2&gt;;
        nuvoton,micbias-voltage = &lt;6&gt;;
        nuvoton,sar-threshold-num = &lt;4&gt;;
        // Setup 4 buttons impedance according to Android specification
        nuvoton,sar-threshold = &lt;0xc 0x1e 0x38 0x60&gt;;
        nuvoton,sar-hysteresis = &lt;0&gt;;
        nuvoton,sar-voltage = &lt;6&gt;;
        nuvoton,sar-compare-time = &lt;1&gt;;
        nuvoton,sar-sampling-time = &lt;1&gt;;
        nuvoton,short-key-debounce = &lt;0&gt;;
        nuvoton,jack-eject-debounce = &lt;1&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 42:</strong> <span> active high</span></p>

<p id="dt-comment-2"><strong>Line 43:</strong> <span> active low</span></p>

<p id="dt-comment-3"><strong>Line 51:</strong> <span> Open</span></p>

<p id="dt-comment-4"><strong>Line 52:</strong> <span> 25 kOhm</span></p>

<p id="dt-comment-5"><strong>Line 53:</strong> <span> 125 kOhm</span></p>

<p id="dt-comment-6"><strong>Line 54:</strong> <span> 2.5 kOhm</span></p>

<p id="dt-comment-7"><strong>Line 62:</strong> <span> VDDA</span></p>

<p id="dt-comment-8"><strong>Line 63:</strong> <span> VDDA</span></p>

<p id="dt-comment-9"><strong>Line 64:</strong> <span> VDDA * 1.1</span></p>

<p id="dt-comment-10"><strong>Line 65:</strong> <span> VDDA * 1.2</span></p>

<p id="dt-comment-11"><strong>Line 66:</strong> <span> VDDA * 1.3</span></p>

<p id="dt-comment-12"><strong>Line 67:</strong> <span> VDDA * 1.4</span></p>

<p id="dt-comment-13"><strong>Line 68:</strong> <span> VDDA * 1.53</span></p>

<p id="dt-comment-14"><strong>Line 69:</strong> <span> VDDA * 1.53</span></p>

<p id="dt-comment-15"><strong>Line 107:</strong> <span> VDDA</span></p>

<p id="dt-comment-16"><strong>Line 108:</strong> <span> VDDA</span></p>

<p id="dt-comment-17"><strong>Line 109:</strong> <span> VDDA * 1.1</span></p>

<p id="dt-comment-18"><strong>Line 110:</strong> <span> VDDA * 1.2</span></p>

<p id="dt-comment-19"><strong>Line 111:</strong> <span> VDDA * 1.3</span></p>

<p id="dt-comment-20"><strong>Line 112:</strong> <span> VDDA * 1.4</span></p>

<p id="dt-comment-21"><strong>Line 113:</strong> <span> VDDA * 1.53</span></p>

<p id="dt-comment-22"><strong>Line 114:</strong> <span> VDDA * 1.53</span></p>

<p id="dt-comment-23"><strong>Line 122:</strong> <span> 500ns</span></p>

<p id="dt-comment-24"><strong>Line 123:</strong> <span> 1us</span></p>

<p id="dt-comment-25"><strong>Line 124:</strong> <span> 2us</span></p>

<p id="dt-comment-26"><strong>Line 125:</strong> <span> 4us</span></p>

<p id="dt-comment-27"><strong>Line 133:</strong> <span> 2us</span></p>

<p id="dt-comment-28"><strong>Line 134:</strong> <span> 4us</span></p>

<p id="dt-comment-29"><strong>Line 135:</strong> <span> 8us</span></p>

<p id="dt-comment-30"><strong>Line 136:</strong> <span> 16us</span></p>

<p id="dt-comment-31"><strong>Line 144:</strong> <span> 30 ms</span></p>

<p id="dt-comment-32"><strong>Line 145:</strong> <span> 50 ms</span></p>

<p id="dt-comment-33"><strong>Line 146:</strong> <span> 100 ms</span></p>

<p id="dt-comment-34"><strong>Line 154:</strong> <span> 0 ms</span></p>

<p id="dt-comment-35"><strong>Line 155:</strong> <span> 1 ms</span></p>

<p id="dt-comment-36"><strong>Line 156:</strong> <span> 10 ms</span></p>

</details>

---

# NAU8825 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NAU8825 audio CODEC.

<!-- 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;nuvoton&#44;nau8825&#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;John Hsu &#60;KCHSU0&#64;nuvoton&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">NAU8825 audio CODEC</p>
<p style="white-space: pre-wrap">Pins on the device (for linking into audio routes):</p>
<pre><code>  Outputs:
    * HPOL    : Headphone Left Output
    * HPOR    : Headphone Right Output
    * MICBIAS : Microphone Bias Output</code></pre>
<pre><code>  Inputs:
    * MICP    : Analog Microphone Positive Input
    * MICN    : Analog Microphone Negative Input</code></pre>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;nuvoton&#44;nau8825&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-25cc03f2d6d1e69ef0de"></a>

### <code>nuvoton&#44;jkdet&#45;enable</code> — not listed as required here

<div id="dt-636cd204871543e44bd7">
<p style="white-space: pre-wrap">Enable jack detection via JKDET pin.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-066f3ac61fd6029a480d"><code>&#34;boolean&#34;</code></span>

<a id="dt-a4d54f1bac330c8d9cd1"></a>

### <code>nuvoton&#44;jkdet&#45;pull&#45;enable</code> — not listed as required here

<div id="dt-1c068abf8fcd2638e062">
<p style="white-space: pre-wrap">Enable JKDET pin pull. If set - pin pull enabled, otherwise pin in high impedance state.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-99e98ad26d7325c93a47"><code>&#34;boolean&#34;</code></span>

<a id="dt-f581ab6d77fb24d67422"></a>

### <code>nuvoton&#44;jkdet&#45;pull&#45;up</code> — not listed as required here

<div id="dt-7043668c27a70d171f85">
<p style="white-space: pre-wrap">Pull-up JKDET pin. If set then JKDET pin is pull up, otherwise pull down.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-9220c7be4d8e2191eb92"><code>&#34;boolean&#34;</code></span>

<a id="dt-25bb95723ea9460a17cf"></a>

### <code>nuvoton&#44;jkdet&#45;polarity</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d814e457ef927b0b14d8">[<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-fcdc6dd0646dafff9189">
<p style="white-space: pre-wrap">JKDET pin polarity.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d1b3ffbae54806337632"></a> <span id="dt-d6ff30c1608c2782ad02"><code>0</code></span>, <span id="dt-1c3209c0390f9e6a5b6a"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-a04a155a79d0014800d1"><code>1</code></span>

<a id="dt-a6574e648409ac3a2dd8"></a>

### <code>nuvoton&#44;vref&#45;impedance</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7688e52046dc15bfe680">[<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-aaa54d902542e65d1322">
<p style="white-space: pre-wrap">VREF Impedance selection.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-6b9bc5c50d1c8724ff31"></a> <span id="dt-bb2611d2148f23142e4e"><code>0</code></span>, <span id="dt-02e1e04213aee43f8a6c"><code>1</code></span>, <span id="dt-299f85c193f00b8ee037"><code>2</code></span>, <span id="dt-c6967940d3925fc29c05"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-3224099fe508ae787e39"><code>2</code></span>

<a id="dt-49e06f7544e09cb6754e"></a>

### <code>nuvoton&#44;micbias&#45;voltage</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a6a8b9de7ace54933ad5">[<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-8f63d5ac9cb35f4510b9">
<p style="white-space: pre-wrap">Micbias voltage level.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-fbd1df6c60a6e3637452"></a> <span id="dt-ae0c6e857db3d2aeb182"><code>0</code></span>, <span id="dt-cc7673bdcb0d2776deee"><code>1</code></span>, <span id="dt-9bc502ee737fda8ca23f"><code>2</code></span>, <span id="dt-0c27989094f6849ee1a4"><code>3</code></span>, <span id="dt-413ff9e152867d643690"><code>4</code></span>, <span id="dt-833144e87f977e1c6676"><code>5</code></span>, <span id="dt-7e13f945be162e03e6b0"><code>6</code></span>, <span id="dt-6c54ef2461cfd4b4a667"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-1af41c39d17c767fc333"><code>6</code></span>

<a id="dt-b29b83dc101dd7fb63ce"></a>

### <code>nuvoton&#44;sar&#45;threshold&#45;num</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c79a7b884318fd39dbfa">[<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-e05936509fd1b4da706d">
<p style="white-space: pre-wrap">Number of buttons supported.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-c7543f63c3573e10266a"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-acf8fb8678c4f67f629c"><code>4</code></span>

**Default value (<code>default</code>):** <span id="dt-c62c7dd00a950f39741a"><code>4</code></span>

<a id="dt-81e3e8b3c2d67c205749"></a>

### <code>nuvoton&#44;sar&#45;threshold</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3f17b4a454c9f922a693">[<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>

<div id="dt-8f32274f6467032327c0">
<p style="white-space: pre-wrap">Impedance threshold for each button. Array that contains up to 8 buttons configuration. SAR value is calculated as SAR = 255 * MICBIAS / SAR_VOLTAGE * R / (2000 + R) where MICBIAS is configured by 'nuvoton,micbias-voltage', SAR_VOLTAGE is configured by 'nuvoton,sar-voltage', R - button impedance. Refer datasheet section 10.2 for more information about threshold calculation.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-e82eb67bf8f09bb97c35"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ad46668ae5a634beb919"><code>4</code></span>

<a id="dt-a6a484a9fb4be4b008ab"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-5a93903671cb18a6c723"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-2abf6006670dc4232696"><code>255</code></span>

<a id="dt-93decda2a3a75bca2c81"></a>

### <code>nuvoton&#44;sar&#45;hysteresis</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2015fc211629a137dbac">[<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-68e2d4e1f11b9b7f1d59">
<p style="white-space: pre-wrap">Button impedance measurement hysteresis.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-80cec28356868061b6d7"><code>0</code></span>

<a id="dt-e8285eb90b426fdcd1db"></a>

### <code>nuvoton&#44;sar&#45;voltage</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-225e468440db4c7de778">[<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-5ee9e1197144a7caab94">
<p style="white-space: pre-wrap">Reference voltage for button impedance measurement.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-1d09e13425f39357251f"></a> <span id="dt-9a07110f999ca5b143e9"><code>0</code></span>, <span id="dt-a409270fba15ab4c6cc5"><code>1</code></span>, <span id="dt-e20009f565fcfd553d69"><code>2</code></span>, <span id="dt-39d185bede27fc9aecde"><code>3</code></span>, <span id="dt-07d7772a2116c5e0778d"><code>4</code></span>, <span id="dt-61530df83a0c7be0e670"><code>5</code></span>, <span id="dt-4dabaee41de29b47cf14"><code>6</code></span>, <span id="dt-0f86209ea24375aa367f"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-f9a44c9f859c747d0c01"><code>6</code></span>

<a id="dt-8d033668a821712228a8"></a>

### <code>nuvoton&#44;sar&#45;compare&#45;time</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-93de791a47dc41ec211c">[<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-3744b4b6bf857a443995">
<p style="white-space: pre-wrap">SAR compare time.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-4417b2962de5c598f9f0"></a> <span id="dt-96b7dd68680ab81b47c1"><code>0</code></span>, <span id="dt-ee84ec0aa35310d7a7b0"><code>1</code></span>, <span id="dt-fb40261fbac3df47e3a7"><code>2</code></span>, <span id="dt-1aa12ebf8e7b9ced61b2"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-9462b0c4067fcddac7e8"><code>1</code></span>

<a id="dt-df79c4e388d42a81de90"></a>

### <code>nuvoton&#44;sar&#45;sampling&#45;time</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9510b8755864b9c8c3f4">[<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-62b9c99640ef08aded5a">
<p style="white-space: pre-wrap">SAR sampling time.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-59a506318ca1bb66ccee"></a> <span id="dt-68162459ea3da3718e8a"><code>0</code></span>, <span id="dt-13de86e207f65bec3841"><code>1</code></span>, <span id="dt-244a9920bf0f46a2545b"><code>2</code></span>, <span id="dt-df0b35b967e6c78f0b16"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-1cdc89ad9273c8ca59e9"><code>1</code></span>

<a id="dt-11611002e6de161d32f1"></a>

### <code>nuvoton&#44;short&#45;key&#45;debounce</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-87f90ebf1aedc835e81f">[<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-f805f896bfeca44dd8de">
<p style="white-space: pre-wrap">Button short key press debounce time.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-bab39ea68106c4293a46"></a> <span id="dt-b4fb78bbcbfc68460e21"><code>0</code></span>, <span id="dt-d0aa8c231a05c7f66faa"><code>1</code></span>, <span id="dt-f2a447f94c6ab8c7b952"><code>2</code></span>, <span id="dt-5035758d4e28e01d5547"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-c898a5de6a3f681afe84"><code>3</code></span>

<a id="dt-769d705875b987a7716b"></a>

### <code>nuvoton&#44;jack&#45;insert&#45;debounce</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b949ca465e825af2d120">[<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-116aa3ea51b9025f04a9">
<p style="white-space: pre-wrap">number from 0 to 7 that sets debounce time to 2^(n+2) ms.</p>
</div>

**Maximum value (<code>maximum</code>):** <span id="dt-719e330baef22f42b6b4"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-bbe0ba69162f81442d1a"><code>7</code></span>

<a id="dt-c790baef1cdb9986bbf9"></a>

### <code>nuvoton&#44;jack&#45;eject&#45;debounce</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-08598990d9d4c9cb2bd5">[<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-ecfb92a7cdfeaf642282">
<p style="white-space: pre-wrap">number from 0 to 7 that sets debounce time to 2^(n+2) ms</p>
</div>

**Maximum value (<code>maximum</code>):** <span id="dt-cfef22b109a8e874ab1a"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-2f634c942ff82fc334d5"><code>0</code></span>

<a id="dt-799cded25964137cf405"></a>

### <code>nuvoton&#44;crosstalk&#45;enable</code> — not listed as required here

<div id="dt-523c6e34d59609778d09">
<p style="white-space: pre-wrap">make crosstalk function enable if set.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-6cbb8ef690b826e19231"><code>&#34;boolean&#34;</code></span>

<a id="dt-c9a4317319a7216b7a92"></a>

### <code>nuvoton&#44;adcout&#45;drive&#45;strong</code> — not listed as required here

<div id="dt-308570391f6dfe488d36">
<p style="white-space: pre-wrap">make the drive strength of ADCOUT IO PIN strong if set. Otherwise, the drive keeps normal strength.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-2ef08cab4aec2ee5d5fb"><code>&#34;boolean&#34;</code></span>

<a id="dt-a074dd9f84d049ecf1cb"></a>

### <code>nuvoton&#44;adc&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-669b93e208f3a886f65a">
<p style="white-space: pre-wrap">Delay (in ms) to make input path stable and avoid pop noise. The default value is 125 and range between 125 to 500 ms.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-3b74dbebf8ca412188d0"><code>125</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-5d675e52689a312c76a9"><code>500</code></span>

**Default value (<code>default</code>):** <span id="dt-bd8a3efb5388902b465e"><code>125</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@1a {
        #sound-dai-cells = &lt;0&gt;;
        compatible = "nuvoton,nau8825";
        reg = &lt;0x1a&gt;;
        interrupt-parent = &lt;&amp;gpio&gt;;
        interrupts = &lt;38 IRQ_TYPE_LEVEL_LOW&gt;;
        nuvoton,jkdet-enable;
        nuvoton,jkdet-pull-enable;
        nuvoton,jkdet-pull-up;
        nuvoton,jkdet-polarity = &lt;GPIO_ACTIVE_LOW&gt;;
        nuvoton,vref-impedance = &lt;2&gt;;
        nuvoton,micbias-voltage = &lt;6&gt;;
        // Setup 4 buttons impedance according to Android specification
        nuvoton,sar-threshold-num = &lt;4&gt;;
        nuvoton,sar-threshold = &lt;0xc 0x1e 0x38 0x60&gt;;
        nuvoton,sar-hysteresis = &lt;1&gt;;
        nuvoton,sar-voltage = &lt;0&gt;;
        nuvoton,sar-compare-time = &lt;0&gt;;
        nuvoton,sar-sampling-time = &lt;0&gt;;
        nuvoton,short-key-debounce = &lt;2&gt;;
        nuvoton,jack-insert-debounce = &lt;7&gt;;
        nuvoton,jack-eject-debounce = &lt;7&gt;;
        nuvoton,crosstalk-enable;

        clock-names = "mclk";
        clocks = &lt;&amp;tegra_pmc 1&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 62:</strong> <span> active high</span></p>

<p id="dt-comment-2"><strong>Line 63:</strong> <span> active low</span></p>

<p id="dt-comment-3"><strong>Line 71:</strong> <span> Open</span></p>

<p id="dt-comment-4"><strong>Line 72:</strong> <span> 25 kOhm</span></p>

<p id="dt-comment-5"><strong>Line 73:</strong> <span> 125 kOhm</span></p>

<p id="dt-comment-6"><strong>Line 74:</strong> <span> 2.5 kOhm</span></p>

<p id="dt-comment-7"><strong>Line 82:</strong> <span> VDDA</span></p>

<p id="dt-comment-8"><strong>Line 83:</strong> <span> VDDA</span></p>

<p id="dt-comment-9"><strong>Line 84:</strong> <span> VDDA * 1.1</span></p>

<p id="dt-comment-10"><strong>Line 85:</strong> <span> VDDA * 1.2</span></p>

<p id="dt-comment-11"><strong>Line 86:</strong> <span> VDDA * 1.3</span></p>

<p id="dt-comment-12"><strong>Line 87:</strong> <span> VDDA * 1.4</span></p>

<p id="dt-comment-13"><strong>Line 88:</strong> <span> VDDA * 1.53</span></p>

<p id="dt-comment-14"><strong>Line 89:</strong> <span> VDDA * 1.53</span></p>

<p id="dt-comment-15"><strong>Line 127:</strong> <span> VDDA</span></p>

<p id="dt-comment-16"><strong>Line 128:</strong> <span> VDDA</span></p>

<p id="dt-comment-17"><strong>Line 129:</strong> <span> VDDA * 1.1</span></p>

<p id="dt-comment-18"><strong>Line 130:</strong> <span> VDDA * 1.2</span></p>

<p id="dt-comment-19"><strong>Line 131:</strong> <span> VDDA * 1.3</span></p>

<p id="dt-comment-20"><strong>Line 132:</strong> <span> VDDA * 1.4</span></p>

<p id="dt-comment-21"><strong>Line 133:</strong> <span> VDDA * 1.53</span></p>

<p id="dt-comment-22"><strong>Line 134:</strong> <span> VDDA * 1.53</span></p>

<p id="dt-comment-23"><strong>Line 142:</strong> <span> 500 ns</span></p>

<p id="dt-comment-24"><strong>Line 143:</strong> <span> 1 us</span></p>

<p id="dt-comment-25"><strong>Line 144:</strong> <span> 2 us</span></p>

<p id="dt-comment-26"><strong>Line 145:</strong> <span> 4 us</span></p>

<p id="dt-comment-27"><strong>Line 153:</strong> <span> 2 us</span></p>

<p id="dt-comment-28"><strong>Line 154:</strong> <span> 4 us</span></p>

<p id="dt-comment-29"><strong>Line 155:</strong> <span> 8 us</span></p>

<p id="dt-comment-30"><strong>Line 156:</strong> <span> 16 us</span></p>

<p id="dt-comment-31"><strong>Line 164:</strong> <span> 30 ms</span></p>

<p id="dt-comment-32"><strong>Line 165:</strong> <span> 50 ms</span></p>

<p id="dt-comment-33"><strong>Line 166:</strong> <span> 100 ms</span></p>

<p id="dt-comment-34"><strong>Line 167:</strong> <span> 30 ms</span></p>

</details>

---

# NVIDIA Tegra audio complex with ALC5632 CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra audio complex with ALC5632 CODEC.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;alc5632&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<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>nvidia&#44;tegra&#45;audio&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra-audio-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **String pattern (<code>pattern</code>):** <span id="dt-2ea8ec4d2f2bcf1a4b90"><code>&#34;&#94;&#91;a&#45;z0&#45;9&#93;&#43;&#44;tegra&#45;audio&#45;alc5632&#40;&#45;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#43;&#36;&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;nvidia&#44;tegra&#45;audio&#45;alc5632&#34;</code></span>

<a id="dt-570e53a34f16d7f055f0"></a>

### <code>nvidia&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-54ee8460e5acae5bbfab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-7bb2453108af8081d4d0">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the pins (documented in the binding document),
and the jacks on the board.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2bcb93eb4a7588a2b307"><code>2</code></span>

<a id="dt-82b978f928906c8dbb71"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-2a75370b42ac1b697808"></a> <span id="dt-cd132af92d57392d09f3"><code>&#34;Headset Stereophone&#34;</code></span>, <span id="dt-e1856a4ad5395dc590ac"><code>&#34;Int Spk&#34;</code></span>, <span id="dt-304bc8429440f3995401"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-11076b68d2f9b093267f"><code>&#34;Digital Mic&#34;</code></span>, <span id="dt-8cda95536237a924f2f1"><code>&#34;SPKOUT&#34;</code></span>, <span id="dt-91d2f10332a2408b8297"><code>&#34;SPKOUTN&#34;</code></span>, <span id="dt-d594475c15a76cfc25ae"><code>&#34;MICBIAS1&#34;</code></span>, <span id="dt-43d75702a6ef6ee574cb"><code>&#34;MIC1&#34;</code></span>, <span id="dt-5e9ad59ecc076302445b"><code>&#34;HPR&#34;</code></span>, <span id="dt-21009fd5fd639d6fe92d"><code>&#34;HPL&#34;</code></span>, <span id="dt-80931e806ff29b640bda"><code>&#34;DMICDAT&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;nvidia&#44;i2s&#45;controller&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "nvidia,tegra-audio-alc5632-paz00",
                 "nvidia,tegra-audio-alc5632";

    nvidia,model = "Compal PAZ00";

    nvidia,audio-routing = "Int Spk", "SPKOUT",
                           "Int Spk", "SPKOUTN",
                           "Headset Mic", "MICBIAS1",
                           "MIC1", "Headset Mic",
                           "Headset Stereophone", "HPR",
                           "Headset Stereophone", "HPL",
                           "DMICDAT", "Digital Mic";

    nvidia,i2s-controller = &lt;&amp;i2s&gt;;
    nvidia,audio-codec = &lt;&amp;codec&gt;;

    clocks = &lt;&amp;clk 112&gt;, &lt;&amp;clk 113&gt;, &lt;&amp;clk 93&gt;;
    clock-names = "pll_a", "pll_a_out0", "mclk";
};
</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 33:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 39:</strong> <span> CODEC Pins</span></p>

</details>

---

# Common properties for NVIDIA Tegra audio complexes

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Common properties for NVIDIA Tegra audio complexes.

<!-- 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;nvidia&#44;tegra&#45;audio&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">PLL A clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">PLL A OUT0 clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">The Tegra cdev1/extern1 clock, which feeds the card's mclk</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pll&#95;a&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;pll&#95;a&#95;out0&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;mclk&#34;</code></span>

<a id="dt-64706a45e66a2f8339d0"></a>

### <code>nvidia&#44;model</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-407ceae1d6724c1fd8f8">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-92b5eb1349b9d512d5be">
<p style="white-space: pre-wrap">The user-visible name of this sound complex.</p>
</div>

<a id="dt-570e53a34f16d7f055f0"></a>

### <code>nvidia&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-54ee8460e5acae5bbfab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-7bb2453108af8081d4d0">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the pins (documented in the binding document),
and the jacks on the board.</p>
</div>

<a id="dt-00acabcca1330dc47e65"></a>

### <code>nvidia&#44;ac97&#45;controller</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c9e92ca67a21cbba997a">[<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-e8f0660e26bb741451b2">
<p style="white-space: pre-wrap">The phandle of the AC97 controller</p>
</div>

<a id="dt-47ecb1b3af2f9f7b49b0"></a>

### <code>nvidia&#44;i2s&#45;controller</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-66e7329f965156985f77">[<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-97aeaebfa5ecc2dca53f">
<p style="white-space: pre-wrap">The phandle of the Tegra I2S controller</p>
</div>

<a id="dt-1f77b92c7d3a2d2def76"></a>

### <code>nvidia&#44;audio&#45;codec</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-837fcd13bf352bb017a5">[<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-b83ab2399b43e83eb453">
<p style="white-space: pre-wrap">The phandle of audio codec</p>
</div>

<a id="dt-faead1f3b948ff6a721b"></a>

### <code>nvidia&#44;spkr&#45;en&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-31393ae1af86a3dc6b48"><code>1</code></span>

<div id="dt-91e06c49fffb81eab123">
<p style="white-space: pre-wrap">The GPIO that enables the speakers</p>
</div>

<a id="dt-a16809e1a41633c67cf7"></a>

### <code>nvidia&#44;hp&#45;mute&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-5ba70b62f8e641dd87cd"><code>1</code></span>

<div id="dt-9e7a45483d59b9ae01b1">
<p style="white-space: pre-wrap">The GPIO that mutes the headphones</p>
</div>

<a id="dt-0530692051de9369b5c0"></a>

### <code>nvidia&#44;hp&#45;det&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-a450e9a601d3638f55f3"><code>1</code></span>

<div id="dt-b64a756de6afc8214986">
<p style="white-space: pre-wrap">The GPIO that detect headphones are plugged in</p>
</div>

<a id="dt-a8f6fc1d8839fd644d5f"></a>

### <code>nvidia&#44;mic&#45;det&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9d66047f7ab488e6db43"><code>1</code></span>

<div id="dt-b38808e701872b6b0b9a">
<p style="white-space: pre-wrap">The GPIO that detect microphone is plugged in</p>
</div>

<a id="dt-adcefe4745c6f629653c"></a>

### <code>nvidia&#44;ear&#45;sel&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-40d106cf64702545ab48"><code>1</code></span>

<div id="dt-ddaaa96be41e4a405c7b">
<p style="white-space: pre-wrap">The GPIO that switch between the microphones</p>
</div>

<a id="dt-df250244f0f8ed2e11b7"></a>

### <code>nvidia&#44;int&#45;mic&#45;en&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-1fc448659786138e6256"><code>1</code></span>

<div id="dt-0118e2b4543e05a95cf1">
<p style="white-space: pre-wrap">The GPIO that enables the internal microphone</p>
</div>

<a id="dt-5afcbe3349b4663264e9"></a>

### <code>nvidia&#44;ext&#45;mic&#45;en&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-31575ba150828c97ed14"><code>1</code></span>

<div id="dt-deb7d6b9a86b92338b92">
<p style="white-space: pre-wrap">The GPIO that enables the external microphone</p>
</div>

<a id="dt-27555e61f6b2ab65994b"></a>

### <code>nvidia&#44;headset</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-c56a87507def0e8fedb3"><code>&#34;boolean&#34;</code></span>

<div id="dt-263d48bbb9ec89d3d9fd">
<p style="white-space: pre-wrap">The Mic Jack represents state of the headset microphone pin</p>
</div>

<a id="dt-3fa9b10f5354fe2c9478"></a>

### <code>nvidia&#44;coupled&#45;mic&#45;hp&#45;det</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-f9822147aba46b16c59b"><code>&#34;boolean&#34;</code></span>

<div id="dt-d6f2d8c30ec8b88babea">
<p style="white-space: pre-wrap">The Mic detect GPIO is viable only if HP detect GPIO is active</p>
</div>

<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>

---

# Audio Graph based Tegra sound card driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Audio Graph based Tegra sound card driver.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;graph&#45;card&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This is based on generic audio graph card driver along with additional
customizations for Tegra platforms. It uses the same bindings with
additional standard clock DT bindings required for Tegra.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>audio&#45;graph&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;nvidia&#44;tegra210&#45;audio&#45;graph&#45;card&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nvidia&#44;tegra186&#45;audio&#45;graph&#45;card&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;nvidia&#44;tegra238&#45;audio&#45;graph&#45;card&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;nvidia&#44;tegra264&#45;audio&#45;graph&#45;card&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pll&#95;a&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;plla&#95;out0&#34;</code></span>

<a id="dt-12d2eb74181a2f7523ba"></a>

### <code>assigned&#45;clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-6a975dd7ef1a1c284872"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ee861ff49ec2ad3ab4a8"><code>3</code></span>

<a id="dt-9c43aef1a0c065c8db91"></a>

### <code>assigned&#45;clock&#45;parents</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-a2f6ac15c9908f8f325e"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b4757001a378c86cac1"><code>3</code></span>

<a id="dt-9f66f091d5bf3996d703"></a>

### <code>assigned&#45;clock&#45;rates</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0836804f09c188662cc3"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-75523e3e91ae5a505a21"><code>3</code></span>

<a id="dt-e744adcd27efde46089d"></a>

### <code>interconnects</code> — not listed as required here

<a id="dt-050bd17c82471c548ae6"></a>

#### Array item rules (<code>items</code>)

<a id="dt-3c8beddba4c330f3f2ce"></a>

**Item 1**

> <div id="dt-6dfeff356d948effe34f">
> <p style="white-space: pre-wrap">APE read memory client</p>
> </div>

<a id="dt-de392227e8f3d3c9a57b"></a>

**Item 2**

> <div id="dt-d62faf4971d56ff9afe0">
> <p style="white-space: pre-wrap">APE write memory client</p>
> </div>

<a id="dt-2ce9b9b6dd721fac25e9"></a>

### <code>interconnect&#45;names</code> — not listed as required here

<a id="dt-4332fbf84d4c78ea0294"></a>

#### Array item rules (<code>items</code>)

<a id="dt-2111c2ef31eab69c10e3"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-4703ee7000618caf6783"><code>&#34;dma&#45;mem&#34;</code></span>

<a id="dt-33130cd4a368d9cf5c91"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-97dc8df8d353ce89df85"><code>&#34;write&#34;</code></span>

<a id="dt-a36eed19b18515184df2"></a>

### <code>iommus</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e4a101d772fc97cb1dd0"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;clocks&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;assigned&#45;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;assigned&#45;clock&#45;parents&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/tegra210-car.h&gt;

tegra_sound {
    compatible = "nvidia,tegra210-audio-graph-card";

    clocks = &lt;&amp;tegra_car TEGRA210_CLK_PLL_A&gt;,
             &lt;&amp;tegra_car TEGRA210_CLK_PLL_A_OUT0&gt;;
    clock-names = "pll_a", "plla_out0";

    assigned-clocks = &lt;&amp;tegra_car TEGRA210_CLK_PLL_A&gt;,
                      &lt;&amp;tegra_car TEGRA210_CLK_PLL_A_OUT0&gt;,
                      &lt;&amp;tegra_car TEGRA210_CLK_EXTERN1&gt;;
    assigned-clock-parents = &lt;0&gt;, &lt;0&gt;, &lt;&amp;tegra_car TEGRA210_CLK_PLL_A_OUT0&gt;;
    assigned-clock-rates = &lt;368640000&gt;, &lt;49152000&gt;, &lt;12288000&gt;;

    dais = /* FE */
           &lt;&amp;admaif1_port&gt;,
           /* Router */
           &lt;&amp;xbar_i2s1_port&gt;,
           /* I/O DAP Ports */
           &lt;&amp;i2s1_port&gt;;

    label = "jetson-tx1-ape";
};

// The ports are defined for AHUB and its child devices.
ahub@702d0800 {
    compatible = "nvidia,tegra210-ahub";
    reg = &lt;0x702d0800 0x800&gt;;
    clocks = &lt;&amp;tegra_car TEGRA210_CLK_D_AUDIO&gt;;
    clock-names = "ahub";
    assigned-clocks = &lt;&amp;tegra_car TEGRA210_CLK_D_AUDIO&gt;;
    assigned-clock-parents = &lt;&amp;tegra_car TEGRA210_CLK_PLL_A_OUT0&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0x702d0000 0x702d0000 0x0000e400&gt;;

    ports {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        port@0 {
            reg = &lt;0x0&gt;;
            xbar_admaif1_ep: endpoint {
                remote-endpoint = &lt;&amp;admaif1_ep&gt;;
            };
        };

        // ...

        xbar_i2s1_port: port@a {
            reg = &lt;0xa&gt;;
            xbar_i2s1_ep: endpoint {
                remote-endpoint = &lt;&amp;i2s1_cif_ep&gt;;
            };
        };
    };

    admaif@702d0000 {
        compatible = "nvidia,tegra210-admaif";
        reg = &lt;0x702d0000 0x800&gt;;
        dmas = &lt;&amp;adma 1&gt;,  &lt;&amp;adma 1&gt;,
               &lt;&amp;adma 2&gt;,  &lt;&amp;adma 2&gt;,
               &lt;&amp;adma 3&gt;,  &lt;&amp;adma 3&gt;,
               &lt;&amp;adma 4&gt;,  &lt;&amp;adma 4&gt;,
               &lt;&amp;adma 5&gt;,  &lt;&amp;adma 5&gt;,
               &lt;&amp;adma 6&gt;,  &lt;&amp;adma 6&gt;,
               &lt;&amp;adma 7&gt;,  &lt;&amp;adma 7&gt;,
               &lt;&amp;adma 8&gt;,  &lt;&amp;adma 8&gt;,
               &lt;&amp;adma 9&gt;,  &lt;&amp;adma 9&gt;,
               &lt;&amp;adma 10&gt;, &lt;&amp;adma 10&gt;;
        dma-names = "rx1",  "tx1",
                    "rx2",  "tx2",
                    "rx3",  "tx3",
                    "rx4",  "tx4",
                    "rx5",  "tx5",
                    "rx6",  "tx6",
                    "rx7",  "tx7",
                    "rx8",  "tx8",
                    "rx9",  "tx9",
                    "rx10", "tx10";

        ports {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;

            admaif1_port: port@0 {
                reg = &lt;0x0&gt;;
                admaif1_ep: endpoint {
                    remote-endpoint = &lt;&amp;xbar_admaif1_ep&gt;;
                };
            };

            // More ADMAIF ports to follow
        };
    };

    i2s@702d1000 {
        compatible = "nvidia,tegra210-i2s";
        clocks = &lt;&amp;tegra_car TEGRA210_CLK_I2S0&gt;;
        clock-names = "i2s";
        assigned-clocks = &lt;&amp;tegra_car TEGRA210_CLK_I2S0&gt;;
        assigned-clock-parents = &lt;&amp;tegra_car TEGRA210_CLK_PLL_A_OUT0&gt;;
        assigned-clock-rates = &lt;1536000&gt;;
        reg = &lt;0x702d1000 0x100&gt;;

        ports {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;

            port@0 {
                reg = &lt;0x0&gt;;

                i2s1_cif_ep: endpoint {
                    remote-endpoint = &lt;&amp;xbar_i2s1_ep&gt;;
                };
            };

            i2s1_port: port@1 {
                reg = &lt;0x1&gt;;

                i2s1_dap: endpoint {
                    dai-format = "i2s";
                };
            };
        };
    };
};
</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 56:</strong> <span> read</span></p>

</details>

---

# NVIDIA Tegra audio complex with MAX9808x CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra audio complex with MAX9808x CODEC.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;max9808x&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<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>nvidia&#44;tegra&#45;audio&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra-audio-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-693b4372baab773d14c8"><code>&#34;&#94;&#91;a&#45;z0&#45;9&#93;&#43;&#44;tegra&#45;audio&#45;max98088&#40;&#45;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#43;&#36;&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;nvidia&#44;tegra&#45;audio&#45;max98088&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-2f43212fc96a41bbccbd"><code>&#34;&#94;&#91;a&#45;z0&#45;9&#93;&#43;&#44;tegra&#45;audio&#45;max98089&#40;&#45;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#43;&#36;&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra&#45;audio&#45;max98089&#34;</code></span>

<a id="dt-570e53a34f16d7f055f0"></a>

### <code>nvidia&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-54ee8460e5acae5bbfab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-7bb2453108af8081d4d0">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the pins (documented in the binding document),
and the jacks on the board.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2bcb93eb4a7588a2b307"><code>2</code></span>

<a id="dt-82b978f928906c8dbb71"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-2a75370b42ac1b697808"></a> <span id="dt-cd132af92d57392d09f3"><code>&#34;Int Spk&#34;</code></span>, <span id="dt-e1856a4ad5395dc590ac"><code>&#34;Headphone Jack&#34;</code></span>, <span id="dt-304bc8429440f3995401"><code>&#34;Earpiece&#34;</code></span>, <span id="dt-11076b68d2f9b093267f"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-8cda95536237a924f2f1"><code>&#34;Internal Mic 1&#34;</code></span>, <span id="dt-91d2f10332a2408b8297"><code>&#34;Internal Mic 2&#34;</code></span>, <span id="dt-d594475c15a76cfc25ae"><code>&#34;HPL&#34;</code></span>, <span id="dt-43d75702a6ef6ee574cb"><code>&#34;HPR&#34;</code></span>, <span id="dt-5e9ad59ecc076302445b"><code>&#34;SPKL&#34;</code></span>, <span id="dt-21009fd5fd639d6fe92d"><code>&#34;SPKR&#34;</code></span>, <span id="dt-80931e806ff29b640bda"><code>&#34;RECL&#34;</code></span>, <span id="dt-ca1f10ecccbddb62c195"><code>&#34;RECR&#34;</code></span>, <span id="dt-7ee31537fbe859c23559"><code>&#34;INA1&#34;</code></span>, <span id="dt-f2aebcf48e6d7d417ce1"><code>&#34;INA2&#34;</code></span>, <span id="dt-25721b15eccd4ba5f225"><code>&#34;INB1&#34;</code></span>, <span id="dt-506e8485a53569d75839"><code>&#34;INB2&#34;</code></span>, <span id="dt-43224ec75e519d60fdc0"><code>&#34;MIC1&#34;</code></span>, <span id="dt-69090261bbe3b0fa7dde"><code>&#34;MIC2&#34;</code></span>, <span id="dt-1c380f7aa71829ff7817"><code>&#34;MICBIAS&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/tegra30-car.h&gt;
#include &lt;dt-bindings/soc/tegra-pmc.h&gt;
sound {
    compatible = "lg,tegra-audio-max98089-p895",
                 "nvidia,tegra-audio-max98089";
    nvidia,model = "LG Optimus Vu MAX98089";

    nvidia,audio-routing =
        "Headphone Jack", "HPL",
        "Headphone Jack", "HPR",
        "Int Spk", "SPKL",
        "Int Spk", "SPKR",
        "Earpiece", "RECL",
        "Earpiece", "RECR",
        "INA1", "Headset Mic",
        "MIC1", "MICBIAS",
        "MICBIAS", "Internal Mic 1",
        "MIC2", "Internal Mic 2";

    nvidia,i2s-controller = &lt;&amp;tegra_i2s0&gt;;
    nvidia,audio-codec = &lt;&amp;codec&gt;;

    clocks = &lt;&amp;tegra_car TEGRA30_CLK_PLL_A&gt;,
             &lt;&amp;tegra_car TEGRA30_CLK_PLL_A_OUT0&gt;,
             &lt;&amp;tegra_pmc TEGRA_PMC_CLK_OUT_1&gt;;
    clock-names = "pll_a", "pll_a_out0", "mclk";
};
</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 37:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 45:</strong> <span> CODEC Pins</span></p>

</details>

---

# NVIDIA Tegra audio complex with MAX98090 CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra audio complex with MAX98090 CODEC.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;max98090&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<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>nvidia&#44;tegra&#45;audio&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra-audio-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-693b4372baab773d14c8"><code>&#34;&#94;&#91;a&#45;z0&#45;9&#93;&#43;&#44;tegra&#45;audio&#45;max98090&#40;&#45;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#43;&#36;&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;nvidia&#44;tegra&#45;audio&#45;max98090&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra&#45;audio&#45;max98090&#45;nyan&#45;big&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra&#45;audio&#45;max98090&#45;nyan&#45;blaze&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra&#45;audio&#45;max98090&#45;nyan&#34;</code></span>
>
> <a id="dt-1655c7bc2063a21f60f8"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-7c57653c6bcac024338a"><code>&#34;nvidia&#44;tegra&#45;audio&#45;max98090&#34;</code></span>

<a id="dt-570e53a34f16d7f055f0"></a>

### <code>nvidia&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-54ee8460e5acae5bbfab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-7bb2453108af8081d4d0">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the pins (documented in the binding document),
and the jacks on the board.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2bcb93eb4a7588a2b307"><code>2</code></span>

<a id="dt-82b978f928906c8dbb71"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-2a75370b42ac1b697808"></a> <span id="dt-cd132af92d57392d09f3"><code>&#34;Headphones&#34;</code></span>, <span id="dt-e1856a4ad5395dc590ac"><code>&#34;Speakers&#34;</code></span>, <span id="dt-304bc8429440f3995401"><code>&#34;Mic Jack&#34;</code></span>, <span id="dt-11076b68d2f9b093267f"><code>&#34;Int Mic&#34;</code></span>, <span id="dt-8cda95536237a924f2f1"><code>&#34;MIC1&#34;</code></span>, <span id="dt-91d2f10332a2408b8297"><code>&#34;MIC2&#34;</code></span>, <span id="dt-d594475c15a76cfc25ae"><code>&#34;DMICL&#34;</code></span>, <span id="dt-43d75702a6ef6ee574cb"><code>&#34;DMICR&#34;</code></span>, <span id="dt-5e9ad59ecc076302445b"><code>&#34;IN1&#34;</code></span>, <span id="dt-21009fd5fd639d6fe92d"><code>&#34;IN2&#34;</code></span>, <span id="dt-80931e806ff29b640bda"><code>&#34;IN3&#34;</code></span>, <span id="dt-ca1f10ecccbddb62c195"><code>&#34;IN4&#34;</code></span>, <span id="dt-7ee31537fbe859c23559"><code>&#34;IN5&#34;</code></span>, <span id="dt-f2aebcf48e6d7d417ce1"><code>&#34;IN6&#34;</code></span>, <span id="dt-25721b15eccd4ba5f225"><code>&#34;IN12&#34;</code></span>, <span id="dt-506e8485a53569d75839"><code>&#34;IN34&#34;</code></span>, <span id="dt-43224ec75e519d60fdc0"><code>&#34;IN56&#34;</code></span>, <span id="dt-69090261bbe3b0fa7dde"><code>&#34;HPL&#34;</code></span>, <span id="dt-1c380f7aa71829ff7817"><code>&#34;HPR&#34;</code></span>, <span id="dt-fd750b45b34dbb7e7b43"><code>&#34;SPKL&#34;</code></span>, <span id="dt-2182a53e511507e9e5d1"><code>&#34;SPKR&#34;</code></span>, <span id="dt-9092af396800a9245064"><code>&#34;RCVL&#34;</code></span>, <span id="dt-64060decfb4dca6c7019"><code>&#34;RCVR&#34;</code></span>, <span id="dt-ce80111871eab17b9590"><code>&#34;MICBIAS&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;nvidia&#44;i2s&#45;controller&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/tegra124-car.h&gt;

sound {
    compatible = "nvidia,tegra-audio-max98090-venice2",
                 "nvidia,tegra-audio-max98090";
    nvidia,model = "NVIDIA Tegra Venice2";

    nvidia,audio-routing =
            "Headphones", "HPR",
            "Headphones", "HPL",
            "Speakers", "SPKR",
            "Speakers", "SPKL",
            "Mic Jack", "MICBIAS",
            "IN34", "Mic Jack";

    nvidia,i2s-controller = &lt;&amp;tegra_i2s1&gt;;
    nvidia,audio-codec = &lt;&amp;acodec&gt;;

    clocks = &lt;&amp;tegra_car TEGRA124_CLK_PLL_A&gt;,
             &lt;&amp;tegra_car TEGRA124_CLK_PLL_A_OUT0&gt;,
             &lt;&amp;tegra_car TEGRA124_CLK_EXTERN1&gt;;
    clock-names = "pll_a", "pll_a_out0", "mclk";
};
</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 40:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 46:</strong> <span> CODEC Pins</span></p>

</details>

---

# NVIDIA Tegra audio complex with RT5631 CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra audio complex with RT5631 CODEC.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;rt5631&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<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>nvidia&#44;tegra&#45;audio&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra-audio-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **String pattern (<code>pattern</code>):** <span id="dt-2ea8ec4d2f2bcf1a4b90"><code>&#34;&#94;&#91;a&#45;z0&#45;9&#93;&#43;&#44;tegra&#45;audio&#45;rt5631&#40;&#45;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#43;&#36;&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;nvidia&#44;tegra&#45;audio&#45;rt5631&#34;</code></span>

<a id="dt-570e53a34f16d7f055f0"></a>

### <code>nvidia&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-54ee8460e5acae5bbfab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-7bb2453108af8081d4d0">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the pins (documented in the binding document),
and the jacks on the board.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2bcb93eb4a7588a2b307"><code>2</code></span>

<a id="dt-82b978f928906c8dbb71"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-2a75370b42ac1b697808"></a> <span id="dt-cd132af92d57392d09f3"><code>&#34;Int Spk&#34;</code></span>, <span id="dt-e1856a4ad5395dc590ac"><code>&#34;Headphone Jack&#34;</code></span>, <span id="dt-304bc8429440f3995401"><code>&#34;Mic Jack&#34;</code></span>, <span id="dt-11076b68d2f9b093267f"><code>&#34;Int Mic&#34;</code></span>, <span id="dt-8cda95536237a924f2f1"><code>&#34;MIC1&#34;</code></span>, <span id="dt-91d2f10332a2408b8297"><code>&#34;MIC2&#34;</code></span>, <span id="dt-d594475c15a76cfc25ae"><code>&#34;AXIL&#34;</code></span>, <span id="dt-43d75702a6ef6ee574cb"><code>&#34;AXIR&#34;</code></span>, <span id="dt-5e9ad59ecc076302445b"><code>&#34;MONOIN&#95;RXN&#34;</code></span>, <span id="dt-21009fd5fd639d6fe92d"><code>&#34;MONOIN&#95;RXP&#34;</code></span>, <span id="dt-80931e806ff29b640bda"><code>&#34;DMIC&#34;</code></span>, <span id="dt-ca1f10ecccbddb62c195"><code>&#34;MIC Bias1&#34;</code></span>, <span id="dt-7ee31537fbe859c23559"><code>&#34;MIC Bias2&#34;</code></span>, <span id="dt-f2aebcf48e6d7d417ce1"><code>&#34;MONO&#95;IN&#34;</code></span>, <span id="dt-25721b15eccd4ba5f225"><code>&#34;AUXO1&#34;</code></span>, <span id="dt-506e8485a53569d75839"><code>&#34;AUXO2&#34;</code></span>, <span id="dt-43224ec75e519d60fdc0"><code>&#34;SPOL&#34;</code></span>, <span id="dt-69090261bbe3b0fa7dde"><code>&#34;SPOR&#34;</code></span>, <span id="dt-1c380f7aa71829ff7817"><code>&#34;HPOL&#34;</code></span>, <span id="dt-fd750b45b34dbb7e7b43"><code>&#34;HPOR&#34;</code></span>, <span id="dt-2182a53e511507e9e5d1"><code>&#34;MONO&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/tegra30-car.h&gt;
#include &lt;dt-bindings/soc/tegra-pmc.h&gt;
sound {
    compatible = "asus,tegra-audio-rt5631-tf700t",
                 "nvidia,tegra-audio-rt5631";
    nvidia,model = "Asus Transformer Infinity TF700T RT5631";

    nvidia,audio-routing =
            "Headphone Jack", "HPOL",
            "Headphone Jack", "HPOR",
            "Int Spk", "SPOL",
            "Int Spk", "SPOR",
            "MIC1", "MIC Bias1",
            "MIC Bias1", "Mic Jack",
            "DMIC", "Int Mic";

    nvidia,i2s-controller = &lt;&amp;tegra_i2s1&gt;;
    nvidia,audio-codec = &lt;&amp;rt5631&gt;;

    clocks = &lt;&amp;tegra_car TEGRA30_CLK_PLL_A&gt;,
             &lt;&amp;tegra_car TEGRA30_CLK_PLL_A_OUT0&gt;,
             &lt;&amp;tegra_pmc TEGRA_PMC_CLK_OUT_1&gt;;
    clock-names = "pll_a", "pll_a_out0", "mclk";
};
</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 33:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 39:</strong> <span> CODEC Pins</span></p>

</details>

---

# NVIDIA Tegra audio complex with RT5639 or RT5640 CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra audio complex with RT5639 or RT5640 CODEC.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;rt5640&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<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>nvidia&#44;tegra&#45;audio&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra-audio-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **String pattern (<code>pattern</code>):** <span id="dt-2ea8ec4d2f2bcf1a4b90"><code>&#34;&#94;&#91;a&#45;z0&#45;9&#93;&#43;&#44;tegra&#45;audio&#45;rt56&#40;39&#124;40&#41;&#40;&#45;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#43;&#36;&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;nvidia&#44;tegra&#45;audio&#45;rt5640&#34;</code></span>

<a id="dt-570e53a34f16d7f055f0"></a>

### <code>nvidia&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-54ee8460e5acae5bbfab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-7bb2453108af8081d4d0">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the pins (documented in the binding document),
and the jacks on the board.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2bcb93eb4a7588a2b307"><code>2</code></span>

<a id="dt-82b978f928906c8dbb71"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-2a75370b42ac1b697808"></a> <span id="dt-cd132af92d57392d09f3"><code>&#34;Headphones&#34;</code></span>, <span id="dt-e1856a4ad5395dc590ac"><code>&#34;Speakers&#34;</code></span>, <span id="dt-304bc8429440f3995401"><code>&#34;Mic Jack&#34;</code></span>, <span id="dt-11076b68d2f9b093267f"><code>&#34;DMIC1&#34;</code></span>, <span id="dt-8cda95536237a924f2f1"><code>&#34;DMIC2&#34;</code></span>, <span id="dt-91d2f10332a2408b8297"><code>&#34;MICBIAS1&#34;</code></span>, <span id="dt-d594475c15a76cfc25ae"><code>&#34;IN1P&#34;</code></span>, <span id="dt-43d75702a6ef6ee574cb"><code>&#34;IN1R&#34;</code></span>, <span id="dt-5e9ad59ecc076302445b"><code>&#34;IN2P&#34;</code></span>, <span id="dt-21009fd5fd639d6fe92d"><code>&#34;IN2R&#34;</code></span>, <span id="dt-80931e806ff29b640bda"><code>&#34;HPOL&#34;</code></span>, <span id="dt-ca1f10ecccbddb62c195"><code>&#34;HPOR&#34;</code></span>, <span id="dt-7ee31537fbe859c23559"><code>&#34;LOUTL&#34;</code></span>, <span id="dt-f2aebcf48e6d7d417ce1"><code>&#34;LOUTR&#34;</code></span>, <span id="dt-25721b15eccd4ba5f225"><code>&#34;MONOP&#34;</code></span>, <span id="dt-506e8485a53569d75839"><code>&#34;MONON&#34;</code></span>, <span id="dt-43224ec75e519d60fdc0"><code>&#34;SPOLP&#34;</code></span>, <span id="dt-69090261bbe3b0fa7dde"><code>&#34;SPOLN&#34;</code></span>, <span id="dt-1c380f7aa71829ff7817"><code>&#34;SPORP&#34;</code></span>, <span id="dt-fd750b45b34dbb7e7b43"><code>&#34;SPORN&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;nvidia&#44;i2s&#45;controller&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "nvidia,tegra-audio-rt5640-dalmore",
                 "nvidia,tegra-audio-rt5640";
    nvidia,model = "NVIDIA Tegra Dalmore";

    nvidia,audio-routing =
            "Headphones", "HPOR",
            "Headphones", "HPOL",
            "Speakers", "SPORP",
            "Speakers", "SPORN",
            "Speakers", "SPOLP",
            "Speakers", "SPOLN";

    nvidia,i2s-controller = &lt;&amp;tegra_i2s1&gt;;
    nvidia,audio-codec = &lt;&amp;rt5640&gt;;

    nvidia,hp-det-gpios = &lt;&amp;gpio 143 0&gt;;

    clocks = &lt;&amp;clk 216&gt;, &lt;&amp;clk 217&gt;, &lt;&amp;clk 120&gt;;
    clock-names = "pll_a", "pll_a_out0", "mclk";
};
</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 33:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 38:</strong> <span> CODEC Pins</span></p>

</details>

---

# NVIDIA Tegra audio complex with RT5677 CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra audio complex with RT5677 CODEC.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;rt5677&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<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>nvidia&#44;tegra&#45;audio&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra-audio-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **String pattern (<code>pattern</code>):** <span id="dt-2ea8ec4d2f2bcf1a4b90"><code>&#34;&#94;&#91;a&#45;z0&#45;9&#93;&#43;&#44;tegra&#45;audio&#45;rt5677&#40;&#45;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#43;&#36;&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;nvidia&#44;tegra&#45;audio&#45;rt5677&#34;</code></span>

<a id="dt-570e53a34f16d7f055f0"></a>

### <code>nvidia&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-54ee8460e5acae5bbfab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-7bb2453108af8081d4d0">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the pins (documented in the binding document),
and the jacks on the board.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2bcb93eb4a7588a2b307"><code>2</code></span>

<a id="dt-82b978f928906c8dbb71"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-2a75370b42ac1b697808"></a> <span id="dt-cd132af92d57392d09f3"><code>&#34;Headphone&#34;</code></span>, <span id="dt-e1856a4ad5395dc590ac"><code>&#34;Speaker&#34;</code></span>, <span id="dt-304bc8429440f3995401"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-11076b68d2f9b093267f"><code>&#34;Internal Mic 1&#34;</code></span>, <span id="dt-8cda95536237a924f2f1"><code>&#34;Internal Mic 2&#34;</code></span>, <span id="dt-91d2f10332a2408b8297"><code>&#34;IN1P&#34;</code></span>, <span id="dt-d594475c15a76cfc25ae"><code>&#34;IN1N&#34;</code></span>, <span id="dt-43d75702a6ef6ee574cb"><code>&#34;IN2P&#34;</code></span>, <span id="dt-5e9ad59ecc076302445b"><code>&#34;IN2N&#34;</code></span>, <span id="dt-21009fd5fd639d6fe92d"><code>&#34;MICBIAS1&#34;</code></span>, <span id="dt-80931e806ff29b640bda"><code>&#34;DMIC1&#34;</code></span>, <span id="dt-ca1f10ecccbddb62c195"><code>&#34;DMIC2&#34;</code></span>, <span id="dt-7ee31537fbe859c23559"><code>&#34;DMIC3&#34;</code></span>, <span id="dt-f2aebcf48e6d7d417ce1"><code>&#34;DMIC4&#34;</code></span>, <span id="dt-25721b15eccd4ba5f225"><code>&#34;DMIC L1&#34;</code></span>, <span id="dt-506e8485a53569d75839"><code>&#34;DMIC L2&#34;</code></span>, <span id="dt-43224ec75e519d60fdc0"><code>&#34;DMIC L3&#34;</code></span>, <span id="dt-69090261bbe3b0fa7dde"><code>&#34;DMIC L4&#34;</code></span>, <span id="dt-1c380f7aa71829ff7817"><code>&#34;DMIC R1&#34;</code></span>, <span id="dt-fd750b45b34dbb7e7b43"><code>&#34;DMIC R2&#34;</code></span>, <span id="dt-2182a53e511507e9e5d1"><code>&#34;DMIC R3&#34;</code></span>, <span id="dt-9092af396800a9245064"><code>&#34;DMIC R4&#34;</code></span>, <span id="dt-64060decfb4dca6c7019"><code>&#34;LOUT1&#34;</code></span>, <span id="dt-ce80111871eab17b9590"><code>&#34;LOUT2&#34;</code></span>, <span id="dt-afbbfd434f2cabe3e789"><code>&#34;LOUT3&#34;</code></span>, <span id="dt-f99a8a7b7f1033023ed0"><code>&#34;PDM1L&#34;</code></span>, <span id="dt-034950fb976d6bc3ba18"><code>&#34;PDM1R&#34;</code></span>, <span id="dt-74ef522947aeb8d8bf61"><code>&#34;PDM2L&#34;</code></span>, <span id="dt-2880148b2735dfb59846"><code>&#34;PDM2R&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;nvidia&#44;i2s&#45;controller&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "nvidia,tegra-audio-rt5677-ryu",
                 "nvidia,tegra-audio-rt5677";
    nvidia,model = "NVIDIA Tegra Ryu";

    nvidia,audio-routing =
            "Headphone", "LOUT2",
            "Headphone", "LOUT1",
            "Headset Mic", "MICBIAS1",
            "IN1P", "Headset Mic",
            "IN1N", "Headset Mic",
            "DMIC L1", "Internal Mic 1",
            "DMIC R1", "Internal Mic 1",
            "DMIC L2", "Internal Mic 2",
            "DMIC R2", "Internal Mic 2",
            "Speaker", "PDM1L",
            "Speaker", "PDM1R";

    nvidia,i2s-controller = &lt;&amp;tegra_i2s1&gt;;
    nvidia,audio-codec = &lt;&amp;rt5677&gt;;

    nvidia,hp-det-gpios = &lt;&amp;gpio 143 0&gt;;

    clocks = &lt;&amp;clk 216&gt;,
             &lt;&amp;clk 217&gt;,
             &lt;&amp;clk 121&gt;;
    clock-names = "pll_a", "pll_a_out0", "mclk";
};
</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 33:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 40:</strong> <span> CODEC Pins</span></p>

</details>

---

# NVIDIA Tegra audio complex with SGTL5000 CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra audio complex with SGTL5000 CODEC.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;sgtl5000&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<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>nvidia&#44;tegra&#45;audio&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra-audio-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **String pattern (<code>pattern</code>):** <span id="dt-2ea8ec4d2f2bcf1a4b90"><code>&#34;&#94;&#91;a&#45;z0&#45;9&#93;&#43;&#44;tegra&#45;audio&#45;sgtl5000&#40;&#91;&#45;&#95;&#93;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#43;&#36;&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;nvidia&#44;tegra&#45;audio&#45;sgtl5000&#34;</code></span>

<a id="dt-570e53a34f16d7f055f0"></a>

### <code>nvidia&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-54ee8460e5acae5bbfab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-7bb2453108af8081d4d0">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the pins (documented in the binding document),
and the jacks on the board.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2bcb93eb4a7588a2b307"><code>2</code></span>

<a id="dt-82b978f928906c8dbb71"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-2a75370b42ac1b697808"></a> <span id="dt-cd132af92d57392d09f3"><code>&#34;Headphone Jack&#34;</code></span>, <span id="dt-e1856a4ad5395dc590ac"><code>&#34;Line In Jack&#34;</code></span>, <span id="dt-304bc8429440f3995401"><code>&#34;Mic Jack&#34;</code></span>, <span id="dt-11076b68d2f9b093267f"><code>&#34;HP&#95;OUT&#34;</code></span>, <span id="dt-8cda95536237a924f2f1"><code>&#34;LINE&#95;OUT&#34;</code></span>, <span id="dt-91d2f10332a2408b8297"><code>&#34;LINE&#95;IN&#34;</code></span>, <span id="dt-d594475c15a76cfc25ae"><code>&#34;MIC&#95;IN&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;nvidia&#44;i2s&#45;controller&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/tegra30-car.h&gt;

sound {
  compatible = "toradex,tegra-audio-sgtl5000-apalis_t30",
               "nvidia,tegra-audio-sgtl5000";
  nvidia,model = "Toradex Apalis T30 SGTL5000";
  nvidia,audio-routing =
          "Headphone Jack", "HP_OUT",
          "LINE_IN", "Line In Jack",
          "MIC_IN", "Mic Jack";
  nvidia,i2s-controller = &lt;&amp;tegra_i2s2&gt;;
  nvidia,audio-codec = &lt;&amp;codec&gt;;
  clocks = &lt;&amp;tegra_car TEGRA30_CLK_PLL_A&gt;,
           &lt;&amp;tegra_car TEGRA30_CLK_PLL_A_OUT0&gt;,
           &lt;&amp;tegra_car TEGRA30_CLK_EXTERN1&gt;;
  clock-names = "pll_a", "pll_a_out0", "mclk";
};
</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 33:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 38:</strong> <span> CODEC Pins</span></p>

</details>

---

# NVIDIA Tegra audio complex with TrimSlice CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra audio complex with TrimSlice CODEC.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;trimslice&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<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>nvidia&#44;tegra&#45;audio&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra-audio-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;nvidia&#44;tegra&#45;audio&#45;trimslice&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;nvidia&#44;i2s&#45;controller&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "nvidia,tegra-audio-trimslice";
    nvidia,i2s-controller = &lt;&amp;tegra_i2s1&gt;;
    nvidia,audio-codec = &lt;&amp;codec&gt;;
    clocks = &lt;&amp;tegra_car 112&gt;, &lt;&amp;tegra_car 113&gt;, &lt;&amp;tegra_car 93&gt;;
    clock-names = "pll_a", "pll_a_out0", "mclk";
};
</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>

</details>

---

# NVIDIA Tegra audio complex with WM8753 CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra audio complex with WM8753 CODEC.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;wm8753&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<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>nvidia&#44;tegra&#45;audio&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra-audio-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **String pattern (<code>pattern</code>):** <span id="dt-2ea8ec4d2f2bcf1a4b90"><code>&#34;&#94;&#91;a&#45;z0&#45;9&#93;&#43;&#44;tegra&#45;audio&#45;wm8753&#40;&#45;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#43;&#36;&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;nvidia&#44;tegra&#45;audio&#45;wm8753&#34;</code></span>

<a id="dt-570e53a34f16d7f055f0"></a>

### <code>nvidia&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-54ee8460e5acae5bbfab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-7bb2453108af8081d4d0">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the pins (documented in the binding document),
and the jacks on the board.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2bcb93eb4a7588a2b307"><code>2</code></span>

<a id="dt-82b978f928906c8dbb71"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-2a75370b42ac1b697808"></a> <span id="dt-cd132af92d57392d09f3"><code>&#34;Headphone Jack&#34;</code></span>, <span id="dt-e1856a4ad5395dc590ac"><code>&#34;Mic Jack&#34;</code></span>, <span id="dt-304bc8429440f3995401"><code>&#34;LOUT1&#34;</code></span>, <span id="dt-11076b68d2f9b093267f"><code>&#34;LOUT2&#34;</code></span>, <span id="dt-8cda95536237a924f2f1"><code>&#34;ROUT1&#34;</code></span>, <span id="dt-91d2f10332a2408b8297"><code>&#34;ROUT2&#34;</code></span>, <span id="dt-d594475c15a76cfc25ae"><code>&#34;MONO1&#34;</code></span>, <span id="dt-43d75702a6ef6ee574cb"><code>&#34;MONO2&#34;</code></span>, <span id="dt-5e9ad59ecc076302445b"><code>&#34;OUT3&#34;</code></span>, <span id="dt-21009fd5fd639d6fe92d"><code>&#34;OUT4&#34;</code></span>, <span id="dt-80931e806ff29b640bda"><code>&#34;LINE1&#34;</code></span>, <span id="dt-ca1f10ecccbddb62c195"><code>&#34;LINE2&#34;</code></span>, <span id="dt-7ee31537fbe859c23559"><code>&#34;RXP&#34;</code></span>, <span id="dt-f2aebcf48e6d7d417ce1"><code>&#34;RXN&#34;</code></span>, <span id="dt-25721b15eccd4ba5f225"><code>&#34;ACIN&#34;</code></span>, <span id="dt-506e8485a53569d75839"><code>&#34;ACOP&#34;</code></span>, <span id="dt-43224ec75e519d60fdc0"><code>&#34;MIC1N&#34;</code></span>, <span id="dt-69090261bbe3b0fa7dde"><code>&#34;MIC1&#34;</code></span>, <span id="dt-1c380f7aa71829ff7817"><code>&#34;MIC2N&#34;</code></span>, <span id="dt-fd750b45b34dbb7e7b43"><code>&#34;MIC2&#34;</code></span>, <span id="dt-2182a53e511507e9e5d1"><code>&#34;Mic Bias&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;nvidia&#44;i2s&#45;controller&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "nvidia,tegra-audio-wm8753-whistler",
                 "nvidia,tegra-audio-wm8753";
    nvidia,model = "tegra-wm8753-harmony";

    nvidia,audio-routing =
            "Headphone Jack", "LOUT1",
            "Headphone Jack", "ROUT1";

    nvidia,i2s-controller = &lt;&amp;i2s1&gt;;
    nvidia,audio-codec = &lt;&amp;wm8753&gt;;

    clocks = &lt;&amp;clk 112&gt;, &lt;&amp;clk 113&gt;, &lt;&amp;clk 93&gt;;
    clock-names = "pll_a", "pll_a_out0", "mclk";
};
</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 33:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 37:</strong> <span> CODEC Pins</span></p>

</details>

---

# NVIDIA Tegra audio complex with WM8903 CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra audio complex with WM8903 CODEC.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;wm8903&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<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>nvidia&#44;tegra&#45;audio&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra-audio-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-693b4372baab773d14c8"><code>&#34;&#94;&#91;a&#45;z0&#45;9&#93;&#43;&#44;tegra&#45;audio&#45;wm8903&#40;&#45;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#43;&#36;&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;nvidia&#44;tegra&#45;audio&#45;wm8903&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-2f43212fc96a41bbccbd"><code>&#34;ad&#44;tegra&#45;audio&#45;plutux&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra&#45;audio&#45;wm8903&#34;</code></span>

<a id="dt-570e53a34f16d7f055f0"></a>

### <code>nvidia&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-54ee8460e5acae5bbfab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-7bb2453108af8081d4d0">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the pins (documented in the binding document),
and the jacks on the board.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2bcb93eb4a7588a2b307"><code>2</code></span>

<a id="dt-82b978f928906c8dbb71"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-2a75370b42ac1b697808"></a> <span id="dt-cd132af92d57392d09f3"><code>&#34;Headphone Jack&#34;</code></span>, <span id="dt-e1856a4ad5395dc590ac"><code>&#34;Int Spk&#34;</code></span>, <span id="dt-304bc8429440f3995401"><code>&#34;Mic Jack&#34;</code></span>, <span id="dt-11076b68d2f9b093267f"><code>&#34;Int Mic&#34;</code></span>, <span id="dt-8cda95536237a924f2f1"><code>&#34;IN1L&#34;</code></span>, <span id="dt-91d2f10332a2408b8297"><code>&#34;IN1R&#34;</code></span>, <span id="dt-d594475c15a76cfc25ae"><code>&#34;IN2L&#34;</code></span>, <span id="dt-43d75702a6ef6ee574cb"><code>&#34;IN2R&#34;</code></span>, <span id="dt-5e9ad59ecc076302445b"><code>&#34;IN3L&#34;</code></span>, <span id="dt-21009fd5fd639d6fe92d"><code>&#34;IN3R&#34;</code></span>, <span id="dt-80931e806ff29b640bda"><code>&#34;DMICDAT&#34;</code></span>, <span id="dt-ca1f10ecccbddb62c195"><code>&#34;HPOUTL&#34;</code></span>, <span id="dt-7ee31537fbe859c23559"><code>&#34;HPOUTR&#34;</code></span>, <span id="dt-f2aebcf48e6d7d417ce1"><code>&#34;LINEOUTL&#34;</code></span>, <span id="dt-25721b15eccd4ba5f225"><code>&#34;LINEOUTR&#34;</code></span>, <span id="dt-506e8485a53569d75839"><code>&#34;LOP&#34;</code></span>, <span id="dt-43224ec75e519d60fdc0"><code>&#34;LON&#34;</code></span>, <span id="dt-69090261bbe3b0fa7dde"><code>&#34;ROP&#34;</code></span>, <span id="dt-1c380f7aa71829ff7817"><code>&#34;RON&#34;</code></span>, <span id="dt-fd750b45b34dbb7e7b43"><code>&#34;MICBIAS&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;nvidia&#44;i2s&#45;controller&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "nvidia,tegra-audio-wm8903-harmony",
                 "nvidia,tegra-audio-wm8903";
    nvidia,model = "tegra-wm8903-harmony";

    nvidia,audio-routing =
            "Headphone Jack", "HPOUTR",
            "Headphone Jack", "HPOUTL",
            "Int Spk", "ROP",
            "Int Spk", "RON",
            "Int Spk", "LOP",
            "Int Spk", "LON",
            "Mic Jack", "MICBIAS",
            "IN1L", "Mic Jack";

    nvidia,i2s-controller = &lt;&amp;i2s1&gt;;
    nvidia,audio-codec = &lt;&amp;wm8903&gt;;

    nvidia,spkr-en-gpios = &lt;&amp;codec 2 0&gt;;
    nvidia,hp-det-gpios = &lt;&amp;gpio 178 0&gt;;
    nvidia,int-mic-en-gpios = &lt;&amp;gpio 184 0&gt;;
    nvidia,ext-mic-en-gpios = &lt;&amp;gpio 185 0&gt;;

    clocks = &lt;&amp;clk 112&gt;, &lt;&amp;clk 113&gt;, &lt;&amp;clk 93&gt;;
    clock-names = "pll_a", "pll_a_out0", "mclk";
};
</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 37:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 43:</strong> <span> CODEC Pins</span></p>

</details>

---

# NVIDIA Tegra audio complex with WM9712 CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra audio complex with WM9712 CODEC.

<!-- 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;nvidia&#44;tegra&#45;audio&#45;wm9712&#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;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<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>nvidia&#44;tegra&#45;audio&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra-audio-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **String pattern (<code>pattern</code>):** <span id="dt-2ea8ec4d2f2bcf1a4b90"><code>&#34;&#94;&#91;a&#45;z0&#45;9&#93;&#43;&#44;tegra&#45;audio&#45;wm9712&#40;&#91;&#45;&#95;&#93;&#91;a&#45;z0&#45;9&#93;&#43;&#41;&#43;&#36;&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;nvidia&#44;tegra&#45;audio&#45;wm9712&#34;</code></span>

<a id="dt-570e53a34f16d7f055f0"></a>

### <code>nvidia&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-54ee8460e5acae5bbfab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-7bb2453108af8081d4d0">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the connection's sink,
the second being the connection's source. Valid names for sources and
sinks are the pins (documented in the binding document),
and the jacks on the board.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2bcb93eb4a7588a2b307"><code>2</code></span>

<a id="dt-82b978f928906c8dbb71"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-2a75370b42ac1b697808"></a> <span id="dt-cd132af92d57392d09f3"><code>&#34;Headphone&#34;</code></span>, <span id="dt-e1856a4ad5395dc590ac"><code>&#34;LineIn&#34;</code></span>, <span id="dt-304bc8429440f3995401"><code>&#34;Mic&#34;</code></span>, <span id="dt-11076b68d2f9b093267f"><code>&#34;MONOOUT&#34;</code></span>, <span id="dt-8cda95536237a924f2f1"><code>&#34;HPOUTL&#34;</code></span>, <span id="dt-91d2f10332a2408b8297"><code>&#34;HPOUTR&#34;</code></span>, <span id="dt-d594475c15a76cfc25ae"><code>&#34;LOUT2&#34;</code></span>, <span id="dt-43d75702a6ef6ee574cb"><code>&#34;ROUT2&#34;</code></span>, <span id="dt-5e9ad59ecc076302445b"><code>&#34;OUT3&#34;</code></span>, <span id="dt-21009fd5fd639d6fe92d"><code>&#34;LINEINL&#34;</code></span>, <span id="dt-80931e806ff29b640bda"><code>&#34;LINEINR&#34;</code></span>, <span id="dt-ca1f10ecccbddb62c195"><code>&#34;PHONE&#34;</code></span>, <span id="dt-7ee31537fbe859c23559"><code>&#34;PCBEEP&#34;</code></span>, <span id="dt-f2aebcf48e6d7d417ce1"><code>&#34;MIC1&#34;</code></span>, <span id="dt-25721b15eccd4ba5f225"><code>&#34;MIC2&#34;</code></span>, <span id="dt-506e8485a53569d75839"><code>&#34;Mic Bias&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;nvidia&#44;ac97&#45;controller&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "nvidia,tegra-audio-wm9712-colibri_t20",
                 "nvidia,tegra-audio-wm9712";
    nvidia,model = "Toradex Colibri T20";

    nvidia,audio-routing =
            "Headphone", "HPOUTL",
            "Headphone", "HPOUTR",
            "LineIn", "LINEINL",
            "LineIn", "LINEINR",
            "Mic", "MIC1";

    nvidia,ac97-controller = &lt;&amp;ac97&gt;;

    clocks = &lt;&amp;clk 112&gt;, &lt;&amp;clk 113&gt;, &lt;&amp;clk 93&gt;;
    clock-names = "pll_a", "pll_a_out0", "mclk";
};
</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 33:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 38:</strong> <span> CODEC Pins</span></p>

</details>

---

# Tegra186 ASRC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra186 ASRC.

<!-- 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;nvidia&#44;tegra186&#45;asrc&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Asynchronous Sample Rate Converter (ASRC) converts the sampling frequency
of the input signal from one frequency to another. It can handle over a
wide range of sample rate ratios (freq_in/freq_out) from 1:24 to 24:1.
ASRC has two modes of operation. One where ratio can be programmed in SW
and the other where it gets the information from ratio estimator module.</p>
<p style="white-space: pre-wrap">It supports  sample rate conversions in the range of 8 to 192 kHz and
supports 6 streams upto 12 total channels. The input data size can be
16, 24 and 32 bits.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mohan Kumar &#60;mkumard&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;asrc&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;nvidia&#44;tegra186&#45;asrc&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;nvidia&#44;tegra264&#45;asrc&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra234&#45;asrc&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra194&#45;asrc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra186&#45;asrc&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-5fe48bacc74958c4ebf5"><code>&#34;&#94;ASRC&#91;1&#45;9&#93;&#36;&#34;</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<div id="dt-a74919f01bfec2b08490">
<p style="white-space: pre-wrap">ASRC has seven input ports and six output ports. Accordingly ACIF
(Audio Client Interfaces) port nodes are defined to represent the
ASRC inputs (port 0 to 6) and outputs (port 7 to 12). These are
connected to corresponding ports on AHUB (Audio Hub). Additional
input (port 6) is for receiving ratio information from estimator.</p>
</div>

<a id="dt-bd319faf13454f764484"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-43cbdf7b71e22629fb03"></a>

**<code>&#94;port&#64;&#91;0&#45;6&#93;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b352e18dbcff351c4624">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-0488a58d6c1aa25cfe08"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-455b45c435a8d97c2693">
<p style="white-space: pre-wrap">ASRC ACIF input ports</p>
</div>

<a id="dt-baa408324df2aab54062"></a>

**<code>&#94;port&#64;&#91;7&#45;9&#93;&#124;1&#91;1&#45;2&#93;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3dfc6cbbce85dc4994a0">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-2f934c7dbf14f32041a5"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-d87767da7ad54c25e940">
<p style="white-space: pre-wrap">ASRC ACIF output ports</p>
</div>

**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>

<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">
asrc@2910000 {
    compatible = "nvidia,tegra186-asrc";
    reg = &lt;0x2910000 0x2000&gt;;
    sound-name-prefix = "ASRC1";
};
</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>

</details>

---

# Tegra186 DSPK Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra186 DSPK Controller.

<!-- 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;nvidia&#44;tegra186&#45;dspk&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Digital Speaker Controller (DSPK) can be viewed as a Pulse
Density Modulation (PDM) transmitter that up-samples the input to
the desired sampling rate by interpolation and then converts the
over sampled Pulse Code Modulation (PCM) input to the desired 1-bit
output via Delta Sigma Modulation (DSM).</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;dspk&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;nvidia&#44;tegra186&#45;dspk&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra264&#45;dspk&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra234&#45;dspk&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra194&#45;dspk&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra186&#45;dspk&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;dspk&#34;</code></span>

<a id="dt-12d2eb74181a2f7523ba"></a>

### <code>assigned&#45;clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ee861ff49ec2ad3ab4a8"><code>1</code></span>

<a id="dt-9c43aef1a0c065c8db91"></a>

### <code>assigned&#45;clock&#45;parents</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b4757001a378c86cac1"><code>1</code></span>

<a id="dt-9f66f091d5bf3996d703"></a>

### <code>assigned&#45;clock&#45;rates</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-75523e3e91ae5a505a21"><code>1</code></span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — required here

**String pattern (<code>pattern</code>):** <span id="dt-5fe48bacc74958c4ebf5"><code>&#34;&#94;DSPK&#91;1&#45;9&#93;&#36;&#34;</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a4081946fdcb0e84f410"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">DSPK ACIF (Audio Client Interface) port connected to the
corresponding AHUB (Audio Hub) ACIF port.</p>
</div>

<a id="dt-d8ac7b78cc1246edfc03"></a>

**<code>port&#64;1</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-5ebb403139241bac1234"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">DSPK DAP (Digital Audio Port) interface which can be connected
to external audio codec for playback.</p>
</div>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;assigned&#45;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;assigned&#45;clock&#45;parents&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;sound&#45;name&#45;prefix&#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/clock/tegra186-clock.h&gt;

dspk@2905000 {
    compatible = "nvidia,tegra186-dspk";
    reg = &lt;0x2905000 0x100&gt;;
    clocks = &lt;&amp;bpmp TEGRA186_CLK_DSPK1&gt;;
    clock-names = "dspk";
    assigned-clocks = &lt;&amp;bpmp TEGRA186_CLK_DSPK1&gt;;
    assigned-clock-parents = &lt;&amp;bpmp TEGRA186_CLK_PLL_A_OUT0&gt;;
    assigned-clock-rates = &lt;12288000&gt;;
    sound-name-prefix = "DSPK1";
};
</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>

</details>

---

# NVIDIA Tegra20 AC97 controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra20 AC97 controller.

<!-- 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;nvidia&#44;tegra20&#45;ac97&#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;Thierry Reding &#60;treding&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;nvidia&#44;tegra20&#45;ac97&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-fc45b57fcd1ba81d2c64"><code>&#34;ac97&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-c375e6850c8d6edfc9d5"></a>

### <code>nvidia&#44;codec&#45;reset&#45;gpios</code> — required here

<div id="dt-45bc513c98166c56f360">
<p style="white-space: pre-wrap">Reset pin of external AC97 codec</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-535112db3d6527fb207f"><code>1</code></span>

<a id="dt-5670572c898b9a41d401"></a>

### <code>nvidia&#44;codec&#45;sync&#45;gpios</code> — required here

<div id="dt-66b2d0bf7b6b400f4a1b">
<p style="white-space: pre-wrap">AC97 DAP _FS line</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7bc41cb5e9abfb0d2ddb"><code>1</code></span>

**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;resets&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;nvidia&#44;codec&#45;reset&#45;gpios&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;nvidia&#44;codec&#45;sync&#45;gpios&#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/clock/tegra20-car.h&gt;
#include &lt;dt-bindings/gpio/tegra-gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/gpio/gpio.h&gt;

ac97@70002000 {
    compatible = "nvidia,tegra20-ac97";
    reg = &lt;0x70002000 0x200&gt;;
    resets = &lt;&amp;tegra_car 3&gt;;
    reset-names = "ac97";
    interrupts = &lt;GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;tegra_car 3&gt;;
    dmas = &lt;&amp;apbdma 12&gt;, &lt;&amp;apbdma 12&gt;;
    dma-names = "rx", "tx";
    nvidia,codec-reset-gpios = &lt;&amp;gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH&gt;;
    nvidia,codec-sync-gpios = &lt;&amp;gpio TEGRA_GPIO(P, 0) GPIO_ACTIVE_HIGH&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>

</details>

---

# NVIDIA Tegra 20 DAS (Digital Audio Switch) controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra 20 DAS (Digital Audio Switch) controller.

<!-- 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;nvidia&#44;tegra20&#45;das&#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;Thierry Reding &#60;treding&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;nvidia&#44;tegra20&#45;das&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

**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>

<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">bus {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    das@70000c00 {
        compatible = "nvidia,tegra20-das";
        reg = &lt;0x70000c00 0x80&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>

</details>

---

# NVIDIA Tegra20 I2S Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra20 I2S Controller.

<!-- 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;nvidia&#44;tegra20&#45;i2s&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The I2S Controller streams synchronous serial audio data between system
memory and an external audio device. The controller supports the I2S Left
Justified Mode, Right Justified Mode, and DSP mode formats.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Thierry Reding &#60;treding&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;nvidia&#44;tegra20&#45;i2s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-fc45b57fcd1ba81d2c64"><code>&#34;i2s&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-7c0580d0c7852d0df292"></a>

### <code>nvidia&#44;fixed&#45;parent&#45;rate</code> — not listed as required here

<div id="dt-6ea10aa45ed552b93890">
<p style="white-space: pre-wrap">Specifies whether board prefers parent clock to stay at a fixed rate.
This allows multiple Tegra20 audio components work simultaneously by
limiting number of supportable audio rates.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-359e9e048922ef264d22"><code>&#34;boolean&#34;</code></span>

**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;resets&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#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">i2s@70002800 {
    compatible = "nvidia,tegra20-i2s";
    reg = &lt;0x70002800 0x200&gt;;
    interrupts = &lt;45&gt;;
    clocks = &lt;&amp;tegra_car 11&gt;;
    resets = &lt;&amp;tegra_car 11&gt;;
    reset-names = "i2s";
    dmas = &lt;&amp;apbdma 21&gt;, &lt;&amp;apbdma 21&gt;;
    dma-names = "rx", "tx";
};
</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>

</details>

---

# NVIDIA Tegra20 S/PDIF Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra20 S/PDIF Controller.

<!-- 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;nvidia&#44;tegra20&#45;spdif&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The S/PDIF controller supports both input and output in serial audio
digital interface format. The input controller can digitally recover
a clock from the received stream. The S/PDIF controller is also used
to generate the embedded audio for HDMI output channel.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Thierry Reding &#60;treding&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;nvidia&#44;tegra20&#45;spdif&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;out&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;in&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-7c0580d0c7852d0df292"></a>

### <code>nvidia&#44;fixed&#45;parent&#45;rate</code> — not listed as required here

<div id="dt-6ea10aa45ed552b93890">
<p style="white-space: pre-wrap">Specifies whether board prefers parent clock to stay at a fixed rate.
This allows multiple Tegra20 audio components work simultaneously by
limiting number of supportable audio rates.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-359e9e048922ef264d22"><code>&#34;boolean&#34;</code></span>

**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;resets&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">spdif@70002400 {
    compatible = "nvidia,tegra20-spdif";
    reg = &lt;0x70002400 0x200&gt;;
    interrupts = &lt;77&gt;;
    clocks = &lt;&amp;clk 99&gt;, &lt;&amp;clk 98&gt;;
    clock-names = "out", "in";
    resets = &lt;&amp;rst 10&gt;;
    dmas = &lt;&amp;apbdma 3&gt;, &lt;&amp;apbdma 3&gt;;
    dma-names = "rx", "tx";
    #sound-dai-cells = &lt;0&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>

</details>

---

# Tegra210 ADMAIF

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 ADMAIF.

<!-- 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;nvidia&#44;tegra210&#45;admaif&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">ADMAIF is the interface between ADMA and AHUB. Each ADMA channel
that sends/receives data to/from AHUB must interface through an
ADMAIF channel. ADMA channel sending data to AHUB pairs with ADMAIF
Tx channel and ADMA channel receiving data from AHUB pairs with
ADMAIF Rx channel.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;admaif&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;nvidia&#44;tegra210&#45;admaif&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;nvidia&#44;tegra186&#45;admaif&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;nvidia&#44;tegra264&#45;admaif&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra234&#45;admaif&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra194&#45;admaif&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra186&#45;admaif&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-e744adcd27efde46089d"></a>

### <code>interconnects</code> — not listed as required here

<a id="dt-050bd17c82471c548ae6"></a>

#### Array item rules (<code>items</code>)

<a id="dt-3c8beddba4c330f3f2ce"></a>

**Item 1**

> <div id="dt-6dfeff356d948effe34f">
> <p style="white-space: pre-wrap">APE read memory client</p>
> </div>

<a id="dt-de392227e8f3d3c9a57b"></a>

**Item 2**

> <div id="dt-d62faf4971d56ff9afe0">
> <p style="white-space: pre-wrap">APE write memory client</p>
> </div>

<a id="dt-2ce9b9b6dd721fac25e9"></a>

### <code>interconnect&#45;names</code> — not listed as required here

<a id="dt-4332fbf84d4c78ea0294"></a>

#### Array item rules (<code>items</code>)

<a id="dt-2111c2ef31eab69c10e3"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-4703ee7000618caf6783"><code>&#34;dma&#45;mem&#34;</code></span>

<a id="dt-33130cd4a368d9cf5c91"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-97dc8df8d353ce89df85"><code>&#34;write&#34;</code></span>

<a id="dt-a36eed19b18515184df2"></a>

### <code>iommus</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e4a101d772fc97cb1dd0"><code>1</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<div id="dt-a74919f01bfec2b08490">
<p style="white-space: pre-wrap">Contains list of ACIF (Audio CIF) port nodes for ADMAIF channels.
The number of port nodes depends on the number of ADMAIF channels
that SoC may have. These are interfaced with respective ACIF ports
in AHUB (Audio Hub). Each port is capable of data transfers in
both directions.</p>
</div>

<a id="dt-bd319faf13454f764484"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-2f6c39ac645c2113c5cb"></a>

**<code>&#94;port&#64;&#91;0&#45;9&#93;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-415878782f355db2cd82">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-be9f32d5f50522a00f6b"></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

> <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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;nvidia&#44;tegra210&#45;admaif&#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-dd3b31c9286f0f9732a6"></a>
> >
> > **<code>dmas</code> — not listed as required here**
> >
> > <div id="dt-eb1641bff9a2d3a66f5d">
> > <p style="white-space: pre-wrap">DMA channel specifiers, equally divided for Tx and Rx.</p>
> > </div>
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-4c030214035fb1ea666e"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-e777b53925c04dac17bd"><code>20</code></span>
> >
> > <a id="dt-c2b23ebddf83bbfda9d0"></a>
> >
> > **<code>dma&#45;names</code> — not listed as required here**
> >
> > <a id="dt-a05edc120f5fd75453eb"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **String pattern (<code>pattern</code>):** <span id="dt-e0d0d27510b4eb6e2d1a"><code>&#34;&#94;&#91;rt&#93;x&#40;10&#124;&#91;1&#45;9&#93;&#41;&#36;&#34;</code></span>
> >
> > <div id="dt-f03c8ad5a4656b57ac12">
> > <p style="white-space: pre-wrap">Should be "rx1", "rx2" ... "rx10" for DMA Rx channel Should be "tx1", "tx2" ... "tx10" for DMA Tx channel</p>
> > </div>
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-7b9c985c475f41447c14"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-6a70f5808071645c08c2"><code>20</code></span>
> >
> > <a id="dt-9eb5a4b1288670c1a892"></a>
> >
> > **<code>interconnects</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-d187b3bb3daa9ec3a13c"></a>
> >
> > **<code>interconnect&#45;names</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-323414944e08e49a1b27"></a>
> >
> > **<code>iommus</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;nvidia&#44;tegra186&#45;admaif&#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-f444428309b17730c91b"></a>
> >
> > **<code>dmas</code> — not listed as required here**
> >
> > <div id="dt-96668483e1031d6089ff">
> > <p style="white-space: pre-wrap">DMA channel specifiers, equally divided for Tx and Rx.</p>
> > </div>
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-9736f1ff4c7768b5c4b3"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-5fd0f105c52ff4638371"><code>40</code></span>
> >
> > <a id="dt-606ab4afd02d69f0a319"></a>
> >
> > **<code>dma&#45;names</code> — not listed as required here**
> >
> > <a id="dt-57cae489a5bcf2873a24"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **String pattern (<code>pattern</code>):** <span id="dt-79c3b96f86e2d1354b9e"><code>&#34;&#94;&#91;rt&#93;x&#40;1&#91;0&#45;9&#93;&#124;&#91;1&#45;9&#93;&#124;20&#41;&#36;&#34;</code></span>
> >
> > <div id="dt-79f04b6cd34c6ad8e7de">
> > <p style="white-space: pre-wrap">Should be "rx1", "rx2" ... "rx20" for DMA Rx channel Should be "tx1", "tx2" ... "tx20" for DMA Tx channel</p>
> > </div>
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-bcc789c7b98592320080"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-319f86cad0c330420d34"><code>40</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;nvidia&#44;tegra264&#45;admaif&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b65f976e28b0680b1529"></a>
> >
> > **<code>dmas</code> — not listed as required here**
> >
> > <div id="dt-d62a930246b3869a709a">
> > <p style="white-space: pre-wrap">DMA channel specifiers, equally divided for Tx and Rx.</p>
> > </div>
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-af7373f15a084b601c04"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-c94461eedbccd02c96c9"><code>64</code></span>
> >
> > <a id="dt-2a62c4407638ff407877"></a>
> >
> > **<code>dma&#45;names</code> — not listed as required here**
> >
> > <a id="dt-f10e4f352ea081db0f6d"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **String pattern (<code>pattern</code>):** <span id="dt-0c7d25e15ad7f1b60cd4"><code>&#34;&#94;&#91;rt&#93;x&#40;3&#91;0&#45;2&#93;&#124;&#91;1&#45;2&#93;&#91;0&#45;9&#93;&#124;&#91;1&#45;9&#93;&#41;&#36;&#34;</code></span>
> >
> > <div id="dt-51644524bbfd96ab378d">
> > <p style="white-space: pre-wrap">Should be "rx1", "rx2" ... "rx32" for DMA Rx channel Should be "tx1", "tx2" ... "tx32" for DMA Tx channel</p>
> > </div>
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-5a4d99545fb4911c50d4"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-91f0d0b55545f6d28497"><code>64</code></span>

**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;dmas&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dma&#45;names&#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">admaif@702d0000 {
    compatible = "nvidia,tegra210-admaif";
    reg = &lt;0x702d0000 0x800&gt;;
    dmas = &lt;&amp;adma 1&gt;,  &lt;&amp;adma 1&gt;,
           &lt;&amp;adma 2&gt;,  &lt;&amp;adma 2&gt;,
           &lt;&amp;adma 3&gt;,  &lt;&amp;adma 3&gt;,
           &lt;&amp;adma 4&gt;,  &lt;&amp;adma 4&gt;,
           &lt;&amp;adma 5&gt;,  &lt;&amp;adma 5&gt;,
           &lt;&amp;adma 6&gt;,  &lt;&amp;adma 6&gt;,
           &lt;&amp;adma 7&gt;,  &lt;&amp;adma 7&gt;,
           &lt;&amp;adma 8&gt;,  &lt;&amp;adma 8&gt;,
           &lt;&amp;adma 9&gt;,  &lt;&amp;adma 9&gt;,
           &lt;&amp;adma 10&gt;, &lt;&amp;adma 10&gt;;
    dma-names = "rx1",  "tx1",
                "rx2",  "tx2",
                "rx3",  "tx3",
                "rx4",  "tx4",
                "rx5",  "tx5",
                "rx6",  "tx6",
                "rx7",  "tx7",
                "rx8",  "tx8",
                "rx9",  "tx9",
                "rx10", "tx10";
};
</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 50:</strong> <span> read</span></p>

</details>

---

# Tegra210 ADX

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 ADX.

<!-- 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;nvidia&#44;tegra210&#45;adx&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Audio Demultiplexer (ADX) block takes an input stream with up to
16 channels and demultiplexes it into four output streams of up to 16
channels each. A byte RAM helps to form output frames by any combination
of bytes from the input frame. Its design is identical to that of byte
RAM in the AMX except that the data flow direction is reversed.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mohan Kumar &#60;mkumard&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;adx&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;nvidia&#44;tegra210&#45;adx&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;nvidia&#44;tegra264&#45;adx&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra234&#45;adx&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra194&#45;adx&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra186&#45;adx&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra210&#45;adx&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-5fe48bacc74958c4ebf5"><code>&#34;&#94;ADX&#91;1&#45;9&#93;&#36;&#34;</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<div id="dt-a74919f01bfec2b08490">
<p style="white-space: pre-wrap">ADX has one input and four outputs. Accordingly ACIF (Audio Client
Interface) port nodes are defined to represent ADX input (port 0)
and outputs (ports 1 to 4). These are connected to corresponding
ports on AHUB (Audio Hub).</p>
</div>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a4081946fdcb0e84f410"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">ADX ACIF input port</p>
</div>

<a id="dt-bd319faf13454f764484"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-011b18d22dfdf5c1a201"></a>

**<code>&#94;port&#64;&#91;1&#45;4&#93;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6c78793582875bf17ab2">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-4bd46dc3bca5f60b01d8"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-1c87f22d55c7cb38eb7d">
<p style="white-space: pre-wrap">ADX ACIF output ports</p>
</div>

**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>

<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">
adx@702d3800 {
    compatible = "nvidia,tegra210-adx";
    reg = &lt;0x702d3800 0x100&gt;;
    sound-name-prefix = "ADX1";
};
</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>

</details>

---

# Tegra210 AHUB

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 AHUB.

<!-- 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;nvidia&#44;tegra210&#45;ahub&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Audio Hub (AHUB) comprises a collection of hardware accelerators
for audio pre-processing, post-processing and a programmable full
crossbar for routing audio data across these accelerators. It has
external interfaces such as I2S, DMIC, DSPK. It interfaces with ADMA
engine through ADMAIF.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;ahub&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;nvidia&#44;tegra210&#45;ahub&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;nvidia&#44;tegra186&#45;ahub&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;nvidia&#44;tegra234&#45;ahub&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;nvidia&#44;tegra264&#45;ahub&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;nvidia&#44;tegra194&#45;ahub&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra186&#45;ahub&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;ahub&#34;</code></span>

<a id="dt-12d2eb74181a2f7523ba"></a>

### <code>assigned&#45;clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ee861ff49ec2ad3ab4a8"><code>1</code></span>

<a id="dt-9c43aef1a0c065c8db91"></a>

### <code>assigned&#45;clock&#45;parents</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b4757001a378c86cac1"><code>1</code></span>

<a id="dt-9f66f091d5bf3996d703"></a>

### <code>assigned&#45;clock&#45;rates</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-75523e3e91ae5a505a21"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-01d9ce7fc56f712455be"></a> <span id="dt-94d3735d14e27e2d7df1"><code>1</code></span>, <span id="dt-0dda607ef98de398e3f7"><code>2</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-11f8fcdf7ed0ce5274ad"></a> <span id="dt-1df5884131042d9f2b35"><code>1</code></span>, <span id="dt-0d778c9f0ef0966b501c"><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-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<div id="dt-a74919f01bfec2b08490">
<p style="white-space: pre-wrap">Contains list of ACIF (Audio CIF) port nodes for AHUB (Audio Hub).
These are connected to ACIF interfaces of AHUB clients. Thus the
number of port nodes depend on the number of clients that AHUB may
have depending on the SoC revision.</p>
</div>

<a id="dt-bd319faf13454f764484"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-2f6c39ac645c2113c5cb"></a>

**<code>&#94;port&#64;&#91;0&#45;9&#93;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-415878782f355db2cd82">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-be9f32d5f50522a00f6b"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-f41a1ef50dda9946ec84"></a>

### <code>&#94;i2s&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-7abc39c1a306fbb30803"><code>&#34;object&#34;</code></span>

<a id="dt-e439efe6360c09b4d78e"></a>

### <code>&#94;dmic&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-08c8a7f26293a05a4b9c"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-22bf1ab6659cfd0b6e49">[<code>nvidia&#44;tegra210&#45;dmic&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra210-dmic.md#dt-root>)</span>

<a id="dt-2b7db7b3258b5e2214f5"></a>

### <code>&#94;admaif&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-85ffe20b6864fc14c643"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8ea870172a72425df24b">[<code>nvidia&#44;tegra210&#45;admaif&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra210-admaif.md#dt-root>)</span>

<a id="dt-44893061ba8ba2dc090e"></a>

### <code>&#94;dspk&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-478b74241d69fc696b4f"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-229b3c8de447120aea15">[<code>nvidia&#44;tegra186&#45;dspk&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra186-dspk.md#dt-root>)</span>

<a id="dt-f5c04e0a8c411bd02783"></a>

### <code>&#94;mvc&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-9a6176c84bcd2294da74"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4725a3e857f5543f411b">[<code>nvidia&#44;tegra210&#45;mvc&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra210-mvc.md#dt-root>)</span>

<a id="dt-7cb449cf0f85a7756636"></a>

### <code>&#94;sfc&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-992df62f0b75d7e1a826"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b7e2559d137b99117d66">[<code>nvidia&#44;tegra210&#45;sfc&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra210-sfc.md#dt-root>)</span>

<a id="dt-d70d8b191c1567622954"></a>

### <code>&#94;amx&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-ada359cc8e4386a629b6"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f34e0afbc5f7d3584630">[<code>nvidia&#44;tegra210&#45;amx&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra210-amx.md#dt-root>)</span>

<a id="dt-817c04edff7eeeff0bb7"></a>

### <code>&#94;adx&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-b3760f0465a99a7cad8e"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6543b2795e58a8728661">[<code>nvidia&#44;tegra210&#45;adx&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra210-adx.md#dt-root>)</span>

<a id="dt-a5a3fece21ff9a1889b6"></a>

### <code>&#94;amixer&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-338d1015fdb066179be7"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3cb7a28bf9c5088830f3">[<code>nvidia&#44;tegra210&#45;mixer&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra210-mixer.md#dt-root>)</span>

<a id="dt-c477cae9a5bb420fcf36"></a>

### <code>&#94;asrc&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-f332093ee6c9a4b08d34"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-87fc4e85867c9ffb6481">[<code>nvidia&#44;tegra186&#45;asrc&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra186-asrc.md#dt-root>)</span>

<a id="dt-7f5cc56c5b4c40ac0fe9"></a>

### <code>&#94;processing&#45;engine&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-a8b6b2ca10472f7fd991"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0cfef9f31ead8be4fc85">[<code>nvidia&#44;tegra210&#45;ope&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra210-ope.md#dt-root>)</span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;assigned&#45;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;assigned&#45;clock&#45;parents&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;ranges&#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/clock/tegra210-car.h&gt;

ahub@702d0800 {
    compatible = "nvidia,tegra210-ahub";
    reg = &lt;0x702d0800 0x800&gt;;
    clocks = &lt;&amp;tegra_car TEGRA210_CLK_D_AUDIO&gt;;
    clock-names = "ahub";
    assigned-clocks = &lt;&amp;tegra_car TEGRA210_CLK_D_AUDIO&gt;;
    assigned-clock-parents = &lt;&amp;tegra_car TEGRA210_CLK_PLL_A_OUT0&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0x702d0000 0x702d0000 0x0000e400&gt;;

    // All AHUB child nodes below
    admaif@702d0000 {
        compatible = "nvidia,tegra210-admaif";
        reg = &lt;0x702d0000 0x800&gt;;
        dmas = &lt;&amp;adma 1&gt;,  &lt;&amp;adma 1&gt;,
           &lt;&amp;adma 2&gt;,  &lt;&amp;adma 2&gt;,
           &lt;&amp;adma 3&gt;,  &lt;&amp;adma 3&gt;,
           &lt;&amp;adma 4&gt;,  &lt;&amp;adma 4&gt;,
           &lt;&amp;adma 5&gt;,  &lt;&amp;adma 5&gt;,
           &lt;&amp;adma 6&gt;,  &lt;&amp;adma 6&gt;,
           &lt;&amp;adma 7&gt;,  &lt;&amp;adma 7&gt;,
           &lt;&amp;adma 8&gt;,  &lt;&amp;adma 8&gt;,
           &lt;&amp;adma 9&gt;,  &lt;&amp;adma 9&gt;,
           &lt;&amp;adma 10&gt;, &lt;&amp;adma 10&gt;;
        dma-names = "rx1",  "tx1",
                "rx2",  "tx2",
                "rx3",  "tx3",
                "rx4",  "tx4",
                "rx5",  "tx5",
                "rx6",  "tx6",
                "rx7",  "tx7",
                "rx8",  "tx8",
                "rx9",  "tx9",
                "rx10", "tx10";
    };

    i2s@702d1000 {
        compatible = "nvidia,tegra210-i2s";
        reg = &lt;0x702d1000 0x100&gt;;
        clocks = &lt;&amp;tegra_car TEGRA210_CLK_I2S0&gt;;
        clock-names = "i2s";
        assigned-clocks = &lt;&amp;tegra_car TEGRA210_CLK_I2S0&gt;;
        assigned-clock-parents = &lt;&amp;tegra_car TEGRA210_CLK_PLL_A_OUT0&gt;;
        assigned-clock-rates = &lt;1536000&gt;;
        sound-name-prefix = "I2S1";
    };

    dmic@702d4000 {
        compatible = "nvidia,tegra210-dmic";
        reg = &lt;0x702d4000 0x100&gt;;
        clocks = &lt;&amp;tegra_car TEGRA210_CLK_DMIC1&gt;;
        clock-names = "dmic";
        assigned-clocks = &lt;&amp;tegra_car TEGRA210_CLK_DMIC1&gt;;
        assigned-clock-parents = &lt;&amp;tegra_car TEGRA210_CLK_PLL_A_OUT0&gt;;
        assigned-clock-rates = &lt;3072000&gt;;
        sound-name-prefix = "DMIC1";
    };

    // More child nodes to follow
};
</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>

</details>

---

# Tegra210 AMX

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 AMX.

<!-- 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;nvidia&#44;tegra210&#45;amx&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Audio Multiplexer (AMX) block can multiplex up to four input streams
each of which can have maximum 16 channels and generate an output stream
with maximum 16 channels. A byte RAM helps to form an output frame by
any combination of bytes from the input frames.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mohan Kumar &#60;mkumard&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;amx&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;nvidia&#44;tegra210&#45;amx&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;nvidia&#44;tegra194&#45;amx&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;nvidia&#44;tegra264&#45;amx&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;nvidia&#44;tegra186&#45;amx&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra210&#45;amx&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-b4cf31a5f463012e1429"><code>&#34;nvidia&#44;tegra234&#45;amx&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;nvidia&#44;tegra194&#45;amx&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-5fe48bacc74958c4ebf5"><code>&#34;&#94;AMX&#91;1&#45;9&#93;&#36;&#34;</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<div id="dt-a74919f01bfec2b08490">
<p style="white-space: pre-wrap">AMX has four inputs and one output. Accordingly ACIF (Audio Client
Interfaces) port nodes are defined to represent AMX inputs (port 0
to 3) and output (port 4). These are connected to corresponding
ports on AHUB (Audio Hub).</p>
</div>

<a id="dt-bd319faf13454f764484"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-05e24a925dd2165005b3"></a>

**<code>&#94;port&#64;&#91;0&#45;3&#93;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bcdc6405628df51d466a">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-0cc139174c24dad2649b"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-ab24589d8c2a85c51d02">
<p style="white-space: pre-wrap">AMX ACIF input ports</p>
</div>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-05b0c543b599dbe210e8"></a>

**<code>port&#64;4</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-15a08da874134d85f6fc">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-c95040e7bed1dd6f73b4"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-9b3d4fae0dd48881abce">
<p style="white-space: pre-wrap">AMX ACIF output port</p>
</div>

**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>

<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">
amx@702d3000 {
    compatible = "nvidia,tegra210-amx";
    reg = &lt;0x702d3000 0x100&gt;;
    sound-name-prefix = "AMX1";
};
</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>

</details>

---

# Tegra210 DMIC Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 DMIC Controller.

<!-- 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;nvidia&#44;tegra210&#45;dmic&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Digital MIC (DMIC) Controller is used to interface with Pulse
Density Modulation (PDM) input devices. It converts PDM signals to
Pulse Coded Modulation (PCM) signals. DMIC can be viewed as a PDM
receiver.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;dmic&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;nvidia&#44;tegra210&#45;dmic&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra264&#45;dmic&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra234&#45;dmic&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra194&#45;dmic&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;nvidia&#44;tegra186&#45;dmic&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra210&#45;dmic&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;dmic&#34;</code></span>

<a id="dt-12d2eb74181a2f7523ba"></a>

### <code>assigned&#45;clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ee861ff49ec2ad3ab4a8"><code>1</code></span>

<a id="dt-9c43aef1a0c065c8db91"></a>

### <code>assigned&#45;clock&#45;parents</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b4757001a378c86cac1"><code>1</code></span>

<a id="dt-9f66f091d5bf3996d703"></a>

### <code>assigned&#45;clock&#45;rates</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-75523e3e91ae5a505a21"><code>1</code></span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-5fe48bacc74958c4ebf5"><code>&#34;&#94;DMIC&#91;1&#45;9&#93;&#36;&#34;</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a4081946fdcb0e84f410"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">DMIC ACIF (Audio Client Interface) port connected to the
corresponding AHUB (Audio Hub) ACIF port.</p>
</div>

<a id="dt-d8ac7b78cc1246edfc03"></a>

**<code>port&#64;1</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-5ebb403139241bac1234"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">DMIC DAP (Digital Audio Port) interface which can be connected
to external audio codec for capture.</p>
</div>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;assigned&#45;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;assigned&#45;clock&#45;parents&#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/clock/tegra210-car.h&gt;

dmic@702d4000 {
    compatible = "nvidia,tegra210-dmic";
    reg = &lt;0x702d4000 0x100&gt;;
    clocks = &lt;&amp;tegra_car TEGRA210_CLK_DMIC1&gt;;
    clock-names = "dmic";
    assigned-clocks = &lt;&amp;tegra_car TEGRA210_CLK_DMIC1&gt;;
    assigned-clock-parents = &lt;&amp;tegra_car TEGRA210_CLK_PLL_A_OUT0&gt;;
    assigned-clock-rates = &lt;3072000&gt;;
    sound-name-prefix = "DMIC1";
};
</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>

</details>

---

# Tegra210 I2S Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 I2S Controller.

<!-- 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;nvidia&#44;tegra210&#45;i2s&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Inter-IC Sound (I2S) controller implements full-duplex,
bi-directional and single direction point-to-point serial
interfaces. It can interface with I2S compatible devices.
I2S controller can operate both in master and slave mode.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;i2s&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;nvidia&#44;tegra210&#45;i2s&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;nvidia&#44;tegra264&#45;i2s&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra234&#45;i2s&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra194&#45;i2s&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra186&#45;i2s&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra210&#45;i2s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">I2S bit clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Sync input clock, which can act as clock source to other I/O modules in AHUB. The Tegra I2S driver sets this clock rate as per bit clock rate. I/O module which wants to use this clock as source, can mention this clock as parent in the DT bindings. This is an optional clock entry, since it is only required when some other I/O wants to reference from a particular I2Sx instance.</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;i2s&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;sync&#95;input&#34;</code></span>

<a id="dt-12d2eb74181a2f7523ba"></a>

### <code>assigned&#45;clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-6a975dd7ef1a1c284872"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ee861ff49ec2ad3ab4a8"><code>2</code></span>

<a id="dt-9c43aef1a0c065c8db91"></a>

### <code>assigned&#45;clock&#45;parents</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-a2f6ac15c9908f8f325e"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b4757001a378c86cac1"><code>2</code></span>

<a id="dt-9f66f091d5bf3996d703"></a>

### <code>assigned&#45;clock&#45;rates</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0836804f09c188662cc3"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-75523e3e91ae5a505a21"><code>2</code></span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-5fe48bacc74958c4ebf5"><code>&#34;&#94;I2S&#91;1&#45;9&#93;&#36;&#34;</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a4081946fdcb0e84f410"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">I2S ACIF (Audio Client Interface) port connected to the
corresponding AHUB (Audio Hub) ACIF port.</p>
</div>

<a id="dt-d8ac7b78cc1246edfc03"></a>

**<code>port&#64;1</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-5ebb403139241bac1234"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">I2S DAP (Digital Audio Port) interface which can be connected
to external audio codec for playback or capture.</p>
</div>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;assigned&#45;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;assigned&#45;clock&#45;parents&#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/clock/tegra210-car.h&gt;

i2s@702d1000 {
    compatible = "nvidia,tegra210-i2s";
    reg = &lt;0x702d1000 0x100&gt;;
    clocks = &lt;&amp;tegra_car TEGRA210_CLK_I2S0&gt;;
    clock-names = "i2s";
    assigned-clocks = &lt;&amp;tegra_car TEGRA210_CLK_I2S0&gt;;
    assigned-clock-parents = &lt;&amp;tegra_car TEGRA210_CLK_PLL_A_OUT0&gt;;
    assigned-clock-rates = &lt;1536000&gt;;
    sound-name-prefix = "I2S1";
};
</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>

</details>

---

# Tegra210 MBDRC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 MBDRC.

<!-- 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;nvidia&#44;tegra210&#45;mbdrc&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Multi Band Dynamic Range Compressor (MBDRC) is part of Output Processing Engine (OPE) which interfaces with Audio Hub (AHUB) via Audio Client Interface (ACIF). MBDRC can be used as a traditional single full band or a dual band or a multi band dynamic processor.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mohan Kumar &#60;mkumard&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;nvidia&#44;tegra210&#45;mbdrc&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra264&#45;mbdrc&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra234&#45;mbdrc&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra194&#45;mbdrc&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;nvidia&#44;tegra186&#45;mbdrc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra210&#45;mbdrc&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

**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>

<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">dynamic-range-compressor@702d8200 {
    compatible = "nvidia,tegra210-mbdrc";
    reg = &lt;0x702d8200 0x200&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>

</details>

---

# Tegra210 Mixer

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 Mixer.

<!-- 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;nvidia&#44;tegra210&#45;mixer&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Mixer supports mixing of up to ten 7.1 audio input streams and
generate five outputs (each of which can be any combination of the
ten input streams).</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mohan Kumar &#60;mkumard&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;amixer&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;nvidia&#44;tegra210&#45;amixer&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra264&#45;amixer&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra234&#45;amixer&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra194&#45;amixer&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;nvidia&#44;tegra186&#45;amixer&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra210&#45;amixer&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-5fe48bacc74958c4ebf5"><code>&#34;&#94;MIXER&#91;1&#45;9&#93;&#36;&#34;</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<div id="dt-a74919f01bfec2b08490">
<p style="white-space: pre-wrap">Mixer has ten inputs and five outputs. Accordingly ACIF (Audio
Client Interfaces) port nodes are defined to represent Mixer
inputs (port 0 to 9) and outputs (port 10 to 14). These are
connected to corresponding ports on AHUB (Audio Hub).</p>
</div>

<a id="dt-bd319faf13454f764484"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-2f6c39ac645c2113c5cb"></a>

**<code>&#94;port&#64;&#91;0&#45;9&#93;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-415878782f355db2cd82">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-be9f32d5f50522a00f6b"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-0d0853cd5483da2ee12e">
<p style="white-space: pre-wrap">Mixer ACIF input ports</p>
</div>

<a id="dt-d3ffa121d521485986f9"></a>

**<code>&#94;port&#64;&#91;10&#45;14&#93;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-85641847aef246ec44e4">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-95f91358b98dfccdc013"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-6cbf55d8149a0b2d5a99">
<p style="white-space: pre-wrap">Mixer ACIF output ports</p>
</div>

**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>

<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">
amixer@702dbb00 {
    compatible = "nvidia,tegra210-amixer";
    reg = &lt;0x702dbb00 0x800&gt;;
    sound-name-prefix = "MIXER1";
};
</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>

</details>

---

# Tegra210 MVC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 MVC.

<!-- 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;nvidia&#44;tegra210&#45;mvc&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Master Volume Control (MVC) provides gain or attenuation to a digital
signal path. It can be used in input or output signal path for per-stream
volume control or it can be used as master volume control. The MVC block
has one input and one output. The input digital stream can be mono or
multi-channel (up to 7.1 channels) stream. An independent mute control is
also included in the MVC block.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mohan Kumar &#60;mkumard&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;mvc&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;nvidia&#44;tegra210&#45;mvc&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra264&#45;mvc&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra234&#45;mvc&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra194&#45;mvc&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;nvidia&#44;tegra186&#45;mvc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra210&#45;mvc&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-5fe48bacc74958c4ebf5"><code>&#34;&#94;MVC&#91;1&#45;9&#93;&#36;&#34;</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a4081946fdcb0e84f410"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">MVC ACIF (Audio Client Interface) input port. This is connected
to corresponding ACIF output port on AHUB (Audio Hub).</p>
</div>

<a id="dt-d8ac7b78cc1246edfc03"></a>

**<code>port&#64;1</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-5ebb403139241bac1234"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">MVC ACIF output port. This is connected to corresponding ACIF
input port on AHUB.</p>
</div>

**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>

<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">
mvc@702da000 {
    compatible = "nvidia,tegra210-mvc";
    reg = &lt;0x702da000 0x200&gt;;
    sound-name-prefix = "MVC1";
};
</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>

</details>

---

# Tegra210 OPE

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 OPE.

<!-- 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;nvidia&#44;tegra210&#45;ope&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Output Processing Engine (OPE) is one of the AHUB client. It has PEQ (Parametric Equalizer) and MBDRC (Multi Band Dynamic Range Compressor) sub blocks for data processing.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mohan Kumar &#60;mkumard&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;nvidia&#44;tegra210&#45;ope&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra264&#45;ope&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra234&#45;ope&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra194&#45;ope&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;nvidia&#44;tegra186&#45;ope&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra210&#45;ope&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-01d9ce7fc56f712455be"></a> <span id="dt-94d3735d14e27e2d7df1"><code>1</code></span>, <span id="dt-0dda607ef98de398e3f7"><code>2</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-11f8fcdf7ed0ce5274ad"></a> <span id="dt-1df5884131042d9f2b35"><code>1</code></span>, <span id="dt-0d778c9f0ef0966b501c"><code>2</code></span>

<a id="dt-1e6b10cf5f67a6a268f5"></a>

### <code>ranges</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-5fe48bacc74958c4ebf5"><code>&#34;&#94;OPE&#91;1&#45;9&#93;&#36;&#34;</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a4081946fdcb0e84f410"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">OPE ACIF (Audio Client Interface) input port. This is connected to corresponding ACIF output port on AHUB (Audio Hub).</p>
</div>

<a id="dt-d8ac7b78cc1246edfc03"></a>

**<code>port&#64;1</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-5ebb403139241bac1234"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">OPE ACIF output port. This is connected to corresponding ACIF input port on AHUB.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-18dab0f6d6ceadbd423e"></a>

### <code>&#94;equalizer&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-2f8c0ababd61e1426f07"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1272dfba5d567fd5c37b">[<code>nvidia&#44;tegra210&#45;peq&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra210-peq.md#dt-root>)</span>

<a id="dt-c60d97d886b8132310fc"></a>

### <code>&#94;dynamic&#45;range&#45;compressor&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-469ccc0a68a3e724b2c6"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9847158866baf5287d78">[<code>nvidia&#44;tegra210&#45;mbdrc&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/nvidia-tegra210-mbdrc.md#dt-root>)</span>

**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>

<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">processing-engine@702d8000 {
    compatible = "nvidia,tegra210-ope";
    reg = &lt;0x702d8000 0x100&gt;;
    sound-name-prefix = "OPE1";
};
</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>

</details>

---

# Tegra210 PEQ

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 PEQ.

<!-- 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;nvidia&#44;tegra210&#45;peq&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Parametric Equalizer (PEQ) is a cascade of biquad filters with each filter tuned based on certain parameters. It can be used to equalize the irregularities in the speaker frequency response. PEQ sits inside Output Processing Engine (OPE) which interfaces with Audio Hub (AHUB) via Audio Client Interface (ACIF).</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mohan Kumar &#60;mkumard&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;nvidia&#44;tegra210&#45;peq&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra264&#45;peq&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra234&#45;peq&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra194&#45;peq&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;nvidia&#44;tegra186&#45;peq&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra210&#45;peq&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

**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>

<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">equalizer@702d8100 {
    compatible = "nvidia,tegra210-peq";
    reg = &lt;0x702d8100 0x100&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>

</details>

---

# Tegra210 SFC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Tegra210 SFC.

<!-- 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;nvidia&#44;tegra210&#45;sfc&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Sampling Frequency Converter (SFC) converts the sampling frequency
of the input signal from one frequency to another. It supports sampling
frequency conversions of streams of up to two channels (stereo).</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mohan Kumar &#60;mkumard&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Sameer Pujar &#60;spujar&#64;nvidia&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;sfc&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;nvidia&#44;tegra210&#45;sfc&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra264&#45;sfc&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra234&#45;sfc&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra194&#45;sfc&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;nvidia&#44;tegra186&#45;sfc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra210&#45;sfc&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-5fe48bacc74958c4ebf5"><code>&#34;&#94;SFC&#91;1&#45;9&#93;&#36;&#34;</code></span>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a4081946fdcb0e84f410"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">SFC ACIF (Audio Client Interface) input port. This is connected
to corresponding ACIF output port on AHUB (Audio Hub).</p>
</div>

<a id="dt-d8ac7b78cc1246edfc03"></a>

**<code>port&#64;1</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-5ebb403139241bac1234"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">SFC ACIF output port. This is connected to corresponding ACIF
input port on AHUB.</p>
</div>

**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>

<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">
sfc@702d2000 {
    compatible = "nvidia,tegra210-sfc";
    reg = &lt;0x702d2000 0x200&gt;;
    sound-name-prefix = "SFC1";
};
</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>

</details>

---

# NVIDIA Tegra HDA controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra HDA controller.

<!-- 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;nvidia&#44;tegra30&#45;hda&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The High Definition Audio (HDA) block provides a serial interface to
audio codec. It supports multiple input and output streams.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Thierry Reding &#60;treding&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;hda&#64;&#91;0&#45;9a&#45;f&#93;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;nvidia&#44;tegra30&#45;hda&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;nvidia&#44;tegra194&#45;hda&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;nvidia&#44;tegra234&#45;hda&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;nvidia&#44;tegra264&#45;hda&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;nvidia&#44;tegra186&#45;hda&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;nvidia&#44;tegra210&#45;hda&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;nvidia&#44;tegra124&#45;hda&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;nvidia&#44;tegra114&#45;hda&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra30&#45;hda&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-b4cf31a5f463012e1429"><code>&#34;nvidia&#44;tegra132&#45;hda&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;nvidia&#44;tegra124&#45;hda&#34;</code></span>
>
> <a id="dt-3acd265d2314f4be0bd4"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-d09fdb468825e586f676"><code>&#34;nvidia&#44;tegra30&#45;hda&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The interrupt from the HDA controller</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>3</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>3</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-645ab1fb5ab11474dc54"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>3</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-925b97f1cea5dc23a612"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-fa0a474ff0e6cb7d7f82"><code>3</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-e744adcd27efde46089d"></a>

### <code>interconnects</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b4f76d59f71528edb502"><code>2</code></span>

<a id="dt-2ce9b9b6dd721fac25e9"></a>

### <code>interconnect&#45;names</code> — not listed as required here

<a id="dt-4332fbf84d4c78ea0294"></a>

#### Array item rules (<code>items</code>)

<a id="dt-2111c2ef31eab69c10e3"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-4703ee7000618caf6783"><code>&#34;dma&#45;mem&#34;</code></span>

<a id="dt-33130cd4a368d9cf5c91"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-97dc8df8d353ce89df85"><code>&#34;write&#34;</code></span>

<a id="dt-a36eed19b18515184df2"></a>

### <code>iommus</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e4a101d772fc97cb1dd0"><code>1</code></span>

<a id="dt-64706a45e66a2f8339d0"></a>

### <code>nvidia&#44;model</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-407ceae1d6724c1fd8f8">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-92b5eb1349b9d512d5be">
<p style="white-space: pre-wrap">The user-visible name of this sound complex. If this property is
not specified then boards can use default name provided in hda driver.</p>
</div>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#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-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;nvidia&#44;tegra30&#45;hda&#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-065d246b482f4e9fba10"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b46601d2e44d0accc82c"><code>3</code></span>
> >
> > <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;hda&#34;</code></span>
> >
> > <a id="dt-499faf6f3c1e6a2de32b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-14ea8009c50633baa575"><code>&#34;hda2hdmi&#34;</code></span>
> >
> > <a id="dt-68e48919ba73efad2634"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-28720a6003e8b65201ce"><code>&#34;hda2codec&#95;2x&#34;</code></span>
> >
> > <a id="dt-d2647f9fed968c6b4c38"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-28ab90720b96170df2a9"><code>3</code></span>
> >
> > <a id="dt-0c3010aa1f355f8923fc"></a>
> >
> > **<code>reset&#45;names</code> — not listed as required here**
> >
> > <a id="dt-660ee2d70047146b7a72"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-623496e7a0a9148aa9e7"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-c74dbf9bd72600e18d0c"><code>&#34;hda&#34;</code></span>
> >
> > <a id="dt-6391fe43a87e42a728e3"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-c0d38bde9eb5ba843c0c"><code>&#34;hda2hdmi&#34;</code></span>
> >
> > <a id="dt-a83825fd4a416c69106d"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2d80bf46d355a65a0b40"><code>&#34;hda2codec&#95;2x&#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;nvidia&#44;tegra194&#45;hda&#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-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b0ed5de2f4ed693e5dda"><code>3</code></span>
> >
> > <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;hda&#34;</code></span>
> >
> > <a id="dt-fbbb17d593cc6352303b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1c6351ea0af6cbead296"><code>&#34;hda2hdmi&#34;</code></span>
> >
> > <a id="dt-c8b31f2db7bbcbe11358"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4cfacbda270425cafd45"><code>&#34;hda2codec&#95;2x&#34;</code></span>
> >
> > <a id="dt-205788d1fea947f3ac3d"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-40c1f417f6c3fc3d7f32"><code>2</code></span>
> >
> > <a id="dt-f7b8a86db6c4d64b734c"></a>
> >
> > **<code>reset&#45;names</code> — not listed as required here**
> >
> > <a id="dt-20b51bf823e0567bd56a"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-e440f3c31417e61dcf25"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-cb68332b96a371000163"><code>&#34;hda&#34;</code></span>
> >
> > <a id="dt-44f2100758f986aaa461"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-51a363e46887fdd8854f"><code>&#34;hda2hdmi&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;nvidia&#44;tegra234&#45;hda&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-9d121778b610668f3c64"><code>2</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b6a3ef79f98a671e3897"><code>2</code></span>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;hda&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;hda2codec&#95;2x&#34;</code></span>
> >
> > <a id="dt-c0283b740329014d51de"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-7c7bd1efbdea40aa530d"><code>2</code></span>
> >
> > <a id="dt-51c8227c55afc89dba8d"></a>
> >
> > **<code>reset&#45;names</code> — not listed as required here**
> >
> > <a id="dt-423d0ad5999386f392e0"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-c30c120379f48abc4b3c"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-ae3e44343c583f30117a"><code>&#34;hda&#34;</code></span>
> >
> > <a id="dt-ca9f0d10b684ebdba73e"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-839fbae08c0a72222586"><code>&#34;hda2codec&#95;2x&#34;</code></span>

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;nvidia&#44;tegra264&#45;hda&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9b48ab756d49c09e7d6e"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2840472fefd88961267c"><code>1</code></span>
> >
> > <a id="dt-0dd30bad243a0df76d0b"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-15601e83d4b95ac95a9c"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-c6508f79b7c67f4ab5c7"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6f7c4ab4df79eac8009c"><code>&#34;hda&#34;</code></span>
> >
> > <a id="dt-d1c5708944a2b3c834b3"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-5dc6b8363faf1f8a48aa"><code>2</code></span>
> >
> > <a id="dt-739ffd6a511bdcfcc527"></a>
> >
> > **<code>reset&#45;names</code> — not listed as required here**
> >
> > <a id="dt-a31d67edcbc1a518f056"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-de09c638cfce350c0f8c"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1ddb7713f5ed22520523"><code>&#34;hda&#34;</code></span>
> >
> > <a id="dt-45a50294f40e61532a5b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d516c8b1bec4e49a14e1"><code>&#34;hda2codec&#95;2x&#34;</code></span>
> >
> > <a id="dt-44a743bd26ee76cdbf37"></a>
> >
> > **<code>power&#45;domains</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include&lt;dt-bindings/clock/tegra124-car-common.h&gt;
#include&lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

hda@70030000 {
    compatible = "nvidia,tegra124-hda", "nvidia,tegra30-hda";
    reg = &lt;0x70030000 0x10000&gt;;
    interrupts = &lt;GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;tegra_car TEGRA124_CLK_HDA&gt;,
             &lt;&amp;tegra_car TEGRA124_CLK_HDA2HDMI&gt;,
             &lt;&amp;tegra_car TEGRA124_CLK_HDA2CODEC_2X&gt;;
    clock-names = "hda", "hda2hdmi", "hda2codec_2x";
    resets = &lt;&amp;tegra_car 125&gt;, /* hda */
             &lt;&amp;tegra_car 128&gt;, /* hda2hdmi */
             &lt;&amp;tegra_car 111&gt;; /* hda2codec_2x */
    reset-names = "hda", "hda2hdmi", "hda2codec_2x";
    nvidia,model = "jetson-tk1-hda";
};
</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>

</details>

---

# NVIDIA Tegra30 I2S controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NVIDIA Tegra30 I2S controller.

<!-- 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;nvidia&#44;tegra30&#45;i2s&#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;Thierry Reding &#60;treding&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;nvidia&#44;tegra124&#45;i2s&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;nvidia&#44;tegra30&#45;i2s&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;nvidia&#44;tegra114&#45;i2s&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nvidia&#44;tegra30&#45;i2s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;i2s&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-fc45b57fcd1ba81d2c64"><code>&#34;i2s&#34;</code></span>

<a id="dt-5a5b80c23f9296780435"></a>

### <code>nvidia&#44;ahub&#45;cif&#45;ids</code> — required here

<div id="dt-3911aba4f0b6f7385c54">
<p style="white-space: pre-wrap">list of AHUB CIF IDs</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f23021fd4cc73f50c8f3">[<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-4216f3a9e1a61127c019"></a>

#### Array item rules (<code>items</code>)

<a id="dt-1a0a7f723f06181aaba1"></a>

**Item 1**

> <div id="dt-f98f9c023d34a1f78e1b">
> <p style="white-space: pre-wrap">rx (playback)</p>
> </div>

<a id="dt-e604c260770a0a86924b"></a>

**Item 2**

> <div id="dt-ee5960cb637c7ab7aba4">
> <p style="white-space: pre-wrap">tx (capture)</p>
> </div>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;resets&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;nvidia&#44;ahub&#45;cif&#45;ids&#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/clock/tegra30-car.h&gt;

i2s@70080300 {
    compatible = "nvidia,tegra30-i2s";
    reg = &lt;0x70080300 0x100&gt;;
    nvidia,ahub-cif-ids = &lt;4 4&gt;;
    clocks = &lt;&amp;tegra_car TEGRA30_CLK_I2S0&gt;;
    resets = &lt;&amp;tegra_car 30&gt;;
    reset-names = "i2s";
};
</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>

</details>

---

# NXP LPC32XX I2S Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP LPC32XX I2S Controller.

<!-- 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;nxp&#44;lpc3220&#45;i2s&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The I2S controller in LPC32XX SoCs, ASoC DAI.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;J&#46;M&#46;B&#46; Downing &#60;jonathan&#46;downing&#64;nautel&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Piotr Wojtaszczyk &#60;piotr&#46;wojtaszczyk&#64;timesys&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;nxp&#44;lpc3220&#45;i2s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">input clock of the peripheral.</p>
> </div>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">RX DMA Channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">TX DMA Channel</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dmas&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;sound&#45;dai&#45;cells&#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/clock/lpc32xx-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2s@20094000 {
  compatible = "nxp,lpc3220-i2s";
  reg = &lt;0x20094000 0x1000&gt;;
  interrupts = &lt;22 IRQ_TYPE_LEVEL_HIGH&gt;;
  clocks = &lt;&amp;clk LPC32XX_CLK_I2S0&gt;;
  dmas = &lt;&amp;dma 0 1&gt;, &lt;&amp;dma 13 1&gt;;
  dma-names = "rx", "tx";
  #sound-dai-cells = &lt;0&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>

</details>

---

# NXP/Goodix TFA989X (TFA1) Audio Amplifiers

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for NXP/Goodix TFA989X (TFA1) Audio Amplifiers.

<!-- 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;nxp&#44;tfa989x&#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;Stephan Gerhold &#60;stephan&#64;gerhold&#46;net&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;nxp&#44;tfa9890&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nxp&#44;tfa9895&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;nxp&#44;tfa9897&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-f650562c1213c841b80b"></a>

### <code>rcv&#45;gpios</code> — not listed as required here

<div id="dt-0689ffc42fdc44741a40">
<p style="white-space: pre-wrap">optional GPIO to be asserted when receiver mode is enabled.</p>
</div>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-348ffb65ec8e9c3a3a76"></a>

### <code>vddd&#45;supply</code> — not listed as required here

<div id="dt-3d370450803204a2dc02">
<p style="white-space: pre-wrap">regulator phandle for the VDDD power supply.</p>
</div>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-3bfe73d6d5d592adab9c"></a>
>
> ### This rule must not match (<code>not</code>)
>
> > <a id="dt-f5021076855403a9683d"></a>
> >
> > #### Properties and child nodes (<code>properties</code>)
> >
> > <a id="dt-ec318efdc6e27fef954f"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-9a2cca40bb3336a2fcb0"><code>&#34;nxp&#44;tfa9897&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-355fb362d6dc89d129a7"></a>
>
> #### <code>rcv&#45;gpios</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property 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;&#35;sound&#45;dai&#45;cells&#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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  audio-codec@34 {
    compatible = "nxp,tfa9895";
    reg = &lt;0x34&gt;;
    sound-name-prefix = "Speaker Left";
    #sound-dai-cells = &lt;0&gt;;
  };
  audio-codec@36 {
    compatible = "nxp,tfa9895";
    reg = &lt;0x36&gt;;
    sound-name-prefix = "Speaker Right";
    #sound-dai-cells = &lt;0&gt;;
  };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  speaker_codec_top: audio-codec@34 {
    compatible = "nxp,tfa9897";
    reg = &lt;0x34&gt;;
    vddd-supply = &lt;&amp;pm8916_l6&gt;;
    rcv-gpios = &lt;&amp;msmgpio 50 GPIO_ACTIVE_HIGH&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;speaker_top_default&gt;;
    sound-name-prefix = "Speaker Top";
    #sound-dai-cells = &lt;0&gt;;
  };

  speaker_codec_bottom: audio-codec@36 {
    compatible = "nxp,tfa9897";
    reg = &lt;0x36&gt;;
    vddd-supply = &lt;&amp;pm8916_l6&gt;;
    rcv-gpios = &lt;&amp;msmgpio 111 GPIO_ACTIVE_HIGH&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;speaker_bottom_default&gt;;
    sound-name-prefix = "Speaker Bottom";
    #sound-dai-cells = &lt;0&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>

</details>

---

# GTM601 UMTS modem audio interface CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for GTM601 UMTS modem audio interface CODEC.

<!-- 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;option&#44;gtm601&#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;kernel&#64;puri&#46;sm&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This device has no configuration interface. The sample rate and channels are based on the compatible string</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <div id="dt-ab1c3e7063bd95dc962e">
> <p style="white-space: pre-wrap">Broadmobi BM818 (48Khz stereo)</p>
> </div>
>
> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;broadmobi&#44;bm818&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;option&#44;gtm601&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">GTM601 (8kHz mono)</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;option&#44;gtm601&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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">codec {
    compatible = "option,gtm601";
    #sound-dai-cells = &lt;0&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>

</details>

---

# Qualcomm APQ8016 and similar sound cards

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm APQ8016 and similar sound cards.

<!-- 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;qcom&#44;apq8016&#45;sbc&#45;sndcard&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Stephan Gerhold &#60;stephan&#64;gerhold&#46;net&#62;&#34;</code></span>

<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;qcom&#44;apq8016&#45;sbc&#45;sndcard&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;qcom&#44;msm8916&#45;qdsp6&#45;sndcard&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<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">Microphone I/O mux register address</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">Speaker I/O mux register address</p>
> </div>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — required here

<a id="dt-cb45e4d562022f44522c"></a>

#### Array item rules (<code>items</code>)

<a id="dt-ad0326e242afa18bd21a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;mic&#45;iomux&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;spkr&#45;iomux&#34;</code></span>

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5aa48addbfe3befc2051">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source. Valid names could be power supplies, MicBias of codec and the jacks on the board.</p>
</div>

<a id="dt-48eea20abd1f0fe7f8c9"></a>

### <code>aux&#45;devs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c0c07579a0c2692d2938">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<div id="dt-e7ac154f20c412e1287a">
<p style="white-space: pre-wrap">List of phandles pointing to auxiliary devices, such
as amplifiers, to be added to the sound card.</p>
</div>

<a id="dt-35a8a57fdd6e9ed01be8"></a>

### <code>model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4888cbb3b35392d2f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bf4b69bd171c38756e1b">
<p style="white-space: pre-wrap">User visible long sound card name</p>
</div>

<a id="dt-df42fa2a6b9643674eb7"></a>

### <code>pin&#45;switches</code> — not listed as required here

<div id="dt-e556518cfaac13899738">
<p style="white-space: pre-wrap">List of widget names for which pin switches should be created.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c895ffe5b765d1443ae7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-7360acce49da10397d42>)</span>

<a id="dt-0a1e54e85dc2fe07ad66"></a>

### <code>widgets</code> — not listed as required here

<div id="dt-fec35ea038af2f22d06a">
<p style="white-space: pre-wrap">User specified audio sound widgets.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d105e308a7dced953180">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-1835a0317dae1488a052"></a>

### <code>&#46;&#42;&#45;dai&#45;link&#36;</code> — name matches this regular expression

<div id="dt-1ddc58bbafb86167caab">
<p style="white-space: pre-wrap">Each subnode represents a dai link. Subnodes of each dai links would be cpu/codec dais.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-1a6254090caf95caf53c"><code>&#34;object&#34;</code></span>

<a id="dt-9937d7ae7daaa5558a92"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-f3ff20eb2dcb97d07f08"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-9e8bacbda230fc6c3874">
<p style="white-space: pre-wrap">Indicates dai-link name and PCM stream name.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-806efc76516466767abc">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-11b4767208f52fd16f46"><code>1</code></span>

<a id="dt-638fcaea80d6bbf0d4d6"></a>

**<code>cpu</code> — required here**

<div id="dt-b35871b6b0ec6fb4c4c1">
<p style="white-space: pre-wrap">Holds subnode which indicates cpu dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-9d2373f6281e19ebfd3d"><code>&#34;object&#34;</code></span>

<a id="dt-b4911fbdb0db29ecb97f"></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-ef5071be98b249d6508c"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-e3f10db26ec20cb902b0"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ea6a91aeab8090fdd6a0"><code>1</code></span>

<a id="dt-3811eb8b23bde373ff10"></a>

**<code>platform</code> — not listed as required here**

<div id="dt-76f47824a9d418871f51">
<p style="white-space: pre-wrap">Holds subnode which indicates platform dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-3bdad4b4f779ecdb9dc0"><code>&#34;object&#34;</code></span>

<a id="dt-4486d820defcedbb8666"></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-4f31ac45200b9da5ccab"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-fc43d11a2bee3380c2cb"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6b8b8330665a898bf1a0"><code>1</code></span>

<a id="dt-c5d0bdf7d32065aee72e"></a>

**<code>codec</code> — not listed as required here**

<div id="dt-390ad724e6e87a8e6f31">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b7834a5ff371f1becdcb"><code>&#34;object&#34;</code></span>

<a id="dt-a476ce8ca86c939806d1"></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-273b21d778eba1efd580"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-0936ce529515b6115195"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-6ccb878433c25793bb0f"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-dc3c81446a4d7cfb1282"><code>8</code></span>

**Required in this object (<code>required</code>):** <a id="dt-0c473b2dd68c1cb91dd6"></a> <span id="dt-5ada0b495601465325ac"><code>&#34;link&#45;name&#34;</code></span>, <span id="dt-bbb1ed2e2f457adfeae4"><code>&#34;cpu&#34;</code></span>

<a id="dt-648a771abb8056027ce0"></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;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;model&#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/sound/qcom,lpass.h&gt;
sound@7702000 {
    compatible = "qcom,apq8016-sbc-sndcard";
    reg = &lt;0x07702000 0x4&gt;, &lt;0x07702004 0x4&gt;;
    reg-names = "mic-iomux", "spkr-iomux";

    model = "DB410c";
    audio-routing =
        "AMIC2", "MIC BIAS Internal2",
        "AMIC3", "MIC BIAS External1";

    pinctrl-0 = &lt;&amp;cdc_pdm_lines_act &amp;ext_sec_tlmm_lines_act &amp;ext_mclk_tlmm_lines_act&gt;;
    pinctrl-1 = &lt;&amp;cdc_pdm_lines_sus &amp;ext_sec_tlmm_lines_sus &amp;ext_mclk_tlmm_lines_sus&gt;;
    pinctrl-names = "default", "sleep";

    quaternary-dai-link {
        link-name = "ADV7533";
        cpu {
            sound-dai = &lt;&amp;lpass MI2S_QUATERNARY&gt;;
        };
        codec {
            sound-dai = &lt;&amp;adv_bridge 0&gt;;
        };
    };

    primary-dai-link {
        link-name = "WCD";
        cpu {
            sound-dai = &lt;&amp;lpass MI2S_PRIMARY&gt;;
        };
        codec {
            sound-dai = &lt;&amp;lpass_codec 0&gt;, &lt;&amp;wcd_codec 0&gt;;
        };
    };

    tertiary-dai-link {
        link-name = "WCD-Capture";
        cpu {
            sound-dai = &lt;&amp;lpass MI2S_TERTIARY&gt;;
        };
        codec {
            sound-dai = &lt;&amp;lpass_codec 1&gt;, &lt;&amp;wcd_codec 1&gt;;
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/sound/qcom,q6afe.h&gt;
#include &lt;dt-bindings/sound/qcom,q6asm.h&gt;
sound@7702000 {
    compatible = "qcom,msm8916-qdsp6-sndcard";
    reg = &lt;0x07702000 0x4&gt;, &lt;0x07702004 0x4&gt;;
    reg-names = "mic-iomux", "spkr-iomux";

    model = "msm8916";
    widgets =
        "Speaker", "Speaker",
        "Headphone", "Headphones";
    pin-switches = "Speaker";
    audio-routing =
        "Speaker", "Speaker Amp OUT",
        "Speaker Amp IN", "HPH_R",
        "Headphones", "HPH_L",
        "Headphones", "HPH_R",
        "AMIC1", "MIC BIAS Internal1",
        "AMIC2", "MIC BIAS Internal2",
        "AMIC3", "MIC BIAS Internal3";
    aux-devs = &lt;&amp;speaker_amp&gt;;

    pinctrl-names = "default", "sleep";
    pinctrl-0 = &lt;&amp;cdc_pdm_lines_act&gt;;
    pinctrl-1 = &lt;&amp;cdc_pdm_lines_sus&gt;;

    mm1-dai-link {
        link-name = "MultiMedia1";
        cpu {
            sound-dai = &lt;&amp;q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1&gt;;
        };
    };

    primary-dai-link {
        link-name = "Primary MI2S";
        cpu {
            sound-dai = &lt;&amp;q6afedai PRIMARY_MI2S_RX&gt;;
        };
        platform {
            sound-dai = &lt;&amp;q6routing&gt;;
        };
        codec {
            sound-dai = &lt;&amp;lpass_codec 0&gt;, &lt;&amp;wcd_codec 0&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>

</details>

---

# Qualcomm Technologies Inc. LPASS CPU dai driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm Technologies Inc. LPASS CPU dai driver.

<!-- 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;qcom&#44;lpass&#45;cpu&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Rohit kumar &#60;quic&#95;rohkumar&#64;quicinc&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm Technologies Inc. SOC Low-Power Audio SubSystem (LPASS) that consist
of MI2S interface for audio data transfer on external codecs. LPASS cpu driver
is a module to configure Low-Power Audio Interface(LPAIF) core registers
across different IP versions.</p>
</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;qcom&#44;lpass&#45;cpu&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;qcom&#44;apq8016&#45;lpass&#45;cpu&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;qcom&#44;sc7180&#45;lpass&#45;cpu&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;qcom&#44;sc7280&#45;lpass&#45;cpu&#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>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>6</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">LPAIF core registers</p>
</div>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-3f2820449161ca72af98"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-58a7d566e1c7a6b0e414"><code>6</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>3</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>10</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>10</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>4</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">LPAIF DMA buffer interrupt</p>
</div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-30089c7b6e408306475b"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-718f7c4b526ed5355ff2"><code>4</code></span>

<a id="dt-30fcb62576550ee749f6"></a>

### <code>qcom&#44;adsp</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3d24bfe0464e5ba3d67a">[<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-fc8fa3c9df98087d68fa">
<p style="white-space: pre-wrap">Phandle for the audio DSP node</p>
</div>

<a id="dt-a36eed19b18515184df2"></a>

### <code>iommus</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-967a522939223804c619"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e4a101d772fc97cb1dd0"><code>3</code></span>

<div id="dt-d0107bd8d2225cdbefb8">
<p style="white-space: pre-wrap">Phandle to apps_smmu node with sid mask</p>
</div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-c05d9fca499b4c57f461"></a>

### <code>power&#45;domain&#45;names</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-071d4e07f34ffdb201e4"><code>1</code></span>

<a id="dt-01a7da425c5cdde10237"></a>

### <code>required&#45;opps</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-247a602eeb337c91095b"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<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>1</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>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-3ae0ae4bc3802cc533d7"></a>

### <code>&#94;dai&#45;link&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-5e561ea9e648f7abc06b"><code>&#34;object&#34;</code></span>

<div id="dt-3c208a4254e788ff8636">
<p style="white-space: pre-wrap">LPASS CPU dai node for each I2S device or Soundwire device. Bindings of each node
depends on the specific driver providing the functionality and
properties.</p>
</div>

<a id="dt-5437fd29fc60231f9f76"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-71a1c3734980c9e5ac8a"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-0c322b66162a0733ba18"><code>1</code></span>

<div id="dt-1f4dc9a46bb9e3ead71d">
<p style="white-space: pre-wrap">Must be one of the DAI ID</p>
</div>

<a id="dt-f9a7a5a416b646018fc9"></a>

**<code>qcom&#44;playback&#45;sd&#45;lines</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7cc8b25d28e899443001">[<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>

<div id="dt-217ca24a9275921297ad">
<p style="white-space: pre-wrap">list of MI2S data lines for playback</p>
</div>

<a id="dt-0c186a75f4d36a4a579f"></a>

**<code>qcom&#44;capture&#45;sd&#45;lines</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0d855db3773590a73abc">[<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>

<div id="dt-8c396cec25337af8767e">
<p style="white-space: pre-wrap">list of MI2S data lines for capture</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-c3872810ce9c9b0386ee"></a> <span id="dt-ed4e65b8388b012d7269"><code>&#34;reg&#34;</code></span>

<a id="dt-0d02cee9e248e7b87c38"></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;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupts&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;qcom&#44;lpass&#45;cpu&#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-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-3aa42810e911ab2a41de"><code>3</code></span>
> >
> > <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;ahbix&#45;clk&#34;</code></span>
> >
> > <a id="dt-fbbb17d593cc6352303b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1c6351ea0af6cbead296"><code>&#34;mi2s&#45;osr&#45;clk&#34;</code></span>
> >
> > <a id="dt-c8b31f2db7bbcbe11358"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4cfacbda270425cafd45"><code>&#34;mi2s&#45;bit&#45;clk&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;qcom&#44;apq8016&#45;lpass&#45;cpu&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-9d121778b610668f3c64"><code>7</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b6a3ef79f98a671e3897"><code>7</code></span>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;ahbix&#45;clk&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;mi2s&#45;bit&#45;clk0&#34;</code></span>
> >
> > <a id="dt-81f6c403985022409818"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-a3cbb70d0db35ce9b406"><code>&#34;mi2s&#45;bit&#45;clk1&#34;</code></span>
> >
> > <a id="dt-a22dd2aaad2f25cc64a2"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-421c4015083292a7b223"><code>&#34;mi2s&#45;bit&#45;clk2&#34;</code></span>
> >
> > <a id="dt-347c15da01ba5e373c0d"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-3f3f8d78a54cb8d14263"><code>&#34;mi2s&#45;bit&#45;clk3&#34;</code></span>
> >
> > <a id="dt-4eeb222fd908e384ca44"></a>
> >
> > **Item 6**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-db0fe7ba56f31f93e0a5"><code>&#34;pcnoc&#45;mport&#45;clk&#34;</code></span>
> >
> > <a id="dt-472a2db1b298877814cf"></a>
> >
> > **Item 7**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-48e876e822473ccb6ec6"><code>&#34;pcnoc&#45;sway&#45;clk&#34;</code></span>

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5c56c46a4e287cf52ece"><code>&#34;qcom&#44;sc7180&#45;lpass&#45;cpu&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9b48ab756d49c09e7d6e"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-0d329c1d0e8794ec82db"><code>6</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2840472fefd88961267c"><code>6</code></span>
> >
> > <a id="dt-0dd30bad243a0df76d0b"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-15601e83d4b95ac95a9c"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-c6508f79b7c67f4ab5c7"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6f7c4ab4df79eac8009c"><code>&#34;pcnoc&#45;sway&#45;clk&#34;</code></span>
> >
> > <a id="dt-8a09b1b82fc12eb8948c"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-33aee55eeaaf3e7d4421"><code>&#34;audio&#45;core&#34;</code></span>
> >
> > <a id="dt-fb5bc90d983879b30d04"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-015da56342bd515a1503"><code>&#34;mclk0&#34;</code></span>
> >
> > <a id="dt-6a7d063d19ee92aa0dcb"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d1fe68ef5767af73c570"><code>&#34;pcnoc&#45;mport&#45;clk&#34;</code></span>
> >
> > <a id="dt-0fea954fa7a88e9d1409"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-84353d3c65440cfe485d"><code>&#34;mi2s&#45;bit&#45;clk0&#34;</code></span>
> >
> > <a id="dt-2302e709676e4e401ebe"></a>
> >
> > **Item 6**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-743e732850be1f2b68b0"><code>&#34;mi2s&#45;bit&#45;clk1&#34;</code></span>
> >
> > <a id="dt-bf3c32dc20c3c8a6e8c5"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-3d3d2222c50fad4d2b47"><code>2</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-a871c44be1e9f993b306"><code>2</code></span>
> >
> > <a id="dt-45804beff97bd082668f"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > <a id="dt-2ebcf4f110c89094eefb"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-43a64a187f9fc3bdab95"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-3897372980c01b7954e8"><code>&#34;lpass&#45;hdmiif&#34;</code></span>
> >
> > <a id="dt-b200cdeab497906745de"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-3f4917d088f4511bc35c"><code>&#34;lpass&#45;lpaif&#34;</code></span>
> >
> > <a id="dt-a382a3bebc56926866a8"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b0f2d19fab152c16b276"><code>2</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-f9da6b3da8dee256e96e"><code>2</code></span>
> >
> > <a id="dt-402fbca3dbb380a9fcb9"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > <a id="dt-d1d5ff3cd67606da45d7"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-1719c2e0992c5183ebe6"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8659725b06fcddcd71c4"><code>&#34;lpass&#45;irq&#45;lpaif&#34;</code></span>
> >
> > <a id="dt-dd35884b5a0fb8696545"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-bf352e892d17cf893feb"><code>&#34;lpass&#45;irq&#45;hdmi&#34;</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-e8e2f7d7ecdebb81c712"></a> <span id="dt-1a51fa9eec7d4fe91130"><code>&#34;iommus&#34;</code></span>, <span id="dt-a1f07a977cb8e39a4174"><code>&#34;power&#45;domains&#34;</code></span>

<a id="dt-1c66024c2be5a725f708"></a>

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-def647aea9878c3c7610"><code>&#34;qcom&#44;sc7280&#45;lpass&#45;cpu&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-61105cb355bf27434ff1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-aa0d767cf1ac9fac4f5a"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-a0ce00e83e48875d8fd0"><code>10</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2177aa6156683c9aaaa1"><code>10</code></span>
> >
> > <a id="dt-50f1ce702c9c66684754"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-e8a47eafddc2049ad540"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-ab9d3a4bb3f5c3a699cf"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-05088e2c6603aa4a6857"><code>&#34;aon&#95;cc&#95;audio&#95;hm&#95;h&#34;</code></span>
> >
> > <a id="dt-39cb4fd49e17b40e2baa"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6d4accee37c7236e6463"><code>&#34;audio&#95;cc&#95;ext&#95;mclk0&#34;</code></span>
> >
> > <a id="dt-2791ad0e9309567024af"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-b57bcd1e276ca41d5e53"><code>&#34;core&#95;cc&#95;sysnoc&#95;mport&#95;core&#34;</code></span>
> >
> > <a id="dt-5075d08e1e44a8adeaef"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-60cc1d7d6bad70c3505c"><code>&#34;core&#95;cc&#95;ext&#95;if0&#95;ibit&#34;</code></span>
> >
> > <a id="dt-0875cd5e02329e60d371"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-ecfd7c7a85305bc55501"><code>&#34;core&#95;cc&#95;ext&#95;if1&#95;ibit&#34;</code></span>
> >
> > <a id="dt-a8f7e42c70c38ce0c133"></a>
> >
> > **Item 6**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-df231d4622783f5c2de2"><code>&#34;audio&#95;cc&#95;codec&#95;mem&#34;</code></span>
> >
> > <a id="dt-e1e0194cc830ae4de933"></a>
> >
> > **Item 7**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-3893cf013d121a5c24d2"><code>&#34;audio&#95;cc&#95;codec&#95;mem0&#34;</code></span>
> >
> > <a id="dt-64883e1dce9bbf7999ef"></a>
> >
> > **Item 8**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-38e773b020bb4fabe6d5"><code>&#34;audio&#95;cc&#95;codec&#95;mem1&#34;</code></span>
> >
> > <a id="dt-b76ae228fcc2e1227b75"></a>
> >
> > **Item 9**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6c22470d2d32b64bd2fd"><code>&#34;audio&#95;cc&#95;codec&#95;mem2&#34;</code></span>
> >
> > <a id="dt-1bec6cc2648772aca244"></a>
> >
> > **Item 10**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5a3dda1179eb81f6b951"><code>&#34;aon&#95;cc&#95;va&#95;mem0&#34;</code></span>
> >
> > <a id="dt-6fc5528acbfd0f2736ff"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-03edfba6efbcc66592ae"><code>6</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-6a7bcfdbffec320d0508"><code>6</code></span>
> >
> > <a id="dt-95b66b14ed5c4421ad9e"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > <a id="dt-ea730dba6c23b143c75f"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-b7eb412bf4da0b88c395"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-021b706e73416b6d3bf8"><code>&#34;lpass&#45;hdmiif&#34;</code></span>
> >
> > <a id="dt-73433886cffb65d089c9"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9f54d3857d69a515c476"><code>&#34;lpass&#45;lpaif&#34;</code></span>
> >
> > <a id="dt-626ff88e4821fbb2e7ec"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6f886f99fa9637d214a6"><code>&#34;lpass&#45;rxtx&#45;cdc&#45;dma&#45;lpm&#34;</code></span>
> >
> > <a id="dt-7b63afaa798eeed81deb"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-f80a850539e026aaa26b"><code>&#34;lpass&#45;rxtx&#45;lpaif&#34;</code></span>
> >
> > <a id="dt-40628590e8c471784ec0"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-0f47e47c13ebac58e0d0"><code>&#34;lpass&#45;va&#45;lpaif&#34;</code></span>
> >
> > <a id="dt-fa7863f11d8346b7831b"></a>
> >
> > **Item 6**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-3357e4f4cf8527153512"><code>&#34;lpass&#45;va&#45;cdc&#45;dma&#45;lpm&#34;</code></span>
> >
> > <a id="dt-3fddd13d68a0c30554d8"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b1064aa9988a92eb0821"><code>4</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-1cbb86a7caf97981d2df"><code>4</code></span>
> >
> > <a id="dt-46aca59a4d33eecdf362"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > <a id="dt-b81b18406675f4877fac"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-f6430474970dd365d666"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8d06737c1f0d90368721"><code>&#34;lpass&#45;irq&#45;lpaif&#34;</code></span>
> >
> > <a id="dt-7707ddc59a6e25d1ac30"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-fbb4e02daafe440aa668"><code>&#34;lpass&#45;irq&#45;hdmi&#34;</code></span>
> >
> > <a id="dt-6e9e73cd7fb8b1f5be26"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-cb973e92369fc7ed0b09"><code>&#34;lpass&#45;irq&#45;vaif&#34;</code></span>
> >
> > <a id="dt-01487867cebdac5ec70c"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-004969546d167a20a021"><code>&#34;lpass&#45;irq&#45;rxtxif&#34;</code></span>
> >
> > <a id="dt-0f9e0da6ba1082a7854d"></a>
> >
> > **<code>power&#45;domain&#45;names</code> — not listed as required here**
> >
> > <a id="dt-3e169040d7663828a2ec"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-501a50ea09c171d82fab"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-7923b7ca3bd03a1db35f"><code>&#34;lcx&#34;</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-d0be233c145bb706d4e5"></a> <span id="dt-70d480dba72a9448693e"><code>&#34;iommus&#34;</code></span>, <span id="dt-72a4536eb362c1dd710e"><code>&#34;power&#45;domains&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/sound/sc7180-lpass.h&gt;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;
    lpass@62d80000 {
        compatible = "qcom,sc7180-lpass-cpu";

        reg = &lt;0 0x62d87000 0 0x68000&gt;,
              &lt;0 0x62f00000 0 0x29000&gt;;
        reg-names = "lpass-hdmiif",
                    "lpass-lpaif";
        iommus = &lt;&amp;apps_smmu 0x1020 0&gt;,
                 &lt;&amp;apps_smmu 0x1032 0&gt;;
        power-domains = &lt;&amp;lpass_hm 0&gt;;

        clocks = &lt;&amp;gcc 131&gt;,
             &lt;&amp;lpasscorecc 6&gt;,
             &lt;&amp;lpasscorecc 7&gt;,
             &lt;&amp;lpasscorecc 10&gt;,
             &lt;&amp;lpasscorecc 8&gt;,
             &lt;&amp;lpasscorecc 9&gt;;

        clock-names = "pcnoc-sway-clk", "audio-core",
                      "mclk0", "pcnoc-mport-clk",
                      "mi2s-bit-clk0", "mi2s-bit-clk1";

        interrupts = &lt;0 160 1&gt;,
                     &lt;0 268 1&gt;;
        interrupt-names = "lpass-irq-lpaif",
                          "lpass-irq-hdmi";
        #sound-dai-cells = &lt;1&gt;;

        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        /* Optional to set different MI2S SD lines */
        dai-link@0 {
            reg = &lt;MI2S_PRIMARY&gt;;
            qcom,playback-sd-lines = &lt;1&gt;;
            qcom,capture-sd-lines = &lt;0&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>

</details>

---

# LPASS(Low Power Audio Subsystem) RX Macro audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for LPASS(Low Power Audio Subsystem) RX Macro audio codec.

<!-- 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;qcom&#44;lpass&#45;rx&#45;macro&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;qcom&#44;sc7280&#45;lpass&#45;rx&#45;macro&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;qcom&#44;sm6115&#45;lpass&#45;rx&#45;macro&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;qcom&#44;sm8250&#45;lpass&#45;rx&#45;macro&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;qcom&#44;sm8450&#45;lpass&#45;rx&#45;macro&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;rx&#45;macro&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;qcom&#44;sc8280xp&#45;lpass&#45;rx&#45;macro&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;qcom&#44;kaanapali&#45;lpass&#45;rx&#45;macro&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;qcom&#44;sm8650&#45;lpass&#45;rx&#45;macro&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;qcom&#44;sm8750&#45;lpass&#45;rx&#45;macro&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;qcom&#44;x1e80100&#45;lpass&#45;rx&#45;macro&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;rx&#45;macro&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>3</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>5</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>3</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>5</code></span>

<a id="dt-ce7ce65ef6912a262371"></a>

### <code>clock&#45;output&#45;names</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-48bdbc8ce79b7a10c6b6"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>2</code></span>

<a id="dt-c05d9fca499b4c57f461"></a>

### <code>power&#45;domain&#45;names</code> — not listed as required here

<a id="dt-1b081f7262644c68a699"></a>

#### Array item rules (<code>items</code>)

<a id="dt-144c9747954bcbf8d030"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-2bfccc3380d516a47ac5"><code>&#34;macro&#34;</code></span>

<a id="dt-6ae549232957f2e0761b"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-ca1bbd401ba3c522ae05"><code>&#34;dcodec&#34;</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-c0ab484bd71d0671c6ab"></a> <span id="dt-4eb87bb951292ac8d56d"><code>&#34;qcom&#44;sc7280&#45;lpass&#45;rx&#45;macro&#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-92b94cd2532e657baaaf"></a>
> >
> > **Exactly one of these rules must match (<code>oneOf</code>)**
> >
> > <a id="dt-91ae68530601f6245896"></a>
> >
> > **Rule 1**
> >
> > > <a id="dt-feea52b612fae3b16236"></a>
> > >
> > > **Array item rules (<code>items</code>)**
> > >
> > > <a id="dt-c3223f8efaf8a2a1fd7d"></a>
> > >
> > > **Item 1**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-1afae6aa63bc228a06c3"><code>&#34;mclk&#34;</code></span>
> > >
> > > <a id="dt-764830034de918c2e574"></a>
> > >
> > > **Item 2**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-07dcf4afa48bc56a832b"><code>&#34;npl&#34;</code></span>
> > >
> > > <a id="dt-9cd6ad124bb46604dfc7"></a>
> > >
> > > **Item 3**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-4d773c1ec02c7bf3dae1"><code>&#34;macro&#34;</code></span>
> > >
> > > <a id="dt-18f482512a3aadc8a07e"></a>
> > >
> > > **Item 4**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-46f46d3cbc4a9886a52e"><code>&#34;dcodec&#34;</code></span>
> > >
> > > <a id="dt-f3187dbd58caa68a9050"></a>
> > >
> > > **Item 5**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-c3e62d967200067e02d7"><code>&#34;fsgen&#34;</code></span>
> >
> > <a id="dt-3b3cf8105871c4f27ab4"></a>
> >
> > **Rule 2**
> >
> > > <a id="dt-aaf0723b82dc714ae6da"></a>
> > >
> > > **Array item rules (<code>items</code>)**
> > >
> > > <a id="dt-d0b36816b871a1d1079f"></a>
> > >
> > > **Item 1**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-0053b5113dcfb0a75445"><code>&#34;mclk&#34;</code></span>
> > >
> > > <a id="dt-2651b219ddd65daaeb91"></a>
> > >
> > > **Item 2**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-cbe8a9b966789a5692e0"><code>&#34;npl&#34;</code></span>
> > >
> > > <a id="dt-3506eeec9291ceb679c1"></a>
> > >
> > > **Item 3**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-0e4450a4da530f23c9af"><code>&#34;fsgen&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-22249f3875646fe5ea9e"></a> <span id="dt-5632855001ed404c9e46"><code>&#34;qcom&#44;sm6115&#45;lpass&#45;rx&#45;macro&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-9d121778b610668f3c64"><code>4</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b6a3ef79f98a671e3897"><code>4</code></span>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;npl&#34;</code></span>
> >
> > <a id="dt-81f6c403985022409818"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-a3cbb70d0db35ce9b406"><code>&#34;dcodec&#34;</code></span>
> >
> > <a id="dt-a22dd2aaad2f25cc64a2"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-421c4015083292a7b223"><code>&#34;fsgen&#34;</code></span>

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-419957a69f31e57c7f39"></a> <span id="dt-69c17dc0986a7dcb908e"><code>&#34;qcom&#44;sc8280xp&#45;lpass&#45;rx&#45;macro&#34;</code></span>, <span id="dt-e10cb6691be8a72fd664"><code>&#34;qcom&#44;sm8250&#45;lpass&#45;rx&#45;macro&#34;</code></span>, <span id="dt-61c73c3d8e8fb090bf99"><code>&#34;qcom&#44;sm8450&#45;lpass&#45;rx&#45;macro&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9b48ab756d49c09e7d6e"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-0d329c1d0e8794ec82db"><code>5</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2840472fefd88961267c"><code>5</code></span>
> >
> > <a id="dt-0dd30bad243a0df76d0b"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-15601e83d4b95ac95a9c"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-c6508f79b7c67f4ab5c7"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6f7c4ab4df79eac8009c"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-8a09b1b82fc12eb8948c"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-33aee55eeaaf3e7d4421"><code>&#34;npl&#34;</code></span>
> >
> > <a id="dt-fb5bc90d983879b30d04"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-015da56342bd515a1503"><code>&#34;macro&#34;</code></span>
> >
> > <a id="dt-6a7d063d19ee92aa0dcb"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d1fe68ef5767af73c570"><code>&#34;dcodec&#34;</code></span>
> >
> > <a id="dt-0fea954fa7a88e9d1409"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-84353d3c65440cfe485d"><code>&#34;fsgen&#34;</code></span>

<a id="dt-1c66024c2be5a725f708"></a>

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-f6f7348eb6a3f6a0c1d3"></a> <span id="dt-e23119600ac866295534"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;rx&#45;macro&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-61105cb355bf27434ff1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-aa0d767cf1ac9fac4f5a"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-a0ce00e83e48875d8fd0"><code>4</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2177aa6156683c9aaaa1"><code>4</code></span>
> >
> > <a id="dt-50f1ce702c9c66684754"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-e8a47eafddc2049ad540"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-ab9d3a4bb3f5c3a699cf"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-05088e2c6603aa4a6857"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-39cb4fd49e17b40e2baa"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6d4accee37c7236e6463"><code>&#34;macro&#34;</code></span>
> >
> > <a id="dt-2791ad0e9309567024af"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-b57bcd1e276ca41d5e53"><code>&#34;dcodec&#34;</code></span>
> >
> > <a id="dt-5075d08e1e44a8adeaef"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-60cc1d7d6bad70c3505c"><code>&#34;fsgen&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/sound/qcom,q6afe.h&gt;
codec@3200000 {
  compatible = "qcom,sm8250-lpass-rx-macro";
  reg = &lt;0x3200000 0x1000&gt;;
  #sound-dai-cells = &lt;1&gt;;
  #clock-cells = &lt;0&gt;;
  clocks = &lt;&amp;audiocc 0&gt;,
           &lt;&amp;audiocc 1&gt;,
           &lt;&amp;q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO&gt;,
           &lt;&amp;q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO&gt;,
           &lt;&amp;vamacro&gt;;
  clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
  clock-output-names = "mclk";
};
</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 74:</strong> <span> for ADSP based platforms</span></p>

<p id="dt-comment-2"><strong>Line 80:</strong> <span> for ADSP bypass based platforms</span></p>

</details>

---

# LPASS(Low Power Audio Subsystem) TX Macro audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for LPASS(Low Power Audio Subsystem) TX Macro audio codec.

<!-- 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;qcom&#44;lpass&#45;tx&#45;macro&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;qcom&#44;sc7280&#45;lpass&#45;tx&#45;macro&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;qcom&#44;sm6115&#45;lpass&#45;tx&#45;macro&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;qcom&#44;sm8250&#45;lpass&#45;tx&#45;macro&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;qcom&#44;sm8450&#45;lpass&#45;tx&#45;macro&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;tx&#45;macro&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;qcom&#44;sc8280xp&#45;lpass&#45;tx&#45;macro&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;qcom&#44;kaanapali&#45;lpass&#45;tx&#45;macro&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;qcom&#44;sm8650&#45;lpass&#45;tx&#45;macro&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;qcom&#44;sm8750&#45;lpass&#45;tx&#45;macro&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;qcom&#44;x1e80100&#45;lpass&#45;tx&#45;macro&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;tx&#45;macro&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>3</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>5</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>3</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>5</code></span>

<a id="dt-ce7ce65ef6912a262371"></a>

### <code>clock&#45;output&#45;names</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-48bdbc8ce79b7a10c6b6"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>2</code></span>

<a id="dt-c05d9fca499b4c57f461"></a>

### <code>power&#45;domain&#45;names</code> — not listed as required here

<a id="dt-1b081f7262644c68a699"></a>

#### Array item rules (<code>items</code>)

<a id="dt-144c9747954bcbf8d030"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-2bfccc3380d516a47ac5"><code>&#34;macro&#34;</code></span>

<a id="dt-6ae549232957f2e0761b"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-ca1bbd401ba3c522ae05"><code>&#34;dcodec&#34;</code></span>

<a id="dt-1dcc73ef760bd8783f41"></a>

### <code>qcom&#44;dmic&#45;sample&#45;rate</code> — not listed as required here

<div id="dt-e636ca64d7df41fb1d51">
<p style="white-space: pre-wrap">dmic sample rate</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-71e575c298c8bffd957b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-c0ab484bd71d0671c6ab"></a> <span id="dt-4eb87bb951292ac8d56d"><code>&#34;qcom&#44;sc7280&#45;lpass&#45;tx&#45;macro&#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-92b94cd2532e657baaaf"></a>
> >
> > **Exactly one of these rules must match (<code>oneOf</code>)**
> >
> > <a id="dt-91ae68530601f6245896"></a>
> >
> > **Rule 1**
> >
> > > <a id="dt-feea52b612fae3b16236"></a>
> > >
> > > **Array item rules (<code>items</code>)**
> > >
> > > <a id="dt-c3223f8efaf8a2a1fd7d"></a>
> > >
> > > **Item 1**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-1afae6aa63bc228a06c3"><code>&#34;mclk&#34;</code></span>
> > >
> > > <a id="dt-764830034de918c2e574"></a>
> > >
> > > **Item 2**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-07dcf4afa48bc56a832b"><code>&#34;npl&#34;</code></span>
> > >
> > > <a id="dt-9cd6ad124bb46604dfc7"></a>
> > >
> > > **Item 3**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-4d773c1ec02c7bf3dae1"><code>&#34;macro&#34;</code></span>
> > >
> > > <a id="dt-18f482512a3aadc8a07e"></a>
> > >
> > > **Item 4**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-46f46d3cbc4a9886a52e"><code>&#34;dcodec&#34;</code></span>
> > >
> > > <a id="dt-f3187dbd58caa68a9050"></a>
> > >
> > > **Item 5**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-c3e62d967200067e02d7"><code>&#34;fsgen&#34;</code></span>
> >
> > <a id="dt-3b3cf8105871c4f27ab4"></a>
> >
> > **Rule 2**
> >
> > > <a id="dt-aaf0723b82dc714ae6da"></a>
> > >
> > > **Array item rules (<code>items</code>)**
> > >
> > > <a id="dt-d0b36816b871a1d1079f"></a>
> > >
> > > **Item 1**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-0053b5113dcfb0a75445"><code>&#34;mclk&#34;</code></span>
> > >
> > > <a id="dt-2651b219ddd65daaeb91"></a>
> > >
> > > **Item 2**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-cbe8a9b966789a5692e0"><code>&#34;npl&#34;</code></span>
> > >
> > > <a id="dt-3506eeec9291ceb679c1"></a>
> > >
> > > **Item 3**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-0e4450a4da530f23c9af"><code>&#34;fsgen&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-22249f3875646fe5ea9e"></a> <span id="dt-5632855001ed404c9e46"><code>&#34;qcom&#44;sc8280xp&#45;lpass&#45;tx&#45;macro&#34;</code></span>, <span id="dt-fafe3320c4ddddf69a25"><code>&#34;qcom&#44;sm8250&#45;lpass&#45;tx&#45;macro&#34;</code></span>, <span id="dt-52e71aebe47f0bb965da"><code>&#34;qcom&#44;sm8450&#45;lpass&#45;tx&#45;macro&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-9d121778b610668f3c64"><code>5</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b6a3ef79f98a671e3897"><code>5</code></span>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;npl&#34;</code></span>
> >
> > <a id="dt-81f6c403985022409818"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-a3cbb70d0db35ce9b406"><code>&#34;macro&#34;</code></span>
> >
> > <a id="dt-a22dd2aaad2f25cc64a2"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-421c4015083292a7b223"><code>&#34;dcodec&#34;</code></span>
> >
> > <a id="dt-347c15da01ba5e373c0d"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-3f3f8d78a54cb8d14263"><code>&#34;fsgen&#34;</code></span>

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-419957a69f31e57c7f39"></a> <span id="dt-69c17dc0986a7dcb908e"><code>&#34;qcom&#44;sm6115&#45;lpass&#45;tx&#45;macro&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9b48ab756d49c09e7d6e"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-0d329c1d0e8794ec82db"><code>4</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2840472fefd88961267c"><code>4</code></span>
> >
> > <a id="dt-0dd30bad243a0df76d0b"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-15601e83d4b95ac95a9c"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-c6508f79b7c67f4ab5c7"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6f7c4ab4df79eac8009c"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-8a09b1b82fc12eb8948c"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-33aee55eeaaf3e7d4421"><code>&#34;npl&#34;</code></span>
> >
> > <a id="dt-fb5bc90d983879b30d04"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-015da56342bd515a1503"><code>&#34;dcodec&#34;</code></span>
> >
> > <a id="dt-6a7d063d19ee92aa0dcb"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d1fe68ef5767af73c570"><code>&#34;fsgen&#34;</code></span>

<a id="dt-1c66024c2be5a725f708"></a>

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-f6f7348eb6a3f6a0c1d3"></a> <span id="dt-e23119600ac866295534"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;tx&#45;macro&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-61105cb355bf27434ff1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-aa0d767cf1ac9fac4f5a"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-a0ce00e83e48875d8fd0"><code>4</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2177aa6156683c9aaaa1"><code>4</code></span>
> >
> > <a id="dt-50f1ce702c9c66684754"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-e8a47eafddc2049ad540"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-ab9d3a4bb3f5c3a699cf"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-05088e2c6603aa4a6857"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-39cb4fd49e17b40e2baa"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6d4accee37c7236e6463"><code>&#34;macro&#34;</code></span>
> >
> > <a id="dt-2791ad0e9309567024af"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-b57bcd1e276ca41d5e53"><code>&#34;dcodec&#34;</code></span>
> >
> > <a id="dt-5075d08e1e44a8adeaef"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-60cc1d7d6bad70c3505c"><code>&#34;fsgen&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/sound/qcom,q6afe.h&gt;
codec@3220000 {
  compatible = "qcom,sm8250-lpass-tx-macro";
  reg = &lt;0x3220000 0x1000&gt;;
  #sound-dai-cells = &lt;1&gt;;
  #clock-cells = &lt;0&gt;;
  clocks = &lt;&amp;aoncc 0&gt;,
           &lt;&amp;aoncc 1&gt;,
           &lt;&amp;q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO&gt;,
           &lt;&amp;q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO&gt;,
           &lt;&amp;vamacro&gt;;
  clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
  clock-output-names = "mclk";
  qcom,dmic-sample-rate = &lt;600000&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 78:</strong> <span> for ADSP based platforms</span></p>

<p id="dt-comment-2"><strong>Line 84:</strong> <span> for ADSP bypass based platforms</span></p>

</details>

---

# LPASS(Low Power Audio Subsystem) VA Macro audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for LPASS(Low Power Audio Subsystem) VA Macro audio codec.

<!-- 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;qcom&#44;lpass&#45;va&#45;macro&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;qcom&#44;sc7280&#45;lpass&#45;va&#45;macro&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;qcom&#44;sm6115&#45;lpass&#45;va&#45;macro&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;qcom&#44;sm8250&#45;lpass&#45;va&#45;macro&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;qcom&#44;sm8450&#45;lpass&#45;va&#45;macro&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;va&#45;macro&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;qcom&#44;sc8280xp&#45;lpass&#45;va&#45;macro&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;qcom&#44;glymur&#45;lpass&#45;va&#45;macro&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;qcom&#44;kaanapali&#45;lpass&#45;va&#45;macro&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;qcom&#44;sm8650&#45;lpass&#45;va&#45;macro&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;qcom&#44;sm8750&#45;lpass&#45;va&#45;macro&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;qcom&#44;x1e80100&#45;lpass&#45;va&#45;macro&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;va&#45;macro&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>4</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>4</code></span>

<a id="dt-ce7ce65ef6912a262371"></a>

### <code>clock&#45;output&#45;names</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-48bdbc8ce79b7a10c6b6"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>2</code></span>

<a id="dt-c05d9fca499b4c57f461"></a>

### <code>power&#45;domain&#45;names</code> — not listed as required here

<a id="dt-1b081f7262644c68a699"></a>

#### Array item rules (<code>items</code>)

<a id="dt-144c9747954bcbf8d030"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-2bfccc3380d516a47ac5"><code>&#34;macro&#34;</code></span>

<a id="dt-6ae549232957f2e0761b"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-ca1bbd401ba3c522ae05"><code>&#34;dcodec&#34;</code></span>

<a id="dt-1dcc73ef760bd8783f41"></a>

### <code>qcom&#44;dmic&#45;sample&#45;rate</code> — not listed as required here

<div id="dt-e636ca64d7df41fb1d51">
<p style="white-space: pre-wrap">dmic sample rate</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-71e575c298c8bffd957b">[<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-1aa93f01fb962f8c5138"></a>

### <code>vdd&#45;micb&#45;supply</code> — not listed as required here

<div id="dt-fdda08234bfcdb444189">
<p style="white-space: pre-wrap">phandle to voltage regulator of MIC Bias</p>
</div>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;qcom&#44;sc7280&#45;lpass&#45;va&#45;macro&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-6d10e68a334896578d7e"></a>
> >
> > **Condition (<code>if</code>)**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-35c5854e5f45c5cd067d"></a> <span id="dt-ef859f2733f5db1e8e5f"><code>&#34;power&#45;domains&#34;</code></span>
> >
> > <a id="dt-654b8c3858744e77c9d0"></a>
> >
> > **When the condition matches (<code>then</code>)**
> >
> > > <a id="dt-80afda8943b3bf9c5313"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-8dad95f6f187a98b6a17"></a>
> > >
> > > **<code>clocks</code> — not listed as required here**
> > >
> > > **Maximum number of items (<code>maxItems</code>):** <span id="dt-cb85d92fa03350b01bff"><code>1</code></span>
> > >
> > > <a id="dt-b8594fdb22e98e5f6f11"></a>
> > >
> > > **<code>clock&#45;names</code> — not listed as required here**
> > >
> > > <a id="dt-443b01ac582edf25cd2d"></a>
> > >
> > > **Array item rules (<code>items</code>)**
> > >
> > > <a id="dt-2127a8f059d758c1d21d"></a>
> > >
> > > **Item 1**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-69d931b0d593a9879ef1"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-8837118d4d4e790b6611"></a>
> >
> > **When the condition does not match (<code>else</code>)**
> >
> > > <a id="dt-5354c873361a5f8c345c"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-21e632ae232406cc1308"></a>
> > >
> > > **<code>clocks</code> — not listed as required here**
> > >
> > > **Minimum number of items (<code>minItems</code>):** <span id="dt-9ca204daaa88170ebffe"><code>3</code></span>
> > >
> > > **Maximum number of items (<code>maxItems</code>):** <span id="dt-723a487f2c009ba22747"><code>3</code></span>
> > >
> > > <a id="dt-d4d618bdb9f6927a09c9"></a>
> > >
> > > **<code>clock&#45;names</code> — not listed as required here**
> > >
> > > <a id="dt-c8396ad891d42dd6533a"></a>
> > >
> > > **Array item rules (<code>items</code>)**
> > >
> > > <a id="dt-b75bfcb09130dd310526"></a>
> > >
> > > **Item 1**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-ecf28b0fc57d345c6469"><code>&#34;mclk&#34;</code></span>
> > >
> > > <a id="dt-f07c4a2155da3a19ca98"></a>
> > >
> > > **Item 2**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-a07c6decb8605a02c4aa"><code>&#34;macro&#34;</code></span>
> > >
> > > <a id="dt-81b2ccec1b4f87282a56"></a>
> > >
> > > **Item 3**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-20eff6847429ce3cc6d8"><code>&#34;dcodec&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;qcom&#44;sm6115&#45;lpass&#45;va&#45;macro&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-9d121778b610668f3c64"><code>3</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b6a3ef79f98a671e3897"><code>3</code></span>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;dcodec&#34;</code></span>
> >
> > <a id="dt-81f6c403985022409818"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-a3cbb70d0db35ce9b406"><code>&#34;npl&#34;</code></span>

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5c56c46a4e287cf52ece"><code>&#34;qcom&#44;sm8250&#45;lpass&#45;va&#45;macro&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9b48ab756d49c09e7d6e"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-0d329c1d0e8794ec82db"><code>3</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2840472fefd88961267c"><code>3</code></span>
> >
> > <a id="dt-0dd30bad243a0df76d0b"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-15601e83d4b95ac95a9c"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-c6508f79b7c67f4ab5c7"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6f7c4ab4df79eac8009c"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-8a09b1b82fc12eb8948c"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-33aee55eeaaf3e7d4421"><code>&#34;macro&#34;</code></span>
> >
> > <a id="dt-fb5bc90d983879b30d04"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-015da56342bd515a1503"><code>&#34;dcodec&#34;</code></span>

<a id="dt-1c66024c2be5a725f708"></a>

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-f6f7348eb6a3f6a0c1d3"></a> <span id="dt-e23119600ac866295534"><code>&#34;qcom&#44;sc8280xp&#45;lpass&#45;va&#45;macro&#34;</code></span>, <span id="dt-394f4c36882e88052506"><code>&#34;qcom&#44;sm8450&#45;lpass&#45;va&#45;macro&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-61105cb355bf27434ff1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-aa0d767cf1ac9fac4f5a"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-a0ce00e83e48875d8fd0"><code>4</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2177aa6156683c9aaaa1"><code>4</code></span>
> >
> > <a id="dt-50f1ce702c9c66684754"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-e8a47eafddc2049ad540"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-ab9d3a4bb3f5c3a699cf"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-05088e2c6603aa4a6857"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-39cb4fd49e17b40e2baa"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6d4accee37c7236e6463"><code>&#34;macro&#34;</code></span>
> >
> > <a id="dt-2791ad0e9309567024af"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-b57bcd1e276ca41d5e53"><code>&#34;dcodec&#34;</code></span>
> >
> > <a id="dt-5075d08e1e44a8adeaef"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-60cc1d7d6bad70c3505c"><code>&#34;npl&#34;</code></span>

<a id="dt-51879ae9be030b28e888"></a>

### Rule 6

> <a id="dt-29f1a7d11303016de0fb"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-31db8c2b34419cd49333"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-049791ad441d801be5c0"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-b015f3429cf037cca578"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7fd3859f97987911f131"></a> <span id="dt-c7b90595f82e2304d5f1"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;va&#45;macro&#34;</code></span>
>
> <a id="dt-5d3814a6fa606b79b9a6"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-bc42d1cd066384e1f6fa"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-5cedb4af376c7ab36944"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b7c54c3bf40945b85783"><code>3</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-5032aef16422f9f5489e"><code>3</code></span>
> >
> > <a id="dt-05f0b7ea7d095111f4fa"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-a65ebe8cc3336ac8cbff"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-4027beb4bf0d640ca440"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-582fc44624e5dbe1275f"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-0f20f76973d245a6ddc3"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-33afb04ede35835da423"><code>&#34;macro&#34;</code></span>
> >
> > <a id="dt-7d3b56570786fa51fed8"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1154f167be11351706bc"><code>&#34;dcodec&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/sound/qcom,q6afe.h&gt;
codec@3370000 {
  compatible = "qcom,sm8250-lpass-va-macro";
  reg = &lt;0x3370000 0x1000&gt;;
  #sound-dai-cells = &lt;1&gt;;
  #clock-cells = &lt;0&gt;;
  clocks = &lt;&amp;aoncc 0&gt;,
           &lt;&amp;q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO&gt;,
           &lt;&amp;q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO&gt;;
  clock-names = "mclk", "macro", "dcodec";
  clock-output-names = "fsgen";
  qcom,dmic-sample-rate = &lt;600000&gt;;
  vdd-micb-supply = &lt;&amp;vreg_s4a_1p8&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>

</details>

---

# LPASS(Low Power Audio Subsystem) VA Macro audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for LPASS(Low Power Audio Subsystem) VA Macro audio codec.

<!-- 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;qcom&#44;lpass&#45;wsa&#45;macro&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;qcom&#44;sc7280&#45;lpass&#45;wsa&#45;macro&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;qcom&#44;sm8250&#45;lpass&#45;wsa&#45;macro&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;qcom&#44;sm8450&#45;lpass&#45;wsa&#45;macro&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;wsa&#45;macro&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;qcom&#44;sc8280xp&#45;lpass&#45;wsa&#45;macro&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;qcom&#44;glymur&#45;lpass&#45;wsa&#45;macro&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;qcom&#44;kaanapali&#45;lpass&#45;wsa&#45;macro&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;qcom&#44;sm8650&#45;lpass&#45;wsa&#45;macro&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;qcom&#44;sm8750&#45;lpass&#45;wsa&#45;macro&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;qcom&#44;x1e80100&#45;lpass&#45;wsa&#45;macro&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;wsa&#45;macro&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>6</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>6</code></span>

<a id="dt-ce7ce65ef6912a262371"></a>

### <code>clock&#45;output&#45;names</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-48bdbc8ce79b7a10c6b6"><code>1</code></span>

<a id="dt-1dcc73ef760bd8783f41"></a>

### <code>qcom&#44;dmic&#45;sample&#45;rate</code> — not listed as required here

<div id="dt-e636ca64d7df41fb1d51">
<p style="white-space: pre-wrap">dmic sample rate</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-71e575c298c8bffd957b">[<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-1aa93f01fb962f8c5138"></a>

### <code>vdd&#45;micb&#45;supply</code> — not listed as required here

<div id="dt-fdda08234bfcdb444189">
<p style="white-space: pre-wrap">phandle to voltage regulator of MIC Bias</p>
</div>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-c0ab484bd71d0671c6ab"></a> <span id="dt-4eb87bb951292ac8d56d"><code>&#34;qcom&#44;sc7280&#45;lpass&#45;wsa&#45;macro&#34;</code></span>, <span id="dt-68ac103663508bfae0ff"><code>&#34;qcom&#44;sm8250&#45;lpass&#45;wsa&#45;macro&#34;</code></span>, <span id="dt-7e71a4327a0b7f6bd804"><code>&#34;qcom&#44;sm8450&#45;lpass&#45;wsa&#45;macro&#34;</code></span>, <span id="dt-9c8361ad3495c3fa251c"><code>&#34;qcom&#44;sc8280xp&#45;lpass&#45;wsa&#45;macro&#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-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b0ed5de2f4ed693e5dda"><code>5</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-3aa42810e911ab2a41de"><code>5</code></span>
> >
> > <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;mclk&#34;</code></span>
> >
> > <a id="dt-fbbb17d593cc6352303b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1c6351ea0af6cbead296"><code>&#34;npl&#34;</code></span>
> >
> > <a id="dt-c8b31f2db7bbcbe11358"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4cfacbda270425cafd45"><code>&#34;macro&#34;</code></span>
> >
> > <a id="dt-fce74aba9d8a9d8485cd"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-eb00a5766b022f484e2c"><code>&#34;dcodec&#34;</code></span>
> >
> > <a id="dt-b1cec8746c9c76ba9984"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-66ae0cd2b359a4689ab0"><code>&#34;fsgen&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;qcom&#44;sm8550&#45;lpass&#45;wsa&#45;macro&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-9d121778b610668f3c64"><code>4</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b6a3ef79f98a671e3897"><code>4</code></span>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;mclk&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;macro&#34;</code></span>
> >
> > <a id="dt-81f6c403985022409818"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-a3cbb70d0db35ce9b406"><code>&#34;dcodec&#34;</code></span>
> >
> > <a id="dt-a22dd2aaad2f25cc64a2"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-421c4015083292a7b223"><code>&#34;fsgen&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/qcom,sm8250-lpass-aoncc.h&gt;
#include &lt;dt-bindings/sound/qcom,q6afe.h&gt;
codec@3240000 {
  compatible = "qcom,sm8250-lpass-wsa-macro";
  reg = &lt;0x3240000 0x1000&gt;;
  #sound-dai-cells = &lt;1&gt;;
  #clock-cells = &lt;0&gt;;
  clocks = &lt;&amp;audiocc 1&gt;,
           &lt;&amp;audiocc 0&gt;,
           &lt;&amp;q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO&gt;,
           &lt;&amp;q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO&gt;,
           &lt;&amp;vamacro&gt;;
  clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
  clock-output-names = "mclk";
};
</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>

</details>

---

# Qualcomm MSM8916 WCD Digital Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm MSM8916 WCD Digital Audio Codec.

<!-- 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;qcom&#44;msm8916&#45;wcd&#45;digital&#45;codec&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The digital WCD audio codec found on Qualcomm MSM8916 LPASS.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;qcom&#44;msm8916&#45;wcd&#45;digital&#45;codec&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;ahbix&#45;clk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mclk&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/qcom,gcc-msm8916.h&gt;
audio-codec@771c000 {
    compatible = "qcom,msm8916-wcd-digital-codec";
    reg = &lt;0x0771c000 0x400&gt;;
    clocks = &lt;&amp;gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK&gt;,
             &lt;&amp;gcc GCC_CODEC_DIGCODEC_CLK&gt;;
    clock-names = "ahbix-clk", "mclk";
    #sound-dai-cells = &lt;1&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>

</details>

---

# Qualcomm PM4125 Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm PM4125 Audio Codec.

<!-- 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;qcom&#44;pm4125&#45;codec&#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;Alexey Klimov &#60;alexey&#46;klimov&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The audio codec IC found on Qualcomm PM4125/PM2250 PMIC. It has RX and TX Soundwire slave devices.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;qcom&#44;pm4125&#45;codec&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">Specifies the SPMI base address for the audio codec peripherals. The address space contains reset register needed to power-on the codec.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-58a7d566e1c7a6b0e414"><code>1</code></span>

<a id="dt-ac5a064e93f89c8f8c74"></a>

### <code>vdd&#45;io&#45;supply</code> — required here

<div id="dt-d2933e3a00f0809fe617">
<p style="white-space: pre-wrap">A reference to the 1.8V I/O supply</p>
</div>

<a id="dt-75db553c95f24b3fc14c"></a>

### <code>vdd&#45;cp&#45;supply</code> — required here

<div id="dt-de82cfb8d1e4666407ad">
<p style="white-space: pre-wrap">A reference to the charge pump I/O supply</p>
</div>

<a id="dt-eb77f8263d8033d1832c"></a>

### <code>vdd&#45;mic&#45;bias&#45;supply</code> — required here

<div id="dt-a18b7f6b7e1720338dfd">
<p style="white-space: pre-wrap">A reference to the 3.3V mic bias supply</p>
</div>

<a id="dt-f17de54ba29766346805"></a>

### <code>vdd&#45;pa&#45;vpos&#45;supply</code> — required here

<div id="dt-56cf7a8f9647261d7e0f">
<p style="white-space: pre-wrap">A reference to the PA VPOS supply</p>
</div>

<a id="dt-f54597a362bcd2e26790"></a>

### <code>qcom&#44;tx&#45;device</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e8d6097149cb759c8aaf">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<div id="dt-67712b5d7a1e9472b139">
<p style="white-space: pre-wrap">A reference to Soundwire tx device phandle</p>
</div>

<a id="dt-96c0dc0cad0cc886d997"></a>

### <code>qcom&#44;rx&#45;device</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2b2b3e13f1c10a0bca53">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<div id="dt-691c30c698445355d5f3">
<p style="white-space: pre-wrap">A reference to Soundwire rx device phandle</p>
</div>

<a id="dt-371883768a2f172e1586"></a>

### <code>qcom&#44;micbias1&#45;microvolt</code> — required here

<div id="dt-bf382f7b733dd916153f">
<p style="white-space: pre-wrap">micbias1 voltage</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-749f67e1119703ca9278"><code>1800000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-0e2c39a7d8db500eea4c"><code>2850000</code></span>

<a id="dt-3a575213841dd9a7f4f5"></a>

### <code>qcom&#44;micbias2&#45;microvolt</code> — required here

<div id="dt-6ef84d261445497a3611">
<p style="white-space: pre-wrap">micbias2 voltage</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-a2b036f321e5964f387c"><code>1800000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-e9b23ec1490a4b34ccc7"><code>2850000</code></span>

<a id="dt-c2e2bf014e9f96e59bc9"></a>

### <code>qcom&#44;micbias3&#45;microvolt</code> — required here

<div id="dt-803c6b8dabb428045f35">
<p style="white-space: pre-wrap">micbias3 voltage</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-f288f34e9f22a5735bd3"><code>1800000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-8cc2cd14ff5df77f3ca3"><code>2850000</code></span>

<a id="dt-d8f719662745db523eeb"></a>

### <code>qcom&#44;mbhc&#45;buttons&#45;vthreshold&#45;microvolt</code> — not listed as required here

<div id="dt-8611e51f99b1988e5edc">
<p style="white-space: pre-wrap">Array of 8 Voltage threshold values corresponding to headset button0 - button7</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-357f5cbef361e6b698c1"><code>8</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8354c3efab81461989fa"><code>8</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

**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;vdd&#45;io&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vdd&#45;cp&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;vdd&#45;mic&#45;bias&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;vdd&#45;pa&#45;vpos&#45;supply&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;qcom&#44;tx&#45;device&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;qcom&#44;rx&#45;device&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;qcom&#44;micbias1&#45;microvolt&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;qcom&#44;micbias2&#45;microvolt&#34;</code></span>, <span id="dt-66579c0187208772d10e"><code>&#34;qcom&#44;micbias3&#45;microvolt&#34;</code></span>, <span id="dt-2a3e79ca04f2e898c459"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/spmi/spmi.h&gt;

spmi {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;

    pmic {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        audio-codec@f000 {
            compatible = "qcom,pm4125-codec";
            reg = &lt;0xf000&gt;;
            vdd-io-supply = &lt;&amp;pm4125_l15&gt;;
            vdd-cp-supply = &lt;&amp;pm4125_s4&gt;;
            vdd-pa-vpos-supply = &lt;&amp;pm4125_s4&gt;;
            vdd-mic-bias-supply = &lt;&amp;pm4125_l22&gt;;
            qcom,micbias1-microvolt = &lt;1800000&gt;;
            qcom,micbias2-microvolt = &lt;1800000&gt;;
            qcom,micbias3-microvolt = &lt;1800000&gt;;
            qcom,rx-device = &lt;&amp;pm4125_rx&gt;;
            qcom,tx-device = &lt;&amp;pm4125_tx&gt;;
            #sound-dai-cells = &lt;1&gt;;
        };
    };
};

/* ... */

soundwire@a610000 {
    reg = &lt;0x0a610000 0x2000&gt;;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    pm4125_rx: audio-codec@0,4 {
        compatible = "sdw20217010c00";
        reg = &lt;0 4&gt;;
        qcom,rx-port-mapping = &lt;1 3&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>

</details>

---

# Qualcomm SoundWire Slave devices on PM4125/PM2250 PMIC audio codec.

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm SoundWire Slave devices on PM4125/PM2250 PMIC audio codec..

<!-- 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;qcom&#44;pm4125&#45;sdw&#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;Alexey Klimov &#60;alexey&#46;klimov&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The audio codec IC found on Qualcomm PM4125/PM2250 PMICs. It has RX and TX Soundwire slave devices.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sdw20217010c00&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-9d7dac3b11bfdf6c6020"></a>

### <code>qcom&#44;tx&#45;port&#45;mapping</code> — not listed as required here

<div id="dt-632776dfbc120dcc41b1">
<p style="white-space: pre-wrap">Specifies static port mapping between device and host tx ports.
In the order of the device port index which are adc1_port, adc23_port,
dmic03_mbhc_port, dmic46_port.
Supports maximum 2 tx soundwire ports.</p>
<p style="white-space: pre-wrap">PM4125 TX Port 1 (ADC1,2 &amp; DMIC0 &amp; MBHC)    &lt;=&gt; SWR0 Port 1
PM4125 TX Port 2 (ADC1 &amp; DMIC0,1,2 &amp; MBHC)  &lt;=&gt; SWR0 Port 2</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0feea33f503cc8459a22">[<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-f0cd52eaa863131ff6c8"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-af13a4eabdcf490cf8c6"><code>4</code></span>

<a id="dt-86fe05162d9d8f30cd5c"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-c44894ab25cc99a5b6bb"></a> <span id="dt-6b5a06ffdada481c9b78"><code>1</code></span>, <span id="dt-1040c60652f8cf3e5413"><code>2</code></span>, <span id="dt-bd90e49c569a3cc8af56"><code>3</code></span>, <span id="dt-16e3b0e96b0133e653f8"><code>4</code></span>

<a id="dt-e4879ea1b3c35f8f0041"></a>

### <code>qcom&#44;rx&#45;port&#45;mapping</code> — not listed as required here

<div id="dt-965bb9040036a65a429a">
<p style="white-space: pre-wrap">Specifies static port mapping between device and host rx ports.
In the order of device port index which are hph_port, clsh_port,
comp_port, lo_port, dsd port.
Supports maximum 2 rx soundwire ports.</p>
<p style="white-space: pre-wrap">PM4125 RX Port 1 (HPH_L/R)       &lt;==&gt;    SWR1 Port 1 (HPH_L/R)
PM4125 RX Port 2 (COMP_L/R)      &lt;==&gt;    SWR1 Port 3 (COMP_L/R)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d8e36d529687a87e29d7">[<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-738062e1c9fc94e8b787"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-10ee266c424276554674"><code>5</code></span>

<a id="dt-49f0bcb379b503071fab"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-9267a12e968edcc5d670"></a> <span id="dt-93614aa10aa08e8f4127"><code>1</code></span>, <span id="dt-fe233508c79dc5e7ae80"><code>2</code></span>, <span id="dt-458a2e455fcb518e8201"><code>3</code></span>, <span id="dt-13b218a9f5503557df21"><code>4</code></span>, <span id="dt-6f0bcfde28760339d399"><code>5</code></span>

**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>

<a id="dt-51356188806d31ca2021"></a>

## Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-cd9b886d4ab1d8a8e722"></a>

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-48cc38ffec184df79a62"></a> <span id="dt-bbd3b687ebb435349af2"><code>&#34;qcom&#44;tx&#45;port&#45;mapping&#34;</code></span>

<a id="dt-ba873e4d927d6e7d51c4"></a>

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-686ce4562589647d257c"></a> <span id="dt-8060cb7221f215eec82f"><code>&#34;qcom&#44;rx&#45;port&#45;mapping&#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">soundwire@a610000 {
    reg = &lt;0x0a610000 0x2000&gt;;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    pm4125_rx: codec@0,1 {
        compatible = "sdw20217010c00";
        reg = &lt;0 1&gt;;
        qcom,rx-port-mapping = &lt;1 3&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>

</details>

---

# Qualcomm PM8916 WCD Analog Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm PM8916 WCD Analog Audio Codec.

<!-- 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;qcom&#44;pm8916&#45;wcd&#45;analog&#45;codec&#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;Konrad Dybcio &#60;konradybcio&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The analog WCD audio codec found on Qualcomm PM8916 PMIC.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;qcom&#44;pm8916&#45;wcd&#45;analog&#45;codec&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>14</code></span>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — not listed as required here

<a id="dt-77e94e63ca0b20bb5ef1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;cdc&#95;spk&#95;cnp&#95;int&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;cdc&#95;spk&#95;clip&#95;int&#34;</code></span>

<a id="dt-01a6f91e38388cdf0f5a"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-25e85adf3e7caf29cd92"><code>&#34;cdc&#95;spk&#95;ocp&#95;int&#34;</code></span>

<a id="dt-96b5fc50d1d5da0ddc64"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-bb507334c2bd56c85638"><code>&#34;mbhc&#95;ins&#95;rem&#95;det1&#34;</code></span>

<a id="dt-fd790998935e34a4be6d"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-24e24ae9c744f6d3404a"><code>&#34;mbhc&#95;but&#95;rel&#95;det&#34;</code></span>

<a id="dt-78538ebdcee0e6b3ee29"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-7cc2c08134dc2e073aa6"><code>&#34;mbhc&#95;but&#95;press&#95;det&#34;</code></span>

<a id="dt-e2598508e5554b5d571d"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-08fa51b24e80029ccaa4"><code>&#34;mbhc&#95;ins&#95;rem&#95;det&#34;</code></span>

<a id="dt-01720d94ef8e36f0fe37"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-b69442fc9d7cffb6c650"><code>&#34;mbhc&#95;switch&#95;int&#34;</code></span>

<a id="dt-489088339303f6d7dc09"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-4f107fa09e05a1c047ff"><code>&#34;cdc&#95;ear&#95;ocp&#95;int&#34;</code></span>

<a id="dt-cd472098f254fa489e4d"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-5d53e21360f7b4ffe0a1"><code>&#34;cdc&#95;hphr&#95;ocp&#95;int&#34;</code></span>

<a id="dt-e1c294b2dc7cbd1b2e40"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-7ebecaeb00011c35a259"><code>&#34;cdc&#95;hphl&#95;ocp&#95;det&#34;</code></span>

<a id="dt-96033822c22f4987872c"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-64b86cf84502f107e52e"><code>&#34;cdc&#95;ear&#95;cnp&#95;int&#34;</code></span>

<a id="dt-f46ceb3f1499b7e18315"></a>

**Item 13**

> **Exact value (<code>const</code>):** <span id="dt-53e5fc3b9d428ca5aa0d"><code>&#34;cdc&#95;hphr&#95;cnp&#95;int&#34;</code></span>

<a id="dt-ce05689f156bb6f81af0"></a>

**Item 14**

> **Exact value (<code>const</code>):** <span id="dt-0f937351ba7156a5e7aa"><code>&#34;cdc&#95;hphl&#95;cnp&#95;int&#34;</code></span>

<a id="dt-97fc84cb3799442c6e0a"></a>

### <code>vdd&#45;cdc&#45;io&#45;supply</code> — not listed as required here

<div id="dt-45133c93a09958c1220c">
<p style="white-space: pre-wrap">1.8V buck supply</p>
</div>

<a id="dt-409ff21a678d3d5494e2"></a>

### <code>vdd&#45;cdc&#45;tx&#45;rx&#45;cx&#45;supply</code> — not listed as required here

<div id="dt-919aa57c1ee7a5881702">
<p style="white-space: pre-wrap">1.8V SIDO buck supply</p>
</div>

<a id="dt-b840b408f0c2b5cb848a"></a>

### <code>vdd&#45;micbias&#45;supply</code> — not listed as required here

<div id="dt-674e416e7b409f2e0cfe">
<p style="white-space: pre-wrap">micbias supply</p>
</div>

<a id="dt-c456dfedd50342faab3c"></a>

### <code>qcom&#44;mbhc&#45;vthreshold&#45;low</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-35ae9643e5f01602b19d">[<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>

<div id="dt-a78b84cb276af597f412">
<p style="white-space: pre-wrap">Array of 5 threshold voltages in mV for 5-button detection on headset when MBHC is powered by an internal current source.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2f98450b5d9f2637914f"><code>5</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e9715c539f20a71770fb"><code>5</code></span>

<a id="dt-b79078c216396f8d9d96"></a>

### <code>qcom&#44;mbhc&#45;vthreshold&#45;high</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7034172c3b17b6dcb477">[<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>

<div id="dt-4204ebea24b6a4e4d795">
<p style="white-space: pre-wrap">Array of 5 threshold voltages in mV for 5-button detection on headset when MBHC is powered from micbias.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-8ca816b66e9bc9937ae7"><code>5</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-bd7fe5aedd64ae895590"><code>5</code></span>

<a id="dt-a03ba794f518fda0154b"></a>

### <code>qcom&#44;micbias&#45;lvl</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-667d993045fed598c608">[<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-1aecefaa05dd70f5ad27">
<p style="white-space: pre-wrap">Voltage (mV) for Mic Bias</p>
</div>

<a id="dt-589ae14b8db94d4a18af"></a>

### <code>qcom&#44;hphl&#45;jack&#45;type&#45;normally&#45;open</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-b892814b3c9670f6f533"><code>&#34;boolean&#34;</code></span>

<div id="dt-79a26c7f384524422733">
<p style="white-space: pre-wrap">True if the HPHL pin on the jack is NO (Normally Open), false if it's NC (Normally Closed).</p>
</div>

<a id="dt-19e3f10dcd09755cdfbf"></a>

### <code>qcom&#44;gnd&#45;jack&#45;type&#45;normally&#45;open</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-fa979ce4f299375f6d4a"><code>&#34;boolean&#34;</code></span>

<div id="dt-4037749367b7e00ec5b6">
<p style="white-space: pre-wrap">True if the GND pin on the jack is NO (Normally Open), false if it's NC (Normally Closed).</p>
</div>

<a id="dt-56611ab425aa4b3a0e19"></a>

### <code>qcom&#44;micbias1&#45;ext&#45;cap</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-f5d1b6716867e6b93879"><code>&#34;boolean&#34;</code></span>

<div id="dt-977eaba236e0a3d08177">
<p style="white-space: pre-wrap">True if micbias1 has an external capacitor.</p>
</div>

<a id="dt-69552ae397e65d266585"></a>

### <code>qcom&#44;micbias2&#45;ext&#45;cap</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-652a0947b3a456f9a529"><code>&#34;boolean&#34;</code></span>

<div id="dt-da5fb0d57c66c4d8fae7">
<p style="white-space: pre-wrap">True if micbias2 has an external capacitor.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

**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>

<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/irq.h&gt;
#include &lt;dt-bindings/spmi/spmi.h&gt;

pmic@1 {
  compatible = "qcom,pm8916", "qcom,spmi-pmic";
  reg = &lt;0x1 SPMI_USID&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  audio-codec@f000 {
    compatible = "qcom,pm8916-wcd-analog-codec";
    reg = &lt;0xf000&gt;;
    qcom,mbhc-vthreshold-low = &lt;75 150 237 450 500&gt;;
    qcom,mbhc-vthreshold-high = &lt;75 150 237 450 500&gt;;
    interrupt-parent = &lt;&amp;spmi_bus&gt;;
    interrupts = &lt;0x1 0xf0 0x0 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf0 0x1 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf0 0x2 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf0 0x3 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf0 0x4 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf0 0x5 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf0 0x6 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf0 0x7 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf1 0x0 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf1 0x1 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf1 0x2 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf1 0x3 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf1 0x4 IRQ_TYPE_NONE&gt;,
          &lt;0x1 0xf1 0x5 IRQ_TYPE_NONE&gt;;
    interrupt-names = "cdc_spk_cnp_int",
                      "cdc_spk_clip_int",
                      "cdc_spk_ocp_int",
                      "mbhc_ins_rem_det1",
                      "mbhc_but_rel_det",
                      "mbhc_but_press_det",
                      "mbhc_ins_rem_det",
                      "mbhc_switch_int",
                      "cdc_ear_ocp_int",
                      "cdc_hphr_ocp_int",
                      "cdc_hphl_ocp_det",
                      "cdc_ear_cnp_int",
                      "cdc_hphr_cnp_int",
                      "cdc_hphl_cnp_int";
    vdd-cdc-io-supply = &lt;&amp;pm8916_l5&gt;;
    vdd-cdc-tx-rx-cx-supply = &lt;&amp;pm8916_l5&gt;;
    vdd-micbias-supply = &lt;&amp;pm8916_l13&gt;;
    #sound-dai-cells = &lt;1&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>

</details>

---

# Qualcomm Audio Device Manager (Q6ADM) routing

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm Audio Device Manager (Q6ADM) routing.

<!-- SPDX-License-Identifier: GPL-2.0 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;qcom&#44;q6adm&#45;routing&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm Audio Device Manager (Q6ADM) routing node represents routing specific configuration.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;qcom&#44;q6adm&#45;routing&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">routing {
    compatible = "qcom,q6adm-routing";
    #sound-dai-cells = &lt;0&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 OR BSD-2-Clause</span></p>

</details>

---

# Qualcomm Audio Device Manager (Q6ADM)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm Audio Device Manager (Q6ADM).

<!-- SPDX-License-Identifier: GPL-2.0 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;qcom&#44;q6adm&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<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>&#47;schemas&#47;soc&#47;qcom&#47;qcom&#44;apr&#45;services&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-soc/qcom/qcom-apr-services.md#dt-root>)</span>

<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;qcom&#44;q6adm&#34;</code></span>

<a id="dt-c523a2641319ac3adf93"></a>

### <code>routing</code> — required here

**Value type (<code>type</code>):** <span id="dt-32e9d7a911ede7f83b3d"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f3f56d0e9d078b0851ad">[<code>&#47;schemas&#47;sound&#47;qcom&#44;q6adm&#45;routing&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/qcom-q6adm-routing.md#dt-root>)</span>

<a id="dt-a30f74929fe55002293f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-52b1ba5e3ecaaddce8c2">
<p style="white-space: pre-wrap">Qualcomm DSP LPASS audio routing</p>
</div>

**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;routing&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/soc/qcom,apr.h&gt;

apr {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    service@8 {
        compatible = "qcom,q6adm";
        reg = &lt;APR_SVC_ADM&gt;;
        qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";

        routing {
            compatible = "qcom,q6adm-routing";
            #sound-dai-cells = &lt;0&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 OR BSD-2-Clause</span></p>

</details>

---

# Qualcomm Audio FrontEnd (Q6AFE)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm Audio FrontEnd (Q6AFE).

<!-- SPDX-License-Identifier: GPL-2.0 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;qcom&#44;q6afe&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<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>&#47;schemas&#47;soc&#47;qcom&#47;qcom&#44;apr&#45;services&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-soc/qcom/qcom-apr-services.md#dt-root>)</span>

<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;qcom&#44;q6afe&#34;</code></span>

<a id="dt-d13e593686332195aa86"></a>

### <code>clock&#45;controller</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c79d3291aa8a087c9738">[<code>&#47;schemas&#47;sound&#47;qcom&#44;q6dsp&#45;lpass&#45;clocks&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/qcom-q6dsp-lpass-clocks.md#dt-root>)</span>

<a id="dt-171438e3c9c2ec059dd0"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-94b2b72852f35c738bf2">
<p style="white-space: pre-wrap">Qualcomm DSP LPASS clock controller</p>
</div>

<a id="dt-1639e88130e6dc5c2bc3"></a>

### <code>dais</code> — required here

**Value type (<code>type</code>):** <span id="dt-cf53452f39f1a5cb67c3"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d23f5c9f9cec75dba1ac">[<code>&#47;schemas&#47;sound&#47;qcom&#44;q6dsp&#45;lpass&#45;ports&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/qcom-q6dsp-lpass-ports.md#dt-root>)</span>

<a id="dt-76570b14ba982447d121"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-ac7afeae096485f8d31f">
<p style="white-space: pre-wrap">Qualcomm DSP audio ports</p>
</div>

<a id="dt-06b3ba75ebbc50cf20b5"></a>

### <code>usbd</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-e39f8b891e2782d68cba"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f385da39d5611ec72dd4">[<code>&#47;schemas&#47;sound&#47;qcom&#44;q6usb&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/qcom-q6usb.md#dt-root>)</span>

<a id="dt-181f85b3232214ac961a"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-39c5c62efbd1a02b1a57">
<p style="white-space: pre-wrap">Qualcomm DSP USB audio ports</p>
</div>

**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;dais&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/soc/qcom,apr.h&gt;
#include &lt;dt-bindings/sound/qcom,q6afe.h&gt;
apr {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    service@4 {
        compatible = "qcom,q6afe";
        reg = &lt;APR_SVC_AFE&gt;;
        qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";

        clock-controller {
            compatible = "qcom,q6afe-clocks";
            #clock-cells = &lt;2&gt;;
        };

        dais {
            compatible = "qcom,q6afe-dais";
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            #sound-dai-cells = &lt;1&gt;;

            dai@22 {
                reg = &lt;QUATERNARY_MI2S_RX&gt;;
                qcom,sd-lines = &lt;0 1 2 3&gt;;
            };
        };

        usbd {
            compatible = "qcom,q6usb";
            #sound-dai-cells = &lt;1&gt;;
            iommus = &lt;&amp;apps_smmu 0x180f 0x0&gt;;
            qcom,usb-audio-intr-idx = /bits/ 16 &lt;2&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 OR BSD-2-Clause</span></p>

</details>

---

# Qualcomm Audio Process Manager Digital Audio Interfaces

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm Audio Process Manager Digital Audio Interfaces.

<!-- SPDX-License-Identifier: (GPL-2.0 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;qcom&#44;q6apm&#45;dai&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes the Qualcomm APM DAIs in DSP</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;qcom&#44;q6apm&#45;dais&#34;</code></span>

<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>2</code></span>

**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;iommus&#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">dais {
    compatible = "qcom,q6apm-dais";
    iommus = &lt;&amp;apps_smmu 0x1801 0x0&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 OR BSD-2-Clause)</span></p>

</details>

---

# Qualcomm DSP LPASS (Low Power Audio SubSystem) Audio Ports

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm DSP LPASS (Low Power Audio SubSystem) Audio Ports.

<!-- SPDX-License-Identifier: GPL-2.0 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;qcom&#44;q6apm&#45;lpass&#45;dais&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;qcom&#44;q6apm&#45;lpass&#45;dais&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">dais {
    compatible = "qcom,q6apm-lpass-dais";
    #sound-dai-cells = &lt;1&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 OR BSD-2-Clause</span></p>

</details>

---

# Qualcomm Audio Process Manager (Q6APM)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm Audio Process Manager (Q6APM).

<!-- SPDX-License-Identifier: GPL-2.0 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;qcom&#44;q6apm&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>&#47;schemas&#47;soc&#47;qcom&#47;qcom&#44;apr&#45;services&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-soc/qcom/qcom-apr-services.md#dt-root>)</span>

<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;qcom&#44;q6apm&#34;</code></span>

<a id="dt-96edb6d7bcc1903b51b9"></a>

### <code>bedais</code> — required here

**Value type (<code>type</code>):** <span id="dt-f0a7bb5a54fdbef54993"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6f7f2165c2932d595139">[<code>&#47;schemas&#47;sound&#47;qcom&#44;q6apm&#45;lpass&#45;dais&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/qcom-q6apm-lpass-dais.md#dt-root>)</span>

<a id="dt-47b08fa12fd361e3ab6e"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-658bb75e6ff4d0e497f4">
<p style="white-space: pre-wrap">Qualcomm DSP audio ports</p>
</div>

<a id="dt-1639e88130e6dc5c2bc3"></a>

### <code>dais</code> — required here

**Value type (<code>type</code>):** <span id="dt-cf53452f39f1a5cb67c3"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d23f5c9f9cec75dba1ac">[<code>&#47;schemas&#47;sound&#47;qcom&#44;q6apm&#45;dai&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/qcom-q6apm-dai.md#dt-root>)</span>

<a id="dt-76570b14ba982447d121"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-ac7afeae096485f8d31f">
<p style="white-space: pre-wrap">Qualcomm DSP audio ports</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;bedais&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;dais&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/soc/qcom,gpr.h&gt;

gpr {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    service@1 {
        reg = &lt;GPR_APM_MODULE_IID&gt;;
        compatible = "qcom,q6apm";
        #sound-dai-cells = &lt;0&gt;;
        qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";

        dais {
            compatible = "qcom,q6apm-dais";
            iommus = &lt;&amp;apps_smmu 0x1801 0x0&gt;;
        };

        bedais {
            compatible = "qcom,q6apm-lpass-dais";
            #sound-dai-cells = &lt;1&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 OR BSD-2-Clause</span></p>

</details>

---

# Qualcomm Audio Stream Manager (Q6ASM)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm Audio Stream Manager (Q6ASM).

<!-- SPDX-License-Identifier: GPL-2.0 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;qcom&#44;q6asm&#45;dais&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Q6ASM is one of the APR audio services on Q6DSP. Each of its subnodes represent a dai with board specific configuration.</p>
</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;qcom&#44;q6asm&#45;dais&#34;</code></span>

<a id="dt-a36eed19b18515184df2"></a>

### <code>iommus</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e4a101d772fc97cb1dd0"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-23c26b0dfbf47e5b25cb"></a>

### <code>&#94;dai&#64;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-24f6c855ddc566c36d23"><code>&#34;object&#34;</code></span>

<div id="dt-fd68a1ee056ce4d95b3e">
<p style="white-space: pre-wrap">Q6ASM Digital Audio Interface</p>
</div>

<a id="dt-790828df9c391a7a9ff2"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-4440f262ac8525e22cd2"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b1c248d9db3ce0966747"><code>1</code></span>

<a id="dt-4136caf9eb1ece8455a3"></a>

**<code>direction</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-04b188731fd3b35fb998">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-dc45e589f9287f7d0988"></a> <span id="dt-23cf75c99df097a6e40d"><code>0</code></span>, <span id="dt-cbf0ddd8e9ba333484d9"><code>1</code></span>, <span id="dt-858b9920b314eab99216"><code>2</code></span>

<div id="dt-f779197d0d42843164f5">
<p style="white-space: pre-wrap">The direction of the dai stream::
 - Q6ASM_DAI_TX_RX (0) for both tx and rx
 - Q6ASM_DAI_TX (1) for only tx (Capture/Encode)
 - Q6ASM_DAI_RX (2) for only rx (Playback/Decode)</p>
</div>

<a id="dt-7e8365b5492ad4bea492"></a>

**<code>is&#45;compress&#45;dai</code> — not listed as required here**

**Value type (<code>type</code>):** <span id="dt-eac4e81465d157f0d4b5"><code>&#34;boolean&#34;</code></span>

<div id="dt-badbb5f14464f668c2ae">
<p style="white-space: pre-wrap">Compress offload dai.</p>
</div>

<a id="dt-e6437488a8702ac455e3"></a>

#### Property dependencies (<code>dependencies</code>)

<a id="dt-44d5ca1830920626e40a"></a>

**<code>is&#45;compress&#45;dai</code> — applies when this property is present**

Also requires: <span id="dt-1e7872d02a006b3d7804"><code>&#34;direction&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-b35dbc02fd9d2e390cf0"></a> <span id="dt-3c893388c87a8a7140d9"><code>&#34;reg&#34;</code></span>

<a id="dt-16889d96227a9b17f6ca"></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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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">dais {
    compatible = "qcom,q6asm-dais";
    iommus = &lt;&amp;apps_smmu 0x1821 0x0&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    #sound-dai-cells = &lt;1&gt;;

    dai@0 {
        reg = &lt;0&gt;;
    };

    dai@1 {
        reg = &lt;1&gt;;
    };

    dai@2 {
        reg = &lt;2&gt;;
        is-compress-dai;
        direction = &lt;1&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 OR BSD-2-Clause</span></p>

</details>

---

# Qualcomm Audio Stream Manager (Q6ASM)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm Audio Stream Manager (Q6ASM).

<!-- SPDX-License-Identifier: GPL-2.0 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;qcom&#44;q6asm&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<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>&#47;schemas&#47;soc&#47;qcom&#47;qcom&#44;apr&#45;services&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-soc/qcom/qcom-apr-services.md#dt-root>)</span>

<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;qcom&#44;q6asm&#34;</code></span>

<a id="dt-1639e88130e6dc5c2bc3"></a>

### <code>dais</code> — required here

**Value type (<code>type</code>):** <span id="dt-cf53452f39f1a5cb67c3"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d23f5c9f9cec75dba1ac">[<code>&#47;schemas&#47;sound&#47;qcom&#44;q6asm&#45;dais&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/qcom-q6asm-dais.md#dt-root>)</span>

<a id="dt-76570b14ba982447d121"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-ac7afeae096485f8d31f">
<p style="white-space: pre-wrap">Qualcomm DSP audio ports</p>
</div>

**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;dais&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/soc/qcom,apr.h&gt;

apr {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    service@7 {
        compatible = "qcom,q6asm";
        reg = &lt;APR_SVC_ASM&gt;;
        qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";

        dais {
            compatible = "qcom,q6asm-dais";
            iommus = &lt;&amp;apps_smmu 0x1821 0x0&gt;;
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            #sound-dai-cells = &lt;1&gt;;

            dai@0 {
                reg = &lt;0&gt;;
            };

            dai@1 {
                reg = &lt;1&gt;;
            };

            dai@2 {
                reg = &lt;2&gt;;
                is-compress-dai;
                direction = &lt;1&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 OR BSD-2-Clause</span></p>

</details>

---

# Qualcomm Audio Core (Q6Core)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm Audio Core (Q6Core).

<!-- SPDX-License-Identifier: GPL-2.0 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;qcom&#44;q6core&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<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>&#47;schemas&#47;soc&#47;qcom&#47;qcom&#44;apr&#45;services&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-soc/qcom/qcom-apr-services.md#dt-root>)</span>

<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;qcom&#44;q6core&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/soc/qcom,apr.h&gt;

apr {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    service@3 {
        compatible = "qcom,q6core";
        reg = &lt;APR_SVC_ADSP_CORE&gt;;
        qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
    };
};
</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 OR BSD-2-Clause</span></p>

</details>

---

# Qualcomm DSP LPASS Clock Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm DSP LPASS Clock Controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;qcom&#44;q6dsp&#45;lpass&#45;clocks&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes the Qualcomm DSP Clock Controller</p>
</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;qcom&#44;q6afe&#45;clocks&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;qcom&#44;q6prm&#45;lpass&#45;clocks&#34;</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>2</code></span>

<div id="dt-6709a835409866cbd3af">
<p style="white-space: pre-wrap">Clock Id is followed by clock coupling attributes. 1 = for no coupled clock 2 = for dividend of the coupled clock 3 = for divisor of the coupled clock 4 = for inverted and no couple clock</p>
</div>

**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;&#35;clock&#45;cells&#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">clock-controller {
    compatible = "qcom,q6afe-clocks";
    #clock-cells = &lt;2&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 OR BSD-2-Clause)</span></p>

</details>

---

# Qualcomm DSP LPASS(Low Power Audio SubSystem) Audio Ports

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm DSP LPASS(Low Power Audio SubSystem) Audio Ports.

<!-- SPDX-License-Identifier: (GPL-2.0 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;qcom&#44;q6dsp&#45;lpass&#45;ports&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes the Qualcomm DSP LPASS Audio ports</p>
</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;qcom&#44;q6afe&#45;dais&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-23c26b0dfbf47e5b25cb"></a>

### <code>&#94;dai&#64;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-24f6c855ddc566c36d23"><code>&#34;object&#34;</code></span>

<div id="dt-fd68a1ee056ce4d95b3e">
<p style="white-space: pre-wrap">Q6DSP Digital Audio Interfaces.</p>
</div>

<a id="dt-790828df9c391a7a9ff2"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-4440f262ac8525e22cd2"></a>

**<code>reg</code> — required here**

<div id="dt-1878c40ff83a1104f8ee">
<p style="white-space: pre-wrap">Digital Audio Interface ID</p>
</div>

<a id="dt-d04f1eb5591da0fc832c"></a>

**<code>qcom&#44;sd&#45;lines</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7e55fb6814204dcd4454">[<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>

<div id="dt-0bc3565c53faa6c4f1d4">
<p style="white-space: pre-wrap">List of serial data lines used by this dai.should be one or more of the 0-3 sd lines.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-5fcdf0a8f339842d4fac"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ef20c0763b93d0453cd9"><code>4</code></span>

**Items must be unique (<code>uniqueItems</code>):** <span id="dt-b6584f128ce14d294b4c"><code>true</code></span>

<a id="dt-000fb3f3b533c5cafb46"></a>

**Array item rules (<code>items</code>)**

> **Minimum value (<code>minimum</code>):** <span id="dt-2a8c07c9ac48fbaa42a1"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-a34b5b7dde8af2b5c9fe"><code>3</code></span>

<a id="dt-d8d9782c7e3ca56b073d"></a>

**<code>qcom&#44;tdm&#45;sync&#45;mode</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a78391d5b47f08a56a7c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-4f6c9346117670cee85e"></a> <span id="dt-55a2ad6b7af4fa88e5f4"><code>0</code></span>, <span id="dt-f3fba365b301bdf0dfde"><code>1</code></span>, <span id="dt-893f77a8f0bf84ee9680"><code>2</code></span>

<div id="dt-22083d454d9de2a465b6">
<p style="white-space: pre-wrap">TDM Synchronization mode 0 = Short sync bit mode 1 = Long sync mode 2 = Short sync slot mode</p>
</div>

<a id="dt-fd33c6b643856d8ad5d0"></a>

**<code>qcom&#44;tdm&#45;sync&#45;src</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9610cb2ffd54ba3d6fcc">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-a321ebbf37c24f6c5f41"></a> <span id="dt-1762c7ddc3fdb8555dcd"><code>0</code></span>, <span id="dt-d0b0edde316e45e668a2"><code>1</code></span>

<div id="dt-150e31549a4a1e866c42">
<p style="white-space: pre-wrap">TDM Synchronization source 0 = External source 1 = Internal source</p>
</div>

<a id="dt-b4471c472f0e3cad7ae5"></a>

**<code>qcom&#44;tdm&#45;data&#45;out</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c2ebd0bc90da4b2b9ec5">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-d5fcc86ea013c9bf4f82"></a> <span id="dt-922edb0ff52665cd3157"><code>0</code></span>, <span id="dt-ccc3200b3ceab0b1982f"><code>1</code></span>

<div id="dt-19b9806af7b19935141e">
<p style="white-space: pre-wrap">TDM Data out signal to drive with other masters 0 = Disable 1 = Enable</p>
</div>

<a id="dt-30b33f9d3b144d23454c"></a>

**<code>qcom&#44;tdm&#45;invert&#45;sync</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6a6c4447affb958c4d0c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-dd89b0edec31ef238333"></a> <span id="dt-7519a29cd217a113db5a"><code>0</code></span>, <span id="dt-57abc0b433c312fe54d5"><code>1</code></span>

<div id="dt-977ef7e6b8ac5c312eec">
<p style="white-space: pre-wrap">TDM Invert the sync 0 = Normal 1 = Invert</p>
</div>

<a id="dt-b20f01cc1cdd0b2f7c9b"></a>

**<code>qcom&#44;tdm&#45;data&#45;delay</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-435c8c1288afd427bf61">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-b7d17e394a8961ae05f0"></a> <span id="dt-13091a635933316ee310"><code>0</code></span>, <span id="dt-bd95ebf38b45b537df31"><code>1</code></span>, <span id="dt-3f254042352316172682"><code>2</code></span>

<div id="dt-b6a55006ead528b834bc">
<p style="white-space: pre-wrap">TDM Number of bit clock to delay data 0 = 0 bit clock cycle 1 = 1 bit clock cycle 2 = 2 bit clock cycle</p>
</div>

<a id="dt-e9ab205de4d76799837c"></a>

**<code>qcom&#44;tdm&#45;data&#45;align</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-db4754b2f77bf9b8b474">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-f12872eb85a7e3d7924c"></a> <span id="dt-e4afe6bed3bddcd2695f"><code>0</code></span>, <span id="dt-f9c16f63a92dadb84a79"><code>1</code></span>

<div id="dt-8b5977bc9b00a24a1823">
<p style="white-space: pre-wrap">Indicate how data is packed within the slot. For example, 32 slot width in case of sample bit width is 24TDM Invert the sync. 0 = MSB 1 = LSB</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-b35dbc02fd9d2e390cf0"></a> <span id="dt-3c893388c87a8a7140d9"><code>&#34;reg&#34;</code></span>

<a id="dt-bd1de06e32a82eb5f053"></a>

#### All of these rules must match (<code>allOf</code>)

<a id="dt-5535c8c51102c8673e42"></a>

**Rule 1**

> <a id="dt-9db533b83b319a4e273e"></a>
>
> **Condition (<code>if</code>)**
>
> > <a id="dt-9724658368b628e12418"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-2d60733426800147c1ef"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-83666295aa638bfdf50d"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > <a id="dt-addb4b135cd88beafa95"></a>
> > >
> > > **Array item rules (<code>items</code>)**
> > >
> > > > **Minimum value (<code>minimum</code>):** <span id="dt-590745bc46bd7db23567"><code>24</code></span>
> > > >
> > > > **Maximum value (<code>maximum</code>):** <span id="dt-e7862f17682ae3584ef8"><code>103</code></span>
>
> <a id="dt-e43b0be85caa419780fb"></a>
>
> **When the condition matches (<code>then</code>)**
>
> > **Required in this object (<code>required</code>):** <a id="dt-29ddce3c2e727c3e042a"></a> <span id="dt-1653ae3d8b3ced7f33e9"><code>&#34;qcom&#44;tdm&#45;sync&#45;mode&#34;</code></span>, <span id="dt-6c8c39f0f00cbe90d852"><code>&#34;qcom&#44;tdm&#45;sync&#45;src&#34;</code></span>, <span id="dt-83f3c35aeac08a13a5e6"><code>&#34;qcom&#44;tdm&#45;data&#45;out&#34;</code></span>, <span id="dt-89089747208515f9d2ff"><code>&#34;qcom&#44;tdm&#45;invert&#45;sync&#34;</code></span>, <span id="dt-6ab066e6ec34b57099ed"><code>&#34;qcom&#44;tdm&#45;data&#45;delay&#34;</code></span>, <span id="dt-aa06fe9358c77da6ada3"><code>&#34;qcom&#44;tdm&#45;data&#45;align&#34;</code></span>

<a id="dt-6314eab57669c4e22d86"></a>

**Rule 2**

> <a id="dt-c2c72c6c59c0a1ac6e40"></a>
>
> **Condition (<code>if</code>)**
>
> > <a id="dt-f7c5661846bb27d6212d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-760609c97aaa49e4b4b1"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-9556df2586fd80cddee1"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > <a id="dt-ecece25233ae6851bcb3"></a>
> > >
> > > **Array item rules (<code>items</code>)**
> > >
> > > > <a id="dt-ee45d942e62ec6ebf901"></a>
> > > >
> > > > **Exactly one of these rules must match (<code>oneOf</code>)**
> > > >
> > > > <a id="dt-bb0676f64121a6f13a4d"></a>
> > > >
> > > > **Rule 1**
> > > >
> > > > > **Minimum value (<code>minimum</code>):** <span id="dt-943e1aec52830ab30f8e"><code>16</code></span>
> > > > >
> > > > > **Maximum value (<code>maximum</code>):** <span id="dt-58b1d7b30ef630fe735f"><code>23</code></span>
> > > >
> > > > <a id="dt-55f927c6edb90156b0f0"></a>
> > > >
> > > > **Rule 2**
> > > >
> > > > > **Minimum value (<code>minimum</code>):** <span id="dt-7d9d13f9d364346b448e"><code>127</code></span>
> > > > >
> > > > > **Maximum value (<code>maximum</code>):** <span id="dt-82b47b18d5164de64a61"><code>128</code></span>
>
> <a id="dt-cae95bb86a6d7ba7e3f1"></a>
>
> **When the condition matches (<code>then</code>)**
>
> > **Required in this object (<code>required</code>):** <a id="dt-d1e988312fc78a62410b"></a> <span id="dt-0574c1623eca97f54205"><code>&#34;qcom&#44;sd&#45;lines&#34;</code></span>

<a id="dt-16889d96227a9b17f6ca"></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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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/sound/qcom,q6dsp-lpass-ports.h&gt;

dais {
    compatible = "qcom,q6afe-dais";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    #sound-dai-cells = &lt;1&gt;;

    dai@22 {
        reg = &lt;QUATERNARY_MI2S_RX&gt;;
        qcom,sd-lines = &lt;0 1 2 3&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 29:</strong> <span> Digital Audio Interfaces</span></p>

<p id="dt-comment-2"><strong>Line 111:</strong> <span> TDM DAI ID range from PRIMARY_TDM_RX_0 - QUINARY_TDM_TX_7</span></p>

<p id="dt-comment-3"><strong>Line 128:</strong> <span> MI2S DAI ID range PRIMARY_MI2S_RX - QUATERNARY_MI2S_TX and</span></p>

<p id="dt-comment-4"><strong>Line 129:</strong> <span> QUINARY_MI2S_RX - QUINARY_MI2S_TX</span></p>

</details>

---

# Qualcomm Proxy Resource Manager (Q6PRM)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm Proxy Resource Manager (Q6PRM).

<!-- SPDX-License-Identifier: GPL-2.0 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;qcom&#44;q6prm&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<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>&#47;schemas&#47;soc&#47;qcom&#47;qcom&#44;apr&#45;services&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-soc/qcom/qcom-apr-services.md#dt-root>)</span>

<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;qcom&#44;q6prm&#34;</code></span>

<a id="dt-d13e593686332195aa86"></a>

### <code>clock&#45;controller</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c79d3291aa8a087c9738">[<code>&#47;schemas&#47;sound&#47;qcom&#44;q6dsp&#45;lpass&#45;clocks&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/qcom-q6dsp-lpass-clocks.md#dt-root>)</span>

<a id="dt-171438e3c9c2ec059dd0"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-94b2b72852f35c738bf2">
<p style="white-space: pre-wrap">Qualcomm DSP LPASS clock controller</p>
</div>

**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;clock&#45;controller&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/soc/qcom,gpr.h&gt;

gpr {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    service@2 {
        reg = &lt;GPR_PRM_MODULE_IID&gt;;
        compatible = "qcom,q6prm";
        qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";

        clock-controller {
            compatible = "qcom,q6prm-lpass-clocks";
            #clock-cells = &lt;2&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 OR BSD-2-Clause</span></p>

</details>

---

# Qualcomm ASoC DPCM USB backend DAI

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm ASoC DPCM USB backend DAI.

<!-- 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;qcom&#44;q6usb&#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;Wesley Cheng &#60;quic&#95;wcheng&#64;quicinc&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The USB port is a supported AFE path on the Q6 DSP.  This ASoC DPCM backend DAI will communicate the required settings to initialize the XHCI host controller properly for enabling the offloaded audio stream. Parameters defined under this node will carry settings, which will be passed along during the QMI stream enable request and configuration of the XHCI host controller.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;qcom&#44;q6usb&#34;</code></span>

<a id="dt-a36eed19b18515184df2"></a>

### <code>iommus</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e4a101d772fc97cb1dd0"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-a5b148d604b240aae0f7"></a>

### <code>qcom&#44;usb&#45;audio&#45;intr&#45;idx</code> — required here

<div id="dt-d10a23492a2a9f8ae909">
<p style="white-space: pre-wrap">Desired XHCI interrupter number to use.  Depending on the audio DSP on the platform, it will operate on a specific XHCI interrupter.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c593ec37163bdd7fc33f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint16</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-e4713ccf9b931b227478>)</span>

**Maximum value (<code>maximum</code>):** <span id="dt-b58632dafa2456d4a427"><code>8</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;qcom&#44;usb&#45;audio&#45;intr&#45;idx&#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">dais {
  compatible = "qcom,q6usb";
  #sound-dai-cells = &lt;1&gt;;
  iommus = &lt;&amp;apps_smmu 0x180f 0x0&gt;;
  qcom,usb-audio-intr-idx = /bits/ 16 &lt;2&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>

</details>

---

# Qualcomm Technologies Inc. ASoC sound card drivers

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm Technologies Inc. ASoC sound card drivers.

<!-- 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;qcom&#44;sm8250&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This bindings describes Qualcomm SoC based sound cards which uses LPASS internal codec for audio.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;lenovo&#44;yoga&#45;c630&#45;sndcard&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;qcom&#44;db845c&#45;sndcard&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;qcom&#44;sdm845&#45;sndcard&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;qcom&#44;kaanapali&#45;sndcard&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;qcom&#44;sm8550&#45;sndcard&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;qcom&#44;sm8650&#45;sndcard&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;qcom&#44;sm8750&#45;sndcard&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;sm8450&#45;sndcard&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Allowed values (<code>enum</code>):** <a id="dt-9fc3f5081af7fe32b794"></a> <span id="dt-264517b00ca7c7f3c30f"><code>&#34;fairphone&#44;fp4&#45;sndcard&#34;</code></span>, <span id="dt-78ff4d043ca24550ed33"><code>&#34;fairphone&#44;fp5&#45;sndcard&#34;</code></span>, <span id="dt-aada3a31ecc374bd5eca"><code>&#34;qcom&#44;apq8096&#45;sndcard&#34;</code></span>, <span id="dt-6cdb02d4beab121ea3fa"><code>&#34;qcom&#44;glymur&#45;sndcard&#34;</code></span>, <span id="dt-f978b4044ceeb19adde5"><code>&#34;qcom&#44;qcm6490&#45;idp&#45;sndcard&#34;</code></span>, <span id="dt-1ea77152497c76252ea0"><code>&#34;qcom&#44;qcs615&#45;sndcard&#34;</code></span>, <span id="dt-42352670cc4b67ace014"><code>&#34;qcom&#44;qcs6490&#45;rb3gen2&#45;sndcard&#34;</code></span>, <span id="dt-657f89e877f0e7f48111"><code>&#34;qcom&#44;qcs8275&#45;sndcard&#34;</code></span>, <span id="dt-dd4d83ee81a3a49510c2"><code>&#34;qcom&#44;qcs9075&#45;sndcard&#34;</code></span>, <span id="dt-5e0f6eea0ed31e7c5b41"><code>&#34;qcom&#44;qcs9100&#45;sndcard&#34;</code></span>, <span id="dt-776ab284615a2eb66980"><code>&#34;qcom&#44;qrb2210&#45;sndcard&#34;</code></span>, <span id="dt-35b415f5e5743da2c2e4"><code>&#34;qcom&#44;qrb4210&#45;rb2&#45;sndcard&#34;</code></span>, <span id="dt-a09732c94ca673ecdaa1"><code>&#34;qcom&#44;qrb5165&#45;rb5&#45;sndcard&#34;</code></span>, <span id="dt-a3f640e38f88111b3293"><code>&#34;qcom&#44;sc7180&#45;qdsp6&#45;sndcard&#34;</code></span>, <span id="dt-bd567ce86ec3796e98e4"><code>&#34;qcom&#44;sc8280xp&#45;sndcard&#34;</code></span>, <span id="dt-441077d368c86390d99a"><code>&#34;qcom&#44;sdm845&#45;sndcard&#34;</code></span>, <span id="dt-8c1e8b500a9f8ee4cb03"><code>&#34;qcom&#44;sm8250&#45;sndcard&#34;</code></span>, <span id="dt-2bb3c2dcbfe20105885d"><code>&#34;qcom&#44;sm8450&#45;sndcard&#34;</code></span>, <span id="dt-21f6e1f3844a473c160b"><code>&#34;qcom&#44;x1e80100&#45;sndcard&#34;</code></span>

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5aa48addbfe3befc2051">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source. Valid names could be power supplies, MicBias of codec and the jacks on the board.</p>
</div>

<a id="dt-48eea20abd1f0fe7f8c9"></a>

### <code>aux&#45;devs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c0c07579a0c2692d2938">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<div id="dt-e7ac154f20c412e1287a">
<p style="white-space: pre-wrap">List of phandles pointing to auxiliary devices, such
as amplifiers, to be added to the sound card.</p>
</div>

<a id="dt-35a8a57fdd6e9ed01be8"></a>

### <code>model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4888cbb3b35392d2f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bf4b69bd171c38756e1b">
<p style="white-space: pre-wrap">User visible long sound card name</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-1835a0317dae1488a052"></a>

### <code>&#46;&#42;&#45;dai&#45;link&#36;</code> — name matches this regular expression

<div id="dt-1ddc58bbafb86167caab">
<p style="white-space: pre-wrap">Each subnode represents a dai link. Subnodes of each dai links would be cpu/codec dais.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-1a6254090caf95caf53c"><code>&#34;object&#34;</code></span>

<a id="dt-9937d7ae7daaa5558a92"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-f3ff20eb2dcb97d07f08"></a>

**<code>link&#45;name</code> — required here**

<div id="dt-9e8bacbda230fc6c3874">
<p style="white-space: pre-wrap">Indicates dai-link name and PCM stream name.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-806efc76516466767abc">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-11b4767208f52fd16f46"><code>1</code></span>

<a id="dt-638fcaea80d6bbf0d4d6"></a>

**<code>cpu</code> — required here**

<div id="dt-b35871b6b0ec6fb4c4c1">
<p style="white-space: pre-wrap">Holds subnode which indicates cpu dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-9d2373f6281e19ebfd3d"><code>&#34;object&#34;</code></span>

<a id="dt-b4911fbdb0db29ecb97f"></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-ef5071be98b249d6508c"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-e3f10db26ec20cb902b0"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ea6a91aeab8090fdd6a0"><code>1</code></span>

<a id="dt-3811eb8b23bde373ff10"></a>

**<code>platform</code> — not listed as required here**

<div id="dt-76f47824a9d418871f51">
<p style="white-space: pre-wrap">Holds subnode which indicates platform dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-3bdad4b4f779ecdb9dc0"><code>&#34;object&#34;</code></span>

<a id="dt-4486d820defcedbb8666"></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-4f31ac45200b9da5ccab"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-fc43d11a2bee3380c2cb"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6b8b8330665a898bf1a0"><code>1</code></span>

<a id="dt-c5d0bdf7d32065aee72e"></a>

**<code>codec</code> — not listed as required here**

<div id="dt-390ad724e6e87a8e6f31">
<p style="white-space: pre-wrap">Holds subnode which indicates codec dai.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b7834a5ff371f1becdcb"><code>&#34;object&#34;</code></span>

<a id="dt-a476ce8ca86c939806d1"></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-273b21d778eba1efd580"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-0936ce529515b6115195"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-6ccb878433c25793bb0f"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-dc3c81446a4d7cfb1282"><code>8</code></span>

**Required in this object (<code>required</code>):** <a id="dt-0c473b2dd68c1cb91dd6"></a> <span id="dt-5ada0b495601465325ac"><code>&#34;link&#45;name&#34;</code></span>, <span id="dt-bbb1ed2e2f457adfeae4"><code>&#34;cpu&#34;</code></span>

<a id="dt-648a771abb8056027ce0"></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;model&#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/sound/qcom,q6afe.h&gt;
#include &lt;dt-bindings/sound/qcom,q6asm.h&gt;
sound {
    compatible = "qcom,qrb5165-rb5-sndcard";
    model = "Qualcomm-qrb5165-RB5-WSA8815-Speakers-DMIC0";
    audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
                "SpkrRight IN", "WSA_SPK2 OUT",
                "VA DMIC0", "vdd-micb",
                "VA DMIC1", "vdd-micb";

    mm1-dai-link {
        link-name = "MultiMedia0";
        cpu {
            sound-dai = &lt;&amp;q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA1&gt;;
        };
    };

    mm2-dai-link {
        link-name = "MultiMedia2";
        cpu {
            sound-dai = &lt;&amp;q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA2&gt;;
        };
    };

    mm3-dai-link {
        link-name = "MultiMedia3";
        cpu {
            sound-dai = &lt;&amp;q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA3&gt;;
        };
    };

    hdmi-dai-link {
        link-name = "HDMI Playback";
        cpu {
            sound-dai = &lt;&amp;q6afedai TERTIARY_MI2S_RX&gt;;
        };

        platform {
            sound-dai = &lt;&amp;q6routing&gt;;
        };

        codec {
            sound-dai = &lt;&amp;lt9611_codec 0&gt;;
        };
    };

    wsa-dai-link {
        link-name = "WSA Playback";
        cpu {
            sound-dai = &lt;&amp;q6afedai WSA_CODEC_DMA_RX_0&gt;;
        };

        platform {
            sound-dai = &lt;&amp;q6routing&gt;;
        };

        codec {
            sound-dai = &lt;&amp;left_spkr&gt;, &lt;&amp;right_spkr&gt;, &lt;&amp;swr0 0&gt;, &lt;&amp;wsamacro&gt;;
        };
    };

    va-dai-link {
        link-name = "VA Capture";
        cpu {
            sound-dai = &lt;&amp;q6afedai VA_CODEC_DMA_TX_0&gt;;
        };

        platform {
            sound-dai = &lt;&amp;q6routing&gt;;
        };

        codec {
            sound-dai = &lt;&amp;vamacro 0&gt;;
        };
    };

    usb-dai-link {
        link-name = "USB Playback";
        cpu {
            sound-dai = &lt;&amp;q6afedai USB_RX&gt;;
        };

        codec {
            sound-dai = &lt;&amp;usbdai USB_RX&gt;;
        };

        platform {
            sound-dai = &lt;&amp;q6routing&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>

</details>

---

# Qualcomm WCD9335 Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm WCD9335 Audio Codec.

<!-- 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;qcom&#44;wcd9335&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC with in-built Soundwire controller and interrupt mux. It supports both I2S/I2C and SLIMbus audio interfaces.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;slim217&#44;1a0&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;slimbus&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>2</code></span>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — not listed as required here

<a id="dt-77e94e63ca0b20bb5ef1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;intr1&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;intr2&#34;</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-e107a7b42942b976e9dc"></a>

### <code>slim&#45;ifc&#45;dev</code> — not listed as required here

<div id="dt-ba8d32a657c7fa6d9e25">
<p style="white-space: pre-wrap">SLIM IFC device interface</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3560f3b8fd69b7ff46ea">[<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-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-a4f2624342185abc4a16"></a>

### <code>vdd&#45;buck&#45;supply</code> — not listed as required here

<div id="dt-2bafac001113329f64bd">
<p style="white-space: pre-wrap">1.8V buck supply</p>
</div>

<a id="dt-0f4987e397dea41d5dca"></a>

### <code>vdd&#45;buck&#45;sido&#45;supply</code> — not listed as required here

<div id="dt-67e0589e213bfad96fd1">
<p style="white-space: pre-wrap">1.8V SIDO buck supply</p>
</div>

<a id="dt-ac5a064e93f89c8f8c74"></a>

### <code>vdd&#45;io&#45;supply</code> — not listed as required here

<div id="dt-d2933e3a00f0809fe617">
<p style="white-space: pre-wrap">1.8V I/O supply</p>
</div>

<a id="dt-b840b408f0c2b5cb848a"></a>

### <code>vdd&#45;micbias&#45;supply</code> — not listed as required here

<div id="dt-674e416e7b409f2e0cfe">
<p style="white-space: pre-wrap">micbias supply</p>
</div>

<a id="dt-9a72cf74def412161e32"></a>

### <code>vdd&#45;rx&#45;supply</code> — not listed as required here

<div id="dt-8f4348e41086efa20794">
<p style="white-space: pre-wrap">1.8V rx supply</p>
</div>

<a id="dt-40938e1b8aa1c80de4a9"></a>

### <code>vdd&#45;tx&#45;supply</code> — not listed as required here

<div id="dt-2c0c7e970c8f18a7ff0f">
<p style="white-space: pre-wrap">1.8V tx supply</p>
</div>

<a id="dt-7c1eb06d0c3d511f0dfd"></a>

### <code>vdd&#45;vbat&#45;supply</code> — not listed as required here

<div id="dt-7505ca114516c8d05e1a">
<p style="white-space: pre-wrap">vbat supply</p>
</div>

**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>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-5f135e3db8ef1aa53700"></a> <span id="dt-0164887f025a095456fa"><code>&#34;slim&#45;ifc&#45;dev&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;clocks&#34;</code></span>, <span id="dt-5daae4bef35eb1615659"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-dabdc46fe881a853c5d7"><code>&#34;interrupts&#34;</code></span>, <span id="dt-0a3f5e8d03ef81581f16"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-334f5a58c923105dea5c"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-942f2779f377cab61fcd"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-f0f99017c4dceae8b9ab"><code>&#34;reset&#45;gpios&#34;</code></span>, <span id="dt-2341aa4b4ce7e2110a72"><code>&#34;slim&#45;ifc&#45;dev&#34;</code></span>, <span id="dt-1e37eeb9a71806b001dc"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-cfcfbfba10e4c74c8c39"><code>&#34;vdd&#45;buck&#45;supply&#34;</code></span>, <span id="dt-0e8f5371ea77dc4102aa"><code>&#34;vdd&#45;buck&#45;sido&#45;supply&#34;</code></span>, <span id="dt-e6f4958514cafb302f7e"><code>&#34;vdd&#45;io&#45;supply&#34;</code></span>, <span id="dt-fb31b91b16d594f0460b"><code>&#34;vdd&#45;rx&#45;supply&#34;</code></span>, <span id="dt-303a230b5763ca2bed25"><code>&#34;vdd&#45;tx&#45;supply&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-06019e51c0ffd9e2b759"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-0a2884e363ec5134ca96"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-3a470f37dffcfac0d142"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-046e7059e7567cda1907"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-70c8c79edeac33a60ab2"></a>
> >
> > **<code>interrupt&#45;controller</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-59dccc8a3323d2142491"></a>
> >
> > **<code>&#35;interrupt&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-2661cdf8bc174fd00cc3"></a>
> >
> > **<code>reset&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-1a746a0a411c55147879"></a>
> >
> > **<code>slim&#45;ifc&#45;dev</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-59b5458106dda91de149"></a>
> >
> > **<code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-f6de7e574876f223d8d1"></a>
> >
> > **<code>vdd&#45;buck&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-637ef4f6a147c007bb23"></a>
> >
> > **<code>vdd&#45;buck&#45;sido&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-f2f2c2e91efa7496991f"></a>
> >
> > **<code>vdd&#45;io&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-4f71ea28538a62acc3a8"></a>
> >
> > **<code>vdd&#45;micbias&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-ce55f6e48c59e58ba7fb"></a>
> >
> > **<code>vdd&#45;rx&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-3d8b55be236b9cc2e548"></a>
> >
> > **<code>vdd&#45;tx&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-b0cda0966f8e4e53e43b"></a>
> >
> > **<code>vdd&#45;vbat&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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/clock/qcom,rpmcc.h&gt;
#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

tasha_ifd: codec@0,0 {
    compatible = "slim217,1a0";
    reg = &lt;0 0&gt;;
};

codec@1,0 {
    compatible = "slim217,1a0";
    reg = &lt;1 0&gt;;

    clock-names = "mclk", "slimbus";
    clocks = &lt;&amp;div1_mclk&gt;, &lt;&amp;rpmcc RPM_SMD_BB_CLK1&gt;;

    interrupt-parent = &lt;&amp;tlmm&gt;;
    interrupts = &lt;54 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;53 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "intr1", "intr2";
    interrupt-controller;
    #interrupt-cells = &lt;1&gt;;

    reset-gpios = &lt;&amp;tlmm 64 GPIO_ACTIVE_LOW&gt;;
    slim-ifc-dev = &lt;&amp;tasha_ifd&gt;;
    #sound-dai-cells = &lt;1&gt;;

    vdd-buck-supply = &lt;&amp;vreg_s4a_1p8&gt;;
    vdd-buck-sido-supply = &lt;&amp;vreg_s4a_1p8&gt;;
    vdd-tx-supply = &lt;&amp;vreg_s4a_1p8&gt;;
    vdd-rx-supply = &lt;&amp;vreg_s4a_1p8&gt;;
    vdd-io-supply = &lt;&amp;vreg_s4a_1p8&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>

</details>

---

# Qualcomm WCD9340/WCD9341 Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm WCD9340/WCD9341 Audio Codec.

<!-- 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;qcom&#44;wcd934x&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm WCD9340/WCD9341 Codec is a standalone Hi-Fi audio codec IC.
It has in-built Soundwire controller, pin controller, interrupt mux and
supports both I2S/I2C and SLIMbus audio interfaces.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;slim217&#44;250&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO spec for reset line to use</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-e107a7b42942b976e9dc"></a>

### <code>slim&#45;ifc&#45;dev</code> — not listed as required here

<div id="dt-ba8d32a657c7fa6d9e25">
<p style="white-space: pre-wrap">IFC device interface</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3560f3b8fd69b7ff46ea">[<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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;extclk&#34;</code></span>

<a id="dt-a4f2624342185abc4a16"></a>

### <code>vdd&#45;buck&#45;supply</code> — not listed as required here

<div id="dt-2bafac001113329f64bd">
<p style="white-space: pre-wrap">A reference to the 1.8V buck supply</p>
</div>

<a id="dt-0f4987e397dea41d5dca"></a>

### <code>vdd&#45;buck&#45;sido&#45;supply</code> — not listed as required here

<div id="dt-67e0589e213bfad96fd1">
<p style="white-space: pre-wrap">A reference to the 1.8V SIDO buck supply</p>
</div>

<a id="dt-9a72cf74def412161e32"></a>

### <code>vdd&#45;rx&#45;supply</code> — not listed as required here

<div id="dt-8f4348e41086efa20794">
<p style="white-space: pre-wrap">A reference to the 1.8V rx supply</p>
</div>

<a id="dt-40938e1b8aa1c80de4a9"></a>

### <code>vdd&#45;tx&#45;supply</code> — not listed as required here

<div id="dt-2c0c7e970c8f18a7ff0f">
<p style="white-space: pre-wrap">A reference to the 1.8V tx supply</p>
</div>

<a id="dt-7c1eb06d0c3d511f0dfd"></a>

### <code>vdd&#45;vbat&#45;supply</code> — not listed as required here

<div id="dt-7505ca114516c8d05e1a">
<p style="white-space: pre-wrap">A reference to the vbat supply</p>
</div>

<a id="dt-ac5a064e93f89c8f8c74"></a>

### <code>vdd&#45;io&#45;supply</code> — not listed as required here

<div id="dt-d2933e3a00f0809fe617">
<p style="white-space: pre-wrap">A reference to the 1.8V I/O supply</p>
</div>

<a id="dt-b840b408f0c2b5cb848a"></a>

### <code>vdd&#45;micbias&#45;supply</code> — not listed as required here

<div id="dt-674e416e7b409f2e0cfe">
<p style="white-space: pre-wrap">A reference to the micbias supply</p>
</div>

<a id="dt-371883768a2f172e1586"></a>

### <code>qcom&#44;micbias1&#45;microvolt</code> — not listed as required here

<div id="dt-bf382f7b733dd916153f">
<p style="white-space: pre-wrap">micbias1 voltage</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-749f67e1119703ca9278"><code>1800000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-0e2c39a7d8db500eea4c"><code>2850000</code></span>

<a id="dt-3a575213841dd9a7f4f5"></a>

### <code>qcom&#44;micbias2&#45;microvolt</code> — not listed as required here

<div id="dt-6ef84d261445497a3611">
<p style="white-space: pre-wrap">micbias2 voltage</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-a2b036f321e5964f387c"><code>1800000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-e9b23ec1490a4b34ccc7"><code>2850000</code></span>

<a id="dt-c2e2bf014e9f96e59bc9"></a>

### <code>qcom&#44;micbias3&#45;microvolt</code> — not listed as required here

<div id="dt-803c6b8dabb428045f35">
<p style="white-space: pre-wrap">micbias3 voltage</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-f288f34e9f22a5735bd3"><code>1800000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-8cc2cd14ff5df77f3ca3"><code>2850000</code></span>

<a id="dt-3b061d1d779d99575bef"></a>

### <code>qcom&#44;micbias4&#45;microvolt</code> — not listed as required here

<div id="dt-d650e7ca88fd0458efd1">
<p style="white-space: pre-wrap">micbias4 voltage</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-1beae5a7c4c80998ec12"><code>1800000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-267066732b300e7e139e"><code>2850000</code></span>

<a id="dt-f1adb495457f1f3d75df"></a>

### <code>qcom&#44;hphl&#45;jack&#45;type&#45;normally&#45;closed</code> — not listed as required here

<div id="dt-e2627b67a7b82ce6e0bf">
<p style="white-space: pre-wrap">Indicates that HPHL jack switch type is normally closed</p>
</div>

**Value type (<code>type</code>):** <span id="dt-ab9d032b3447752d3f73"><code>&#34;boolean&#34;</code></span>

<a id="dt-ac799e67909d6da32bce"></a>

### <code>qcom&#44;ground&#45;jack&#45;type&#45;normally&#45;closed</code> — not listed as required here

<div id="dt-47d9eb15f814d3cc6422">
<p style="white-space: pre-wrap">Indicates that Headset Ground switch type is normally closed</p>
</div>

**Value type (<code>type</code>):** <span id="dt-020aaec3edb2c7752758"><code>&#34;boolean&#34;</code></span>

<a id="dt-db2f9255fb6ddecedc83"></a>

### <code>qcom&#44;mbhc&#45;headset&#45;vthreshold&#45;microvolt</code> — not listed as required here

<div id="dt-424c34bbc9b65036d33f">
<p style="white-space: pre-wrap">Voltage threshold value for headset detection</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-a3d48565b4d54c97f9ba"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-5ed55e1090427498890b"><code>2850000</code></span>

<a id="dt-7efeab1170c1d0f15adb"></a>

### <code>qcom&#44;mbhc&#45;headphone&#45;vthreshold&#45;microvolt</code> — not listed as required here

<div id="dt-828bb681c0f75709cdc4">
<p style="white-space: pre-wrap">Voltage threshold value for headphone detection</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-94dece2459cf1692424e"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-20c95b315abc1df951a5"><code>2850000</code></span>

<a id="dt-d8f719662745db523eeb"></a>

### <code>qcom&#44;mbhc&#45;buttons&#45;vthreshold&#45;microvolt</code> — not listed as required here

<div id="dt-8611e51f99b1988e5edc">
<p style="white-space: pre-wrap">Array of 8 Voltage threshold values corresponding to headset button0 - button7</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-357f5cbef361e6b698c1"><code>8</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8354c3efab81461989fa"><code>8</code></span>

<a id="dt-ce7ce65ef6912a262371"></a>

### <code>clock&#45;output&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-ec886847af661a542167"><code>&#34;mclk&#34;</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Clock frequency of output clk in Hz</p>
</div>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>1</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>0</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<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>1</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>1</code></span>

<a id="dt-2ac6303e26f303bfed7c"></a>

### <code>gpio&#64;42</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-71cfac3498e103ff0707"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f15baed5f8e5bb99d749">[<code>&#47;schemas&#47;gpio&#47;qcom&#44;wcd934x&#45;gpio&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-gpio/qcom-wcd934x-gpio.md#dt-root>)</span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-573587cdb3ff39c5b5e0"></a>

### <code>&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-2a128fbeeefbb419a6c3"><code>&#34;object&#34;</code></span>

<a id="dt-40e29caf708abece0110"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

<div id="dt-71bf49275c7028f9ad24">
<p style="white-space: pre-wrap">WCD934x subnode for each slave devices. Bindings of each subnodes
depends on the specific driver providing the functionality and
documented in their respective bindings.</p>
</div>

<a id="dt-2086facb1246423cc914"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-11d15fd5bdba07ab85a5"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-212b9e6867f53a6921e7"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-135aee2a2b59e6c53533"></a> <span id="dt-edfb2b957765627279df"><code>&#34;reg&#34;</code></span>

**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>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-5f135e3db8ef1aa53700"></a> <span id="dt-0164887f025a095456fa"><code>&#34;slim&#45;ifc&#45;dev&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;reset&#45;gpios&#34;</code></span>, <span id="dt-5daae4bef35eb1615659"><code>&#34;slim&#45;ifc&#45;dev&#34;</code></span>, <span id="dt-dabdc46fe881a853c5d7"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-0a3f5e8d03ef81581f16"><code>&#34;clock&#45;frequency&#34;</code></span>, <span id="dt-334f5a58c923105dea5c"><code>&#34;clock&#45;output&#45;names&#34;</code></span>, <span id="dt-942f2779f377cab61fcd"><code>&#34;qcom&#44;micbias1&#45;microvolt&#34;</code></span>, <span id="dt-f0f99017c4dceae8b9ab"><code>&#34;qcom&#44;micbias2&#45;microvolt&#34;</code></span>, <span id="dt-2341aa4b4ce7e2110a72"><code>&#34;qcom&#44;micbias3&#45;microvolt&#34;</code></span>, <span id="dt-1e37eeb9a71806b001dc"><code>&#34;qcom&#44;micbias4&#45;microvolt&#34;</code></span>, <span id="dt-cfcfbfba10e4c74c8c39"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-0e8f5371ea77dc4102aa"><code>&#34;&#35;clock&#45;cells&#34;</code></span>, <span id="dt-e6f4958514cafb302f7e"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-fb31b91b16d594f0460b"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-303a230b5763ca2bed25"><code>&#34;&#35;size&#45;cells&#34;</code></span>
> >
> > <a id="dt-24082c2bf5370a76427c"></a>
> >
> > **Exactly one of these rules must match (<code>oneOf</code>)**
> >
> > <a id="dt-a932bcb9d9ad3cd8ed3b"></a>
> >
> > **Rule 1**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-63da6c081da5bfac5309"></a> <span id="dt-682c9c05df17b1c34a25"><code>&#34;interrupts&#45;extended&#34;</code></span>
> >
> > <a id="dt-9f6d5f3e7f37c8c7949f"></a>
> >
> > **Rule 2**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-b152222f09c5ada7d692"></a> <span id="dt-415fb35ddf82d8b516c9"><code>&#34;interrupts&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-2661cdf8bc174fd00cc3"></a>
> >
> > **<code>reset&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-1a746a0a411c55147879"></a>
> >
> > **<code>slim&#45;ifc&#45;dev</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-3a470f37dffcfac0d142"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-70c8c79edeac33a60ab2"></a>
> >
> > **<code>interrupt&#45;controller</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-c0fa76dd950da7d80dae"></a>
> >
> > **<code>clock&#45;frequency</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-a1219aec125f7d44a46d"></a>
> >
> > **<code>clock&#45;output&#45;names</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-21b151e4bc00ea92fab1"></a>
> >
> > **<code>qcom&#44;micbias1&#45;microvolt</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-49cc57f49904d2e4043c"></a>
> >
> > **<code>qcom&#44;micbias2&#45;microvolt</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-10f273dcf5b4bf345f17"></a>
> >
> > **<code>qcom&#44;micbias3&#45;microvolt</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-e593838139918c2b3164"></a>
> >
> > **<code>qcom&#44;micbias4&#45;microvolt</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-59dccc8a3323d2142491"></a>
> >
> > **<code>&#35;interrupt&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-3c0f9327c309210909d5"></a>
> >
> > **<code>&#35;clock&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-59b5458106dda91de149"></a>
> >
> > **<code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-b7aa00c86e9e881eb747"></a>
> >
> > **<code>&#35;address&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-b173f892183c5755affc"></a>
> >
> > **<code>&#35;size&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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/gpio/gpio.h&gt;
codec@1,0{
    compatible = "slim217,250";
    reg = &lt;1 0&gt;;
    reset-gpios = &lt;&amp;tlmm 64 GPIO_ACTIVE_LOW&gt;;
    slim-ifc-dev = &lt;&amp;wcd9340_ifd&gt;;
    #sound-dai-cells = &lt;1&gt;;
    interrupt-parent = &lt;&amp;tlmm&gt;;
    interrupts = &lt;54 4&gt;;
    interrupt-controller;
    #interrupt-cells = &lt;1&gt;;
    #clock-cells = &lt;0&gt;;
    clock-frequency = &lt;9600000&gt;;
    clock-output-names = "mclk";
    qcom,micbias1-microvolt = &lt;1800000&gt;;
    qcom,micbias2-microvolt = &lt;1800000&gt;;
    qcom,micbias3-microvolt = &lt;1800000&gt;;
    qcom,micbias4-microvolt = &lt;1800000&gt;;
    qcom,hphl-jack-type-normally-closed;
    qcom,ground-jack-type-normally-closed;
    qcom,mbhc-buttons-vthreshold-microvolt = &lt;75000 150000 237000 500000 500000 500000 500000 500000&gt;;
    qcom,mbhc-headset-vthreshold-microvolt = &lt;1700000&gt;;
    qcom,mbhc-headphone-vthreshold-microvolt = &lt;50000&gt;;
    clock-names = "extclk";
    clocks = &lt;&amp;rpmhcc 2&gt;;

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;

    gpio@42 {
        compatible = "qcom,wcd9340-gpio";
        reg = &lt;0x42 0x2&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&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>

</details>

---

# Qualcomm SoundWire Slave devices on WCD9370/WCD9375

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm SoundWire Slave devices on WCD9370/WCD9375.

<!-- 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;qcom&#44;wcd937x&#45;sdw&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm WCD9370/WCD9375 Codec is a standalone Hi-Fi audio codec IC.
It has RX and TX Soundwire slave devices. This bindings is for the
slave devices.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sdw20217010a00&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-9d7dac3b11bfdf6c6020"></a>

### <code>qcom&#44;tx&#45;port&#45;mapping</code> — not listed as required here

<div id="dt-632776dfbc120dcc41b1">
<p style="white-space: pre-wrap">Specifies static port mapping between device and host tx ports.
In the order of the device port index which are adc1_port, adc23_port,
dmic03_mbhc_port, dmic46_port.
Supports maximum 4 tx soundwire ports.</p>
<p style="white-space: pre-wrap">WCD9370 TX Port 1 (ADC1)               &lt;=&gt; SWR2 Port 2
WCD9370 TX Port 2 (ADC2, 3)            &lt;=&gt; SWR2 Port 2
WCD9370 TX Port 3 (DMIC0,1,2,3 &amp; MBHC) &lt;=&gt; SWR2 Port 3
WCD9370 TX Port 4 (DMIC4,5,6,7)        &lt;=&gt; SWR2 Port 4</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0feea33f503cc8459a22">[<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-f0cd52eaa863131ff6c8"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-af13a4eabdcf490cf8c6"><code>4</code></span>

<a id="dt-86fe05162d9d8f30cd5c"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-c44894ab25cc99a5b6bb"></a> <span id="dt-6b5a06ffdada481c9b78"><code>1</code></span>, <span id="dt-1040c60652f8cf3e5413"><code>2</code></span>, <span id="dt-bd90e49c569a3cc8af56"><code>3</code></span>, <span id="dt-16e3b0e96b0133e653f8"><code>4</code></span>

<a id="dt-e4879ea1b3c35f8f0041"></a>

### <code>qcom&#44;rx&#45;port&#45;mapping</code> — not listed as required here

<div id="dt-965bb9040036a65a429a">
<p style="white-space: pre-wrap">Specifies static port mapping between device and host rx ports.
In the order of device port index which are hph_port, clsh_port,
comp_port, lo_port, dsd port.
Supports maximum 5 rx soundwire ports.</p>
<p style="white-space: pre-wrap">WCD9370 RX Port 1 (HPH_L/R)       &lt;==&gt;    SWR1 Port 1 (HPH_L/R)
WCD9370 RX Port 2 (CLSH)          &lt;==&gt;    SWR1 Port 2 (CLSH)
WCD9370 RX Port 3 (COMP_L/R)      &lt;==&gt;    SWR1 Port 3 (COMP_L/R)
WCD9370 RX Port 4 (LO)            &lt;==&gt;    SWR1 Port 4 (LO)
WCD9370 RX Port 5 (DSD_L/R)       &lt;==&gt;    SWR1 Port 5 (DSD)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d8e36d529687a87e29d7">[<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-738062e1c9fc94e8b787"><code>5</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-10ee266c424276554674"><code>5</code></span>

<a id="dt-49f0bcb379b503071fab"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-9267a12e968edcc5d670"></a> <span id="dt-93614aa10aa08e8f4127"><code>1</code></span>, <span id="dt-fe233508c79dc5e7ae80"><code>2</code></span>, <span id="dt-458a2e455fcb518e8201"><code>3</code></span>, <span id="dt-13b218a9f5503557df21"><code>4</code></span>, <span id="dt-6f0bcfde28760339d399"><code>5</code></span>

<a id="dt-c880ecf1b8ec4d844696"></a>

### <code>qcom&#44;tx&#45;channel&#45;mapping</code> — not listed as required here

<div id="dt-5c3f3294364182230925">
<p style="white-space: pre-wrap">Specifies static channel mapping between slave and master tx port
channels.
In the order of slave port channels which is adc1, adc2, adc3,
dmic0, dmic1, mbhc, dmic2, dmic3, dmci4, dmic5, dmic6, dmic7.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0fe4a4a911756965336e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-184849745c5e941c3ec5>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-65654148a5e4e8c4bac8"><code>12</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-dbb9c4488201fb5e5a8f"><code>12</code></span>

<a id="dt-89429f1a0e9cd5e70aae"></a>

#### Array items beyond the listed positions (<code>additionalItems</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-7953aed3e7edb6a73ff0"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-8e27ac7a32de4f4a3d61"></a> <span id="dt-278beac2ec8a08672287"><code>1</code></span>, <span id="dt-82136582af33eed54bd0"><code>2</code></span>, <span id="dt-c75f15605b29f68954e6"><code>3</code></span>, <span id="dt-11aca29e095d6cc8c0ef"><code>4</code></span>

<a id="dt-80ece4aaa6d547da3c43"></a>

### <code>qcom&#44;rx&#45;channel&#45;mapping</code> — not listed as required here

<div id="dt-3f243261b7971e2e1fb9">
<p style="white-space: pre-wrap">Specifies static channels mapping between slave and master rx port
channels.
In the order of slave port channels, which is
hph_l, hph_r, clsh, comp_l, comp_r, lo, dsd_r, dsd_l.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3d817576f794254de5af">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-184849745c5e941c3ec5>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-7dd0c98a987050995048"><code>8</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-612bf789e5e1c50659b7"><code>8</code></span>

<a id="dt-3b9cb224ef4438f698ff"></a>

#### Array items beyond the listed positions (<code>additionalItems</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-3e4116f9d1bb8fa26554"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-a7a20ba9fceba484f90f"></a> <span id="dt-a19614b4f7e672102be8"><code>1</code></span>, <span id="dt-c6fe797cb747e5559be3"><code>2</code></span>, <span id="dt-7f833b63e0c0454816bf"><code>3</code></span>, <span id="dt-93da5b29fdaae9743e0e"><code>4</code></span>

**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>

<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">soundwire@3210000 {
    reg = &lt;0x03210000 0x2000&gt;;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    wcd937x_rx: codec@0,4 {
        compatible = "sdw20217010a00";
        reg = &lt;0 4&gt;;
        qcom,rx-port-mapping = &lt;1 2 3 4 5&gt;;
        qcom,rx-channel-mapping = /bits/ 8 &lt;1 2 1 1 2 1 1 2&gt;;
    };
};

soundwire@3230000 {
    reg = &lt;0x03230000 0x2000&gt;;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    wcd937x_tx: codec@0,3 {
        compatible = "sdw20217010a00";
        reg = &lt;0 3&gt;;
        qcom,tx-port-mapping = &lt;2 2 3 4&gt;;
        qcom,tx-channel-mapping = /bits/ 8 &lt;1 2 1 1 2 3 3 4 1 2 3 4&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 73:</strong> <span> WCD9370_SWRM_CH1</span></p>

<p id="dt-comment-2"><strong>Line 74:</strong> <span> WCD9370_SWRM_CH2</span></p>

<p id="dt-comment-3"><strong>Line 75:</strong> <span> WCD9370_SWRM_CH3</span></p>

<p id="dt-comment-4"><strong>Line 76:</strong> <span> WCD9370_SWRM_CH4</span></p>

<p id="dt-comment-5"><strong>Line 90:</strong> <span> WCD9370_SWRM_CH1</span></p>

<p id="dt-comment-6"><strong>Line 91:</strong> <span> WCD9370_SWRM_CH2</span></p>

<p id="dt-comment-7"><strong>Line 92:</strong> <span> WCD9370_SWRM_CH3</span></p>

<p id="dt-comment-8"><strong>Line 93:</strong> <span> WCD9370_SWRM_CH4</span></p>

</details>

---

# Qualcomm WCD9370/WCD9375 Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm WCD9370/WCD9375 Audio Codec.

<!-- 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;qcom&#44;wcd937x&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm WCD9370/WCD9375 Codec is a standalone Hi-Fi audio codec IC. It has RX and TX Soundwire slave devices.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>qcom&#44;wcd93xx&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/qcom-wcd93xx-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;qcom&#44;wcd9370&#45;codec&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;qcom&#44;wcd9375&#45;codec&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;wcd9370&#45;codec&#34;</code></span>

<a id="dt-8ddc90b747e636af8fed"></a>

### <code>vdd&#45;px&#45;supply</code> — required here

<div id="dt-a6bb90759b529a16e6eb">
<p style="white-space: pre-wrap">A reference to the 1.8V I/O supply</p>
</div>

**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;vdd&#45;px&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
codec {
    compatible = "qcom,wcd9370-codec";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = &lt;&amp;wcd_reset_n&gt;;
    pinctrl-1 = &lt;&amp;wcd_reset_n_sleep&gt;;
    reset-gpios = &lt;&amp;tlmm 83 GPIO_ACTIVE_LOW&gt;;
    vdd-buck-supply = &lt;&amp;vreg_l17b_1p8&gt;;
    vdd-rxtx-supply = &lt;&amp;vreg_l18b_1p8&gt;;
    vdd-px-supply = &lt;&amp;vreg_l18b_1p8&gt;;
    vdd-mic-bias-supply = &lt;&amp;vreg_bob&gt;;
    qcom,micbias1-microvolt = &lt;1800000&gt;;
    qcom,micbias2-microvolt = &lt;1800000&gt;;
    qcom,micbias3-microvolt = &lt;1800000&gt;;
    qcom,micbias4-microvolt = &lt;1800000&gt;;
    qcom,rx-device = &lt;&amp;wcd937x_rx&gt;;
    qcom,tx-device = &lt;&amp;wcd937x_tx&gt;;
    #sound-dai-cells = &lt;1&gt;;
};

/* ... */

soundwire@3210000 {
    reg = &lt;0x03210000 0x2000&gt;;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    wcd937x_rx: codec@0,4 {
        compatible = "sdw20217010a00";
        reg = &lt;0 4&gt;;
        qcom,rx-port-mapping = &lt;1 2 3 4 5&gt;;
    };
};

soundwire@3230000 {
    reg = &lt;0x03230000 0x2000&gt;;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    wcd937x_tx: codec@0,3 {
        compatible = "sdw20217010a00";
        reg = &lt;0 3&gt;;
        qcom,tx-port-mapping = &lt;1 2 3 4&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>

</details>

---

# Qualcomm SoundWire Slave devices on WCD9380/WCD9385

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm SoundWire Slave devices on WCD9380/WCD9385.

<!-- 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;qcom&#44;wcd938x&#45;sdw&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC.
It has RX and TX Soundwire slave devices. This bindings is for the
slave devices.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sdw20217010d00&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-9d7dac3b11bfdf6c6020"></a>

### <code>qcom&#44;tx&#45;port&#45;mapping</code> — not listed as required here

<div id="dt-632776dfbc120dcc41b1">
<p style="white-space: pre-wrap">Specifies static port mapping between slave and master tx ports.
In the order of slave port index.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0feea33f503cc8459a22">[<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-f0cd52eaa863131ff6c8"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-af13a4eabdcf490cf8c6"><code>4</code></span>

<a id="dt-e4879ea1b3c35f8f0041"></a>

### <code>qcom&#44;rx&#45;port&#45;mapping</code> — not listed as required here

<div id="dt-965bb9040036a65a429a">
<p style="white-space: pre-wrap">Specifies static port mapping between slave and master rx ports.
In the order of slave port index.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d8e36d529687a87e29d7">[<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-738062e1c9fc94e8b787"><code>5</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-10ee266c424276554674"><code>5</code></span>

**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>

<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">soundwire@3210000 {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x03210000 0x2000&gt;;
    wcd938x_rx: codec@0,4 {
        compatible = "sdw20217010d00";
        reg = &lt;0 4&gt;;
        qcom,rx-port-mapping = &lt;1 2 3 4 5&gt;;
    };
};

soundwire@3230000 {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x03230000 0x2000&gt;;
    wcd938x_tx: codec@0,3 {
        compatible = "sdw20217010d00";
        reg = &lt;0 3&gt;;
        qcom,tx-port-mapping = &lt;2 3 4 5&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>

</details>

---

# Qualcomm WCD9380/WCD9385 Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm WCD9380/WCD9385 Audio Codec.

<!-- 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;qcom&#44;wcd938x&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC.
It has RX and TX Soundwire slave devices.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>qcom&#44;wcd93xx&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/qcom-wcd93xx-common.md#dt-root>)</span>

<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;qcom&#44;wcd9380&#45;codec&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;qcom&#44;wcd9385&#45;codec&#34;</code></span>

<a id="dt-9ae71978f004bcd28791"></a>

### <code>mux&#45;controls</code> — not listed as required here

<div id="dt-31599b5d414641e76da0">
<p style="white-space: pre-wrap">A reference to the audio mux switch for switching CTIA/OMTP Headset types</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6769132732c5fe337979"><code>1</code></span>

<a id="dt-28828953e89d6c798293"></a>

### <code>us&#45;euro&#45;gpios</code> — not listed as required here

<div id="dt-6e833966dbaea960741e">
<p style="white-space: pre-wrap">GPIO spec for swapping gnd and mic segments</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7add50ff6beab7d74bc8"><code>1</code></span>

**Deprecated (<code>deprecated</code>):** <span id="dt-53b59991697d0e4cce22"><code>true</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
codec {
    compatible = "qcom,wcd9380-codec";
    reset-gpios = &lt;&amp;tlmm 32 GPIO_ACTIVE_LOW&gt;;
    #sound-dai-cells = &lt;1&gt;;
    qcom,tx-device = &lt;&amp;wcd938x_tx&gt;;
    qcom,rx-device = &lt;&amp;wcd938x_rx&gt;;
    qcom,micbias1-microvolt = &lt;1800000&gt;;
    qcom,micbias2-microvolt = &lt;1800000&gt;;
    qcom,micbias3-microvolt = &lt;1800000&gt;;
    qcom,micbias4-microvolt = &lt;1800000&gt;;
    qcom,hphl-jack-type-normally-closed;
    qcom,ground-jack-type-normally-closed;
    qcom,mbhc-buttons-vthreshold-microvolt = &lt;75000 150000 237000 500000 500000 500000 500000 500000&gt;;
    qcom,mbhc-headphone-vthreshold-microvolt = &lt;50000&gt;;
};

/* ... */

soundwire@3210000 {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x03210000 0x2000&gt;;
    wcd938x_rx: codec@0,4 {
        compatible = "sdw20217010d00";
        reg = &lt;0 4&gt;;
        qcom,rx-port-mapping = &lt;1 2 3 4 5&gt;;
    };
};

soundwire@3230000 {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x03230000 0x2000&gt;;
    wcd938x_tx: codec@0,3 {
        compatible = "sdw20217010d00";
        reg = &lt;0 3&gt;;
        qcom,tx-port-mapping = &lt;2 3 4 5&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>

</details>

---

# Qualcomm SoundWire devices on WCD9390/WCD9395

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm SoundWire devices on WCD9390/WCD9395.

<!-- 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;qcom&#44;wcd939x&#45;sdw&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm WCD9390/WCD9395 Codec is a standalone Hi-Fi audio codec IC.
It has RX and TX Soundwire devices. This bindings is for the devices.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sdw20217010e00&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-9d7dac3b11bfdf6c6020"></a>

### <code>qcom&#44;tx&#45;port&#45;mapping</code> — not listed as required here

<div id="dt-632776dfbc120dcc41b1">
<p style="white-space: pre-wrap">Specifies static port mapping between device and host tx ports.
In the order of the device port index.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0feea33f503cc8459a22">[<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-f0cd52eaa863131ff6c8"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-af13a4eabdcf490cf8c6"><code>4</code></span>

<a id="dt-e4879ea1b3c35f8f0041"></a>

### <code>qcom&#44;rx&#45;port&#45;mapping</code> — not listed as required here

<div id="dt-965bb9040036a65a429a">
<p style="white-space: pre-wrap">Specifies static port mapping between device and host rx ports.
In the order of device port index.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d8e36d529687a87e29d7">[<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-738062e1c9fc94e8b787"><code>6</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-10ee266c424276554674"><code>6</code></span>

**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>

<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">soundwire@3210000 {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x03210000 0x2000&gt;;
    wcd938x_rx: codec@0,4 {
        compatible = "sdw20217010e00";
        reg = &lt;0 4&gt;;
        qcom,rx-port-mapping = &lt;1 2 3 4 5 6&gt;;
    };
};

soundwire@3230000 {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x03230000 0x2000&gt;;
    wcd938x_tx: codec@0,3 {
        compatible = "sdw20217010e00";
        reg = &lt;0 3&gt;;
        qcom,tx-port-mapping = &lt;2 3 4 5&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>

</details>

---

# Qualcomm WCD9380/WCD9385 Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm WCD9380/WCD9385 Audio Codec.

<!-- 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;qcom&#44;wcd939x&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm WCD9390/WCD9395 Codec is a standalone Hi-Fi audio codec IC.
It has RX and TX Soundwire devices.
The WCD9390/WCD9395 IC has a functionally separate USB-C Mux subsystem
accessible over an I2C interface.
The Audio Headphone and Microphone data path between the Codec and the USB-C Mux
subsystems are external to the IC, thus requiring DT port-endpoint graph description
to handle USB-C altmode &amp; orientation switching for Audio Accessory Mode.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>qcom&#44;wcd93xx&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/qcom-wcd93xx-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;qcom&#44;wcd9390&#45;codec&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;qcom&#44;wcd9395&#45;codec&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;wcd9390&#45;codec&#34;</code></span>

<a id="dt-1a0a9be7d99d9096f05a"></a>

### <code>mode&#45;switch</code> — not listed as required here

<div id="dt-42cc91cc8269a89f15a9">
<p style="white-space: pre-wrap">Flag the port as possible handler of altmode switching</p>
</div>

**Value type (<code>type</code>):** <span id="dt-2e8e105383125d1147d6"><code>&#34;boolean&#34;</code></span>

<a id="dt-8459239d22594ac44b38"></a>

### <code>orientation&#45;switch</code> — not listed as required here

<div id="dt-a57190793c22da672d75">
<p style="white-space: pre-wrap">Flag the port as possible handler of orientation switching</p>
</div>

**Value type (<code>type</code>):** <span id="dt-583c6a95787ca7c844dc"><code>&#34;boolean&#34;</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-0cd71b006a1fcbec8daa">
<p style="white-space: pre-wrap">A port node to link the WCD939x Codec node to USB MUX subsystems for the purpose of handling altmode muxing and orientation switching to detect and enable Audio Accessory Mode.</p>
</div>

<a id="dt-8ddc90b747e636af8fed"></a>

### <code>vdd&#45;px&#45;supply</code> — not listed as required here

<div id="dt-a6bb90759b529a16e6eb">
<p style="white-space: pre-wrap">A reference to the 1.2V PX supply</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
codec {
    compatible = "qcom,wcd9390-codec";
    reset-gpios = &lt;&amp;tlmm 32 GPIO_ACTIVE_LOW&gt;;
    #sound-dai-cells = &lt;1&gt;;
    qcom,tx-device = &lt;&amp;wcd939x_tx&gt;;
    qcom,rx-device = &lt;&amp;wcd939x_rx&gt;;
    qcom,micbias1-microvolt = &lt;1800000&gt;;
    qcom,micbias2-microvolt = &lt;1800000&gt;;
    qcom,micbias3-microvolt = &lt;1800000&gt;;
    qcom,micbias4-microvolt = &lt;1800000&gt;;
    qcom,hphl-jack-type-normally-closed;
    qcom,ground-jack-type-normally-closed;
    qcom,mbhc-buttons-vthreshold-microvolt = &lt;75000 150000 237000 500000 500000 500000 500000 500000&gt;;
    qcom,mbhc-headphone-vthreshold-microvolt = &lt;50000&gt;;
};

/* ... */

soundwire@3210000 {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x03210000 0x2000&gt;;
    wcd939x_rx: codec@0,4 {
        compatible = "sdw20217010e00";
        reg = &lt;0 4&gt;;
        qcom,rx-port-mapping = &lt;1 2 3 4 5 6&gt;;
    };
};

soundwire@3230000 {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x03230000 0x2000&gt;;
    wcd938x_tx: codec@0,3 {
        compatible = "sdw20217010e00";
        reg = &lt;0 3&gt;;
        qcom,tx-port-mapping = &lt;2 3 4 5&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>

</details>

---

# Common properties for Qualcomm WCD93xx Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Common properties for Qualcomm WCD93xx Audio Codec.

<!-- 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;qcom&#44;wcd93xx&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO spec for reset line to use</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-a4f2624342185abc4a16"></a>

### <code>vdd&#45;buck&#45;supply</code> — not listed as required here

<div id="dt-2bafac001113329f64bd">
<p style="white-space: pre-wrap">A reference to the 1.8V buck supply</p>
</div>

<a id="dt-4291102dbbebfdb48934"></a>

### <code>vdd&#45;rxtx&#45;supply</code> — not listed as required here

<div id="dt-5748f5eb3cd164af1baf">
<p style="white-space: pre-wrap">A reference to the 1.8V rx supply</p>
</div>

<a id="dt-ac5a064e93f89c8f8c74"></a>

### <code>vdd&#45;io&#45;supply</code> — not listed as required here

<div id="dt-d2933e3a00f0809fe617">
<p style="white-space: pre-wrap">A reference to the 1.8V I/O supply</p>
</div>

<a id="dt-eb77f8263d8033d1832c"></a>

### <code>vdd&#45;mic&#45;bias&#45;supply</code> — not listed as required here

<div id="dt-a18b7f6b7e1720338dfd">
<p style="white-space: pre-wrap">A reference to the 3.8V mic bias supply</p>
</div>

<a id="dt-f54597a362bcd2e26790"></a>

### <code>qcom&#44;tx&#45;device</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e8d6097149cb759c8aaf">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<div id="dt-67712b5d7a1e9472b139">
<p style="white-space: pre-wrap">A reference to Soundwire tx device phandle</p>
</div>

<a id="dt-96c0dc0cad0cc886d997"></a>

### <code>qcom&#44;rx&#45;device</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2b2b3e13f1c10a0bca53">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<div id="dt-691c30c698445355d5f3">
<p style="white-space: pre-wrap">A reference to Soundwire rx device phandle</p>
</div>

<a id="dt-371883768a2f172e1586"></a>

### <code>qcom&#44;micbias1&#45;microvolt</code> — required here

<div id="dt-bf382f7b733dd916153f">
<p style="white-space: pre-wrap">micbias1 voltage</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-749f67e1119703ca9278"><code>1800000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-0e2c39a7d8db500eea4c"><code>2850000</code></span>

<a id="dt-3a575213841dd9a7f4f5"></a>

### <code>qcom&#44;micbias2&#45;microvolt</code> — required here

<div id="dt-6ef84d261445497a3611">
<p style="white-space: pre-wrap">micbias2 voltage</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-a2b036f321e5964f387c"><code>1800000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-e9b23ec1490a4b34ccc7"><code>2850000</code></span>

<a id="dt-c2e2bf014e9f96e59bc9"></a>

### <code>qcom&#44;micbias3&#45;microvolt</code> — required here

<div id="dt-803c6b8dabb428045f35">
<p style="white-space: pre-wrap">micbias3 voltage</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-f288f34e9f22a5735bd3"><code>1800000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-8cc2cd14ff5df77f3ca3"><code>2850000</code></span>

<a id="dt-3b061d1d779d99575bef"></a>

### <code>qcom&#44;micbias4&#45;microvolt</code> — required here

<div id="dt-d650e7ca88fd0458efd1">
<p style="white-space: pre-wrap">micbias4 voltage</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-1beae5a7c4c80998ec12"><code>1800000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-267066732b300e7e139e"><code>2850000</code></span>

<a id="dt-f1adb495457f1f3d75df"></a>

### <code>qcom&#44;hphl&#45;jack&#45;type&#45;normally&#45;closed</code> — not listed as required here

<div id="dt-e2627b67a7b82ce6e0bf">
<p style="white-space: pre-wrap">Indicates that HPHL jack switch type is normally closed</p>
</div>

**Value type (<code>type</code>):** <span id="dt-ab9d032b3447752d3f73"><code>&#34;boolean&#34;</code></span>

<a id="dt-ac799e67909d6da32bce"></a>

### <code>qcom&#44;ground&#45;jack&#45;type&#45;normally&#45;closed</code> — not listed as required here

<div id="dt-47d9eb15f814d3cc6422">
<p style="white-space: pre-wrap">Indicates that Headset Ground switch type is normally closed</p>
</div>

**Value type (<code>type</code>):** <span id="dt-020aaec3edb2c7752758"><code>&#34;boolean&#34;</code></span>

<a id="dt-db2f9255fb6ddecedc83"></a>

### <code>qcom&#44;mbhc&#45;headset&#45;vthreshold&#45;microvolt</code> — not listed as required here

<div id="dt-424c34bbc9b65036d33f">
<p style="white-space: pre-wrap">Voltage threshold value for headset detection</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-a3d48565b4d54c97f9ba"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-5ed55e1090427498890b"><code>2850000</code></span>

<a id="dt-7efeab1170c1d0f15adb"></a>

### <code>qcom&#44;mbhc&#45;headphone&#45;vthreshold&#45;microvolt</code> — not listed as required here

<div id="dt-828bb681c0f75709cdc4">
<p style="white-space: pre-wrap">Voltage threshold value for headphone detection</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-94dece2459cf1692424e"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-20c95b315abc1df951a5"><code>2850000</code></span>

<a id="dt-d8f719662745db523eeb"></a>

### <code>qcom&#44;mbhc&#45;buttons&#45;vthreshold&#45;microvolt</code> — not listed as required here

<div id="dt-8611e51f99b1988e5edc">
<p style="white-space: pre-wrap">Array of 8 Voltage threshold values corresponding to headset button0 - button7</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-357f5cbef361e6b698c1"><code>8</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8354c3efab81461989fa"><code>8</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;reset&#45;gpios&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;qcom&#44;tx&#45;device&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;qcom&#44;rx&#45;device&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;qcom&#44;micbias1&#45;microvolt&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;qcom&#44;micbias2&#45;microvolt&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;qcom&#44;micbias3&#45;microvolt&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;qcom&#44;micbias4&#45;microvolt&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;sound&#45;dai&#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-only OR BSD-2-Clause)</span></p>

</details>

---

# Qualcomm WSA8810/WSA8815 Class-D Smart Speaker Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm WSA8810/WSA8815 Class-D Smart Speaker Amplifier.

<!-- 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;qcom&#44;wsa881x&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">WSA8810 is a class-D smart speaker amplifier and WSA8815
is a high-output power class-D smart speaker amplifier.
Their primary operating mode uses a SoundWire digital audio
interface. This binding is for SoundWire interface.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sdw10217201000&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-18291f1487c1b45c6138"></a>

### <code>powerdown&#45;gpios</code> — required here

<div id="dt-2e6eeac1c3055c8550d6">
<p style="white-space: pre-wrap">GPIO spec for Powerdown/Shutdown line to use</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-a45b8f093ab270c66c0d"><code>1</code></span>

<a id="dt-ac9841adea46564de589"></a>

### <code>&#35;thermal&#45;sensor&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-864271cb6a9393891ea2"><code>0</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;powerdown&#45;gpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;thermal&#45;sensor&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">soundwire@c2d0000 {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x0c2d0000 0x2000&gt;;

    speaker@0,1 {
        compatible = "sdw10217201000";
        reg = &lt;0 1&gt;;
        powerdown-gpios = &lt;&amp;wcdpinctrl 2 0&gt;;
        #thermal-sensor-cells = &lt;0&gt;;
        #sound-dai-cells = &lt;0&gt;;
    };

    speaker@0,2 {
        compatible = "sdw10217201000";
        reg = &lt;0 2&gt;;
        powerdown-gpios = &lt;&amp;wcdpinctrl 2 0&gt;;
        #thermal-sensor-cells = &lt;0&gt;;
        #sound-dai-cells = &lt;0&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>

</details>

---

# Qualcomm WSA8830/WSA8832/WSA8835 smart speaker amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm WSA8830/WSA8832/WSA8835 smart speaker amplifier.

<!-- 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;qcom&#44;wsa883x&#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;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">WSA883X is the Qualcomm Aqstic smart speaker amplifier
Their primary operating mode uses a SoundWire digital audio
interface. This binding is for SoundWire interface.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sdw10217020200&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-18291f1487c1b45c6138"></a>

### <code>powerdown&#45;gpios</code> — not listed as required here

<div id="dt-2e6eeac1c3055c8550d6">
<p style="white-space: pre-wrap">GPIO spec for Powerdown/Shutdown line to use (pin SD_N)</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-a45b8f093ab270c66c0d"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">Powerdown/Shutdown line to use (pin SD_N)</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-236855bde9eebcc9d904"></a>

### <code>vdd&#45;supply</code> — required here

<div id="dt-bc3e69b335e23d461899">
<p style="white-space: pre-wrap">VDD Supply for the Codec</p>
</div>

<a id="dt-35d9af6df082a7303a4d"></a>

### <code>qcom&#44;port&#45;mapping</code> — not listed as required here

<div id="dt-0b0b62751a230e6b8367">
<p style="white-space: pre-wrap">Specifies static port mapping between slave and master ports.
In the order of slave port index.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a887f13eeec069c4ef8d">[<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-517dd39089c66e85f2e2"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-42eafbee946c75dc6b4d"><code>4</code></span>

<a id="dt-ac9841adea46564de589"></a>

### <code>&#35;thermal&#45;sensor&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-864271cb6a9393891ea2"><code>0</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;vdd&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;thermal&#45;sensor&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-51356188806d31ca2021"></a>

## Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-cd9b886d4ab1d8a8e722"></a>

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-48cc38ffec184df79a62"></a> <span id="dt-bbd3b687ebb435349af2"><code>&#34;powerdown&#45;gpios&#34;</code></span>

<a id="dt-ba873e4d927d6e7d51c4"></a>

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-686ce4562589647d257c"></a> <span id="dt-8060cb7221f215eec82f"><code>&#34;reset&#45;gpios&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

soundwire@3250000 {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x3250000 0x2000&gt;;

    speaker@0,1 {
        compatible = "sdw10217020200";
        reg = &lt;0 1&gt;;
        powerdown-gpios = &lt;&amp;tlmm 1 GPIO_ACTIVE_LOW&gt;;
        vdd-supply = &lt;&amp;vreg_s10b_1p8&gt;;
        #thermal-sensor-cells = &lt;0&gt;;
        #sound-dai-cells = &lt;0&gt;;
        sound-name-prefix = "SpkrLeft";
    };

    speaker@0,2 {
        compatible = "sdw10217020200";
        reg = &lt;0 2&gt;;
        powerdown-gpios = &lt;&amp;tlmm 89 GPIO_ACTIVE_LOW&gt;;
        vdd-supply = &lt;&amp;vreg_s10b_1p8&gt;;
        #thermal-sensor-cells = &lt;0&gt;;
        #sound-dai-cells = &lt;0&gt;;
        sound-name-prefix = "SpkrRight";
    };
};
</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>

</details>

---

# Qualcomm WSA8840/WSA8845/WSA8845H smart speaker amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Qualcomm WSA8840/WSA8845/WSA8845H smart speaker amplifier.

<!-- 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;qcom&#44;wsa8840&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Srinivas Kandagatla &#60;srinivas&#46;kandagatla&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">WSA884X is a family of Qualcomm Aqstic smart speaker amplifiers using SoundWire digital audio interface.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sdw20217020400&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-18291f1487c1b45c6138"></a>

### <code>powerdown&#45;gpios</code> — not listed as required here

<div id="dt-2e6eeac1c3055c8550d6">
<p style="white-space: pre-wrap">Powerdown/Shutdown line to use (pin SD_N)</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-a45b8f093ab270c66c0d"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">Powerdown/Shutdown line to use (pin SD_N)</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-35d9af6df082a7303a4d"></a>

### <code>qcom&#44;port&#45;mapping</code> — not listed as required here

<div id="dt-0b0b62751a230e6b8367">
<p style="white-space: pre-wrap">Specifies static port mapping between slave and master ports.
In the order of slave port index.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a887f13eeec069c4ef8d">[<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-517dd39089c66e85f2e2"><code>6</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-42eafbee946c75dc6b4d"><code>6</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-7bbcb4183cf41acca48e"></a>

### <code>vdd&#45;1p8&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-ac5a064e93f89c8f8c74"></a>

### <code>vdd&#45;io&#45;supply</code> — required here

<code>true</code> — No constraints added by this property 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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vdd&#45;1p8&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;vdd&#45;io&#45;supply&#34;</code></span>

<a id="dt-51356188806d31ca2021"></a>

## Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-cd9b886d4ab1d8a8e722"></a>

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-48cc38ffec184df79a62"></a> <span id="dt-bbd3b687ebb435349af2"><code>&#34;powerdown&#45;gpios&#34;</code></span>

<a id="dt-ba873e4d927d6e7d51c4"></a>

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-686ce4562589647d257c"></a> <span id="dt-8060cb7221f215eec82f"><code>&#34;reset&#45;gpios&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

soundwire {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;0&gt;;

    speaker@0,1 {
        compatible = "sdw20217020400";
        reg = &lt;0 1&gt;;
        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;spkr_2_sd_n_active&gt;;
        powerdown-gpios = &lt;&amp;lpass_tlmm 18 GPIO_ACTIVE_LOW&gt;;
        #sound-dai-cells = &lt;0&gt;;
        sound-name-prefix = "SpkrRight";
        vdd-1p8-supply = &lt;&amp;vreg_l15b_1p8&gt;;
        vdd-io-supply = &lt;&amp;vreg_l3g_1p2&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>

</details>

---

# Realtek ALC203 AC97 Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Realtek ALC203 AC97 Audio Codec.

<!-- 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;realtek&#44;alc203&#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;Keguang Zhang &#60;keguang&#46;zhang&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">ALC203 is a full duplex AC97 2.3 compatible stereo audio codec.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;realtek&#44;alc203&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">audio-codec {
    compatible = "realtek,alc203";
    #sound-dai-cells = &lt;0&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>

</details>

---

# ALC5621/ALC5623 Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for ALC5621/ALC5623 Audio Codec.

<!-- 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;realtek&#44;alc5623&#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;Mahdi Khosravi &#60;mmk1776&#64;gmail&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;realtek&#44;alc5621&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;realtek&#44;alc5623&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-ba4b5f2c3931985aa92d"></a>

### <code>add&#45;ctrl</code> — not listed as required here

<div id="dt-7f75fd99df1b1c9cb8f0">
<p style="white-space: pre-wrap">Default register value for Reg-40h, Additional Control Register. If absent or zero, the register is left untouched.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ef3c26452fbd9528a923">[<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-3e53bd9f952cb2e7a8da"></a>

### <code>jack&#45;det&#45;ctrl</code> — not listed as required here

<div id="dt-865f8c470545951c4a5c">
<p style="white-space: pre-wrap">Default register value for Reg-5Ah, Jack Detect Control Register. If absent or zero, the register is left untouched.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-962587164b96feea5f01">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1a {
        compatible = "realtek,alc5623";
        reg = &lt;0x1a&gt;;
        add-ctrl = &lt;0x3700&gt;;
        jack-det-ctrl = &lt;0x4810&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>

</details>

---

# ALC5632 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for ALC5632 audio CODEC.

<!-- 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;realtek&#44;alc5632&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>Pins on the device (for linking into audio routes):
    * SPK_OUTP
    * SPK_OUTN
    * HP_OUT_L
    * HP_OUT_R
    * AUX_OUT_P
    * AUX_OUT_N
    * LINE_IN_L
    * LINE_IN_R
    * PHONE_P
    * PHONE_N
    * MIC1_P
    * MIC1_N
    * MIC2_P
    * MIC2_N
    * MICBIAS1
    * DMICDAT</code></pre>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Leon Romanovsky &#60;leon&#64;leon&#46;nu&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;realtek&#44;alc5632&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property 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;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#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/gpio/gpio.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@1a {
        compatible = "realtek,alc5632";
        reg = &lt;0x1a&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&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>

</details>

---

# RT1015 Mono Class D Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for RT1015 Mono Class D Audio Amplifier.

<!-- 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;realtek&#44;rt1015&#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;Jack Yu &#60;jack&#46;yu&#64;realtek&#46;com&#62;&#34;</code></span>

<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;realtek&#44;rt1015&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-90a97a67a2bc8acc0b5e"></a>

### <code>realtek&#44;power&#45;up&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-2f7bd2007bb292a86c8b">
<p style="white-space: pre-wrap">Set a delay time for flush work to be completed, this vlaue is adjustable depending on platform.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-85298a9e14f5f0720426"><code>1</code></span>

**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>

<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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@28 {
        compatible = "realtek,rt1015";
        reg = &lt;0x28&gt;;
        realtek,power-up-delay-ms = &lt;50&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>

</details>

---

# Realtek rt1015p codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Realtek rt1015p codec.

<!-- 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;sound&#47;realtek&#44;rt1015p&#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;Tzung&#45;Bi Shih &#60;tzungbi&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Rt1015p is a rt1015 variant which does not support I2C and
only supports S24, 48kHz, 64FS.</p>
</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;realtek&#44;rt1015p&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;realtek&#44;rt1019p&#34;</code></span>

<a id="dt-9537ed057281745e766c"></a>

### <code>sdb&#45;gpios</code> — not listed as required here

<div id="dt-f44c61d6016d831501aa">
<p style="white-space: pre-wrap">GPIO used for shutdown control. 0 means shut down; 1 means power on.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f9df33b31954e44adc8d"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#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/gpio/gpio.h&gt;

rt1015p: rt1015p {
    compatible = "realtek,rt1015p";
    sdb-gpios = &lt;&amp;pio 175 GPIO_ACTIVE_HIGH&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</span></p>

</details>

---

# Reaktek RT1016 Stereo Class D Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Reaktek RT1016 Stereo Class D Audio Amplifier.

<!-- SPDX-License-Identifier: (GPL-2.0 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;realtek&#44;rt1016&#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;oder&#95;chiou&#64;realtek&#46;com&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;realtek&#44;rt1016&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@1a {
        compatible = "realtek,rt1016";
        reg = &lt;0x1a&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 OR BSD-2-Clause)</span></p>

</details>

---

# RT1019 Mono Class-D Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for RT1019 Mono Class-D Audio Amplifier.

<!-- 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;realtek&#44;rt1019&#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;jack&#46;yu&#64;realtek&#46;com&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;realtek&#44;rt1019&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the device.</p>
</div>

**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>

<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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    rt1019: codec@28 {
        compatible = "realtek,rt1019";
        reg = &lt;0x28&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>

</details>

---

# RT5514 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for RT5514 audio CODEC.

<!-- 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;realtek&#44;rt5514&#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;Animesh Agarwal &#60;animeshagarwal28&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This device supports both I2C and SPI.</p>
<pre><code>Pins on the device (for linking into audio routes) for I2C:
  * DMIC1L
  * DMIC1R
  * DMIC2L
  * DMIC2R
  * AMICL
  * AMICR</code></pre>
</div>

<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>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;realtek&#44;rt5514&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Master clock to the CODEC</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The interrupt number to the cpu.</p>
</div>

<a id="dt-53d22b4a8cb3e859ad46"></a>

### <code>realtek&#44;dmic&#45;init&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-6982c3e5a5681d5e627b">
<p style="white-space: pre-wrap">Set the DMIC initial delay (ms) to wait it ready for I2C.</p>
</div>

<a id="dt-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-2a09d6d20023955671c8"></a>

### <code>wakeup&#45;source</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-2b0d8cb9d6b63eab4f97"><code>&#34;boolean&#34;</code></span>

<div id="dt-bc66149156eb778046f0">
<p style="white-space: pre-wrap">Flag to indicate this device can wake system (suspend/resume).</p>
</div>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@57 {
        compatible = "realtek,rt5514";
        reg = &lt;0x57&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>

</details>

---

# ALC5575 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for ALC5575 audio CODEC.

<!-- 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;realtek&#44;rt5575&#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;Oder Chiou &#60;oder&#95;chiou&#64;realtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The device supports both I2C and SPI. I2C is mandatory, while SPI is optional depending on the hardware configuration. SPI is used for firmware loading if present.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;realtek&#44;rt5575&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-0884d2bc468a21fdcaad"></a>

### <code>spi&#45;parent</code> — not listed as required here

<div id="dt-f347eb0de17b5277b0bd">
<p style="white-space: pre-wrap">Optional phandle reference to the SPI controller used for firmware loading. The argument specifies the chip select.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-22e281248e5ce80016fb">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@57 {
        compatible = "realtek,rt5575";
        reg = &lt;0x57&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@57 {
        compatible = "realtek,rt5575";
        reg = &lt;0x57&gt;;
        spi-parent = &lt;&amp;spi0 0&gt;; /* chip-select 0 */
    };
};
</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 40:</strong> <span> I2C-only node</span></p>

<p id="dt-comment-2"><strong>Line 51:</strong> <span> I2C + optional SPI node</span></p>

</details>

---

# Realtek rt5616 ALSA SoC audio codec driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Realtek rt5616 ALSA SoC audio codec driver.

<!-- SPDX-License-Identifier: (GPL-2.0 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;realtek&#44;rt5616&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Pins on the device (for linking into audio routes) for RT5616:</p>
<pre><code>    * IN1P
    * IN2P
    * IN2N
    * LOUTL
    * LOUTR
    * HPOL
    * HPOR</code></pre>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Bard Liao &#60;bardliao&#64;realtek&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;realtek&#44;rt5616&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Master clock to the CODEC</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@1b {
        compatible = "realtek,rt5616";
        reg = &lt;0x1b&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 OR BSD-2-Clause)</span></p>

</details>

---

# ALC5631/RT5631 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for ALC5631/RT5631 audio CODEC.

<!-- 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;realtek&#44;rt5631&#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;Animesh Agarwal &#60;animeshagarwal28&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This device supports I2C only.</p>
<pre><code>Pins on the device (for linking into audio routes):
    * SPK_OUT_R_P
    * SPK_OUT_R_N
    * SPK_OUT_L_P
    * SPK_OUT_L_N
    * HP_OUT_L
    * HP_OUT_R
    * AUX_OUT2_LP
    * AUX_OUT2_RN
    * AUX_OUT1_LP
    * AUX_OUT1_RN
    * AUX_IN_L_JD
    * AUX_IN_R_JD
    * MONO_IN_P
    * MONO_IN_N
    * MIC1_P
    * MIC1_N
    * MIC2_P
    * MIC2_N
    * MONO_OUT_P
    * MONO_OUT_N
    * MICBIAS1
    * MICBIAS2</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;realtek&#44;alc5631&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;realtek&#44;rt5631&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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>

<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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@1a {
        compatible = "realtek,alc5631";
        reg = &lt;0x1a&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>

</details>

---

# RT5640/RT5639 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for RT5640/RT5639 audio CODEC.

<!-- 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;realtek&#44;rt5640&#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;Neil Armstrong &#60;neil&#46;armstrong&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This device supports I2C only.</p>
<pre><code>Pins on the device (for linking into audio routes) for RT5639/RT5640:
  * DMIC1
  * DMIC2
  * MICBIAS1
  * IN1P
  * IN1N
  * IN2P
  * IN2N
  * IN3P
  * IN3N
  * HPOL
  * HPOR
  * LOUTL
  * LOUTR
  * SPOLP
  * SPOLN
  * SPORP
  * SPORN</code></pre>
<pre><code>Additional pins on the device for RT5640:
  * MONOP
  * MONON</code></pre>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;realtek&#44;rt5640&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;realtek&#44;rt5639&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The CODEC's interrupt output.</p>
</div>

<a id="dt-32b79dcec65c217ea9df"></a>

### <code>realtek&#44;in1&#45;differential</code> — not listed as required here

<div id="dt-d209596b9b6cf79e125b">
<p style="white-space: pre-wrap">Indicate MIC1 input is differential, rather than single-ended.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-234c8f52672913f7b406"><code>&#34;boolean&#34;</code></span>

<a id="dt-9681b0329408fb8ed998"></a>

### <code>realtek&#44;in2&#45;differential</code> — not listed as required here

<div id="dt-e5f6808f012d4deca22c">
<p style="white-space: pre-wrap">Indicate MIC2 input is differential, rather than single-ended.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b32c8095c7f34e33efce"><code>&#34;boolean&#34;</code></span>

<a id="dt-d6176a94c1060dbdcfc9"></a>

### <code>realtek&#44;in3&#45;differential</code> — not listed as required here

<div id="dt-18e022d7dfb8b3368a81">
<p style="white-space: pre-wrap">Indicate MIC3 input is differential, rather than single-ended.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-a29df379a850b2b5fc15"><code>&#34;boolean&#34;</code></span>

<a id="dt-bb9deb2b588781661d48"></a>

### <code>realtek&#44;lout&#45;differential</code> — not listed as required here

<div id="dt-4fabaf1ccf3e0c94d2a9">
<p style="white-space: pre-wrap">Indicate LOUT output is differential, rather than single-ended.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-9fdea9c4dd99f7da0b0a"><code>&#34;boolean&#34;</code></span>

<a id="dt-07f1d08db18a51c75d73"></a>

### <code>realtek&#44;dmic1&#45;data&#45;pin</code> — not listed as required here

<div id="dt-20a529d6af09c9ca8d58">
<p style="white-space: pre-wrap">Specify which pin to be used as DMIC1 data pin.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ea5f0749f7d6321689cd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-2c2bd5a925c98d0d7673"></a> <span id="dt-c9f52067c54192dd746e"><code>0</code></span>, <span id="dt-7ea2049f9985fbb9dbe4"><code>1</code></span>, <span id="dt-9ceb19c9e84660d08d18"><code>2</code></span>

<a id="dt-f866c902ef383c560631"></a>

### <code>realtek&#44;dmic2&#45;data&#45;pin</code> — not listed as required here

<div id="dt-35986f32d2230ac47428">
<p style="white-space: pre-wrap">Specify which pin to be used as DMIC2 data pin.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2afe8e669b95969c6443">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-e77508c28e3d2abf9956"></a> <span id="dt-8ac69981563d6319abf4"><code>0</code></span>, <span id="dt-bdc04dda849ecbf0dbab"><code>1</code></span>, <span id="dt-8d4b557a42db13ab0d46"><code>2</code></span>

<a id="dt-d4e5956f98a45a8d4477"></a>

### <code>realtek&#44;jack&#45;detect&#45;source</code> — not listed as required here

<div id="dt-8a7203d0d077c8d34597">
<p style="white-space: pre-wrap">The Jack Detect source.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-80a25b49f6bb7d570d12">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-ab6f56166a8a638eebfc"></a> <span id="dt-44d811338a8737125587"><code>0</code></span>, <span id="dt-cb2159a4bf1d4889ac72"><code>1</code></span>, <span id="dt-6fdd170c48c264a83965"><code>2</code></span>, <span id="dt-b331cdd08bd1a64619bb"><code>3</code></span>, <span id="dt-54c6a866324dd5ec32b0"><code>4</code></span>, <span id="dt-1e2dc9630c578610c712"><code>5</code></span>, <span id="dt-53fd28bb76747549fa6d"><code>6</code></span>, <span id="dt-dc31c93af41e8c775b98"><code>7</code></span>

<a id="dt-0626984c35eb271b5314"></a>

### <code>realtek&#44;jack&#45;detect&#45;not&#45;inverted</code> — not listed as required here

<div id="dt-b84100990f94cf6fb03c">
<p style="white-space: pre-wrap">Normal jack-detect switches give an inverted signal, set this bool in the rare case you've a jack-detect switch which is not inverted.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-074d687e818e642fd87d"><code>&#34;boolean&#34;</code></span>

<a id="dt-a519423af6e4879efb5e"></a>

### <code>realtek&#44;over&#45;current&#45;threshold&#45;microamp</code> — not listed as required here

<div id="dt-9dbfceeeabf971de2681">
<p style="white-space: pre-wrap">micbias over-current detection threshold in µA</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-9f413e08998f118cea4a"></a> <span id="dt-2d8ca8ca85d61b7d2296"><code>600</code></span>, <span id="dt-a868f74ad005042da789"><code>1500</code></span>, <span id="dt-86ae8dbbed0366b79085"><code>2000</code></span>

<a id="dt-9999a74e3b99e651f0fa"></a>

### <code>realtek&#44;over&#45;current&#45;scale&#45;factor</code> — not listed as required here

<div id="dt-44af22f80db06e1577a8">
<p style="white-space: pre-wrap">micbias over-current detection scale-factor</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-925bb0a2e9bc58f1bd11">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-81067ba9e86f7e43adbc"></a> <span id="dt-cd9b30401d213dc6b4bd"><code>0</code></span>, <span id="dt-8d408f6b9b941c726044"><code>1</code></span>, <span id="dt-6037e91b4de0a9bf45f5"><code>2</code></span>, <span id="dt-0e480d8198b9c990735c"><code>3</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1a {
        compatible = "realtek,rt5640";
        reg = &lt;0x1a&gt;;
        interrupt-parent = &lt;&amp;gpio&gt;;
        interrupts = &lt;7 IRQ_TYPE_EDGE_FALLING&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 84:</strong> <span> dmic1 is not used</span></p>

<p id="dt-comment-2"><strong>Line 85:</strong> <span> using IN2P pin as dmic1 data pin</span></p>

<p id="dt-comment-3"><strong>Line 86:</strong> <span> using GPIO3 pin as dmic1 data pin</span></p>

<p id="dt-comment-4"><strong>Line 92:</strong> <span> dmic2 is not used</span></p>

<p id="dt-comment-5"><strong>Line 93:</strong> <span> using IN2N pin as dmic2 data pin</span></p>

<p id="dt-comment-6"><strong>Line 94:</strong> <span> using GPIO4 pin as dmic2 data pin</span></p>

<p id="dt-comment-7"><strong>Line 100:</strong> <span> Jack Detect function is not used</span></p>

<p id="dt-comment-8"><strong>Line 101:</strong> <span> Use GPIO1 for jack-detect</span></p>

<p id="dt-comment-9"><strong>Line 102:</strong> <span> Use JD1_IN4P for jack-detect</span></p>

<p id="dt-comment-10"><strong>Line 103:</strong> <span> Use JD2_IN4N for jack-detect</span></p>

<p id="dt-comment-11"><strong>Line 104:</strong> <span> Use GPIO2 for jack-detect</span></p>

<p id="dt-comment-12"><strong>Line 105:</strong> <span> Use GPIO3 for jack-detect</span></p>

<p id="dt-comment-13"><strong>Line 106:</strong> <span> Use GPIO4 for jack-detect</span></p>

<p id="dt-comment-14"><strong>Line 107:</strong> <span> Use HDA header for jack-detect</span></p>

<p id="dt-comment-15"><strong>Line 126:</strong> <span> Scale current by 0.5</span></p>

<p id="dt-comment-16"><strong>Line 127:</strong> <span> Scale current by 0.75</span></p>

<p id="dt-comment-17"><strong>Line 128:</strong> <span> Scale current by 1.0</span></p>

<p id="dt-comment-18"><strong>Line 129:</strong> <span> Scale current by 1.5</span></p>

</details>

---

# RT5650/RT5645 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for RT5650/RT5645 audio CODEC.

<!-- 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;realtek&#44;rt5645&#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;Animesh Agarwal &#60;animeshagarwal28&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This device supports I2C only.</p>
<pre><code>Pins on the device (for linking into audio routes) for RT5645/RT5650:
  * DMIC L1
  * DMIC R1
  * DMIC L2
  * DMIC R2
  * IN1P
  * IN1N
  * IN2P
  * IN2N
  * Haptic Generator
  * HPOL
  * HPOR
  * LOUTL
  * LOUTR
  * PDM1L
  * PDM1R
  * SPOL
  * SPOR</code></pre>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;realtek&#44;rt5645&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;realtek&#44;rt5650&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The CODEC's interrupt output.</p>
</div>

<a id="dt-14397a69ba55f41119c5"></a>

### <code>avdd&#45;supply</code> — required here

<div id="dt-c928412db05126ef65e3">
<p style="white-space: pre-wrap">Power supply for AVDD, providing 1.8V.</p>
</div>

<a id="dt-a5726dc323f03a3bda32"></a>

### <code>cpvdd&#45;supply</code> — required here

<div id="dt-5f2afb57ff426dea7852">
<p style="white-space: pre-wrap">Power supply for CPVDD, providing 1.8V.</p>
</div>

<a id="dt-ae0006a318e8bdcb0758"></a>

### <code>hp&#45;detect&#45;gpios</code> — not listed as required here

<div id="dt-3e57e76c298b01fde8aa">
<p style="white-space: pre-wrap">A GPIO spec for the external headphone detect pin. If jd-mode = 0, we will get the JD status by getting the value of hp-detect-gpios.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-477c2e6c4d298e62d4d9"><code>1</code></span>

<a id="dt-03f3a01a41efede8a195"></a>

### <code>cbj&#45;sleeve&#45;gpios</code> — not listed as required here

<div id="dt-88c92b7ca28a835abd72">
<p style="white-space: pre-wrap">A GPIO spec to control the external combo jack circuit to tie the sleeve/ring2 contacts to the ground or floating. It could avoid some electric noise from the active speaker jacks.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4634bf725930cd11e1b3"><code>1</code></span>

<a id="dt-9681b0329408fb8ed998"></a>

### <code>realtek&#44;in2&#45;differential</code> — not listed as required here

<div id="dt-e5f6808f012d4deca22c">
<p style="white-space: pre-wrap">Indicate MIC2 input are differential, rather than single-ended.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b32c8095c7f34e33efce"><code>&#34;boolean&#34;</code></span>

<a id="dt-07f1d08db18a51c75d73"></a>

### <code>realtek&#44;dmic1&#45;data&#45;pin</code> — not listed as required here

<div id="dt-20a529d6af09c9ca8d58">
<p style="white-space: pre-wrap">Specify which pin to be used as DMIC1 data pin.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ea5f0749f7d6321689cd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-2c2bd5a925c98d0d7673"></a> <span id="dt-c9f52067c54192dd746e"><code>0</code></span>, <span id="dt-7ea2049f9985fbb9dbe4"><code>1</code></span>, <span id="dt-9ceb19c9e84660d08d18"><code>2</code></span>, <span id="dt-ab52f887beea45e7587e"><code>3</code></span>, <span id="dt-aecb624a4b28e0eff991"><code>4</code></span>

<a id="dt-f866c902ef383c560631"></a>

### <code>realtek&#44;dmic2&#45;data&#45;pin</code> — not listed as required here

<div id="dt-35986f32d2230ac47428">
<p style="white-space: pre-wrap">Specify which pin to be used as DMIC2 data pin.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2afe8e669b95969c6443">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-e77508c28e3d2abf9956"></a> <span id="dt-8ac69981563d6319abf4"><code>0</code></span>, <span id="dt-bdc04dda849ecbf0dbab"><code>1</code></span>, <span id="dt-8d4b557a42db13ab0d46"><code>2</code></span>, <span id="dt-40169776eca68664de35"><code>3</code></span>

<a id="dt-06dc340734073c132a32"></a>

### <code>realtek&#44;jd&#45;mode</code> — not listed as required here

<div id="dt-0e2b928a24d405029d61">
<p style="white-space: pre-wrap">The JD mode of rt5645/rt5650.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-adfbf6921a7d1c1db9d7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-68cc15ecc3aee187324e"></a> <span id="dt-068cbd56b0fd441f41a1"><code>0</code></span>, <span id="dt-8150a087bcbcb6e574a1"><code>1</code></span>, <span id="dt-0940acef842c3bc74708"><code>2</code></span>, <span id="dt-6d5802037f033e1692f4"><code>3</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;avdd&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;cpvdd&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1a {
        compatible = "realtek,rt5650";
        reg = &lt;0x1a&gt;;
        hp-detect-gpios = &lt;&amp;gpio 19 0&gt;;
        cbj-sleeve-gpios = &lt;&amp;gpio 20 0&gt;;
        interrupt-parent = &lt;&amp;gpio&gt;;
        interrupts = &lt;7 IRQ_TYPE_EDGE_FALLING&gt;;
        avdd-supply = &lt;&amp;avdd_reg&gt;;
        cpvdd-supply = &lt;&amp;cpvdd_supply&gt;;
        realtek,jd-mode = &lt;3&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 78:</strong> <span> dmic1 is not used</span></p>

<p id="dt-comment-2"><strong>Line 79:</strong> <span> using IN2P pin as dmic1 data pin</span></p>

<p id="dt-comment-3"><strong>Line 80:</strong> <span> using GPIO6 pin as dmic1 data pin</span></p>

<p id="dt-comment-4"><strong>Line 81:</strong> <span> using GPIO10 pin as dmic1 data pin</span></p>

<p id="dt-comment-5"><strong>Line 82:</strong> <span> using GPIO12 pin as dmic1 data pin</span></p>

<p id="dt-comment-6"><strong>Line 88:</strong> <span> dmic2 is not used</span></p>

<p id="dt-comment-7"><strong>Line 89:</strong> <span> using IN2N pin as dmic2 data pin</span></p>

<p id="dt-comment-8"><strong>Line 90:</strong> <span> using GPIO5 pin as dmic2 data pin</span></p>

<p id="dt-comment-9"><strong>Line 91:</strong> <span> using GPIO11 pin as dmic2 data pin</span></p>

<p id="dt-comment-10"><strong>Line 97:</strong> <span> rt5645/rt5650 JD function is not used</span></p>

<p id="dt-comment-11"><strong>Line 98:</strong> <span> Mode-0 (VDD=3.3V), two port jack detection</span></p>

<p id="dt-comment-12"><strong>Line 99:</strong> <span> Mode-1 (VDD=3.3V), one port jack detection</span></p>

<p id="dt-comment-13"><strong>Line 100:</strong> <span> Mode-2 (VDD=1.8V), one port jack detection</span></p>

</details>

---

# Realtek RT5651 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Realtek RT5651 audio CODEC.

<!-- 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;realtek&#44;rt5651&#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;Bard Liao &#60;bardliao&#64;realtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This device supports I2C only.
Pins on the device (for linking into audio routes) for RT5651:</p>
<pre><code>  * DMIC L1
  * DMIC R1
  * IN1P
  * IN2P
  * IN2N
  * IN3P
  * HPOL
  * HPOR
  * LOUTL
  * LOUTR
  * PDML
  * PDMR</code></pre>
</div>

<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>&#47;schemas&#47;sound&#47;dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;realtek&#44;rt5651&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-9681b0329408fb8ed998"></a>

### <code>realtek&#44;in2&#45;differential</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-b32c8095c7f34e33efce"><code>&#34;boolean&#34;</code></span>

<div id="dt-e5f6808f012d4deca22c">
<p style="white-space: pre-wrap">Indicate MIC2 input are differential, rather than single-ended.</p>
</div>

<a id="dt-db9eca4ebd10e6256bd3"></a>

### <code>realtek&#44;dmic&#45;en</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-117269eedf8bc6ffc0ee"><code>&#34;boolean&#34;</code></span>

<div id="dt-2f7275d709ff9ca9806c">
<p style="white-space: pre-wrap">Indicates DMIC is used.</p>
</div>

<a id="dt-d4e5956f98a45a8d4477"></a>

### <code>realtek&#44;jack&#45;detect&#45;source</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-80a25b49f6bb7d570d12">[<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-8a7203d0d077c8d34597">
<p style="white-space: pre-wrap">Select jack-detect input pin.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-ab6f56166a8a638eebfc"></a> <span id="dt-44d811338a8737125587"><code>1</code></span>, <span id="dt-cb2159a4bf1d4889ac72"><code>2</code></span>, <span id="dt-6fdd170c48c264a83965"><code>3</code></span>

<a id="dt-0626984c35eb271b5314"></a>

### <code>realtek&#44;jack&#45;detect&#45;not&#45;inverted</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-074d687e818e642fd87d"><code>&#34;boolean&#34;</code></span>

<div id="dt-b84100990f94cf6fb03c">
<p style="white-space: pre-wrap">Normal jack-detect switches give an inverted (active-low) signal. Set this bool in the rare case you've a jack-detect switch which is not inverted.</p>
</div>

<a id="dt-a519423af6e4879efb5e"></a>

### <code>realtek&#44;over&#45;current&#45;threshold&#45;microamp</code> — not listed as required here

<div id="dt-9dbfceeeabf971de2681">
<p style="white-space: pre-wrap">Micbias over-current detection threshold in µA.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-9f413e08998f118cea4a"></a> <span id="dt-2d8ca8ca85d61b7d2296"><code>600</code></span>, <span id="dt-a868f74ad005042da789"><code>1500</code></span>, <span id="dt-86ae8dbbed0366b79085"><code>2000</code></span>

<a id="dt-9999a74e3b99e651f0fa"></a>

### <code>realtek&#44;over&#45;current&#45;scale&#45;factor</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-925bb0a2e9bc58f1bd11">[<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-44af22f80db06e1577a8">
<p style="white-space: pre-wrap">Micbias over-current detection scale factor:</p>
<pre><code>  0: scale current by 0.5
  1: scale current by 0.75
  2: scale current by 1.0
  3: scale current by 1.5</code></pre>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-81067ba9e86f7e43adbc"></a> <span id="dt-cd9b30401d213dc6b4bd"><code>0</code></span>, <span id="dt-8d408f6b9b941c726044"><code>1</code></span>, <span id="dt-6037e91b4de0a9bf45f5"><code>2</code></span>, <span id="dt-0e480d8198b9c990735c"><code>3</code></span>

**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>

<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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@1a {
        compatible = "realtek,rt5651";
        reg = &lt;0x1a&gt;;
        realtek,dmic-en;
        realtek,in2-differential;
    };
};
</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>

</details>

---

# RT5659/RT5658 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for RT5659/RT5658 audio CODEC.

<!-- 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;realtek&#44;rt5659&#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;Animesh Agarwal &#60;animeshagarwal28&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This device supports I2C only.</p>
<pre><code>Pins on the device (for linking into audio routes) for RT5659/RT5658:
  * DMIC L1
  * DMIC R1
  * DMIC L2
  * DMIC R2
  * IN1P
  * IN1N
  * IN2P
  * IN2N
  * IN3P
  * IN3N
  * IN4P
  * IN4N
  * HPOL
  * HPOR
  * SPOL
  * SPOR
  * LOUTL
  * LOUTR
  * MONOOUT
  * PDML
  * PDMR
  * SPDIF</code></pre>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;realtek&#44;rt5659&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;realtek&#44;rt5658&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

<a id="dt-07f1d08db18a51c75d73"></a>

### <code>realtek&#44;dmic1&#45;data&#45;pin</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ea5f0749f7d6321689cd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-2c2bd5a925c98d0d7673"></a> <span id="dt-c9f52067c54192dd746e"><code>0</code></span>, <span id="dt-7ea2049f9985fbb9dbe4"><code>1</code></span>, <span id="dt-9ceb19c9e84660d08d18"><code>2</code></span>, <span id="dt-ab52f887beea45e7587e"><code>3</code></span>, <span id="dt-aecb624a4b28e0eff991"><code>4</code></span>

<div id="dt-20a529d6af09c9ca8d58">
<p style="white-space: pre-wrap">Specify which pin to be used as DMIC1 data pin.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-c5e68940f52833cea58d"><code>0</code></span>

<a id="dt-f866c902ef383c560631"></a>

### <code>realtek&#44;dmic2&#45;data&#45;pin</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2afe8e669b95969c6443">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-e77508c28e3d2abf9956"></a> <span id="dt-8ac69981563d6319abf4"><code>0</code></span>, <span id="dt-bdc04dda849ecbf0dbab"><code>1</code></span>, <span id="dt-8d4b557a42db13ab0d46"><code>2</code></span>, <span id="dt-40169776eca68664de35"><code>3</code></span>, <span id="dt-97eb1744fdedfd66bdff"><code>4</code></span>

<div id="dt-35986f32d2230ac47428">
<p style="white-space: pre-wrap">Specify which pin to be used as DMIC2 data pin.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-e1be4bdb60f491c7923d"><code>0</code></span>

<a id="dt-c316275c195e57b58b11"></a>

### <code>realtek&#44;jd&#45;src</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-227141f0f9dd65e056f2">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-5f539729be2423e9164a"></a> <span id="dt-b64a879b2d62a82caffa"><code>0</code></span>, <span id="dt-816eb94a75b6e79bb5e6"><code>1</code></span>, <span id="dt-933c315366c468aa4846"><code>2</code></span>

<div id="dt-d6a7bd857bb4e4f1806e">
<p style="white-space: pre-wrap">Specify which JD source be used.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-80819afd486cd29b80d1"><code>0</code></span>

<a id="dt-b1e658bd5f4f045a29de"></a>

### <code>realtek&#44;ldo1&#45;en&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7d86e47ac0ded704b6bb"><code>1</code></span>

<div id="dt-9142df446c8d42cf7680">
<p style="white-space: pre-wrap">CODEC's LDO1_EN pin.</p>
</div>

<a id="dt-6dd2015ed332e7c7d7be"></a>

### <code>realtek&#44;reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-1d2bddfb882c500a042b"><code>1</code></span>

<div id="dt-c7e82e08e27a1eb6ca17">
<p style="white-space: pre-wrap">CODEC's RESET pin.</p>
</div>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1b {
        compatible = "realtek,rt5659";
        reg = &lt;0x1b&gt;;
        interrupt-parent = &lt;&amp;gpio&gt;;
        interrupts = &lt;3 IRQ_TYPE_LEVEL_HIGH&gt;;
        realtek,ldo1-en-gpios = &lt;&amp;gpio 3 GPIO_ACTIVE_HIGH&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 63:</strong> <span> dmic1 is not used</span></p>

<p id="dt-comment-2"><strong>Line 64:</strong> <span> using IN2N pin as dmic1 data pin</span></p>

<p id="dt-comment-3"><strong>Line 65:</strong> <span> using GPIO5 pin as dmic1 data pin</span></p>

<p id="dt-comment-4"><strong>Line 66:</strong> <span> using GPIO9 pin as dmic1 data pin</span></p>

<p id="dt-comment-5"><strong>Line 67:</strong> <span> using GPIO11 pin as dmic1 data pin</span></p>

<p id="dt-comment-6"><strong>Line 74:</strong> <span> dmic2 is not used</span></p>

<p id="dt-comment-7"><strong>Line 75:</strong> <span> using IN2P pin as dmic2 data pin</span></p>

<p id="dt-comment-8"><strong>Line 76:</strong> <span> using GPIO6 pin as dmic2 data pin</span></p>

<p id="dt-comment-9"><strong>Line 77:</strong> <span> using GPIO10 pin as dmic2 data pin</span></p>

<p id="dt-comment-10"><strong>Line 78:</strong> <span> using GPIO12 pin as dmic2 data pin</span></p>

<p id="dt-comment-11"><strong>Line 85:</strong> <span> No JD is used</span></p>

<p id="dt-comment-12"><strong>Line 86:</strong> <span> using JD3 as JD source</span></p>

<p id="dt-comment-13"><strong>Line 87:</strong> <span> JD source for Intel HDA header</span></p>

</details>

---

# RT5677 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for RT5677 audio CODEC.

<!-- 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;realtek&#44;rt5677&#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;Animesh Agarwal &#60;animeshagarwal28&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This device supports I2C only.</p>
<pre><code>Pins on the device (for linking into audio routes):
  * IN1P
  * IN1N
  * IN2P
  * IN2N
  * MICBIAS1
  * DMIC1
  * DMIC2
  * DMIC3
  * DMIC4
  * LOUT1
  * LOUT2
  * LOUT3</code></pre>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;realtek&#44;rt5677&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-d7994d61dd22bd976279"></a>

### <code>realtek&#44;pow&#45;ldo2&#45;gpio</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4cf13f0a6f754ced3822"><code>1</code></span>

<div id="dt-f62be44452495fd4509a">
<p style="white-space: pre-wrap">CODEC's POW_LDO2 pin.</p>
</div>

<a id="dt-8ef7dfe80d9c58a51c5f"></a>

### <code>realtek&#44;reset&#45;gpio</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8838fac54acabb26ce7d"><code>1</code></span>

<div id="dt-6e98bc4d82e0f0812087">
<p style="white-space: pre-wrap">CODEC's RESET pin. Active low.</p>
</div>

<a id="dt-857aa4670059f61b2951"></a>

### <code>realtek&#44;gpio&#45;config</code> — not listed as required here

<div id="dt-995cbf1607c0d32e3aa8">
<p style="white-space: pre-wrap">Array of six 8bit elements that configures GPIO.
0 - floating (reset value)
1 - pull down
2 - pull up</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-971c62745b5849c78d6b">[<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-bd401b27f90a1137f845"><code>6</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-afc3e38fc69e5e1c017c"><code>6</code></span>

<a id="dt-499dcd8adf318ceaa064"></a>

#### Array item rules (<code>items</code>)

> **Maximum value (<code>maximum</code>):** <span id="dt-a98377d2606449ac99fe"><code>2</code></span>

<a id="dt-c445dd8628f408c0ab00"></a>

### <code>realtek&#44;jd1&#45;gpio</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-81990b59bfe2f9a20e95">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-5358a2dc46f354e1738a"></a> <span id="dt-28a17f44df80c1439143"><code>0</code></span>, <span id="dt-79c37156fa2a782f9538"><code>1</code></span>, <span id="dt-6090969cfdcc36d4179f"><code>2</code></span>, <span id="dt-738437a8962fe163d3a8"><code>3</code></span>

<div id="dt-fe2b1100bbc7cb8c18e7">
<p style="white-space: pre-wrap">Configures GPIO Mic Jack detection 1.</p>
</div>

<a id="dt-0a4ee2aea5115cd3e5f9"></a>

### <code>realtek&#44;jd2&#45;gpio</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-610200a2857149656b5a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-fb16818b2625a74b8a65"></a> <span id="dt-4c347181971b6e4f050e"><code>0</code></span>, <span id="dt-2c3e509f3000aed4f989"><code>1</code></span>, <span id="dt-ff206e1e6d5cb814ca56"><code>2</code></span>, <span id="dt-476dd3ca24844dcdfd43"><code>3</code></span>

<div id="dt-0a80230423c44c400fb8">
<p style="white-space: pre-wrap">Configures GPIO Mic Jack detection 2.</p>
</div>

<a id="dt-29e9cbb2fef11f209f2a"></a>

### <code>realtek&#44;jd3&#45;gpio</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9dc299d55635362fbd41">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-2f9b1965cf4c74e74ef7"></a> <span id="dt-f2b31ce78448e3a16ceb"><code>0</code></span>, <span id="dt-174c7cdcf971ea9d7aee"><code>1</code></span>, <span id="dt-5949a1e6798cb91ec449"><code>2</code></span>, <span id="dt-cf79387746195877eae4"><code>3</code></span>

<div id="dt-356a86b263ae4fd7bd40">
<p style="white-space: pre-wrap">Configures GPIO Mic Jack detection 3.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-bb51515856bcbf6879ac"></a>

### <code>&#94;realtek&#44;in&#91;1&#45;2&#93;&#45;differential&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-19725e6b55f73c931770"><code>&#34;boolean&#34;</code></span>

<div id="dt-466962308259fafd486d">
<p style="white-space: pre-wrap">Indicate MIC1/2 input are differential, rather than single-ended.</p>
</div>

<a id="dt-b505244ced4e5fb58cd4"></a>

### <code>&#94;realtek&#44;lout&#91;1&#45;3&#93;&#45;differential&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-9312701454fad6e80181"><code>&#34;boolean&#34;</code></span>

<div id="dt-71b7bf0841b06b353569">
<p style="white-space: pre-wrap">Indicate LOUT1/2/3 outputs are differential, rather than single-ended.</p>
</div>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@2c {
        compatible = "realtek,rt5677";
        reg = &lt;0x2c&gt;;
        interrupt-parent = &lt;&amp;gpio&gt;;
        interrupts = &lt;3 IRQ_TYPE_LEVEL_HIGH&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        realtek,pow-ldo2-gpio = &lt;&amp;gpio 3 GPIO_ACTIVE_HIGH&gt;;
        realtek,reset-gpio = &lt;&amp;gpio 3 GPIO_ACTIVE_LOW&gt;;
        realtek,in1-differential;
        realtek,gpio-config = &lt;0 0 0 0 0 2&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 70:</strong> <span> OFF</span></p>

<p id="dt-comment-2"><strong>Line 71:</strong> <span> GPIO1 for jd1.</span></p>

<p id="dt-comment-3"><strong>Line 72:</strong> <span> GPIO2 for jd1.</span></p>

<p id="dt-comment-4"><strong>Line 73:</strong> <span> GPIO3 for jd1.</span></p>

<p id="dt-comment-5"><strong>Line 79:</strong> <span> OFF</span></p>

<p id="dt-comment-6"><strong>Line 80:</strong> <span> GPIO4 for jd2.</span></p>

<p id="dt-comment-7"><strong>Line 81:</strong> <span> GPIO5 for jd2.</span></p>

<p id="dt-comment-8"><strong>Line 82:</strong> <span> GPIO6 for jd2.</span></p>

<p id="dt-comment-9"><strong>Line 88:</strong> <span> OFF</span></p>

<p id="dt-comment-10"><strong>Line 89:</strong> <span> GPIO4 for jd3.</span></p>

<p id="dt-comment-11"><strong>Line 90:</strong> <span> GPIO5 for jd3.</span></p>

<p id="dt-comment-12"><strong>Line 91:</strong> <span> GPIO6 for jd3.</span></p>

</details>

---

# Realtek rt5682 and rt5682i codecs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Realtek rt5682 and rt5682i codecs.

<!-- 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;realtek&#44;rt5682&#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;Bard Liao &#60;bardliao&#64;realtek&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;realtek&#44;rt5682&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;realtek&#44;rt5682i&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the device.</p>
</div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The CODEC's interrupt output.</p>
</div>

<a id="dt-07f1d08db18a51c75d73"></a>

### <code>realtek&#44;dmic1&#45;data&#45;pin</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ea5f0749f7d6321689cd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-2c2bd5a925c98d0d7673"></a> <span id="dt-c9f52067c54192dd746e"><code>0</code></span>, <span id="dt-7ea2049f9985fbb9dbe4"><code>1</code></span>, <span id="dt-9ceb19c9e84660d08d18"><code>2</code></span>

<div id="dt-20a529d6af09c9ca8d58">
<p style="white-space: pre-wrap">Specify which GPIO pin be used as DMIC1 data pin.</p>
</div>

<a id="dt-bee7640726a4d9d93a58"></a>

### <code>realtek&#44;dmic1&#45;clk&#45;pin</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0afea6819c42627eda78">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-efd8c98852f08610b843"></a> <span id="dt-df8ddfa0ec646eea3acf"><code>0</code></span>, <span id="dt-fbb7c5075e6c4524cbb2"><code>1</code></span>

<div id="dt-71c46a533b7bafd61c47">
<p style="white-space: pre-wrap">Specify which GPIO pin be used as DMIC1 clk pin.</p>
</div>

<a id="dt-c316275c195e57b58b11"></a>

### <code>realtek&#44;jd&#45;src</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-227141f0f9dd65e056f2">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-5f539729be2423e9164a"></a> <span id="dt-b64a879b2d62a82caffa"><code>0</code></span>, <span id="dt-816eb94a75b6e79bb5e6"><code>1</code></span>

<div id="dt-d6a7bd857bb4e4f1806e">
<p style="white-space: pre-wrap">Specify which JD source be used.</p>
</div>

<a id="dt-b1e658bd5f4f045a29de"></a>

### <code>realtek&#44;ldo1&#45;en&#45;gpios</code> — not listed as required here

<div id="dt-9142df446c8d42cf7680">
<p style="white-space: pre-wrap">The GPIO that controls the CODEC's LDO1_EN pin.</p>
</div>

<a id="dt-2328a31bc6fb30314816"></a>

### <code>realtek&#44;btndet&#45;delay</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d899142602068de6c28a">[<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-711a00487afe1718dadd">
<p style="white-space: pre-wrap">The debounce delay for push button. The delay time is realtek,btndet-delay value multiple of 8.192 ms. If absent, the default is 16.</p>
</div>

<a id="dt-16eca591d12c8f2c365f"></a>

### <code>realtek&#44;dmic&#45;clk&#45;rate&#45;hz</code> — not listed as required here

<div id="dt-cd4affdfea3b87d98d6e">
<p style="white-space: pre-wrap">Set the clock rate (hz) for the requirement of the particular DMIC.</p>
</div>

<a id="dt-99f509693a26848a0811"></a>

### <code>realtek&#44;dmic&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-9983acca6889b14a55bc">
<p style="white-space: pre-wrap">Set the delay time (ms) for the requirement of the particular DMIC.</p>
</div>

<a id="dt-b6b4f84a6988e542beca"></a>

### <code>realtek&#44;dmic&#45;clk&#45;driving&#45;high</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-73fee605f87738ec7c44"><code>&#34;boolean&#34;</code></span>

<div id="dt-1352fd2125a2c11a2a82">
<p style="white-space: pre-wrap">Set the high driving of the DMIC clock out.</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">phandle and clock specifier for codec MCLK.</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>1</code></span>

<a id="dt-ce7ce65ef6912a262371"></a>

### <code>clock&#45;output&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-425996d2e9b5a3acdc67"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-48bdbc8ce79b7a10c6b6"><code>2</code></span>

<div id="dt-1944bc0b47114a0d6f2d">
<p style="white-space: pre-wrap">Name given for DAI word clock and bit clock outputs.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">Regulator supplying analog power through the AVDD pin.</p>
</div>

<a id="dt-90c8e6ce8abd8198a2ee"></a>

### <code>MICVDD&#45;supply</code> — required here

<div id="dt-34bfdf642bcd3dd0f0a7">
<p style="white-space: pre-wrap">Regulator supplying power for the microphone bias through the MICVDD pin.</p>
</div>

<a id="dt-2b256df812b8385105dd"></a>

### <code>VBAT&#45;supply</code> — required here

<div id="dt-04f6b320b2491281a02e">
<p style="white-space: pre-wrap">Regulator supplying battery power through the VBAT pin.</p>
</div>

<a id="dt-fd18faf11ae6aa072011"></a>

### <code>DBVDD&#45;supply</code> — required here

<div id="dt-da8631045899fc03bff5">
<p style="white-space: pre-wrap">Regulator supplying I/O power through the DBVDD pin.</p>
</div>

<a id="dt-0c178cc07feb4f0133ae"></a>

### <code>LDO1&#45;IN&#45;supply</code> — required here

<div id="dt-6964f16cbf4ea30f1bc0">
<p style="white-space: pre-wrap">Regulator supplying power to the digital core and charge pump through the LDO1_IN pin.</p>
</div>

**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;AVDD&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;VBAT&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;MICVDD&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;DBVDD&#45;supply&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;LDO1&#45;IN&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1a {
        compatible = "realtek,rt5682";
        reg = &lt;0x1a&gt;;
        interrupts = &lt;6 IRQ_TYPE_LEVEL_HIGH&gt;;
        realtek,ldo1-en-gpios =
            &lt;&amp;gpio 2 GPIO_ACTIVE_HIGH&gt;;
        realtek,dmic1-data-pin = &lt;1&gt;;
        realtek,dmic1-clk-pin = &lt;1&gt;;
        realtek,jd-src = &lt;1&gt;;

        #clock-cells = &lt;1&gt;;
        clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";

        clocks = &lt;&amp;osc&gt;;
        clock-names = "mclk";

        AVDD-supply = &lt;&amp;avdd_reg&gt;;
        VBAT-supply = &lt;&amp;vbat_reg&gt;;
        MICVDD-supply = &lt;&amp;micvdd_reg&gt;;
        DBVDD-supply = &lt;&amp;dbvdd_reg&gt;;
        LDO1-IN-supply = &lt;&amp;ldo1_in_reg&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 32:</strong> <span> dmic1 data is not used</span></p>

<p id="dt-comment-2"><strong>Line 33:</strong> <span> using GPIO2 pin as dmic1 data pin</span></p>

<p id="dt-comment-3"><strong>Line 34:</strong> <span> using GPIO5 pin as dmic1 data pin</span></p>

<p id="dt-comment-4"><strong>Line 41:</strong> <span> using GPIO1 pin as dmic1 clock pin</span></p>

<p id="dt-comment-5"><strong>Line 42:</strong> <span> using GPIO3 pin as dmic1 clock pin</span></p>

<p id="dt-comment-6"><strong>Line 49:</strong> <span> No JD is used</span></p>

<p id="dt-comment-7"><strong>Line 50:</strong> <span> using JD1 as JD source</span></p>

</details>

---

# Realtek rt5682s codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Realtek rt5682s codec.

<!-- 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;realtek&#44;rt5682s&#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;Derek Fang &#60;derek&#46;fang&#64;realtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;realtek&#44;rt5682s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the device.</p>
</div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The CODEC's interrupt output.</p>
</div>

<a id="dt-07f1d08db18a51c75d73"></a>

### <code>realtek&#44;dmic1&#45;data&#45;pin</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ea5f0749f7d6321689cd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-2c2bd5a925c98d0d7673"></a> <span id="dt-c9f52067c54192dd746e"><code>0</code></span>, <span id="dt-7ea2049f9985fbb9dbe4"><code>1</code></span>, <span id="dt-9ceb19c9e84660d08d18"><code>2</code></span>

<div id="dt-20a529d6af09c9ca8d58">
<p style="white-space: pre-wrap">Specify which GPIO pin be used as DMIC1 data pin.</p>
</div>

<a id="dt-bee7640726a4d9d93a58"></a>

### <code>realtek&#44;dmic1&#45;clk&#45;pin</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0afea6819c42627eda78">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-efd8c98852f08610b843"></a> <span id="dt-df8ddfa0ec646eea3acf"><code>0</code></span>, <span id="dt-fbb7c5075e6c4524cbb2"><code>1</code></span>, <span id="dt-a7e2a441f3503e7e0bb9"><code>2</code></span>

<div id="dt-71c46a533b7bafd61c47">
<p style="white-space: pre-wrap">Specify which GPIO pin be used as DMIC1 clk pin.</p>
</div>

<a id="dt-c316275c195e57b58b11"></a>

### <code>realtek&#44;jd&#45;src</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-227141f0f9dd65e056f2">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-5f539729be2423e9164a"></a> <span id="dt-b64a879b2d62a82caffa"><code>0</code></span>, <span id="dt-816eb94a75b6e79bb5e6"><code>1</code></span>

<div id="dt-d6a7bd857bb4e4f1806e">
<p style="white-space: pre-wrap">Specify which JD source be used.</p>
</div>

<a id="dt-b1e658bd5f4f045a29de"></a>

### <code>realtek&#44;ldo1&#45;en&#45;gpios</code> — not listed as required here

<div id="dt-9142df446c8d42cf7680">
<p style="white-space: pre-wrap">The GPIO that controls the CODEC's LDO1_EN pin.</p>
</div>

<a id="dt-16eca591d12c8f2c365f"></a>

### <code>realtek&#44;dmic&#45;clk&#45;rate&#45;hz</code> — not listed as required here

<div id="dt-cd4affdfea3b87d98d6e">
<p style="white-space: pre-wrap">Set the clock rate (hz) for the requirement of the particular DMIC.</p>
</div>

<a id="dt-99f509693a26848a0811"></a>

### <code>realtek&#44;dmic&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-9983acca6889b14a55bc">
<p style="white-space: pre-wrap">Set the delay time (ms) for the requirement of the particular DMIC.</p>
</div>

<a id="dt-fde69984139c81fb8f25"></a>

### <code>realtek&#44;amic&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-446f62c67e06a1436161">
<p style="white-space: pre-wrap">Set the delay time (ms) for the requirement of the particular platform or AMIC.</p>
</div>

<a id="dt-b6b4f84a6988e542beca"></a>

### <code>realtek&#44;dmic&#45;clk&#45;driving&#45;high</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-73fee605f87738ec7c44"><code>&#34;boolean&#34;</code></span>

<div id="dt-1352fd2125a2c11a2a82">
<p style="white-space: pre-wrap">Set the high driving of the DMIC clock out.</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">phandle and clock specifier for codec MCLK.</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>1</code></span>

<a id="dt-ce7ce65ef6912a262371"></a>

### <code>clock&#45;output&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-425996d2e9b5a3acdc67"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-48bdbc8ce79b7a10c6b6"><code>2</code></span>

<div id="dt-1944bc0b47114a0d6f2d">
<p style="white-space: pre-wrap">Name given for DAI word clock and bit clock outputs.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">Regulator supplying analog power through the AVDD pin.</p>
</div>

<a id="dt-90c8e6ce8abd8198a2ee"></a>

### <code>MICVDD&#45;supply</code> — required here

<div id="dt-34bfdf642bcd3dd0f0a7">
<p style="white-space: pre-wrap">Regulator supplying power for the microphone bias through the MICVDD pin.</p>
</div>

<a id="dt-fd18faf11ae6aa072011"></a>

### <code>DBVDD&#45;supply</code> — required here

<div id="dt-da8631045899fc03bff5">
<p style="white-space: pre-wrap">Regulator supplying I/O power through the DBVDD pin.</p>
</div>

<a id="dt-0c178cc07feb4f0133ae"></a>

### <code>LDO1&#45;IN&#45;supply</code> — required here

<div id="dt-6964f16cbf4ea30f1bc0">
<p style="white-space: pre-wrap">Regulator supplying power to the digital core and charge pump through the LDO1_IN pin.</p>
</div>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;AVDD&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;MICVDD&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;DBVDD&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;LDO1&#45;IN&#45;supply&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1a {
        compatible = "realtek,rt5682s";
        reg = &lt;0x1a&gt;;
        interrupts = &lt;6 IRQ_TYPE_LEVEL_HIGH&gt;;
        realtek,ldo1-en-gpios =
            &lt;&amp;gpio 2 GPIO_ACTIVE_HIGH&gt;;
        realtek,dmic1-data-pin = &lt;1&gt;;
        realtek,dmic1-clk-pin = &lt;1&gt;;
        realtek,jd-src = &lt;1&gt;;

        #clock-cells = &lt;1&gt;;
        clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";

        clocks = &lt;&amp;osc&gt;;
        clock-names = "mclk";

        AVDD-supply = &lt;&amp;avdd_reg&gt;;
        MICVDD-supply = &lt;&amp;micvdd_reg&gt;;
        DBVDD-supply = &lt;&amp;dbvdd_reg&gt;;
        LDO1-IN-supply = &lt;&amp;ldo1_in_reg&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 33:</strong> <span> dmic1 data is not used</span></p>

<p id="dt-comment-2"><strong>Line 34:</strong> <span> using GPIO2 pin as dmic1 data pin</span></p>

<p id="dt-comment-3"><strong>Line 35:</strong> <span> using GPIO5 pin as dmic1 data pin</span></p>

<p id="dt-comment-4"><strong>Line 42:</strong> <span> dmic1 clk is not used</span></p>

<p id="dt-comment-5"><strong>Line 43:</strong> <span> using GPIO1 pin as dmic1 clock pin</span></p>

<p id="dt-comment-6"><strong>Line 44:</strong> <span> using GPIO3 pin as dmic1 clock pin</span></p>

<p id="dt-comment-7"><strong>Line 51:</strong> <span> No JD is used</span></p>

<p id="dt-comment-8"><strong>Line 52:</strong> <span> using JD1 as JD source</span></p>

</details>

---

# Renesas FIFO-buffered Serial Interface (FSI)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Renesas FIFO-buffered Serial Interface (FSI).

<!-- 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;sound&#47;renesas&#44;fsi&#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-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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;sound&#64;&#46;&#42;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;renesas&#44;fsi2&#45;sh73a0&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;renesas&#44;fsi2&#45;r8a7740&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9cd758e5ad85b04d8a92"></a> <span id="dt-6876dcb874892768c533"><code>&#34;renesas&#44;sh&#95;fsi2&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;renesas&#44;sh&#95;fsi&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;renesas&#44;sh&#95;fsi2&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-37f7eb0b8c63a890190f"></a>

### <code>&#94;fsi&#40;a&#124;b&#41;&#44;spdif&#45;connection&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5e54b7a8627dab20f3a5">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-3d61cebd0ef18121b9d3">
<p style="white-space: pre-wrap">FSI is connected by S/PDIF</p>
</div>

<a id="dt-0dfa86c8bb62bfae5a13"></a>

### <code>&#94;fsi&#40;a&#124;b&#41;&#44;stream&#45;mode&#45;support&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1cfd0be74a7eec10710a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-3e186e67e14e6e516a06">
<p style="white-space: pre-wrap">FSI supports 16bit stream mode</p>
</div>

<a id="dt-132769de096f0e5e010d"></a>

### <code>&#94;fsi&#40;a&#124;b&#41;&#44;use&#45;internal&#45;clock&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c352ca1578e10ff1bc29">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-eee0c094add1967a0eac">
<p style="white-space: pre-wrap">FSI uses internal clock when master mode</p>
</div>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/r8a7740-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
sh_fsi2: sound@fe1f0000 {
        compatible = "renesas,fsi2-r8a7740", "renesas,sh_fsi2";
        reg = &lt;0xfe1f0000 0x400&gt;;
        interrupts = &lt;GIC_SPI 9 0x4&gt;;
        clocks = &lt;&amp;mstp3_clks R8A7740_CLK_FSI&gt;;
        power-domains = &lt;&amp;pd_a4mp&gt;;

        #sound-dai-cells = &lt;1&gt;;
        fsia,spdif-connection;
        fsia,stream-mode-support;
        fsia,use-internal-clock;
};
</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</span></p>

<p id="dt-comment-1"><strong>Line 21:</strong> <span> for FSI2 SoC</span></p>

<p id="dt-comment-2"><strong>Line 24:</strong> <span> SH-Mobile AG5</span></p>

<p id="dt-comment-3"><strong>Line 25:</strong> <span> R-Mobile A1</span></p>

<p id="dt-comment-4"><strong>Line 28:</strong> <span> for Generic</span></p>

</details>

---

# Renesas IDT821034 codec device

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Renesas IDT821034 codec device.

<!-- 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;renesas&#44;idt821034&#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;Herve Codina &#60;herve&#46;codina&#64;bootlin&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The IDT821034 codec is a four channel PCM codec with onchip filters and
programmable gain setting.</p>
<p style="white-space: pre-wrap">The time-slots used by the codec must be set and so, the properties
'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and
'dai-tdm-slot-rx-mask' must be present in the ALSA sound card node for
sub-nodes that involve the codec. The codec uses one 8bit time-slot per
channel.
'dai-tdm-tdm-slot-with' must be set to 8.</p>
<p style="white-space: pre-wrap">The IDT821034 codec also supports 5 gpios (SLIC signals) per channel.</p>
</div>

<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>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;renesas&#44;idt821034&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">SPI device address.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-f17e1c3bb71259096275"><code>8192000</code></span>

<a id="dt-0a35716b647e2a1e66ce"></a>

### <code>spi&#45;cpha</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property 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;spi&#45;cpha&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    audio-codec@0 {
        compatible = "renesas,idt821034";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;8192000&gt;;
        spi-cpha;
        #sound-dai-cells = &lt;0&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&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>

</details>

---

# Renesas R-Car Sound Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Renesas R-Car Sound Driver.

<!-- 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;renesas&#44;rsnd&#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-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7778&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7779&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen1&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7742&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7743&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7744&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7745&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a77470&#34;</code></span>, <span id="dt-05b29c21ca38ad337d53"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7790&#34;</code></span>, <span id="dt-93c2763ada782db7e26c"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7791&#34;</code></span>, <span id="dt-36a81d983bbaf2a6b89d"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7793&#34;</code></span>, <span id="dt-bbccc6a1a74023520617"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7794&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen2&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a774a1&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a774b1&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a774c0&#34;</code></span>, <span id="dt-7337bb6973adc8f5010d"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a774e1&#34;</code></span>, <span id="dt-2a4824de128057522b89"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7795&#34;</code></span>, <span id="dt-9d0b7e5fcd963b685b0d"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a7796&#34;</code></span>, <span id="dt-53e062f93be7aa5d7bb3"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a77961&#34;</code></span>, <span id="dt-6bdd021aae4cd71c629b"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a77965&#34;</code></span>, <span id="dt-f0a41fb0ccb86c57a4ce"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a77990&#34;</code></span>, <span id="dt-5697b2b922b4810e5e2a"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a77995&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen3&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a779g0&#34;</code></span>, <span id="dt-f0654d9dc65c16ce7d6a"><code>&#34;renesas&#44;rcar&#95;sound&#45;r8a779h0&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen4&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> **Allowed values (<code>enum</code>):** <a id="dt-78e29080fba906436b34"></a> <span id="dt-2db59273bf1b9e9ca307"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen1&#34;</code></span>, <span id="dt-fb96169e79112d83b1e6"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen2&#34;</code></span>, <span id="dt-ef74eaa279f9fa788030"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen3&#34;</code></span>, <span id="dt-9291a2540cc5f63a53a4"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen4&#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>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>5</code></span>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-3f2820449161ca72af98"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-58a7d566e1c7a6b0e414"><code>5</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

<div id="dt-c6fec2b67f85839e5c16">
<p style="white-space: pre-wrap">it must be 0 if your system is using single DAI
it must be 1 if your system is using multi  DAIs
This is used on simple-audio-card</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-e3f706c9f572bc7f095d"></a> <span id="dt-266d930490f5dab7d95f"><code>0</code></span>, <span id="dt-3ada6c9b25a2310fa7d9"><code>1</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

<div id="dt-6709a835409866cbd3af">
<p style="white-space: pre-wrap">it must be 0 if your system has audio_clkout
it must be 1 if your system has audio_clkout0/1/2/3</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d23cb1d475343059cedc"></a> <span id="dt-0e66305ef7f3fb6ad042"><code>0</code></span>, <span id="dt-9b89ddbaffd2f8595ef2"><code>1</code></span>

<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>1</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>0</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">for audio_clkout0/1/2/3</p>
</div>

<a id="dt-8008c89de43c332a8de9"></a>

### <code>clkout&#45;lr&#45;asynchronous</code> — not listed as required here

<div id="dt-fe4fd6bf81f27cad9435">
<p style="white-space: pre-wrap">audio_clkoutn is asynchronizes with lr-clock.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f27616aea33b63c4a58b">[<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-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-645ab1fb5ab11474dc54"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>11</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-925b97f1cea5dc23a612"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-fa0a474ff0e6cb7d7f82"><code>11</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">References to SSI/SRC/MIX/CTU/DVC/AUDIO_CLK clocks.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>31</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<div id="dt-d153c20aa0faf1618c41">
<p style="white-space: pre-wrap">List of necessary clock names.</p>
</div>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;&#47;definitions&#47;port&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-23c8ace9b66b375a2e09>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-fefd2108afe5d1ea216f"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-ece70344da843543f128"></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-b6266ba740ba184f1525">[<code>audio&#45;graph&#45;port&#46;yaml&#35;&#47;definitions&#47;endpoint&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-738955ccf6e62803d61f>)</span>

<a id="dt-42f01ed4d11e2135a7f7"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-ef7c49b985a9b0f038e0"></a>

**<code>playback</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0f98e0ee174a73080ba2">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-0be4ba854c0b7a41ec37"></a>

**<code>capture</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bf945605cdabbb4a2fb7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-ea82ce999667c8b66c98"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-2a599575d8109bd4e0d8"></a>

### <code>rcar&#95;sound&#44;dvc</code> — not listed as required here

<div id="dt-b8c6014205f873eccaea">
<p style="white-space: pre-wrap">DVC subnode.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-de4b2026f91da6d68b6c"><code>&#34;object&#34;</code></span>

<a id="dt-0fb2ee954a1bfc474599"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-cec87093b6bb55b082a1"></a>

**<code>&#94;dvc&#45;&#91;0&#45;1&#93;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-6f4bbbdddc7e212ed588"><code>&#34;object&#34;</code></span>

<a id="dt-41f697d727463e4e2663"></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-5dfb836b420498f9ad66"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-41c1e055314a28da8385"></a>

**<code>dmas</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4b443902c1b843361d18"><code>1</code></span>

<a id="dt-824a7460094f15886177"></a>

**<code>dma&#45;names</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-43f401f57d367d24b637"><code>&#34;tx&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-5dca553065c6d72ae481"></a> <span id="dt-9e2b74ba30d6b071fdbc"><code>&#34;dmas&#34;</code></span>, <span id="dt-b085990b19030bea7613"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-94cfb5cb4bc082717e64"></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-13d628ebd18c692b176c"></a>

### <code>rcar&#95;sound&#44;mix</code> — not listed as required here

<div id="dt-83da2cd9a5b4a8fa3d38">
<p style="white-space: pre-wrap">MIX subnode.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-d82279777dc7be9ba3e4"><code>&#34;object&#34;</code></span>

<a id="dt-44928ec53cff827aa44f"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-95a69874848cde900c4f"></a>

**<code>&#94;mix&#45;&#91;0&#45;1&#93;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-cba18ef4b24bac341781"><code>&#34;object&#34;</code></span>

<a id="dt-707d049002fbc90ab67f"></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-421be4654b156370bdc4"></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-24fdb504474272743c75"></a>

### <code>rcar&#95;sound&#44;ctu</code> — not listed as required here

<div id="dt-93f04a12666a7214d8c3">
<p style="white-space: pre-wrap">CTU subnode.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-735b0e3577e0467e9998"><code>&#34;object&#34;</code></span>

<a id="dt-b6bbd28e2f2ca122d536"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-88ff96bbcb83a53bda8d"></a>

**<code>&#94;ctu&#45;&#91;0&#45;7&#93;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-74a96209c6a7f69acabf"><code>&#34;object&#34;</code></span>

<a id="dt-8aaa233fcedbb52364d1"></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-55031413a3b72af30b4a"></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-9ec7438c5f00609d52a8"></a>

### <code>rcar&#95;sound&#44;src</code> — not listed as required here

<div id="dt-323fd5583cbd010bdd92">
<p style="white-space: pre-wrap">SRC subnode.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-3df93b97528afad8fee1"><code>&#34;object&#34;</code></span>

<a id="dt-8549f292481172b71c65"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-23876cecc65c9d06f7e0"></a>

**<code>&#94;src&#45;&#91;0&#45;9&#93;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-70233bf2c585ce90766c"><code>&#34;object&#34;</code></span>

<a id="dt-d341641be2eaa58500d2"></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-def5282330dff2a3948d"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-d1050e655b3311cee84f"></a>

**<code>interrupts</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8a100c176709c4c42d53"><code>1</code></span>

<a id="dt-dfc7405ca742c0a9344f"></a>

**<code>dmas</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3661fc6eafa109931efa"><code>2</code></span>

<a id="dt-d2a3a063f304401dc958"></a>

**<code>dma&#45;names</code> — not listed as required here**

<a id="dt-479c9123d10910fd2191"></a>

**All of these rules must match (<code>allOf</code>)**

<a id="dt-ce6cefc86c96c8a5711a"></a>

**Rule 1**

> <a id="dt-78d69250f981c9caba62"></a>
>
> **Array item rules (<code>items</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-6b6c7322b95359e3466e"></a> <span id="dt-1883ff19344387c2776a"><code>&#34;tx&#34;</code></span>, <span id="dt-7b02b1350df718b791f6"><code>&#34;rx&#34;</code></span>

<a id="dt-3d1f0e0ef5689f72f60d"></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-0857c01d14d63cc65cb2"></a>

### <code>rcar&#95;sound&#44;ssiu</code> — not listed as required here

<div id="dt-3a1a1c23c113b3bd13cb">
<p style="white-space: pre-wrap">SSIU subnode.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-0631f779fd814033f604"><code>&#34;object&#34;</code></span>

<a id="dt-4be4cd0fa30532ded286"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-bfc89ec7d72e60d73849"></a>

**<code>&#94;ssiu&#45;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-6b963eb6c7df7db2f81a"><code>&#34;object&#34;</code></span>

<a id="dt-af5f19317f5b4176419b"></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-6d5cff555884a92df656"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-38911b271be926e83401"></a>

**<code>dmas</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d6a51ad23adfaff096c1"><code>2</code></span>

<a id="dt-c8db32f97a9e39bab5e1"></a>

**<code>dma&#45;names</code> — required here**

<a id="dt-1508711cff8d8059e2bc"></a>

**All of these rules must match (<code>allOf</code>)**

<a id="dt-ba2b929cd2f1f3ca4752"></a>

**Rule 1**

> <a id="dt-870f69b93a85459d489e"></a>
>
> **Array item rules (<code>items</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-0d58404f369290e0527a"></a> <span id="dt-a401c65c89b25437c2b3"><code>&#34;tx&#34;</code></span>, <span id="dt-8e6e8b022fc392a34efd"><code>&#34;rx&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-7cdb556af3bd664f08f8"></a> <span id="dt-7a92ee6f78db609efe6c"><code>&#34;dmas&#34;</code></span>, <span id="dt-02c0107902a09c10b2dc"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-e048b98c68bf37a99de5"></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-0c6fa6cf7886933b592d"></a>

### <code>rcar&#95;sound&#44;ssi</code> — not listed as required here

<div id="dt-033888d2b489f82e3b09">
<p style="white-space: pre-wrap">SSI subnode.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-f1fb89b3f3c1525d9e98"><code>&#34;object&#34;</code></span>

<a id="dt-a71e77455e70d4290320"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-affdb2e473aaa838f9a3"></a>

**<code>&#94;ssi&#45;&#91;0&#45;9&#93;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-533c10b9d3d735302a92"><code>&#34;object&#34;</code></span>

<a id="dt-c390ba01bcf574a8fffe"></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-0b98a445bbd27067cc0e"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-8e645e0d020e72421658"></a>

**<code>interrupts</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-a8b6c5e666d745edcf8c"><code>1</code></span>

<a id="dt-d198849c025f0b2ba8b6"></a>

**<code>dmas</code> — not listed as required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-d5b7e10d4c42f017d7e3"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-93eb641f489f79c3d0f5"><code>4</code></span>

<a id="dt-ec6caa4c85d33b11a8e3"></a>

**<code>dma&#45;names</code> — not listed as required here**

<a id="dt-729a5fb70bf99dc5d177"></a>

**All of these rules must match (<code>allOf</code>)**

<a id="dt-e6151fd1f5d92b137efe"></a>

**Rule 1**

> <a id="dt-a9ab3c3ce3c91a715d56"></a>
>
> **Array item rules (<code>items</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-71ba5d0b2641f2ac70be"></a> <span id="dt-83b9c3ffe4f3aa65f47a"><code>&#34;tx&#34;</code></span>, <span id="dt-63a97a43e2a53f3526a3"><code>&#34;rx&#34;</code></span>, <span id="dt-6378c060ca6d1b0e222e"><code>&#34;txu&#34;</code></span>, <span id="dt-b27a4f503ce138dd308f"><code>&#34;rxu&#34;</code></span>

<a id="dt-1b794c62ad02afd70953"></a>

**<code>shared&#45;pin</code> — not listed as required here**

<div id="dt-9048584d5630d44f6c0b">
<p style="white-space: pre-wrap">shared clock pin</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-81e20f14de436b303983">[<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-c6d1b8a9bb1cfd07df79"></a>

**<code>pio&#45;transfer</code> — not listed as required here**

<div id="dt-210a83d6631d587d9bc8">
<p style="white-space: pre-wrap">PIO transfer mode</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-40cac3b95d96dd5750bb">[<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-16ed097ec5302e21a55f"></a>

**<code>no&#45;busif</code> — not listed as required here**

<div id="dt-549e9edf39ba1c36e9c3">
<p style="white-space: pre-wrap">BUSIF is not used when [mem -&gt; SSI] via DMA case</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-817ff81bbab89534db01">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

**Required in this object (<code>required</code>):** <a id="dt-452c0f9e9630d6d28576"></a> <span id="dt-c1824242bbfe98f284b9"><code>&#34;interrupts&#34;</code></span>

<a id="dt-600e9ceb1c5580a52d35"></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-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-35c558e2f88530198342"></a>

### <code>rcar&#95;sound&#44;dai&#40;&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

<div id="dt-ff6c85a2495b4d4032fc">
<p style="white-space: pre-wrap">DAI subnode.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-4e90761e3165f2a80d32"><code>&#34;object&#34;</code></span>

<a id="dt-595aa5072482d023b43d"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-9fc8a7ce839eb8631973"></a>

**<code>&#94;dai&#40;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-60e7114be706c899fe7b"><code>&#34;object&#34;</code></span>

<a id="dt-c26184de80ea7ed9fdc1"></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-472ab53a84f5a9c172aa"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-02b3ca8f928381574057"></a>

**<code>playback</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a2a7ffc38c104bf03cc4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-51544c69772867003aed"></a>

**<code>capture</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b92e4bdbdc24039f3e36">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-1f0c8bff234be02bae57"></a>

**At least one of these rules must match (<code>anyOf</code>)**

<a id="dt-37e5c2046e2ca2e4a2a2"></a>

**Rule 1**

> **Required in this object (<code>required</code>):** <a id="dt-e527a87c8963af042dc4"></a> <span id="dt-ebe4d1ed7a45a0d0f697"><code>&#34;playback&#34;</code></span>

<a id="dt-1ae0c70b6b084e5983eb"></a>

**Rule 2**

> **Required in this object (<code>required</code>):** <a id="dt-1aac6b9a327df629ec29"></a> <span id="dt-8d941ee57b69e6f6148f"><code>&#34;capture&#34;</code></span>

<a id="dt-ff2ed28f0fce9dfea3df"></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-abef9ef360143547da1e"></a>

### <code>ports&#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-c7f3f62aaa414b09967b">[<code>audio&#45;graph&#45;port&#46;yaml&#35;&#47;definitions&#47;port&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-23c8ace9b66b375a2e09>)</span>

<a id="dt-ebf61d54b7084fe81888"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-c5114adeffdee4c3d300"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-b85afe5bf5de384e0115"></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-93ecb0fdc1e3d8ea369e">[<code>&#35;&#47;properties&#47;port</code>](<#dt-1d845f0617b4072cef77>)</span>

**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;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen1&#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-18ed1f4bd380878274d8"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-022546edf486cc20947c"><code>3</code></span>
> >
> > <a id="dt-d950ec7774f5cc573245"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > <a id="dt-a800b5914a4cda2cce34"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-9b6a5632d2459b01f02b"></a> <span id="dt-83a4aec9f7e37c2a048d"><code>&#34;sru&#34;</code></span>, <span id="dt-78c491879266917b7736"><code>&#34;ssi&#34;</code></span>, <span id="dt-69c5359d55dc8fb8aa9e"><code>&#34;adg&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen2&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen3&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b5c94fac3a56b4f9f0e9"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-951abd00fab37bf86404"><code>5</code></span>
> >
> > <a id="dt-bd9dc2a7f2932e6ab1da"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > <a id="dt-fde1d3c624a00abc8018"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-1979f3db238bb82c284a"></a> <span id="dt-29cf75de4a3c17f56a25"><code>&#34;scu&#34;</code></span>, <span id="dt-b20bf8e273ddacd58e64"><code>&#34;adg&#34;</code></span>, <span id="dt-96c8c363e32a9b3938b6"><code>&#34;ssiu&#34;</code></span>, <span id="dt-57215dd9477db628c4c0"><code>&#34;ssi&#34;</code></span>, <span id="dt-d125b729f89771c788d7"><code>&#34;audmapp&#34;</code></span>

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5c56c46a4e287cf52ece"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen4&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bf3c32dc20c3c8a6e8c5"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-a871c44be1e9f993b306"><code>4</code></span>
> >
> > <a id="dt-45804beff97bd082668f"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > <a id="dt-2ebcf4f110c89094eefb"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-fe5266371cd6a7058b03"></a> <span id="dt-9d3008c4293048cc069f"><code>&#34;adg&#34;</code></span>, <span id="dt-144c4f49bc6fe3a5b21a"><code>&#34;ssiu&#34;</code></span>, <span id="dt-628eb83f03d4faf916d7"><code>&#34;ssi&#34;</code></span>, <span id="dt-ba58f4dceeba23b18da2"><code>&#34;sdmc&#34;</code></span>

<a id="dt-1c66024c2be5a725f708"></a>

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-def647aea9878c3c7610"><code>&#34;renesas&#44;rcar&#95;sound&#45;gen4&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-61105cb355bf27434ff1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-50f1ce702c9c66684754"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-9467b9e51f6c6093048c"><code>3</code></span>
> >
> > <a id="dt-e8a47eafddc2049ad540"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-cb7017b761a16f1429a6"></a> <span id="dt-d9ada74aafffc7ec941c"><code>&#34;ssi&#46;0&#34;</code></span>, <span id="dt-2d1ce273d5f398b6a271"><code>&#34;ssiu&#46;0&#34;</code></span>, <span id="dt-945ceea526bf1f85f30c"><code>&#34;clkin&#34;</code></span>
>
> <a id="dt-93772ef337bf2b53b663"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-014a2988824dd8d8cbb7"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-2d68ee17dbf45b8a77ec"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-07771b8339ba953f861f"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-71f065718b3c9f5b0883"><code>31</code></span>
> >
> > <a id="dt-6bedea766944a1dd646a"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > <a id="dt-3ef1fe85128f5caccc9b"></a>
> > >
> > > **Exactly one of these rules must match (<code>oneOf</code>)**
> > >
> > > <a id="dt-262cee9415b7c0a1aef4"></a>
> > >
> > > **Rule 1**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-a77e09e062a569de369e"><code>&#34;ssi&#45;all&#34;</code></span>
> > >
> > > <a id="dt-37bdb232ded35be4be66"></a>
> > >
> > > **Rule 2**
> > >
> > > > **String pattern (<code>pattern</code>):** <span id="dt-7c756ca252434afb8f72"><code>&#34;&#94;ssi&#92;&#92;&#46;&#91;0&#45;9&#93;&#36;&#34;</code></span>
> > >
> > > <a id="dt-f96e24b18be9e43385cf"></a>
> > >
> > > **Rule 3**
> > >
> > > > **String pattern (<code>pattern</code>):** <span id="dt-15e4c902ac8594848111"><code>&#34;&#94;src&#92;&#92;&#46;&#91;0&#45;9&#93;&#36;&#34;</code></span>
> > >
> > > <a id="dt-66a5735e1fcc2554dd4e"></a>
> > >
> > > **Rule 4**
> > >
> > > > **String pattern (<code>pattern</code>):** <span id="dt-7818fc9a223bb829e460"><code>&#34;&#94;mix&#92;&#92;&#46;&#91;0&#45;1&#93;&#36;&#34;</code></span>
> > >
> > > <a id="dt-61d8ca7882b6e56162d8"></a>
> > >
> > > **Rule 5**
> > >
> > > > **String pattern (<code>pattern</code>):** <span id="dt-8d83ab285ddfb5ddd5e7"><code>&#34;&#94;ctu&#92;&#92;&#46;&#91;0&#45;1&#93;&#36;&#34;</code></span>
> > >
> > > <a id="dt-f9b485a1d6f6c88609f8"></a>
> > >
> > > **Rule 6**
> > >
> > > > **String pattern (<code>pattern</code>):** <span id="dt-5a36352237a2d1e63743"><code>&#34;&#94;dvc&#92;&#92;&#46;&#91;0&#45;1&#93;&#36;&#34;</code></span>
> > >
> > > <a id="dt-bcab26437b3b64c9421d"></a>
> > >
> > > **Rule 7**
> > >
> > > > **String pattern (<code>pattern</code>):** <span id="dt-9ff288c85b5a7bad9cbd"><code>&#34;&#94;clk&#95;&#40;a&#124;b&#124;c&#124;i&#41;&#36;&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/r8a7790-cpg-mssr.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/power/r8a7790-sysc.h&gt;
rcar_sound: sound@ec500000 {
    #sound-dai-cells = &lt;1&gt;;
    compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2";
    reg = &lt;0xec500000 0x1000&gt;, /* SCU  */
          &lt;0xec5a0000 0x100&gt;,  /* ADG  */
          &lt;0xec540000 0x1000&gt;, /* SSIU */
          &lt;0xec541000 0x280&gt;,  /* SSI  */
          &lt;0xec740000 0x200&gt;;  /* Audio DMAC peri peri*/
    reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";

    clocks = &lt;&amp;cpg CPG_MOD 1005&gt;,                      /* SSI-ALL    */
             &lt;&amp;cpg CPG_MOD 1006&gt;, &lt;&amp;cpg CPG_MOD 1007&gt;, /* SSI9, SSI8 */
             &lt;&amp;cpg CPG_MOD 1008&gt;, &lt;&amp;cpg CPG_MOD 1009&gt;, /* SSI7, SSI6 */
             &lt;&amp;cpg CPG_MOD 1010&gt;, &lt;&amp;cpg CPG_MOD 1011&gt;, /* SSI5, SSI4 */
             &lt;&amp;cpg CPG_MOD 1012&gt;, &lt;&amp;cpg CPG_MOD 1013&gt;, /* SSI3, SSI2 */
             &lt;&amp;cpg CPG_MOD 1014&gt;, &lt;&amp;cpg CPG_MOD 1015&gt;, /* SSI1, SSI0 */
             &lt;&amp;cpg CPG_MOD 1022&gt;, &lt;&amp;cpg CPG_MOD 1023&gt;, /* SRC9, SRC8 */
             &lt;&amp;cpg CPG_MOD 1024&gt;, &lt;&amp;cpg CPG_MOD 1025&gt;, /* SRC7, SRC6 */
             &lt;&amp;cpg CPG_MOD 1026&gt;, &lt;&amp;cpg CPG_MOD 1027&gt;, /* SRC5, SRC4 */
             &lt;&amp;cpg CPG_MOD 1028&gt;, &lt;&amp;cpg CPG_MOD 1029&gt;, /* SRC3, SRC2 */
             &lt;&amp;cpg CPG_MOD 1030&gt;, &lt;&amp;cpg CPG_MOD 1031&gt;, /* SRC1, SRC0 */
             &lt;&amp;cpg CPG_MOD 1020&gt;, &lt;&amp;cpg CPG_MOD 1021&gt;, /* MIX1, MIX0 */
             &lt;&amp;cpg CPG_MOD 1020&gt;, &lt;&amp;cpg CPG_MOD 1021&gt;, /* CTU1, CTU0 */
             &lt;&amp;cpg CPG_MOD 1019&gt;, &lt;&amp;cpg CPG_MOD 1018&gt;, /* DVC0, DVC1 */
             &lt;&amp;audio_clk_a&gt;, &lt;&amp;audio_clk_b&gt;,           /* CLKA, CLKB */
             &lt;&amp;audio_clk_c&gt;, &lt;&amp;audio_clk_i&gt;;           /* CLKC, CLKI */

    clock-names = "ssi-all",
                  "ssi.9", "ssi.8",
                  "ssi.7", "ssi.6",
                  "ssi.5", "ssi.4",
                  "ssi.3", "ssi.2",
                  "ssi.1", "ssi.0",
                  "src.9", "src.8",
                  "src.7", "src.6",
                  "src.5", "src.4",
                  "src.3", "src.2",
                  "src.1", "src.0",
                  "mix.1", "mix.0",
                  "ctu.1", "ctu.0",
                  "dvc.0", "dvc.1",
                  "clk_a", "clk_b",
                  "clk_c", "clk_i";

    power-domains = &lt;&amp;sysc R8A7790_PD_ALWAYS_ON&gt;;

    resets = &lt;&amp;cpg 1005&gt;,
             &lt;&amp;cpg 1006&gt;, &lt;&amp;cpg 1007&gt;, &lt;&amp;cpg 1008&gt;, &lt;&amp;cpg 1009&gt;,
             &lt;&amp;cpg 1010&gt;, &lt;&amp;cpg 1011&gt;, &lt;&amp;cpg 1012&gt;, &lt;&amp;cpg 1013&gt;,
             &lt;&amp;cpg 1014&gt;, &lt;&amp;cpg 1015&gt;;
    reset-names = "ssi-all",
                  "ssi.9", "ssi.8", "ssi.7", "ssi.6",
                  "ssi.5", "ssi.4", "ssi.3", "ssi.2",
                  "ssi.1", "ssi.0";

    rcar_sound,dvc {
           dvc0: dvc-0 {
                dmas = &lt;&amp;audma0 0xbc&gt;;
                dma-names = "tx";
           };
           dvc1: dvc-1 {
                dmas = &lt;&amp;audma0 0xbe&gt;;
                dma-names = "tx";
           };
    };

    rcar_sound,mix {
        mix0: mix-0 { };
        mix1: mix-1 { };
    };

    rcar_sound,ctu {
        ctu00: ctu-0 { };
        ctu01: ctu-1 { };
        ctu02: ctu-2 { };
        ctu03: ctu-3 { };
        ctu10: ctu-4 { };
        ctu11: ctu-5 { };
        ctu12: ctu-6 { };
        ctu13: ctu-7 { };
    };

    rcar_sound,src {
        src0: src-0 {
            status = "disabled";
        };
        src1: src-1 {
            interrupts = &lt;GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH&gt;;
            dmas = &lt;&amp;audma0 0x87&gt;, &lt;&amp;audma1 0x9c&gt;;
            dma-names = "rx", "tx";
        };
        /* skip after src-2 */
    };

    rcar_sound,ssiu {
        ssiu00: ssiu-0 {
            dmas = &lt;&amp;audma0 0x15&gt;, &lt;&amp;audma1 0x16&gt;;
            dma-names = "rx", "tx";
        };
        ssiu01: ssiu-1 {
            dmas = &lt;&amp;audma0 0x35&gt;, &lt;&amp;audma1 0x36&gt;;
            dma-names = "rx", "tx";
        };
        /* skip after ssiu-2 */
    };

    rcar_sound,ssi {
        ssi0: ssi-0 {
            interrupts = &lt;GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH&gt;;
            dmas = &lt;&amp;audma0 0x01&gt;, &lt;&amp;audma1 0x02&gt;;
            dma-names = "rx", "tx";
        };
        ssi1: ssi-1 {
            interrupts = &lt;GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH&gt;;
            dmas = &lt;&amp;audma0 0x03&gt;, &lt;&amp;audma1 0x04&gt;;
            dma-names = "rx", "tx";
        };
        /* skip other ssi-2 */
    };

    /* DAI base */
    rcar_sound,dai {
        dai0 {
            playback = &lt;&amp;ssi5&gt;, &lt;&amp;src5&gt;;
            capture = &lt;&amp;ssi6&gt;;
        };
        dai1 {
            playback = &lt;&amp;ssi3&gt;;
        };
        dai2 {
            capture = &lt;&amp;ssi4&gt;;
        };
        dai3 {
            playback = &lt;&amp;ssi7&gt;;
        };
        dai4 {
            capture = &lt;&amp;ssi8&gt;;
        };
    };

    /* assume audio-graph */
    port {
        rsnd_endpoint: endpoint {
            remote-endpoint = &lt;&amp;codec_endpoint&gt;;

            dai-format = "left_j";
            bitclock-master = &lt;&amp;rsnd_endpoint0&gt;;
            frame-master = &lt;&amp;rsnd_endpoint0&gt;;

            playback = &lt;&amp;ssi0&gt;, &lt;&amp;src0&gt;, &lt;&amp;dvc0&gt;;
            capture = &lt;&amp;ssi1&gt;, &lt;&amp;src1&gt;, &lt;&amp;dvc1&gt;;
        };
    };
};

/* assume audio-graph */
codec {
    port {
        codec_endpoint: endpoint {
            remote-endpoint = &lt;&amp;rsnd_endpoint&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 16:</strong> <span> for Gen1 SoC</span></p>

<p id="dt-comment-2"><strong>Line 19:</strong> <span> R-Car M1A</span></p>

<p id="dt-comment-3"><strong>Line 20:</strong> <span> R-Car H1</span></p>

<p id="dt-comment-4"><strong>Line 22:</strong> <span> for Gen2 SoC</span></p>

<p id="dt-comment-5"><strong>Line 25:</strong> <span> RZ/G1H</span></p>

<p id="dt-comment-6"><strong>Line 26:</strong> <span> RZ/G1M</span></p>

<p id="dt-comment-7"><strong>Line 27:</strong> <span> RZ/G1N</span></p>

<p id="dt-comment-8"><strong>Line 28:</strong> <span> RZ/G1E</span></p>

<p id="dt-comment-9"><strong>Line 29:</strong> <span> RZ/G1C</span></p>

<p id="dt-comment-10"><strong>Line 30:</strong> <span> R-Car H2</span></p>

<p id="dt-comment-11"><strong>Line 31:</strong> <span> R-Car M2-W</span></p>

<p id="dt-comment-12"><strong>Line 32:</strong> <span> R-Car M2-N</span></p>

<p id="dt-comment-13"><strong>Line 33:</strong> <span> R-Car E2</span></p>

<p id="dt-comment-14"><strong>Line 35:</strong> <span> for Gen3 SoC</span></p>

<p id="dt-comment-15"><strong>Line 38:</strong> <span> RZ/G2M</span></p>

<p id="dt-comment-16"><strong>Line 39:</strong> <span> RZ/G2N</span></p>

<p id="dt-comment-17"><strong>Line 40:</strong> <span> RZ/G2E</span></p>

<p id="dt-comment-18"><strong>Line 41:</strong> <span> RZ/G2H</span></p>

<p id="dt-comment-19"><strong>Line 42:</strong> <span> R-Car H3</span></p>

<p id="dt-comment-20"><strong>Line 43:</strong> <span> R-Car M3-W</span></p>

<p id="dt-comment-21"><strong>Line 44:</strong> <span> R-Car M3-W+</span></p>

<p id="dt-comment-22"><strong>Line 45:</strong> <span> R-Car M3-N</span></p>

<p id="dt-comment-23"><strong>Line 46:</strong> <span> R-Car E3</span></p>

<p id="dt-comment-24"><strong>Line 47:</strong> <span> R-Car D3</span></p>

<p id="dt-comment-25"><strong>Line 49:</strong> <span> for Gen4 SoC</span></p>

<p id="dt-comment-26"><strong>Line 52:</strong> <span> R-Car V4H</span></p>

<p id="dt-comment-27"><strong>Line 53:</strong> <span> R-Car V4M</span></p>

<p id="dt-comment-28"><strong>Line 55:</strong> <span> for Generic</span></p>

<p id="dt-comment-29"><strong>Line 113:</strong> <span> details are defined below</span></p>

<p id="dt-comment-30"><strong>Line 115:</strong> <span> ports is below</span></p>

<p id="dt-comment-31"><strong>Line 228:</strong> <span> if no ssiu node</span></p>

<p id="dt-comment-32"><strong>Line 229:</strong> <span> if no ssiu node</span></p>

<p id="dt-comment-33"><strong>Line 245:</strong> <span> For DAI base</span></p>

<p id="dt-comment-34"><strong>Line 283:</strong> <span> --------------------</span></p>

<p id="dt-comment-35"><strong>Line 284:</strong> <span> reg/reg-names</span></p>

<p id="dt-comment-36"><strong>Line 285:</strong> <span> --------------------</span></p>

<p id="dt-comment-37"><strong>Line 286:</strong> <span> for Gen1</span></p>

<p id="dt-comment-38"><strong>Line 302:</strong> <span> for Gen2/Gen3</span></p>

<p id="dt-comment-39"><strong>Line 322:</strong> <span> for Gen4</span></p>

<p id="dt-comment-40"><strong>Line 340:</strong> <span> --------------------</span></p>

<p id="dt-comment-41"><strong>Line 341:</strong> <span> clock-names</span></p>

<p id="dt-comment-42"><strong>Line 342:</strong> <span> --------------------</span></p>

</details>

---

# Renesas RZ/{G2L,V2L} ASoC Sound Serial Interface (SSIF-2)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Renesas RZ/{G2L,V2L} ASoC Sound Serial Interface (SSIF-2).

<!-- 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;renesas&#44;rz&#45;ssi&#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;Biju Das &#60;biju&#46;das&#46;jz&#64;bp&#46;renesas&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;renesas&#44;r9a07g043&#45;ssi&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;renesas&#44;r9a07g044&#45;ssi&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;renesas&#44;r9a07g054&#45;ssi&#34;</code></span>, <span id="dt-24a1253e29125294194d"><code>&#34;renesas&#44;r9a08g045&#45;ssi&#34;</code></span>, <span id="dt-6eb9cf2b3f55b257fde4"><code>&#34;renesas&#44;r9a08g046&#45;ssi&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;renesas&#44;rz&#45;ssi&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>3</code></span>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

<a id="dt-7c87f4c4d6ae5b67cb69"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-6f3c3caf871198d0891a"></a>

**Rule 1**

> <a id="dt-884cf2259e7919782d91"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-ae566b1863c35904fd78"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-70b44ca6c048c5d3a3af"><code>&#34;int&#95;req&#34;</code></span>
>
> <a id="dt-d549e6d900c0ad79ba7c"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-0ea26d5a82284fddd203"><code>&#34;dma&#95;rx&#34;</code></span>
>
> <a id="dt-ff4970bac801c0f78f25"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-adb6d00832cf46adc510"><code>&#34;dma&#95;tx&#34;</code></span>

<a id="dt-49450ca309f7fa677720"></a>

**Rule 2**

> <a id="dt-3f5226d3358b9f7233cd"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-168695c518f0a2b5192f"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-219a5f51cbccd7444454"><code>&#34;int&#95;req&#34;</code></span>
>
> <a id="dt-74dea7eca44399918292"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-94b431338a76fa9ae249"><code>&#34;dma&#95;rt&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>4</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;ssi&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;ssi&#95;sfr&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;audio&#95;clk1&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;audio&#95;clk2&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

<a id="dt-f46e11725a5c1b390eb1"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-8a3a309bb17c4138070a"></a>

**Rule 1**

> <a id="dt-e48fc66b375663861dbb"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-aedb068f2331c20af046"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-c64d8822f52d11762568"><code>&#34;tx&#34;</code></span>
>
> <a id="dt-1f75db67bb6fb04c3a5d"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-8201c97d53f057bd35be"><code>&#34;rx&#34;</code></span>

<a id="dt-c496dc335fa402380f0b"></a>

**Rule 2**

> <a id="dt-99816d964afbc5fed393"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-ef1285e116c91c599815"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-f6c737ecdabc56c6a5d1"><code>&#34;rt&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;&#47;definitions&#47;port&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-23c8ace9b66b375a2e09>)</span>

<div id="dt-0cd71b006a1fcbec8daa">
<p style="white-space: pre-wrap">Connection to controller providing I2S signals</p>
</div>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;resets&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/r9a07g044-cpg.h&gt;

ssi0: ssi@10049c00 {
    compatible = "renesas,r9a07g044-ssi",
                 "renesas,rz-ssi";
        reg = &lt;0x10049c00 0x400&gt;;
        interrupts = &lt;GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;GIC_SPI 327 IRQ_TYPE_EDGE_RISING&gt;,
                     &lt;GIC_SPI 328 IRQ_TYPE_EDGE_RISING&gt;;
        interrupt-names = "int_req", "dma_rx", "dma_tx";
        clocks = &lt;&amp;cpg CPG_MOD R9A07G044_SSI0_PCLK2&gt;,
                 &lt;&amp;cpg CPG_MOD R9A07G044_SSI0_PCLK_SFR&gt;,
                 &lt;&amp;audio_clk1&gt;,
                 &lt;&amp;audio_clk2&gt;;
        clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
        power-domains = &lt;&amp;cpg&gt;;
        resets = &lt;&amp;cpg R9A07G044_SSI0_RST_M2_REG&gt;;
        dmas = &lt;&amp;dmac 0x2655&gt;,
               &lt;&amp;dmac 0x2656&gt;;
        dma-names = "tx", "rx";
        #sound-dai-cells = &lt;0&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 19:</strong> <span> RZ/G2UL and RZ/Five</span></p>

<p id="dt-comment-2"><strong>Line 20:</strong> <span> RZ/G2{L,LC}</span></p>

<p id="dt-comment-3"><strong>Line 21:</strong> <span> RZ/V2L</span></p>

<p id="dt-comment-4"><strong>Line 22:</strong> <span> RZ/G3S</span></p>

<p id="dt-comment-5"><strong>Line 23:</strong> <span> RZ/G3L</span></p>

</details>

---

# Richtek RT9120 Class-D audio amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Richtek RT9120 Class-D audio amplifier.

<!-- 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;sound&#47;richtek&#44;rt9120&#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;ChiYuan Huang &#60;cy&#95;huang&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The RT9120 is a high efficiency, I2S-input, stereo audio power amplifier
delivering 2*20W into 8 Ohm BTL speaker loads. It supports the wide input
voltage  range from 4.5V to 26.4V to meet the need on most common
applications like as TV, monitors. home entertainment, electronic music
equipment.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;richtek&#44;rt9120&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C device address</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-fde36a0679a7626414dc"></a>

### <code>pwdnn&#45;gpios</code> — not listed as required here

<div id="dt-2c1cd4431a9679b46b92">
<p style="white-space: pre-wrap">GPIO used for power down, low active</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-946bcf8465ba7d1f8c07"><code>1</code></span>

<a id="dt-84a2bc358063a1a7c956"></a>

### <code>dvdd&#45;supply</code> — required here

<div id="dt-593261d208e8b7fb5f26">
<p style="white-space: pre-wrap">Supply for the default on DVDD power, voltage domain must be 3P3V or 1P8V</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;dvdd&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  rt9120@1a {
    compatible = "richtek,rt9120";
    reg = &lt;0x1a&gt;;
    pwdnn-gpios = &lt;&amp;gpio26 2 0&gt;;
    dvdd-supply = &lt;&amp;vdd_io_reg&gt;;
    #sound-dai-cells = &lt;0&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</span></p>

</details>

---

# Richtek RT9123/RTQ9124 Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Richtek RT9123/RTQ9124 Audio Amplifier.

<!-- 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;richtek&#44;rt9123&#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;ChiYuan Huang &#60;cy&#95;huang&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">RT9123 is a 3.2W mono Class-D audio amplifier that features high efficiency and performance with ultra-low quiescent current. The digital audio interface support various formats, including I2S, left-justified, right-justified, and TDM formats.
RTQ9124 is an ultra-low output noise, digital input, mono-channel Class-D power amplifier that supports a 2.1MHz switching frequency. It integrates both DC and AC load diagnostics, as well as real-time load monitoring to assess speaker condition. The device operates from 4.5V to 18V and delivers up to 30W output power.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;richtek&#44;rt9123&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;richtek&#44;rtq9124&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    amplifier@5e {
        compatible = "richtek,rt9123";
        reg = &lt;0x5e&gt;;
        enable-gpios = &lt;&amp;gpio 26 GPIO_ACTIVE_HIGH&gt;;
        #sound-dai-cells = &lt;0&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>

</details>

---

# Richtek RT9123P Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Richtek RT9123P Audio Amplifier.

<!-- 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;richtek&#44;rt9123p&#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;ChiYuan Huang &#60;cy&#95;huang&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">RT9123P is a RT9123 variant which does not support I2C control.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;richtek&#44;rt9123p&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

<a id="dt-ca73ed460025248909e4"></a>

### <code>enable&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-c8bf74980e2af9d792a7">
<p style="white-space: pre-wrap">Delay time for 'ENABLE' pin changes intended to make I2S clocks ready to prevent speaker pop noise. The unit is in millisecond.</p>
</div>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

amplifier {
    compatible = "richtek,rt9123p";
    enable-gpios = &lt;&amp;gpio 26 GPIO_ACTIVE_HIGH&gt;;
    #sound-dai-cells = &lt;0&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>

</details>

---

# Richtek RTQ9128 Automative Audio Power Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Richtek RTQ9128 Automative Audio Power Amplifier.

<!-- SPDX-License-Identifier: (GPL-2.0 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;richtek&#44;rtq9128&#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;ChiYuan Huang &#60;cy&#95;huang&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The RTQ9128 is a ultra-low output noise, high-efficiency, four-channel class-D audio power amplifier and delivering 4x75W into 4OHm at 10% THD+N from a 25V supply in automotive applications.
The RTQ9154 is the family series of RTQ9128. The major change is to modify the package size. Beside this, whole functions are almost all the same.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;richtek&#44;rtq9128&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;richtek&#44;rtq9154&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;richtek&#44;rtq9128&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

<a id="dt-a9116009dd928b8f877e"></a>

### <code>richtek&#44;tdm&#45;input&#45;data2&#45;select</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-881056544c3025ed1740"><code>&#34;boolean&#34;</code></span>

<div id="dt-afc6ecc0a6035a11681e">
<p style="white-space: pre-wrap">By default, if TDM mode is used, TDM data input will select 'DATA1' pin as the data source. This option will configure TDM data input source from 'DATA1' to 'DATA2' pin.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  speaker@1a {
    compatible = "richtek,rtq9128";
    reg = &lt;0x1a&gt;;
    enable-gpios = &lt;&amp;gpio 26 GPIO_ACTIVE_HIGH&gt;;
    #sound-dai-cells = &lt;0&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 OR BSD-2-Clause)</span></p>

</details>

---

# Rockchip I2S/TDM Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Rockchip I2S/TDM Controller.

<!-- 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;rockchip&#44;i2s&#45;tdm&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Rockchip I2S/TDM Controller is a Time Division Multiplexed audio interface found in various Rockchip SoCs, allowing up to 8 channels of audio over a serial interface.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Nicolas Frattaroli &#60;frattaroli&#46;nicolas&#64;gmail&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;rockchip&#44;px30&#45;i2s&#45;tdm&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;rockchip&#44;rk1808&#45;i2s&#45;tdm&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;rockchip&#44;rk3308&#45;i2s&#45;tdm&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;rockchip&#44;rk3568&#45;i2s&#45;tdm&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;rockchip&#44;rk3588&#45;i2s&#45;tdm&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;rockchip&#44;rv1126&#45;i2s&#45;tdm&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-6d0b8f093f81278007f9"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f6fde33b632609b95b28"><code>2</code></span>

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-57258bd4a4fa06489340"></a> <span id="dt-77b39246038ee704a1be"><code>&#34;rx&#34;</code></span>, <span id="dt-75776b05535ae7c76115"><code>&#34;tx&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>3</code></span>

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for TX</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">clock for RX</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">AHB clock driving the interface</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">Parent clock for mclk_tx (only required when using mclk-calibrate)</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">Parent clock for mclk_rx (only required when using mclk-calibrate)</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">Clock for sample rates that are an integer multiple of 8000 (only required when using mclk-calibrate)</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">Clock for sample rates that are an integer multiple of 11025 (only required when using mclk-calibrate)</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>3</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#95;tx&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mclk&#95;rx&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;hclk&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;mclk&#95;tx&#95;src&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;mclk&#95;rx&#95;src&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;mclk&#95;root0&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;mclk&#95;root1&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-645ab1fb5ab11474dc54"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>2</code></span>

<div id="dt-d372137de588ae9d23ee">
<p style="white-space: pre-wrap">resets for the tx and rx directions</p>
</div>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-925b97f1cea5dc23a612"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-fa0a474ff0e6cb7d7f82"><code>2</code></span>

<a id="dt-353fc881e5c58d1dcba1"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-db47a84383c3baa9c3f3"></a> <span id="dt-318ab6ace1a2ba2e3885"><code>&#34;tx&#45;m&#34;</code></span>, <span id="dt-f3f733f209d2d13987c5"><code>&#34;rx&#45;m&#34;</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-a3d74649c68c99b43fa2"></a>

### <code>rockchip&#44;grf</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-27c3eab1df2a1e51a08e">[<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-85bb741738dc0c8676e5">
<p style="white-space: pre-wrap">The phandle of the syscon node for the GRF register.</p>
</div>

<a id="dt-130b20d97f4476c65ee6"></a>

### <code>rockchip&#44;trcm&#45;sync&#45;tx&#45;only</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-e7796c4895ec36e331a5"><code>&#34;boolean&#34;</code></span>

<div id="dt-7cb519d10de92bf2d74d">
<p style="white-space: pre-wrap">Use TX BCLK/LRCK for both TX and RX.</p>
</div>

<a id="dt-25c6ea4c77164676832f"></a>

### <code>rockchip&#44;trcm&#45;sync&#45;rx&#45;only</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-b65da34fa9ced80cf5e7"><code>&#34;boolean&#34;</code></span>

<div id="dt-2672d33d8e5031ad861f">
<p style="white-space: pre-wrap">Use RX BCLK/LRCK for both TX and RX.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-a3770d8ff5ad8ac3d883"></a>

### <code>rockchip&#44;i2s&#45;rx&#45;route</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-69db78ba324d7cb1bcf0">[<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>

<div id="dt-6dea67b6482d10aff545">
<p style="white-space: pre-wrap">Defines the mapping of I2S RX sdis to I2S data bus lines. By default, they are mapped one-to-one. rockchip,i2s-rx-route = &lt;3&gt; would mean sdi3 is receiving from data0.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-cfc153d9172988c7b990"><code>4</code></span>

<a id="dt-001c3ad1843e2043cadb"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-5ceb9c7fb8413eb4c86f"></a> <span id="dt-3b0504305a6afdbc2a7c"><code>0</code></span>, <span id="dt-ae58bb6f8cb4c451f056"><code>1</code></span>, <span id="dt-aa442825673c7126bae7"><code>2</code></span>, <span id="dt-ea1e6eeb4659d16c7414"><code>3</code></span>

<a id="dt-e1c1db9a59b3f08c587b"></a>

### <code>rockchip&#44;i2s&#45;tx&#45;route</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-070a26f3a66ca5551666">[<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>

<div id="dt-f8d85a762930f4781533">
<p style="white-space: pre-wrap">Defines the mapping of I2S TX sdos to I2S data bus lines. By default, they are mapped one-to-one. rockchip,i2s-tx-route = &lt;3&gt; would mean sdo3 is sending to data0.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ee51b3b136ac50aed491"><code>4</code></span>

<a id="dt-15e7011872f3f7505249"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-e0157b8859c90f811e9c"></a> <span id="dt-9ab35f9d807bb543b16b"><code>0</code></span>, <span id="dt-762f6bf9c0702975f2c1"><code>1</code></span>, <span id="dt-4a062863b270cf5b6406"><code>2</code></span>, <span id="dt-2e57644b245a9b7e36c1"><code>3</code></span>

<a id="dt-1592e9fd1cc6f6708394"></a>

### <code>rockchip&#44;io&#45;multiplex</code> — not listed as required here

<div id="dt-b14930468097be67d7a4">
<p style="white-space: pre-wrap">Specify that the GPIO lines on the I2S bus are multiplexed such that the direction (input/output) needs to be dynamically adjusted.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-1cd6b38d594e0cab0b11"><code>&#34;boolean&#34;</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dmas&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;resets&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/rk3568-cru.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/pinctrl/rockchip.h&gt;

bus {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;
    i2s@fe410000 {
        compatible = "rockchip,rk3568-i2s-tdm";
        reg = &lt;0x0 0xfe410000 0x0 0x1000&gt;;
        interrupts = &lt;GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH&gt;;
        clocks = &lt;&amp;cru MCLK_I2S1_8CH_TX&gt;, &lt;&amp;cru MCLK_I2S1_8CH_RX&gt;,
                 &lt;&amp;cru HCLK_I2S1_8CH&gt;;
        clock-names = "mclk_tx", "mclk_rx", "hclk";
        dmas = &lt;&amp;dmac1 3&gt;, &lt;&amp;dmac1 2&gt;;
        dma-names = "rx", "tx";
        resets = &lt;&amp;cru SRST_M_I2S1_8CH_TX&gt;, &lt;&amp;cru SRST_M_I2S1_8CH_RX&gt;;
        reset-names = "tx-m", "rx-m";
        rockchip,trcm-sync-tx-only;
        rockchip,grf = &lt;&amp;grf&gt;;
        #sound-dai-cells = &lt;0&gt;;
        pinctrl-names = "default";
        pinctrl-0 =
            &lt;&amp;i2s1m0_sclktx
            &amp;i2s1m0_sclkrx
            &amp;i2s1m0_lrcktx
            &amp;i2s1m0_lrckrx
            &amp;i2s1m0_sdi0
            &amp;i2s1m0_sdi1
            &amp;i2s1m0_sdi2
            &amp;i2s1m0_sdi3
            &amp;i2s1m0_sdo0
            &amp;i2s1m0_sdo1
            &amp;i2s1m0_sdo2
            &amp;i2s1m0_sdo3&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>

</details>

---

# Rockchip PDM controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Rockchip PDM controller.

<!-- 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;rockchip&#44;pdm&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Pulse Density Modulation Interface Controller (PDMC) is a PDM interface controller and decoder that support PDM format. It integrates a clock generator driving the PDM microphone and embeds filters which decimate the incoming bit stream to obtain most common audio rates.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Heiko Stuebner &#60;heiko&#64;sntech&#46;de&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;rockchip&#44;pdm&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;rockchip&#44;px30&#45;pdm&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;rockchip&#44;rk1808&#45;pdm&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;rockchip&#44;rk3308&#45;pdm&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;rockchip&#44;rk3568&#45;pdm&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;rockchip&#44;rv1126&#45;pdm&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for PDM controller</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">clock for PDM BUS</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pdm&#95;clk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;pdm&#95;hclk&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>1</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

<a id="dt-7d15d3b17aa2d528614e"></a>

#### Array item rules (<code>items</code>)

<a id="dt-95107b4b3584e917ff31"></a>

**Item 1**

> <div id="dt-3686a6620d670314acea">
> <p style="white-space: pre-wrap">reset for PDM controller</p>
> </div>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — not listed as required here

<a id="dt-353fc881e5c58d1dcba1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-00c19fce1fea453eab02"><code>&#34;pdm&#45;m&#34;</code></span>

<a id="dt-1e2e496d89889d002ab0"></a>

### <code>rockchip&#44;path&#45;map</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b81dab0174f216a499b0">[<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>

<div id="dt-763bef7db5259cfbe0bd">
<p style="white-space: pre-wrap">Defines the mapping of PDM SDIx to PDM PATHx. By default, they are mapped one-to-one.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b5552fac8979a498ad93"><code>4</code></span>

**Items must be unique (<code>uniqueItems</code>):** <span id="dt-01d0c0f538b9caf8571d"><code>true</code></span>

<a id="dt-e96a661a38b0abd35ab4"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-13871cb1a01072780449"></a> <span id="dt-c0829cc440fe4d78566a"><code>0</code></span>, <span id="dt-65d604ca2d812abc3460"><code>1</code></span>, <span id="dt-2ae50c26310de043a5b3"><code>2</code></span>, <span id="dt-d003e55c4c482ab409e5"><code>3</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dmas&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/rk3328-cru.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/pinctrl/rockchip.h&gt;

bus {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    pdm@ff040000 {
        compatible = "rockchip,pdm";
        reg = &lt;0x0 0xff040000 0x0 0x1000&gt;;
        interrupts = &lt;GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH&gt;;
        clocks = &lt;&amp;cru SCLK_PDM&gt;, &lt;&amp;cru HCLK_PDM&gt;;
        clock-names = "pdm_clk", "pdm_hclk";
        dmas = &lt;&amp;dmac 16&gt;;
        dma-names = "rx";
        #sound-dai-cells = &lt;0&gt;;
        pinctrl-names = "default", "sleep";
        pinctrl-0 = &lt;&amp;pdmm0_clk
                     &amp;pdmm0_sdi0
                     &amp;pdmm0_sdi1
                     &amp;pdmm0_sdi2
                     &amp;pdmm0_sdi3&gt;;
        pinctrl-1 = &lt;&amp;pdmm0_clk_sleep
                     &amp;pdmm0_sdi0_sleep
                     &amp;pdmm0_sdi1_sleep
                     &amp;pdmm0_sdi2_sleep
                     &amp;pdmm0_sdi3_sleep&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>

</details>

---

# Rockchip RK3036 internal codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Rockchip RK3036 internal codec.

<!-- 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;rockchip&#44;rk3036&#45;codec&#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;Heiko Stuebner &#60;heiko&#64;sntech&#46;de&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;rockchip&#44;rk3036&#45;codec&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for audio codec</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;acodec&#95;pclk&#34;</code></span>

<a id="dt-a3d74649c68c99b43fa2"></a>

### <code>rockchip&#44;grf</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-27c3eab1df2a1e51a08e">[<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-85bb741738dc0c8676e5">
<p style="white-space: pre-wrap">The phandle of the syscon node for the GRF register.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;rockchip&#44;grf&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/rk3036-cru.h&gt;
acodec: audio-codec@20030000 {
  compatible = "rockchip,rk3036-codec";
  reg = &lt;0x20030000 0x4000&gt;;
  rockchip,grf = &lt;&amp;grf&gt;;
  clock-names = "acodec_pclk";
  clocks = &lt;&amp;cru ACLK_VCODEC&gt;;
  #sound-dai-cells = &lt;0&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>

</details>

---

# Rockchip RK3308 Internal Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Rockchip RK3308 Internal Codec.

<!-- 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;rockchip&#44;rk3308&#45;codec&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This is the audio codec embedded in the Rockchip RK3308
SoC. It has 8 24-bit ADCs and 2 24-bit DACs. The maximum supported
sampling rate is 192 kHz.</p>
<p style="white-space: pre-wrap">It is connected internally to one out of a selection of the internal I2S
controllers.</p>
<pre><code>The RK3308 audio codec has 8 independent capture channels, but some
features work on stereo pairs called groups:
  * grp 0 -- MIC1 / MIC2
  * grp 1 -- MIC3 / MIC4
  * grp 2 -- MIC5 / MIC6
  * grp 3 -- MIC7 / MIC8</code></pre>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Luca Ceresoli &#60;luca&#46;ceresoli&#64;bootlin&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;rockchip&#44;rk3308&#45;codec&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-a3d74649c68c99b43fa2"></a>

### <code>rockchip&#44;grf</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-27c3eab1df2a1e51a08e">[<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-85bb741738dc0c8676e5">
<p style="white-space: pre-wrap">Phandle to the General Register Files (GRF)</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for TX</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">clock for RX</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">AHB clock driving the interface</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#95;tx&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mclk&#95;rx&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;hclk&#34;</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — not listed as required here

<a id="dt-353fc881e5c58d1dcba1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-00c19fce1fea453eab02"><code>&#34;codec&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-e4e34ad21768effbca19"></a>

### <code>rockchip&#44;micbias&#45;avdd&#45;percent</code> — not listed as required here

<div id="dt-2326487f6913784264d2">
<p style="white-space: pre-wrap">Voltage setting for the MICBIAS pins expressed as a percentage of
AVDD.</p>
<p style="white-space: pre-wrap">E.g. if rockchip,micbias-avdd-percent = 85 and AVDD = 3v3, then the
MIC BIAS voltage will be 3.3 V * 85% = 2.805 V.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-a2c8eb55ec8f0c09f104"></a> <span id="dt-821a34bdc73a12cf39b6"><code>50</code></span>, <span id="dt-0397bb4d0c4dc1f1c9a8"><code>55</code></span>, <span id="dt-a83cf4e71ea27c3967a2"><code>60</code></span>, <span id="dt-630e5f423704d2acc7ff"><code>65</code></span>, <span id="dt-9f5f1006f4929719540a"><code>70</code></span>, <span id="dt-acd4a4273f0be52a19c5"><code>75</code></span>, <span id="dt-8a94855e59bee398f45f"><code>80</code></span>, <span id="dt-df69b062436cfead092b"><code>85</code></span>

**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;rockchip&#44;grf&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;resets&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;sound&#45;dai&#45;cells&#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/clock/rk3308-cru.h&gt;

audio_codec: audio-codec@ff560000 {
    compatible = "rockchip,rk3308-codec";
    reg = &lt;0xff560000 0x10000&gt;;
    rockchip,grf = &lt;&amp;grf&gt;;
    clock-names = "mclk_tx", "mclk_rx", "hclk";
    clocks = &lt;&amp;cru SCLK_I2S2_8CH_TX_OUT&gt;,
             &lt;&amp;cru SCLK_I2S2_8CH_RX_OUT&gt;,
             &lt;&amp;cru PCLK_ACODEC&gt;;
    reset-names = "codec";
    resets = &lt;&amp;cru SRST_ACODEC_P&gt;;
    #sound-dai-cells = &lt;0&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>

</details>

---

# Rockchip rk3328 internal codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Rockchip rk3328 internal codec.

<!-- 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;rockchip&#44;rk3328&#45;codec&#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;Heiko Stuebner &#60;heiko&#64;sntech&#46;de&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;rockchip&#44;rk3328&#45;codec&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for audio codec</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">clock for I2S master clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mclk&#34;</code></span>

<a id="dt-a3d74649c68c99b43fa2"></a>

### <code>rockchip&#44;grf</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-27c3eab1df2a1e51a08e">[<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-85bb741738dc0c8676e5">
<p style="white-space: pre-wrap">The phandle of the syscon node for the GRF register.</p>
</div>

<a id="dt-1c0043528077843ef0d6"></a>

### <code>spk&#45;depop&#45;time&#45;ms</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-bf82eee026c586608415"><code>200</code></span>

<div id="dt-dd32515e4cdfb10f30f1">
<p style="white-space: pre-wrap">Speaker depop time in msec.</p>
</div>

<a id="dt-406caea147a245139462"></a>

### <code>mute&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-09c5403a506cee507e9e"><code>1</code></span>

<div id="dt-c3c4e6f36ce3c92049e8">
<p style="white-space: pre-wrap">GPIO specifier for external line driver control (typically the dedicated GPIO_MUTE pin)</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;rockchip&#44;grf&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/clock/rk3328-cru.h&gt;
codec: codec@ff410000 {
  compatible = "rockchip,rk3328-codec";
  reg = &lt;0xff410000 0x1000&gt;;
  clocks = &lt;&amp;cru PCLK_ACODECPHY&gt;, &lt;&amp;cru SCLK_I2S1&gt;;
  clock-names = "pclk", "mclk";
  rockchip,grf = &lt;&amp;grf&gt;;
  mute-gpios = &lt;&amp;grf_gpio 0 GPIO_ACTIVE_LOW&gt;;
  spk-depop-time-ms = &lt;100&gt;;
  #sound-dai-cells = &lt;0&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>

</details>

---

# Rockchip Serial Audio Interface Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Rockchip Serial Audio Interface Controller.

<!-- 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;rockchip&#44;rk3576&#45;sai&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Rockchip Serial Audio Interface (SAI) controller is a flexible audio controller that implements the I2S, I2S/TDM and the PDM standards.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Nicolas Frattaroli &#60;nicolas&#46;frattaroli&#64;collabora&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;rockchip&#44;rk3576&#45;sai&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-6d0b8f093f81278007f9"><code>1</code></span>

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-0b1c0ae358961bd0f7aa"></a> <span id="dt-a6989793672531931b48"><code>&#34;tx&#34;</code></span>, <span id="dt-23bdb23d318bc2f867d8"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">master audio clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">AHB clock driving the interface</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;hclk&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-645ab1fb5ab11474dc54"><code>1</code></span>

<a id="dt-7d15d3b17aa2d528614e"></a>

#### Array item rules (<code>items</code>)

<a id="dt-95107b4b3584e917ff31"></a>

**Item 1**

> <div id="dt-3686a6620d670314acea">
> <p style="white-space: pre-wrap">reset for the mclk domain</p>
> </div>

<a id="dt-d5e57279f24674469f92"></a>

**Item 2**

> <div id="dt-ea6a40f03c50681315cc">
> <p style="white-space: pre-wrap">reset for the hclk domain</p>
> </div>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-925b97f1cea5dc23a612"><code>1</code></span>

<a id="dt-353fc881e5c58d1dcba1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-00c19fce1fea453eab02"><code>&#34;m&#34;</code></span>

<a id="dt-80813f149d5a57545875"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-bff27a7e8c043853e284"><code>&#34;h&#34;</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-175677a69ece75749636"></a>

### <code>rockchip&#44;sai&#45;rx&#45;route</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-55b0b67dbfe1206b8ddc">[<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>

<div id="dt-126dfd3ba7f79d5960c5">
<p style="white-space: pre-wrap">Defines the mapping of the controller's SDI ports to actual input lanes, as well as the number of input lanes. rockchip,sai-rx-route = &lt;3&gt; would mean sdi3 is receiving from data0, and that there is only one receiving lane. This property's absence is to be understood as only one receiving lane being used if the controller has capture capabilities.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-1a942bac6bb6f76dad08"><code>4</code></span>

<a id="dt-bac0d17fb1fa70f3b6b6"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-ff57306fc3fd364852c9"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-e587c9a8ada967fd75f3"><code>3</code></span>

<a id="dt-bae7fd4ee62d9a504d30"></a>

### <code>rockchip&#44;sai&#45;tx&#45;route</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5420282e97eead4ed2f">[<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>

<div id="dt-0d2a8c9536125da5c406">
<p style="white-space: pre-wrap">Defines the mapping of the controller's SDO ports to actual output lanes, as well as the number of output lanes. rockchip,sai-tx-route = &lt;3&gt; would mean sdo3 is sending to data0, and that there is only one transmitting lane. This property's absence is to be understood as only one transmitting lane being used if the controller has playback capabilities.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-09c8f889c46060598730"><code>4</code></span>

<a id="dt-36dbd43ccca0232d0e99"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-e16f3bde287f9fff56b1"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-22f7dc5225990a320881"><code>3</code></span>

**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;dmas&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/rockchip,rk3576-cru.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/pinctrl/rockchip.h&gt;
#include &lt;dt-bindings/power/rockchip,rk3576-power.h&gt;
#include &lt;dt-bindings/reset/rockchip,rk3576-cru.h&gt;

bus {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;
    sai1: sai@2a610000 {
        compatible = "rockchip,rk3576-sai";
        reg = &lt;0x0 0x2a610000 0x0 0x1000&gt;;
        interrupts = &lt;GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH&gt;;
        clocks = &lt;&amp;cru MCLK_SAI1_8CH&gt;, &lt;&amp;cru HCLK_SAI1_8CH&gt;;
        clock-names = "mclk", "hclk";
        dmas = &lt;&amp;dmac0 2&gt;, &lt;&amp;dmac0 3&gt;;
        dma-names = "tx", "rx";
        power-domains = &lt;&amp;power RK3576_PD_AUDIO&gt;;
        resets = &lt;&amp;cru SRST_M_SAI1_8CH&gt;, &lt;&amp;cru SRST_H_SAI1_8CH&gt;;
        reset-names = "m", "h";
        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;sai1m0_lrck
                     &amp;sai1m0_sclk
                     &amp;sai1m0_sdi0
                     &amp;sai1m0_sdo0
                     &amp;sai1m0_sdo1
                     &amp;sai1m0_sdo2
                     &amp;sai1m0_sdo3&gt;;
        rockchip,sai-tx-route = &lt;3 1 2 0&gt;;
        #sound-dai-cells = &lt;0&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>

</details>

---

# Rockchip I2S controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Rockchip I2S controller.

<!-- 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;sound&#47;rockchip&#45;i2s&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The I2S bus (Inter-IC sound bus) is a serial link for digital audio data transfer between devices in the system.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Heiko Stuebner &#60;heiko&#64;sntech&#46;de&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;rockchip&#44;rk3066&#45;i2s&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;rockchip&#44;px30&#45;i2s&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;rockchip&#44;rk1808&#45;i2s&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;rockchip&#44;rk3036&#45;i2s&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;rockchip&#44;rk3128&#45;i2s&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;rockchip&#44;rk3188&#45;i2s&#34;</code></span>, <span id="dt-05b29c21ca38ad337d53"><code>&#34;rockchip&#44;rk3228&#45;i2s&#34;</code></span>, <span id="dt-93c2763ada782db7e26c"><code>&#34;rockchip&#44;rk3288&#45;i2s&#34;</code></span>, <span id="dt-36a81d983bbaf2a6b89d"><code>&#34;rockchip&#44;rk3308&#45;i2s&#34;</code></span>, <span id="dt-bbccc6a1a74023520617"><code>&#34;rockchip&#44;rk3328&#45;i2s&#34;</code></span>, <span id="dt-ca5599deed0d8617e9ff"><code>&#34;rockchip&#44;rk3366&#45;i2s&#34;</code></span>, <span id="dt-5c0b0e48ef5455b0c271"><code>&#34;rockchip&#44;rk3368&#45;i2s&#34;</code></span>, <span id="dt-03f391bb4d4b24359f1a"><code>&#34;rockchip&#44;rk3399&#45;i2s&#34;</code></span>, <span id="dt-d99c4bd7e7a4ee6e42d9"><code>&#34;rockchip&#44;rk3588&#45;i2s&#34;</code></span>, <span id="dt-09f5bf97501883c95f43"><code>&#34;rockchip&#44;rv1126&#45;i2s&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;rockchip&#44;rk3066&#45;i2s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for I2S controller</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">clock for I2S BUS</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;i2s&#95;clk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;i2s&#95;hclk&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-f46e11725a5c1b390eb1"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-8a3a309bb17c4138070a"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-814f461c75e4943bdb5f"><code>&#34;rx&#34;</code></span>

<a id="dt-c496dc335fa402380f0b"></a>

**Rule 2**

> <a id="dt-99816d964afbc5fed393"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-ef1285e116c91c599815"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-f6c737ecdabc56c6a5d1"><code>&#34;tx&#34;</code></span>
>
> <a id="dt-0c49e0651e2fb97eb69d"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-63131c791b04c383a846"><code>&#34;rx&#34;</code></span>

<a id="dt-abe836d65f0d3b516449"></a>

### <code>pinctrl&#45;names</code> — not listed as required here

<a id="dt-30e39d0405534043743a"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-45884c5cccf54262f001"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-8f670352881bcc85f0bd"><code>&#34;default&#34;</code></span>

<a id="dt-49dd8d7e3a86b63ee5c4"></a>

**Rule 2**

> <a id="dt-15711f67b24c0dd4c802"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-00cc297872a4324ba343"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-a0d23e15d2f85e1fb94a"><code>&#34;bclk&#95;on&#34;</code></span>
>
> <a id="dt-68d71317718b73c6602c"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-63614d3e27c426c06f90"><code>&#34;bclk&#95;off&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — not listed as required here

<a id="dt-353fc881e5c58d1dcba1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-00c19fce1fea453eab02"><code>&#34;reset&#45;m&#34;</code></span>

<a id="dt-80813f149d5a57545875"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-bff27a7e8c043853e284"><code>&#34;reset&#45;h&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>2</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-68e8a0e6eb762e25eb61"></a>

### <code>rockchip&#44;capture&#45;channels</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8b2a0c91c350dcd85f16">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-7ccd06bf544c5343702a"><code>2</code></span>

<div id="dt-6ba2e0b4970384b6b880">
<p style="white-space: pre-wrap">Max capture channels, if not set, 2 channels default.</p>
</div>

<a id="dt-04b50c1dea46ed47f337"></a>

### <code>rockchip&#44;playback&#45;channels</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b26549ed22af18cc1d0b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-7efa45e092b15782ef47"><code>8</code></span>

<div id="dt-13bc88ee2cef1296eeb7">
<p style="white-space: pre-wrap">Max playback channels, if not set, 8 channels default.</p>
</div>

<a id="dt-a3d74649c68c99b43fa2"></a>

### <code>rockchip&#44;grf</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-27c3eab1df2a1e51a08e">[<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-85bb741738dc0c8676e5">
<p style="white-space: pre-wrap">The phandle of the syscon node for the GRF register. Required property for controllers which support multi channel playback/capture.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dmas&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/rk3288-cru.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
i2s@ff890000 {
  compatible = "rockchip,rk3288-i2s", "rockchip,rk3066-i2s";
  reg = &lt;0xff890000 0x10000&gt;;
  interrupts = &lt;GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH&gt;;
  clocks = &lt;&amp;cru SCLK_I2S0&gt;, &lt;&amp;cru HCLK_I2S0&gt;;
  clock-names = "i2s_clk", "i2s_hclk";
  dmas = &lt;&amp;pdma1 0&gt;, &lt;&amp;pdma1 1&gt;;
  dma-names = "tx", "rx";
  rockchip,capture-channels = &lt;2&gt;;
  rockchip,playback-channels = &lt;8&gt;;
  #sound-dai-cells = &lt;0&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</span></p>

</details>

---

# Rockchip SPDIF transceiver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Rockchip SPDIF transceiver.

<!-- 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;sound&#47;rockchip&#45;spdif&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The S/PDIF audio block is a stereo transceiver that allows the processor to receive and transmit digital audio via a coaxial or fibre cable.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Heiko Stuebner &#60;heiko&#64;sntech&#46;de&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;rockchip&#44;rk3066&#45;spdif&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;rockchip&#44;rk3228&#45;spdif&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;rockchip&#44;rk3328&#45;spdif&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> **Exact value (<code>const</code>):** <span id="dt-bb8aa9a35453860e510c"><code>&#34;rockchip&#44;rk3366&#45;spdif&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> **Exact value (<code>const</code>):** <span id="dt-db09842262b0bfa9d4c5"><code>&#34;rockchip&#44;rk3368&#45;spdif&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> **Exact value (<code>const</code>):** <span id="dt-c300a8811f2c7ccc81ad"><code>&#34;rockchip&#44;rk3399&#45;spdif&#34;</code></span>

<a id="dt-d49c586a52f5ab458d2d"></a>

**Rule 7**

> **Exact value (<code>const</code>):** <span id="dt-2ac514c95c227d8b07a6"><code>&#34;rockchip&#44;rk3568&#45;spdif&#34;</code></span>

<a id="dt-60b24f68de01e59cfd70"></a>

**Rule 8**

> <a id="dt-a91f11e3ee56eb619882"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-611ad0263e50f540b36a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-72b22c5bf87dbb78bd31"></a> <span id="dt-55659dce8bd104aba2f5"><code>&#34;rockchip&#44;rk3128&#45;spdif&#34;</code></span>, <span id="dt-c47233d2b028b5b6f080"><code>&#34;rockchip&#44;rk3188&#45;spdif&#34;</code></span>, <span id="dt-3a0d1ebc4effbe3f861b"><code>&#34;rockchip&#44;rk3288&#45;spdif&#34;</code></span>, <span id="dt-d71a7ecb49b24aac3e43"><code>&#34;rockchip&#44;rk3308&#45;spdif&#34;</code></span>
>
> <a id="dt-d3f9d0dbf0af675db82a"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-6abcaea81f09b95281a2"><code>&#34;rockchip&#44;rk3066&#45;spdif&#34;</code></span>

<a id="dt-840363fe85852843a5d5"></a>

**Rule 9**

> <a id="dt-ff4224cf7f5631129c4c"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-0c8abd288d8f759ad679"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-580644cbee987a8e82e7"></a> <span id="dt-14a9462ce2c3126605da"><code>&#34;rockchip&#44;rk3576&#45;spdif&#34;</code></span>, <span id="dt-e5b423e78f29534b1a79"><code>&#34;rockchip&#44;rk3588&#45;spdif&#34;</code></span>
>
> <a id="dt-d9db6ff55a8d819b5d66"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-a8f2e314cd14931f2cd0"><code>&#34;rockchip&#44;rk3568&#45;spdif&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for SPDIF bus</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">clock for SPDIF controller</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;hclk&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>1</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-05981720df4cd7d43d3c"><code>&#34;tx&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-a3d74649c68c99b43fa2"></a>

### <code>rockchip&#44;grf</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-27c3eab1df2a1e51a08e">[<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-85bb741738dc0c8676e5">
<p style="white-space: pre-wrap">The phandle of the syscon node for the GRF register. Required property on RK3288.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dmas&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;rockchip&#44;rk3288&#45;spdif&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;rockchip&#44;grf&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/rk3188-cru.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
spdif: spdif@1011e000 {
  compatible = "rockchip,rk3188-spdif", "rockchip,rk3066-spdif";
  reg = &lt;0x1011e000 0x2000&gt;;
  interrupts = &lt;GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH&gt;;
  clocks = &lt;&amp;cru SCLK_SPDIF&gt;, &lt;&amp;cru HCLK_SPDIF&gt;;
  clock-names = "mclk", "hclk";
  dmas = &lt;&amp;dmac1_s 8&gt;;
  dma-names = "tx";
  #sound-dai-cells = &lt;0&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</span></p>

</details>

---

# ROHM BD28623MUV Class D speaker amplifier for digital input

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for ROHM BD28623MUV Class D speaker amplifier for digital input.

<!-- 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;rohm&#44;bd28623&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This codec does not have any control buses such as I2C, it detect format and rate of I2S signal automatically. It has two signals that can be connected to GPIOs reset and mute.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Katsuhiro Suzuki &#60;katsuhiro&#64;katsuster&#46;net&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;rohm&#44;bd28623&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-7a00b684dfefe3dac180"></a>

### <code>VCCA&#45;supply</code> — required here

<div id="dt-4d4e4efe4121e2305e73">
<p style="white-space: pre-wrap">regulator phandle for the VCCA (for analog) power supply</p>
</div>

<a id="dt-213db4a4ce4d8f362118"></a>

### <code>VCCP1&#45;supply</code> — required here

<div id="dt-c79dd27ce3a824125118">
<p style="white-space: pre-wrap">regulator phandle for the VCCP1 (for ch1) power supply</p>
</div>

<a id="dt-a1ece2fef65c4e0cfa36"></a>

### <code>VCCP2&#45;supply</code> — required here

<div id="dt-eb291a49b2098f2bdcc7">
<p style="white-space: pre-wrap">regulator phandle for the VCCP2 (for ch2) power supply</p>
</div>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO specifier for the active low reset line</p>
</div>

<a id="dt-406caea147a245139462"></a>

### <code>mute&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-09c5403a506cee507e9e"><code>1</code></span>

<div id="dt-c3c4e6f36ce3c92049e8">
<p style="white-space: pre-wrap">GPIO specifier for the active low mute line</p>
</div>

**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;VCCA&#45;supply&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;VCCP1&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;VCCP2&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
codec {
  compatible = "rohm,bd28623";
  #sound-dai-cells = &lt;0&gt;;

  VCCA-supply = &lt;&amp;vcc_reg&gt;;
  VCCP1-supply = &lt;&amp;vcc_reg&gt;;
  VCCP2-supply = &lt;&amp;vcc_reg&gt;;
  reset-gpios = &lt;&amp;gpio 0 GPIO_ACTIVE_LOW&gt;;
  mute-gpios = &lt;&amp;gpio 1 GPIO_ACTIVE_LOW&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>

</details>

---

# Samsung Aries audio complex with WM8994 codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Samsung Aries audio complex with WM8994 codec.

<!-- 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;samsung&#44;aries&#45;wm8994&#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;Jonathan Bakker &#60;xc&#45;racer2&#64;live&#46;ca&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<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;samsung&#44;aries&#45;wm8994&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;samsung&#44;fascinate4g&#45;wm8994&#34;</code></span>

<a id="dt-04b422a940a732dc566a"></a>

### <code>cpu</code> — required here

**Value type (<code>type</code>):** <span id="dt-2e150d640874679a3deb"><code>&#34;object&#34;</code></span>

<a id="dt-512ea5fe7417e34aff51"></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-04b86380754f3d28fabf"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-83919e46621447566035"></a>

**<code>sound&#45;dai</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-a2e4474723e74da7bd62"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ec87411cd5c75b2fc67d"><code>2</code></span>

<div id="dt-8fc1c495f8b37577e338">
<p style="white-space: pre-wrap">phandles to the I2S controller and bluetooth codec,
in that order</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-2bf5668c4f369cbc9896"></a> <span id="dt-2417fd65df7d98fbe891"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-4d93ba21e7a2d03aa4e1"></a>

### <code>codec</code> — required here

<a id="dt-b99d5f0fdb9f9922c358"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

**Value type (<code>type</code>):** <span id="dt-54f8798581324c75f1b8"><code>&#34;object&#34;</code></span>

<a id="dt-689bd98d988b5ce4bf07"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-8906a371a28515f3547c"></a>

**<code>sound&#45;dai</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-783333a4483abb6da3b2"><code>1</code></span>

<div id="dt-7822b5a12827e0159859">
<p style="white-space: pre-wrap">phandle to the WM8994 CODEC</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-e7a1a1ce11b5da6da8bf"></a> <span id="dt-06b87627922e020727a4"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-eb36740af5d34050a7e2"></a>

### <code>samsung&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-42794ecb4a073f8d31cf">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

**Deprecated (<code>deprecated</code>):** <span id="dt-f900bd58ade74efdf119"><code>true</code></span>

<div id="dt-01d254f31e597787718a">
<p style="white-space: pre-wrap">List of the connections between audio
components;  each entry is a pair of strings, the first being the
connection's sink, the second being the connection's source;
valid names for sources and sinks are the WM8994's pins (as
documented in its binding), and the jacks on the board -
For samsung,aries-wm8994: HP, SPK, RCV, LINE, Main Mic, Headset Mic,
or FM In
For samsung,fascinate4g-wm8994: HP, SPK, RCV, LINE, Main Mic,
or HeadsetMic
Deprecated, use audio-routing.</p>
</div>

<a id="dt-7933f1d3d70a0cb9a8f9"></a>

### <code>extcon</code> — required here

<div id="dt-410ff567bd2ce85315e8">
<p style="white-space: pre-wrap">Extcon phandle for dock detection</p>
</div>

<a id="dt-e4c17f22aadda6236bab"></a>

### <code>main&#45;micbias&#45;supply</code> — required here

<div id="dt-fda98a1af95d3fc1f27e">
<p style="white-space: pre-wrap">Supply for the micbias on the main mic</p>
</div>

<a id="dt-f1dcda41a6b334e6035a"></a>

### <code>headset&#45;micbias&#45;supply</code> — required here

<div id="dt-f06673102c598f362c15">
<p style="white-space: pre-wrap">Supply for the micbias on the headset mic</p>
</div>

<a id="dt-f667113bfd28174ad40e"></a>

### <code>earpath&#45;sel&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e1122311bd1559dd7157"><code>1</code></span>

<div id="dt-dd046df9adb61185c328">
<p style="white-space: pre-wrap">GPIO for switching between tv-out and mic paths</p>
</div>

<a id="dt-ab9ed439571be1eabd57"></a>

### <code>headset&#45;detect&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-46964bdd03b093af2ac6"><code>1</code></span>

<div id="dt-8cd3d620efbaabe59717">
<p style="white-space: pre-wrap">GPIO for detection of headset insertion</p>
</div>

<a id="dt-b8deafc9d5fa1e304322"></a>

### <code>headset&#45;key&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f2d9e2c8590859da67a8"><code>1</code></span>

<div id="dt-26683eaf64ed355a0fe3">
<p style="white-space: pre-wrap">GPIO for detection of headset key press</p>
</div>

<a id="dt-e11e74a4fd8058c71a77"></a>

### <code>io&#45;channels</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b9221b1187f40eb0f40e"><code>1</code></span>

<div id="dt-00f0389e57ab952e1ac1">
<p style="white-space: pre-wrap">IO channel to read micbias voltage for headset detection</p>
</div>

<a id="dt-52503acc5d03431d5405"></a>

### <code>io&#45;channel&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-27bb6bb6712fac2e8172"><code>&#34;headset&#45;detect&#34;</code></span>

**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;cpu&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;codec&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;audio&#45;routing&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;extcon&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;main&#45;micbias&#45;supply&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;headset&#45;micbias&#45;supply&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;earpath&#45;sel&#45;gpios&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;headset&#45;detect&#45;gpios&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;headset&#45;key&#45;gpios&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

sound {
    compatible = "samsung,fascinate4g-wm8994";

    model = "Fascinate4G";

    extcon = &lt;&amp;fsa9480&gt;;

    main-micbias-supply = &lt;&amp;main_micbias_reg&gt;;
    headset-micbias-supply = &lt;&amp;headset_micbias_reg&gt;;

    earpath-sel-gpios = &lt;&amp;gpj2 6 GPIO_ACTIVE_HIGH&gt;;

    io-channels = &lt;&amp;adc 3&gt;;
    io-channel-names = "headset-detect";
    headset-detect-gpios = &lt;&amp;gph0 6 GPIO_ACTIVE_HIGH&gt;;
    headset-key-gpios = &lt;&amp;gph3 6 GPIO_ACTIVE_HIGH&gt;;

    audio-routing =
        "HP", "HPOUT1L",
        "HP", "HPOUT1R",

        "SPK", "SPKOUTLN",
        "SPK", "SPKOUTLP",

        "RCV", "HPOUT2N",
        "RCV", "HPOUT2P",

        "LINE", "LINEOUT2N",
        "LINE", "LINEOUT2P",

        "IN1LP", "Main Mic",
        "IN1LN", "Main Mic",

        "IN1RP", "Headset Mic",
        "IN1RN", "Headset Mic";

    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;headset_det &amp;earpath_sel&gt;;

    cpu {
        sound-dai = &lt;&amp;i2s0&gt;, &lt;&amp;bt_codec&gt;;
    };

    codec {
        sound-dai = &lt;&amp;wm8994&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 18:</strong> <span> With FM radio and modem master</span></p>

<p id="dt-comment-2"><strong>Line 20:</strong> <span> Without FM radio and modem slave</span></p>

</details>

---

# Insignal Arndale boards audio complex

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Insignal Arndale boards audio complex.

<!-- 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;samsung&#44;arndale&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sylwester Nawrocki &#60;s&#46;nawrocki&#64;samsung&#46;com&#62;&#34;</code></span>

<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;samsung&#44;arndale&#45;alc5631&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;samsung&#44;arndale&#45;rt5631&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;samsung&#44;arndale&#45;wm1811&#34;</code></span>

<a id="dt-50c5afccdd5573c5ff0a"></a>

### <code>samsung&#44;audio&#45;codec</code> — required here

<div id="dt-085ba0344b8bf1bef65d">
<p style="white-space: pre-wrap">Phandle to the audio codec.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-885b4153e055aa30b3d0">[<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-be9b322b9e1d5fb97f21"></a>

### <code>samsung&#44;audio&#45;cpu</code> — required here

<div id="dt-43844704967bef374d77">
<p style="white-space: pre-wrap">Phandle to the Samsung I2S controller.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-052603c228d94daa0254">[<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-56a2be1012acf4ff415a"></a>

### <code>samsung&#44;model</code> — not listed as required here

<div id="dt-8bee11e1b853eb2ad471">
<p style="white-space: pre-wrap">The user-visible name of this sound complex.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d3929de8c28867b06258">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**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;samsung&#44;audio&#45;codec&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;samsung&#44;audio&#45;cpu&#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">sound {
    compatible = "samsung,arndale-rt5631";
    samsung,audio-cpu = &lt;&amp;i2s0&gt;;
    samsung,audio-codec = &lt;&amp;rt5631&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>

</details>

---

# Samsung Midas audio complex with WM1811 codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Samsung Midas audio complex with WM1811 codec.

<!-- 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;samsung&#44;midas&#45;audio&#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;Sylwester Nawrocki &#60;s&#46;nawrocki&#64;samsung&#46;com&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;samsung&#44;midas&#45;audio&#34;</code></span>

<a id="dt-04b422a940a732dc566a"></a>

### <code>cpu</code> — required here

**Value type (<code>type</code>):** <span id="dt-2e150d640874679a3deb"><code>&#34;object&#34;</code></span>

<a id="dt-512ea5fe7417e34aff51"></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-04b86380754f3d28fabf"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-83919e46621447566035"></a>

**<code>sound&#45;dai</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ec87411cd5c75b2fc67d"><code>1</code></span>

<div id="dt-8fc1c495f8b37577e338">
<p style="white-space: pre-wrap">phandle to the I2S controller</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-2bf5668c4f369cbc9896"></a> <span id="dt-2417fd65df7d98fbe891"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-4d93ba21e7a2d03aa4e1"></a>

### <code>codec</code> — required here

**Value type (<code>type</code>):** <span id="dt-54f8798581324c75f1b8"><code>&#34;object&#34;</code></span>

<a id="dt-b99d5f0fdb9f9922c358"></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-689bd98d988b5ce4bf07"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-8906a371a28515f3547c"></a>

**<code>sound&#45;dai</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-783333a4483abb6da3b2"><code>1</code></span>

<div id="dt-7822b5a12827e0159859">
<p style="white-space: pre-wrap">phandle to the WM1811 CODEC</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-e7a1a1ce11b5da6da8bf"></a> <span id="dt-06b87627922e020727a4"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-eb36740af5d34050a7e2"></a>

### <code>samsung&#44;audio&#45;routing</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-f900bd58ade74efdf119"><code>true</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-42794ecb4a073f8d31cf">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-01d254f31e597787718a">
<p style="white-space: pre-wrap">List of the connections between audio components; each entry is
a pair of strings, the first being the connection's sink, the second
being the connection's source; valid names for sources and sinks are
the WM1811's pins (as documented in its binding), and the jacks
on the board: HP, SPK, Main Mic, Sub Mic, Headset Mic.
Deprecated, use audio-routing.</p>
</div>

<a id="dt-b1a6494b79d08eba7d00"></a>

### <code>mic&#45;bias&#45;supply</code> — required here

<div id="dt-f302720bbd4deda7f4a2">
<p style="white-space: pre-wrap">Supply for the micbias on the Main microphone</p>
</div>

<a id="dt-be8c1ae2ac575befd983"></a>

### <code>submic&#45;bias&#45;supply</code> — required here

<div id="dt-fa9f5bbe376c35cbe022">
<p style="white-space: pre-wrap">Supply for the micbias on the Sub microphone</p>
</div>

<a id="dt-5bcccf650afde4e19a02"></a>

### <code>headset&#45;mic&#45;bias&#45;supply</code> — not listed as required here

<div id="dt-36826fdfa5dded1ff4f9">
<p style="white-space: pre-wrap">Supply for the micbias on the Headset microphone</p>
</div>

<a id="dt-c20f75f0ed5d9f1cb404"></a>

### <code>fm&#45;sel&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e74ac2950cc975e97a8b"><code>1</code></span>

<div id="dt-662ff70f1bf70d283e3c">
<p style="white-space: pre-wrap">GPIO pin for FM selection</p>
</div>

<a id="dt-9a8564129ad2423d108f"></a>

### <code>lineout&#45;sel&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e14b00fcb7c60c9459d2"><code>1</code></span>

<div id="dt-4aff2f5b428c457c668c">
<p style="white-space: pre-wrap">GPIO pin for line out selection</p>
</div>

<a id="dt-ab9ed439571be1eabd57"></a>

### <code>headset&#45;detect&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-46964bdd03b093af2ac6"><code>1</code></span>

<div id="dt-8cd3d620efbaabe59717">
<p style="white-space: pre-wrap">GPIO for detection of headset insertion</p>
</div>

<a id="dt-b8deafc9d5fa1e304322"></a>

### <code>headset&#45;key&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f2d9e2c8590859da67a8"><code>1</code></span>

<div id="dt-26683eaf64ed355a0fe3">
<p style="white-space: pre-wrap">GPIO for detection of headset key press</p>
</div>

<a id="dt-e11e74a4fd8058c71a77"></a>

### <code>io&#45;channels</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b9221b1187f40eb0f40e"><code>1</code></span>

<div id="dt-00f0389e57ab952e1ac1">
<p style="white-space: pre-wrap">IO channel to read micbias voltage for headset detection</p>
</div>

<a id="dt-52503acc5d03431d5405"></a>

### <code>io&#45;channel&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-27bb6bb6712fac2e8172"><code>&#34;headset&#45;detect&#34;</code></span>

<a id="dt-c9bd93cf3f466dbafedb"></a>

### <code>samsung&#44;headset&#45;4pole&#45;threshold&#45;microvolt</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-6f08422259cb7657298d"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-017572ad47f829c5493d"><code>2</code></span>

<div id="dt-3e1d5fb346330f1e6b01">
<p style="white-space: pre-wrap">Array containing minimum and maximum IO channel value for 4-pole (with microphone/button) headsets. If the IO channel value is outside of this range, a 3-pole headset is assumed.</p>
</div>

<a id="dt-32ff21a47d9d89f9c17a"></a>

### <code>samsung&#44;headset&#45;button&#45;threshold&#45;microvolt</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-fe98433077e8ffd0aabd"><code>3</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-463b79a2bccec631a803"><code>3</code></span>

<div id="dt-3d94205ca7ad062559c8">
<p style="white-space: pre-wrap">Array of minimum (inclusive) IO channel values for headset button
detection, in order: "Media", "Volume Up" and "Volume Down".</p>
</div>

**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;cpu&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;codec&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;audio&#45;routing&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;mic&#45;bias&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;submic&#45;bias&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

sound {
    compatible = "samsung,midas-audio";
    model = "Midas";

    fm-sel-gpios = &lt;&amp;gpaa0 3 GPIO_ACTIVE_HIGH&gt;;

    mic-bias-supply = &lt;&amp;mic_bias_reg&gt;;
    submic-bias-supply = &lt;&amp;submic_bias_reg&gt;;

    audio-routing =
            "HP", "HPOUT1L",
            "HP", "HPOUT1R",

            "SPK", "SPKOUTLN",
            "SPK", "SPKOUTLP",
            "SPK", "SPKOUTRN",
            "SPK", "SPKOUTRP",

            "RCV", "HPOUT2N",
            "RCV", "HPOUT2P",

            "IN1LP", "Main Mic",
            "IN1LN", "Main Mic",
            "IN1RP", "Sub Mic",
            "IN1LP", "Sub Mic";

    cpu {
        sound-dai = &lt;&amp;i2s0&gt;;
    };

    codec {
        sound-dai = &lt;&amp;wm1811&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>

</details>

---

# Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec.

<!-- 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;sound&#47;samsung&#44;odroid&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sylwester Nawrocki &#60;s&#46;nawrocki&#64;samsung&#46;com&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;hardkernel&#44;odroid&#45;xu3&#45;audio&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;hardkernel&#44;odroid&#45;xu4&#45;audio&#34;</code></span>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-7a0984fd34c2f9bbace7"><code>true</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;samsung&#44;odroid&#45;xu3&#45;audio&#34;</code></span>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-0ced5c7fccd8fc640f58"><code>true</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> **Exact value (<code>const</code>):** <span id="dt-bb8aa9a35453860e510c"><code>&#34;samsung&#44;odroid&#45;xu4&#45;audio&#34;</code></span>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-ba05b6c8f32e17e92b62"><code>true</code></span>

<a id="dt-04b422a940a732dc566a"></a>

### <code>cpu</code> — required here

**Value type (<code>type</code>):** <span id="dt-2e150d640874679a3deb"><code>&#34;object&#34;</code></span>

<a id="dt-512ea5fe7417e34aff51"></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-04b86380754f3d28fabf"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-83919e46621447566035"></a>

**<code>sound&#45;dai</code> — not listed as required here**

<div id="dt-8fc1c495f8b37577e338">
<p style="white-space: pre-wrap">phandles to the I2S controllers</p>
</div>

<a id="dt-4d93ba21e7a2d03aa4e1"></a>

### <code>codec</code> — required here

**Value type (<code>type</code>):** <span id="dt-54f8798581324c75f1b8"><code>&#34;object&#34;</code></span>

<a id="dt-b99d5f0fdb9f9922c358"></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-689bd98d988b5ce4bf07"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-8906a371a28515f3547c"></a>

**<code>sound&#45;dai</code> — not listed as required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-eccb3bc7d0bb64f0dd47"><code>1</code></span>

<a id="dt-ca93c7d6c3d6408c25fb"></a>

**Array item rules (<code>items</code>)**

<a id="dt-7c7f80c88e1b514354b5"></a>

**Item 1**

> <div id="dt-9cf00fa7dcfe86464f3b">
> <p style="white-space: pre-wrap">phandle of the HDMI IP block node</p>
> </div>

<a id="dt-ad59aea44acd9d5d9d3c"></a>

**Item 2**

> <div id="dt-4d9a9cc0a1844db1c536">
> <p style="white-space: pre-wrap">phandle of the MAX98090 CODEC</p>
> </div>

<a id="dt-eb36740af5d34050a7e2"></a>

### <code>samsung&#44;audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-42794ecb4a073f8d31cf">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

**Deprecated (<code>deprecated</code>):** <span id="dt-f900bd58ade74efdf119"><code>true</code></span>

<div id="dt-01d254f31e597787718a">
<p style="white-space: pre-wrap">List of the connections between audio
components;  each entry is a pair of strings, the first being the
connection's sink, the second being the connection's source;
valid names for sources and sinks are the MAX98090's pins (as
documented in its binding), and the jacks on the board.
For Odroid X2: "Headphone Jack", "Mic Jack", "DMIC"
For Odroid U3, XU3: "Headphone Jack", "Speakers"
For Odroid XU4: no entries
Deprecated, use audio-routing.</p>
</div>

<a id="dt-f356195e904a2dd5b4be"></a>

### <code>samsung&#44;audio&#45;widgets</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b5665653e0f33512cbc1">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-ade5b60aa03ac27c0e2a">
<p style="white-space: pre-wrap">This property specifies off-codec audio elements
like headphones or speakers, for details see widgets.txt</p>
</div>

**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;cpu&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;codec&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">sound {
    compatible = "hardkernel,odroid-xu3-audio";
    model = "Odroid-XU3";
    audio-routing =
            "Headphone Jack", "HPL",
            "Headphone Jack", "HPR",
            "IN1", "Mic Jack",
            "Mic Jack", "MICBIAS";

    cpu {
        sound-dai = &lt;&amp;i2s0 0&gt;;
    };

    codec {
        sound-dai = &lt;&amp;hdmi&gt;, &lt;&amp;max98090&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</span></p>

</details>

---

# Samsung SMDK5250 audio complex with WM8994 codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Samsung SMDK5250 audio complex with WM8994 codec.

<!-- 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;samsung&#44;smdk5250&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sylwester Nawrocki &#60;s&#46;nawrocki&#64;samsung&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;samsung&#44;smdk&#45;wm8994&#34;</code></span>

<a id="dt-50c5afccdd5573c5ff0a"></a>

### <code>samsung&#44;audio&#45;codec</code> — required here

<div id="dt-085ba0344b8bf1bef65d">
<p style="white-space: pre-wrap">Phandle to the audio codec.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-885b4153e055aa30b3d0">[<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-5e604ef606072b1ef5a6"></a>

### <code>samsung&#44;i2s&#45;controller</code> — required here

<div id="dt-df72cca55f8da03132e9">
<p style="white-space: pre-wrap">Phandle to the Samsung I2S controller.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-beff2475ca1638fc6d51">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

**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;samsung&#44;audio&#45;codec&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;samsung&#44;i2s&#45;controller&#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">sound {
    compatible = "samsung,smdk-wm8994";
    samsung,i2s-controller = &lt;&amp;i2s0&gt;;
    samsung,audio-codec = &lt;&amp;wm8994&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>

</details>

---

# Google Snow audio complex with MAX9809x codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Google Snow audio complex with MAX9809x codec.

<!-- 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;samsung&#44;snow&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sylwester Nawrocki &#60;s&#46;nawrocki&#64;samsung&#46;com&#62;&#34;</code></span>

<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;google&#44;snow&#45;audio&#45;max98090&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;google&#44;snow&#45;audio&#45;max98091&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;google&#44;snow&#45;audio&#45;max98095&#34;</code></span>

<a id="dt-4d93ba21e7a2d03aa4e1"></a>

### <code>codec</code> — required here

**Value type (<code>type</code>):** <span id="dt-54f8798581324c75f1b8"><code>&#34;object&#34;</code></span>

<a id="dt-b99d5f0fdb9f9922c358"></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-689bd98d988b5ce4bf07"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-8906a371a28515f3547c"></a>

**<code>sound&#45;dai</code> — required here**

<div id="dt-7822b5a12827e0159859">
<p style="white-space: pre-wrap">List of phandles to the CODEC and HDMI IP nodes.</p>
</div>

<a id="dt-ca93c7d6c3d6408c25fb"></a>

**Array item rules (<code>items</code>)**

<a id="dt-7c7f80c88e1b514354b5"></a>

**Item 1**

> <div id="dt-9cf00fa7dcfe86464f3b">
> <p style="white-space: pre-wrap">Phandle to the MAX98090, MAX98091 or MAX98095 CODEC.</p>
> </div>

<a id="dt-ad59aea44acd9d5d9d3c"></a>

**Item 2**

> <div id="dt-4d9a9cc0a1844db1c536">
> <p style="white-space: pre-wrap">Phandle to the HDMI IP block node.</p>
> </div>

**Required in this object (<code>required</code>):** <a id="dt-e7a1a1ce11b5da6da8bf"></a> <span id="dt-06b87627922e020727a4"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-04b422a940a732dc566a"></a>

### <code>cpu</code> — required here

**Value type (<code>type</code>):** <span id="dt-2e150d640874679a3deb"><code>&#34;object&#34;</code></span>

<a id="dt-512ea5fe7417e34aff51"></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-04b86380754f3d28fabf"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-83919e46621447566035"></a>

**<code>sound&#45;dai</code> — required here**

<div id="dt-8fc1c495f8b37577e338">
<p style="white-space: pre-wrap">Phandle to the Samsung I2S controller.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ec87411cd5c75b2fc67d"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-2bf5668c4f369cbc9896"></a> <span id="dt-2417fd65df7d98fbe891"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-50c5afccdd5573c5ff0a"></a>

### <code>samsung&#44;audio&#45;codec</code> — not listed as required here

<div id="dt-085ba0344b8bf1bef65d">
<p style="white-space: pre-wrap">Phandle to the audio codec.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-885b4153e055aa30b3d0">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

**Deprecated (<code>deprecated</code>):** <span id="dt-34ffaece9896f6764176"><code>true</code></span>

<a id="dt-5e604ef606072b1ef5a6"></a>

### <code>samsung&#44;i2s&#45;controller</code> — not listed as required here

<div id="dt-df72cca55f8da03132e9">
<p style="white-space: pre-wrap">Phandle to the Samsung I2S controller.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-beff2475ca1638fc6d51">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

**Deprecated (<code>deprecated</code>):** <span id="dt-b484780aac9cae81f657"><code>true</code></span>

<a id="dt-56a2be1012acf4ff415a"></a>

### <code>samsung&#44;model</code> — not listed as required here

<div id="dt-8bee11e1b853eb2ad471">
<p style="white-space: pre-wrap">The user-visible name of this sound complex.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d3929de8c28867b06258">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**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;codec&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;cpu&#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">sound {
    compatible = "google,snow-audio-max98095";
    samsung,model = "Snow-I2S-MAX98095";

    cpu {
        sound-dai = &lt;&amp;i2s0 0&gt;;
    };

    codec {
        sound-dai = &lt;&amp;max98095 0&gt;, &lt;&amp;hdmi&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>

</details>

---

# Samsung Exynos5433 TM2(E) audio complex with WM5110 codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Samsung Exynos5433 TM2(E) audio complex with WM5110 codec.

<!-- 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;samsung&#44;tm2&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sylwester Nawrocki &#60;s&#46;nawrocki&#64;samsung&#46;com&#62;&#34;</code></span>

<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>sound&#45;card&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/sound-card-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;samsung&#44;tm2&#45;audio&#34;</code></span>

<a id="dt-7d3127c3d6637fd875fb"></a>

### <code>audio&#45;amplifier</code> — required here

<div id="dt-52e16d59463cdb087232">
<p style="white-space: pre-wrap">Phandle to the MAX98504 amplifier.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5634e773382b9e15a269">[<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-037f77ca863f57929bdb"></a>

### <code>audio&#45;codec</code> — required here

<div id="dt-043c653ef01ced47bdc2">
<p style="white-space: pre-wrap">Phandles to the codecs.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4055f1eb8d1593e9b1fd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-3da1959e781d876c93d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-a687adf8b45ccbd2b7be"></a>

**Item 1**

> <a id="dt-80e4b5d0ff3f43413203"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-bd32d1fd21037f8d2314"></a>
>
> **Item 1**
>
> > <div id="dt-5fbd6e810f4763435651">
> > <p style="white-space: pre-wrap">Phandle to the WM5110 audio codec.</p>
> > </div>

<a id="dt-af3774fdc42f25960eb9"></a>

**Item 2**

> <a id="dt-b53ca2749fd5d76df284"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-7586bf9998a04bb6643e"></a>
>
> **Item 1**
>
> > <div id="dt-d5071b1e528ca9c7b9ac">
> > <p style="white-space: pre-wrap">Phandle to the HDMI transmitter node.</p>
> > </div>

<a id="dt-eb36740af5d34050a7e2"></a>

### <code>samsung&#44;audio&#45;routing</code> — not listed as required here

<div id="dt-01d254f31e597787718a">
<p style="white-space: pre-wrap">List of the connections between audio components; each entry is
a pair of strings, the first being the connection's sink, the second
being the connection's source; valid names for sources and sinks are the
WM5110's and MAX98504's pins and the jacks on the board: HP, SPK, Main
Mic, Sub Mic, Third Mic, Headset Mic.
Deprecated, use audio-routing.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-f900bd58ade74efdf119"><code>true</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-42794ecb4a073f8d31cf">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<a id="dt-d58aedcb3a86ecf381d9"></a>

### <code>i2s&#45;controller</code> — required here

<div id="dt-81d464cd5631d8fb61e3">
<p style="white-space: pre-wrap">Phandles to the I2S controllers.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7fb8b3a46f5482d089a1">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-def139a4579d3cd5f978"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c4598ba87d6f1b47c24c"></a>

**Item 1**

> <div id="dt-0abe585b14f1fb84cfbe">
> <p style="white-space: pre-wrap">Phandle to I2S0.</p>
> </div>

<a id="dt-55abee3fa95f41eef3a4"></a>

**Item 2**

> <div id="dt-99e27dbd8b4fbf29bb07">
> <p style="white-space: pre-wrap">Phandle to I2S1.</p>
> </div>

<a id="dt-6f9c07258814409db415"></a>

### <code>mic&#45;bias&#45;gpios</code> — required here

<div id="dt-6343dcd37a4a11ca8953">
<p style="white-space: pre-wrap">GPIO pin that enables the Main Mic bias regulator.</p>
</div>

**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;audio&#45;amplifier&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;audio&#45;codec&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;audio&#45;routing&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;i2s&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;mic&#45;bias&#45;gpios&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

sound {
    compatible = "samsung,tm2-audio";
    audio-codec = &lt;&amp;wm5110&gt;, &lt;&amp;hdmi&gt;;
    i2s-controller = &lt;&amp;i2s0 0&gt;, &lt;&amp;i2s1 0&gt;;
    audio-amplifier = &lt;&amp;max98504&gt;;
    mic-bias-gpios = &lt;&amp;gpr3 2 GPIO_ACTIVE_HIGH&gt;;
    model = "wm5110";
    audio-routing = "HP", "HPOUT1L",
                            "HP", "HPOUT1R",
                            "SPK", "SPKOUT",
                            "SPKOUT", "HPOUT2L",
                            "SPKOUT", "HPOUT2R",
                            "RCV", "HPOUT3L",
                            "RCV", "HPOUT3R";
};
</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>

</details>

---

# Samsung SoC I2S controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Samsung SoC I2S controller.

<!-- 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;sound&#47;samsung&#45;i2s&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sylwester Nawrocki &#60;s&#46;nawrocki&#64;samsung&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<div id="dt-e84064a2d568e9bcb9c3">
<p style="white-space: pre-wrap">samsung,s3c6410-i2s: for 8/16/24bit stereo I2S.</p>
<p style="white-space: pre-wrap">samsung,s5pv210-i2s: for 8/16/24bit multichannel (5.1) I2S with
secondary FIFO, s/w reset control and internal mux for root clock
source.</p>
<p style="white-space: pre-wrap">samsung,exynos5420-i2s: for 8/16/24bit multichannel (5.1) I2S for
playback, stereo channel capture, secondary FIFO using internal
or external DMA, s/w reset control, internal mux for root clock
source and 7.1 channel TDM support for playback; TDM (Time division
multiplexing) is to allow transfer of multiple channel audio data on
single data line.</p>
<p style="white-space: pre-wrap">samsung,exynos7-i2s: with all the available features of Exynos5 I2S.
Exynos7 I2S has 7.1 channel TDM support for capture, secondary FIFO
with only external DMA and more number of root clock sampling
frequencies.</p>
<p style="white-space: pre-wrap">samsung,exynos7-i2s1: I2S1 on previous samsung platforms supports
stereo channels. Exynos7 I2S1 upgraded to 5.1 multichannel with
slightly modified bit offsets.</p>
<p style="white-space: pre-wrap">tesla,fsd-i2s: for 8/16/24bit stereo channel I2S for playback and
capture, secondary FIFO using external DMA, s/w reset control,
internal mux for root clock source with all root clock sampling
frequencies supported by Exynos7 I2S and 7.1 channel TDM support
for playback and capture TDM (Time division multiplexing) to allow
transfer of multiple channel audio data on single data line.</p>
</div>

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;samsung&#44;s3c6410&#45;i2s&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;samsung&#44;s5pv210&#45;i2s&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;samsung&#44;exynos5420&#45;i2s&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;samsung&#44;exynos7&#45;i2s&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;samsung&#44;exynos7&#45;i2s1&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;tesla&#44;fsd&#45;i2s&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;samsung&#44;exynos5433&#45;i2s&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;samsung&#44;exynos7&#45;i2s&#34;</code></span>

<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>1</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>0</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>3</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-f46e11725a5c1b390eb1"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-8a3a309bb17c4138070a"></a>

**Rule 1**

> <a id="dt-e48fc66b375663861dbb"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-aedb068f2331c20af046"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-c64d8822f52d11762568"><code>&#34;tx&#34;</code></span>
>
> <a id="dt-1f75db67bb6fb04c3a5d"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-8201c97d53f057bd35be"><code>&#34;rx&#34;</code></span>

<a id="dt-c496dc335fa402380f0b"></a>

**Rule 2**

> <a id="dt-99816d964afbc5fed393"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-ef1285e116c91c599815"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-f6c737ecdabc56c6a5d1"><code>&#34;tx&#34;</code></span>
>
> <a id="dt-0c49e0651e2fb97eb69d"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-63131c791b04c383a846"><code>&#34;rx&#34;</code></span>
>
> <a id="dt-1eec483456fdd4a137ff"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-5a6954d2d713fe20860f"><code>&#34;tx&#45;sec&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>3</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-c94b78d6f12561baf6a0"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-661af0885579a69ba337"></a>

**Rule 1**

> <a id="dt-027418c760db9276fcba"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-bf543c95e0c50d9cb8f7"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-22588558d3128a1ce650"><code>&#34;iis&#34;</code></span>

<a id="dt-ae674f98e655e0f74db4"></a>

**Rule 2**

> <a id="dt-20fc6bfaeee95ba35790"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-f468ad1eba090a3de488"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-8c8dcde100c56b536a91"><code>&#34;iis&#34;</code></span>
>
> <a id="dt-b2245a46cbe503285ae3"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1e527555b977de836626"><code>&#34;i2s&#95;opclk0&#34;</code></span>
>
> <a id="dt-6ccd29364ec41f23f771"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-bd383bf1f3b36abaaf17"><code>&#34;i2s&#95;opclk1&#34;</code></span>

<a id="dt-dab360292547e1f4af0b"></a>

**Rule 3**

> <a id="dt-bdcf7746c4c74f18256e"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-23df87d96ac6d9cb502e"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-9c758e9593fabdf5635d"><code>&#34;iis&#34;</code></span>
>
> <a id="dt-2869e9860c9b81bafcac"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-8902fa4b002c629652e2"><code>&#34;i2s&#95;opclk0&#34;</code></span>

<div id="dt-d153c20aa0faf1618c41">
<p style="white-space: pre-wrap">"iis" is the I2S bus clock and i2s_opclk0, i2s_opclk1 are sources
of the root clock. I2S0 has internal mux to select the source
of root clock and I2S1 and I2S2 doesn't have any such mux.</p>
</div>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>1</code></span>

<a id="dt-ce7ce65ef6912a262371"></a>

### <code>clock&#45;output&#45;names</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-144f26ca3b8708fa6372"><code>true</code></span>

<a id="dt-02bee2ee01b3aba7023a"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-cb329d6d994068d65855"></a>

**Rule 1**

> <a id="dt-150072fb225fcaf56e1e"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-94df4db0e3887237ada8"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-b38349a1dfe05c28babc"><code>&#34;i2s&#95;cdclk0&#34;</code></span>

<a id="dt-84d5b28f6a0d433c3b82"></a>

**Rule 2**

> <a id="dt-426fc7cdc07a794127be"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-e0e811e1122bc0c73cb8"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-414ee52301af376e8e03"><code>&#34;i2s&#95;cdclk1&#34;</code></span>

<a id="dt-988d153483a862131825"></a>

**Rule 3**

> <a id="dt-1c2b54da9907dbaedede"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-43a8ccfafdc0af09dd25"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5daf1d2d2d0116b46fce"><code>&#34;i2s&#95;cdclk2&#34;</code></span>

<div id="dt-1944bc0b47114a0d6f2d">
<p style="white-space: pre-wrap">Names of the CDCLK I2S output clocks.</p>
</div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-a20d2c31b48535ce3058"></a>

### <code>samsung&#44;idma&#45;addr</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c8649245754aa4ad84dc">[<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-8474ca469bb0e2fabd82">
<p style="white-space: pre-wrap">Internal DMA register base address of the audio
subsystem (used in secondary sound source).</p>
</div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

**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;dmas&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/exynos-audss-clk.h&gt;

i2s0: i2s@3830000 {
    compatible = "samsung,s5pv210-i2s";
    reg = &lt;0x03830000 0x100&gt;;
    dmas = &lt;&amp;pdma0 10&gt;,
            &lt;&amp;pdma0 9&gt;,
            &lt;&amp;pdma0 8&gt;;
    dma-names = "tx", "rx", "tx-sec";
    clocks = &lt;&amp;clock_audss EXYNOS_I2S_BUS&gt;,
            &lt;&amp;clock_audss EXYNOS_I2S_BUS&gt;,
            &lt;&amp;clock_audss EXYNOS_SCLK_I2S&gt;;
    clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
    #clock-cells = &lt;1&gt;;
    samsung,idma-addr = &lt;0x03000000&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;i2s0_bus&gt;;
    #sound-dai-cells = &lt;1&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</span></p>

<p id="dt-comment-1"><strong>Line 91:</strong> <span> for I2S0</span></p>

<p id="dt-comment-2"><strong>Line 95:</strong> <span> for I2S1 and I2S2</span></p>

<p id="dt-comment-3"><strong>Line 109:</strong> <span> for I2S0</span></p>

<p id="dt-comment-4"><strong>Line 111:</strong> <span> for I2S1</span></p>

<p id="dt-comment-5"><strong>Line 113:</strong> <span> for I2S2</span></p>

</details>

---

# Generic Serial MIDI Interface

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Generic Serial MIDI Interface.

<!-- 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;serial&#45;midi&#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;Daniel Kaehn &#60;kaehndan&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Generic MIDI interface using a serial device. This denotes that a serial device is dedicated to MIDI communication, either to an external MIDI device through a DIN5 or other connector, or to a known hardwired MIDI controller. This device must be a child node of a serial node.
Can only be set to use standard baud rates corresponding to supported rates of the parent serial device. If the standard MIDI baud of 31.25 kBaud is needed (as would be the case if interfacing with arbitrary external MIDI devices), configure the clocks of the parent serial device so that a requested baud of 38.4 kBaud results in the standard MIDI baud rate, and set the 'current-speed' property to 38400 (default)</p>
</div>

<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>&#47;schemas&#47;serial&#47;serial&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-serial/serial-peripheral-props.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;serial&#45;midi&#34;</code></span>

<a id="dt-6d7d719f8cc734f6147b"></a>

### <code>current&#45;speed</code> — not listed as required here

<div id="dt-481aad712d7797ad8c09">
<p style="white-space: pre-wrap">Baudrate to set the serial port to when this MIDI device is opened.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-b418be03bfa9cf8f7e13"><code>38400</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#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">serial {
    midi {
        compatible = "serial-midi";
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">serial {
    midi {
        compatible = "serial-midi";
        current-speed = &lt;115200&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>

</details>

---

# Simple Audio Amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Simple Audio Amplifier.

<!-- 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;sound&#47;simple&#45;audio&#45;amplifier&#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;Jerome Brunet &#60;jbrunet&#64;baylibre&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;dioo&#44;dio2125&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;simple&#45;audio&#45;amplifier&#34;</code></span>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

<a id="dt-991408538b5a83c3f92f"></a>

### <code>VCC&#45;supply</code> — not listed as required here

<div id="dt-245ccdddf6060694393a">
<p style="white-space: pre-wrap">power supply for the device</p>
</div>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#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/gpio/meson8-gpio.h&gt;

analog-amplifier {
    compatible = "simple-audio-amplifier";
    VCC-supply = &lt;&amp;regulator&gt;;
    enable-gpios = &lt;&amp;gpio GPIOH_3 0&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</span></p>

</details>

---

# Simple Audio Multiplexer

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Simple Audio Multiplexer.

<!-- SPDX-License-Identifier: (GPL-2.0+ 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;simple&#45;audio&#45;mux&#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;Alexandre Belloni &#60;aleandre&#46;belloni&#64;bootlin&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Simple audio multiplexers are driven using gpios, allowing to select which of
their input line is connected to the output line.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;simple&#45;audio&#45;mux&#34;</code></span>

<a id="dt-474038e2038cc081a1e6"></a>

### <code>mux&#45;gpios</code> — required here

<div id="dt-3d434f8809298776c2b4">
<p style="white-space: pre-wrap">GPIOs used to select the input line.</p>
</div>

<a id="dt-6295ddb2ecca0174ba97"></a>

### <code>state&#45;labels</code> — not listed as required here

<div id="dt-a3ed90eb02abf5bdc4f3">
<p style="white-space: pre-wrap">State of input line. default is "Input 1", "Input 2"</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2fcb5eb878758ed2a764">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-7360acce49da10397d42>)</span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-97f0fc91bd96cef1ee31"><code>2</code></span>

<a id="dt-877dcb91674563236ebf"></a>

### <code>idle&#45;state</code> — not listed as required here

<div id="dt-b8a01cc0337c77470b30">
<p style="white-space: pre-wrap">If present specifies the state when the mux is powered down</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-24811695b6339419e1c8">[<code>&#47;schemas&#47;mux&#47;mux&#45;controller&#46;yaml&#35;&#47;properties&#47;idle&#45;state</code>](</kernel/hardware/devicetree-bindings/dt-mux/mux-controller.md#dt-877dcb91674563236ebf>)</span>

<a id="dt-11ee4a1accc23a0be61c"></a>

### <code>sound&#45;name&#45;prefix</code> — not listed as required here

<code>true</code> — No constraints added by this property 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;mux&#45;gpios&#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">mux {
    compatible = "simple-audio-mux";
    mux-gpios = &lt;&amp;gpio 3 0&gt;;
    state-labels = "Label_A", "Label_B";
    idle-state = &lt;0&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+ OR BSD-2-Clause)</span></p>

</details>

---

# Simple Audio Card Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Simple Audio Card Driver.

<!-- 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;sound&#47;simple&#45;card&#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-e9b5fcd17e32e2999030"></a>

## Reusable definitions (<code>definitions</code>)

<a id="dt-3b6258751039c90920e3"></a>

### <code>frame&#45;master</code>

<div id="dt-5fbcdf350800c54f2ee7">
<p style="white-space: pre-wrap">Indicates dai-link frame master.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-665d9e503a55117ca7ad">[<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-8e73afdf73b54d13da23"></a>

### <code>bitclock&#45;master</code>

<div id="dt-a2f50350421301836dd6">
<p style="white-space: pre-wrap">Indicates dai-link bit clock master</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ba19de7e41cff2281bae">[<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-248e057edb6bb0356b93"></a>

### <code>frame&#45;inversion</code>

<div id="dt-2ae0ce1ccd78628dc0bb">
<p style="white-space: pre-wrap">dai-link uses frame clock inversion</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fabb26a89e79a79aea9c">[<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-ec55dedc357eb39839e1"></a>

### <code>bitclock&#45;inversion</code>

<div id="dt-fee3d09c9d6de4e8bc6e">
<p style="white-space: pre-wrap">dai-link uses bit clock inversion</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cfa82bf6b70340dcf8a8">[<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-35e0a701b1d97bc5d5d5"></a>

### <code>dai&#45;tdm&#45;slot&#45;num</code>

<div id="dt-1ede8d0901ff8842fd5a">
<p style="white-space: pre-wrap">see tdm-slot.txt.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-62aed38f538baef640d5">[<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-f8c8af8dc8945a60d6e5"></a>

### <code>dai&#45;tdm&#45;slot&#45;width</code>

<div id="dt-3ae231ffe991aee9129c">
<p style="white-space: pre-wrap">see tdm-slot.txt.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d3a874ca0a429736b562">[<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-8de2e0caa4a9604efc3e"></a>

### <code>system&#45;clock&#45;frequency</code>

<div id="dt-f188c05d6ecd2f9827a9">
<p style="white-space: pre-wrap">If a clock is specified and a multiplication factor is given with
mclk-fs, the clock will be set to the calculated mclk frequency
when the stream starts.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9fc1f4185a1108f5dbdc">[<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-a74a3a07b77f5ff9c3f6"></a>

### <code>system&#45;clock&#45;direction&#45;out</code>

<div id="dt-58755787ec69e6eafc34">
<p style="white-space: pre-wrap">specifies clock direction as 'out' on initialization.
It is useful for some aCPUs with fixed clocks.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7bcd200355db85284d52">[<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-8ef685acabf4285d4284"></a>

### <code>system&#45;clock&#45;fixed</code>

<div id="dt-d306ece015ca74d96e1f">
<p style="white-space: pre-wrap">Specifies that the clock frequency should not be modified.
Implied when system-clock-frequency is specified, but can be used when
a clock is mapped to the device whose frequency cannot or should not be
changed. When mclk-fs is also specified, this restricts the device to a
single fixed sampling rate.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4ace63cf7b52dfdbd985">[<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-704baca6eb95d5a6bae1"></a>

### <code>mclk&#45;fs</code>

<div id="dt-d052acdeccc78607a571">
<p style="white-space: pre-wrap">Multiplication factor between stream rate and codec mclk.
When defined, mclk-fs property defined in dai-link sub nodes are ignored.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e419f0b1e280294fa8f8">[<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-f34aace8983511262973"></a>

### <code>aux&#45;devs</code>

<div id="dt-9277fd3b2f0dd96dc3f6">
<p style="white-space: pre-wrap">List of phandles pointing to auxiliary devices, such
as amplifiers, to be added to the sound card.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-eda7ae9cecfbe8067aa1">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-b95589eadb7a7fcf0910"></a>

### <code>convert&#45;rate</code>

<div id="dt-37348fe100d703a69e88">
<p style="white-space: pre-wrap">CPU to Codec rate convert.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-51a3d1580164ad608db9">[<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-188774dda1fa80a9e39e"></a>

### <code>convert&#45;channels</code>

<div id="dt-051ef14d1d123ccfabb0">
<p style="white-space: pre-wrap">CPU to Codec rate channels.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ee9b4f0d77019499852a">[<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-7196bd3e758b256f2062"></a>

### <code>prefix</code>

<div id="dt-05db04c63118d112baa7">
<p style="white-space: pre-wrap">device name prefix</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-762c630097e75fee42d2">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<a id="dt-d7dab65c5fc9d7bb2e26"></a>

### <code>label</code>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7d04b3a0e1d7d5f57bf4"><code>1</code></span>

<a id="dt-3dffa69d2469c97142ef"></a>

### <code>routing</code>

<div id="dt-5cdc3d2adcc4e992062d">
<p style="white-space: pre-wrap">A list of the connections between audio components.
Each entry is a pair of strings, the first being the
connection's sink, the second being the connection's source.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8791a89379342bd214c1">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<a id="dt-6543a511bd3c7bf323d9"></a>

### <code>widgets</code>

<div id="dt-d2895aa29759c5b4222a">
<p style="white-space: pre-wrap">User specified audio sound widgets.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a36b9c1be0ff987f087b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<a id="dt-4638108adce5c75d66d2"></a>

### <code>pin&#45;switches</code>

<div id="dt-7d98be286fd4d558bb67">
<p style="white-space: pre-wrap">the widget names for which pin switches must be created.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-dd468918e58070889bd8">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-7360acce49da10397d42>)</span>

<a id="dt-8ef57cf02c0149b54ca6"></a>

### <code>format</code>

<div id="dt-fe988c4b220d49ca6c3e">
<p style="white-space: pre-wrap">audio format.</p>
</div>

<a id="dt-281db1081013aae684fe"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-1c73081fcb766e873670"></a> <span id="dt-45a9d60e7667a69482f8"><code>&#34;i2s&#34;</code></span>, <span id="dt-1289a2bdeaee7cd3b4b0"><code>&#34;right&#95;j&#34;</code></span>, <span id="dt-5ba9e4726f8b1cfeac96"><code>&#34;left&#95;j&#34;</code></span>, <span id="dt-41f4995bafb35c73cca4"><code>&#34;dsp&#95;a&#34;</code></span>, <span id="dt-34e42c889ba7c0d9bdf9"><code>&#34;dsp&#95;b&#34;</code></span>, <span id="dt-0a9f89da0bd24d8019e5"><code>&#34;ac97&#34;</code></span>, <span id="dt-cf708fed8ecfce599cb4"><code>&#34;pdm&#34;</code></span>, <span id="dt-5d7ac2c40bf42339ac76"><code>&#34;msb&#34;</code></span>, <span id="dt-37c9438c424d0203613d"><code>&#34;lsb&#34;</code></span>

<a id="dt-c09ef0d16411b54aa886"></a>

### <code>dai</code>

**Value type (<code>type</code>):** <span id="dt-372f2b4d8091b4ca038e"><code>&#34;object&#34;</code></span>

<a id="dt-a5ba8215d8338129b8b4"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-9bbff35dcaa44b58dfb9"></a>

**<code>sound&#45;dai</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d11fd6cb9c0c6a241625"><code>1</code></span>

<a id="dt-ed293d977da8701a63cf"></a>

**<code>mclk&#45;fs</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2976c98ee84dc31bd8ff">[<code>&#35;&#47;definitions&#47;mclk&#45;fs</code>](<#dt-704baca6eb95d5a6bae1>)</span>

<a id="dt-4e55db10be4d7df86d63"></a>

**<code>prefix</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7c7d226e09dd5781025e">[<code>&#35;&#47;definitions&#47;prefix</code>](<#dt-7196bd3e758b256f2062>)</span>

<a id="dt-77894bb4cbe03f0dd442"></a>

**<code>frame&#45;inversion</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-20aff0c68c4daa4786a6">[<code>&#35;&#47;definitions&#47;frame&#45;inversion</code>](<#dt-248e057edb6bb0356b93>)</span>

<a id="dt-c4ea2116e6f2be71895e"></a>

**<code>bitclock&#45;inversion</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-13bd8d64d969fd11ff8b">[<code>&#35;&#47;definitions&#47;bitclock&#45;inversion</code>](<#dt-ec55dedc357eb39839e1>)</span>

<a id="dt-aa8312ff8451e4c402a0"></a>

**<code>frame&#45;master</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-18f922af2cdf9ddb6402">[<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-739d2660f69179900321"></a>

**<code>bitclock&#45;master</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2b41a11f8f96c78049a6">[<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-ceeddfaf4557b5b73d77"></a>

**<code>dai&#45;tdm&#45;slot&#45;num</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f5774a406d8ccde1807f">[<code>&#35;&#47;definitions&#47;dai&#45;tdm&#45;slot&#45;num</code>](<#dt-35e0a701b1d97bc5d5d5>)</span>

<a id="dt-ccaae01bb03e1c9ac0a3"></a>

**<code>dai&#45;tdm&#45;slot&#45;width</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3c1c39bc9025f31a5450">[<code>&#35;&#47;definitions&#47;dai&#45;tdm&#45;slot&#45;width</code>](<#dt-f8c8af8dc8945a60d6e5>)</span>

<a id="dt-875b70af706029fac2e6"></a>

**<code>clocks</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-a72c6d3e4c32eac709f7"><code>1</code></span>

<a id="dt-1feee5a634f53ed319f0"></a>

**<code>system&#45;clock&#45;frequency</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9f9be1aad2809a971130">[<code>&#35;&#47;definitions&#47;system&#45;clock&#45;frequency</code>](<#dt-8de2e0caa4a9604efc3e>)</span>

<a id="dt-01c8d22f535a30e46e40"></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-e0df513c852f32600ad4">[<code>&#35;&#47;definitions&#47;system&#45;clock&#45;direction&#45;out</code>](<#dt-a74a3a07b77f5ff9c3f6>)</span>

<a id="dt-d5eedda9eb0d8a9e0229"></a>

**<code>system&#45;clock&#45;fixed</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4e45f83d0637630a87b7">[<code>&#35;&#47;definitions&#47;system&#45;clock&#45;fixed</code>](<#dt-8ef685acabf4285d4284>)</span>

**Required in this object (<code>required</code>):** <a id="dt-7176f552a97f193aff96"></a> <span id="dt-41eedc4ba3638b08bf0c"><code>&#34;sound&#45;dai&#34;</code></span>

<a id="dt-6bf146e3104dc924650b"></a>

### <code>additional&#45;devs</code>

**Value type (<code>type</code>):** <span id="dt-d90f1f7ee3bda6aa74b3"><code>&#34;object&#34;</code></span>

<div id="dt-80a84b50916f807b54a8">
<p style="white-space: pre-wrap">Additional devices used by the simple audio card.</p>
</div>

<a id="dt-53bc0a3a04a31a244da8"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-ea21f8eb3a65bc2b0b07"></a>

**<code>&#94;iio&#45;aux&#40;&#45;&#46;&#43;&#41;&#63;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-9abb4f6d7b40044bf89f"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9bb20f2ef510fdd5eec1">[<code>audio&#45;iio&#45;aux&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-iio-aux.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-4ca83548ea02aea3457f"></a>

#### Rule for matching array elements (<code>contains</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-e94a17cf5e636efa744d"></a> <span id="dt-fc12e483d817548be400"><code>&#34;simple&#45;audio&#45;card&#34;</code></span>, <span id="dt-20064a6865f5d9b325e1"><code>&#34;simple&#45;scu&#45;audio&#45;card&#34;</code></span>

<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>1</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>0</code></span>

<a id="dt-0c6076cd9d6f109c5cc6"></a>

### <code>label</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d274594fad0dd3b3fee1">[<code>&#35;&#47;definitions&#47;label</code>](<#dt-d7dab65c5fc9d7bb2e26>)</span>

<a id="dt-64cf8e4756bb36ae01df"></a>

### <code>simple&#45;audio&#45;card&#44;name</code> — not listed as required here

<div id="dt-baf46c3fbc606576ac37">
<p style="white-space: pre-wrap">User specified audio sound card name.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f2c2b6df211d85710777">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<a id="dt-5197ba026d94fefb30e1"></a>

### <code>simple&#45;audio&#45;card&#44;widgets</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bed5d89939387dd6ca18">[<code>&#35;&#47;definitions&#47;widgets</code>](<#dt-6543a511bd3c7bf323d9>)</span>

<a id="dt-6eba7e465cb50ec2ac10"></a>

### <code>simple&#45;audio&#45;card&#44;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ef20de9b0cac86abb02e">[<code>&#35;&#47;definitions&#47;routing</code>](<#dt-3dffa69d2469c97142ef>)</span>

<a id="dt-f88eef0faa0f0b36db44"></a>

### <code>simple&#45;audio&#45;card&#44;frame&#45;master</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2ae53db661cb16d9ddc0">[<code>&#35;&#47;definitions&#47;frame&#45;master</code>](<#dt-3b6258751039c90920e3>)</span>

<a id="dt-f5fc5fbe0728e26323a1"></a>

### <code>simple&#45;audio&#45;card&#44;bitclock&#45;master</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5985b51203ba9f38fbfd">[<code>&#35;&#47;definitions&#47;bitclock&#45;master</code>](<#dt-8e73afdf73b54d13da23>)</span>

<a id="dt-2812ed60f83b4eab345a"></a>

### <code>simple&#45;audio&#45;card&#44;frame&#45;inversion</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bb099121b5281b18d665">[<code>&#35;&#47;definitions&#47;frame&#45;inversion</code>](<#dt-248e057edb6bb0356b93>)</span>

<a id="dt-28430b142654f9dcea36"></a>

### <code>simple&#45;audio&#45;card&#44;bitclock&#45;inversion</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cd439892387489de3784">[<code>&#35;&#47;definitions&#47;bitclock&#45;inversion</code>](<#dt-ec55dedc357eb39839e1>)</span>

<a id="dt-36b7bf63d6695d4c5508"></a>

### <code>simple&#45;audio&#45;card&#44;format</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d9202edae4efe22ea99f">[<code>&#35;&#47;definitions&#47;format</code>](<#dt-8ef57cf02c0149b54ca6>)</span>

<a id="dt-ea24ca7cd9f9cf71bbb9"></a>

### <code>simple&#45;audio&#45;card&#44;mclk&#45;fs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8d1af2f013098c3921d7">[<code>&#35;&#47;definitions&#47;mclk&#45;fs</code>](<#dt-704baca6eb95d5a6bae1>)</span>

<a id="dt-0d5fb84ad29f167b2acc"></a>

### <code>simple&#45;audio&#45;card&#44;aux&#45;devs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-89ca6c4b4339b30da0ce">[<code>&#35;&#47;definitions&#47;aux&#45;devs</code>](<#dt-f34aace8983511262973>)</span>

<a id="dt-84c5436fcafe7741df24"></a>

### <code>simple&#45;audio&#45;card&#44;additional&#45;devs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b2ec5d06bfa2e3077285">[<code>&#35;&#47;definitions&#47;additional&#45;devs</code>](<#dt-6bf146e3104dc924650b>)</span>

<a id="dt-bbacfc057b05c098a5ee"></a>

### <code>simple&#45;audio&#45;card&#44;convert&#45;rate</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8da67f3f14a4ca31cec5">[<code>&#35;&#47;definitions&#47;convert&#45;rate</code>](<#dt-b95589eadb7a7fcf0910>)</span>

<a id="dt-4cfdfc44091c63d486de"></a>

### <code>simple&#45;audio&#45;card&#44;convert&#45;channels</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-05c5c292c630213e6549">[<code>&#35;&#47;definitions&#47;convert&#45;channels</code>](<#dt-188774dda1fa80a9e39e>)</span>

<a id="dt-782ecb80605b7ac67e71"></a>

### <code>simple&#45;audio&#45;card&#44;prefix</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-725e8ccae99dfa9ab5c4">[<code>&#35;&#47;definitions&#47;prefix</code>](<#dt-7196bd3e758b256f2062>)</span>

<a id="dt-b6e059f7cb6119c21628"></a>

### <code>simple&#45;audio&#45;card&#44;pin&#45;switches</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-63cca1bda01cdc0ab480">[<code>&#35;&#47;definitions&#47;pin&#45;switches</code>](<#dt-4638108adce5c75d66d2>)</span>

<a id="dt-1286eaab2fbd3da4c5fa"></a>

### <code>simple&#45;audio&#45;card&#44;hp&#45;det&#45;gpio</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-2ae6966b0f16bdf34540"><code>true</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7d00a0eb2f3daac2baa1"><code>1</code></span>

<a id="dt-ff5a55771079bd2d34d7"></a>

### <code>simple&#45;audio&#45;card&#44;hp&#45;det&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-1e28b22aac139f48597c"><code>1</code></span>

<a id="dt-dbaf2e6707377ad81261"></a>

### <code>simple&#45;audio&#45;card&#44;mic&#45;det&#45;gpio</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-befa60db7158e50015cd"><code>true</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-058d15b165652b6afb8f"><code>1</code></span>

<a id="dt-9dda643b2f68dafb4e96"></a>

### <code>simple&#45;audio&#45;card&#44;mic&#45;det&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6562fccad360cdc4ac26"><code>1</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-607f0452a5ceb4a38693"></a>

### <code>&#94;simple&#45;audio&#45;card&#44;cpu&#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-f286b8be2f9cdd4f8260">[<code>&#35;&#47;definitions&#47;dai</code>](<#dt-c09ef0d16411b54aa886>)</span>

<a id="dt-74018da6971dbb1cd3fe"></a>

### <code>&#94;simple&#45;audio&#45;card&#44;codec&#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-bcc9be1743d50f972adb">[<code>&#35;&#47;definitions&#47;dai</code>](<#dt-c09ef0d16411b54aa886>)</span>

<a id="dt-573b95c5c77f4f125ffa"></a>

### <code>&#94;simple&#45;audio&#45;card&#44;plat&#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-777c4cc86c7be3f3317e">[<code>&#35;&#47;definitions&#47;dai</code>](<#dt-c09ef0d16411b54aa886>)</span>

<a id="dt-bba1c35086cc387b3441"></a>

### <code>&#94;simple&#45;audio&#45;card&#44;dai&#45;link&#40;&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

<div id="dt-e478665781add0bf1379">
<p style="white-space: pre-wrap">Container for dai-link level properties and the CPU and CODEC sub-nodes.
This container may be omitted when the card has only one DAI link.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-053598cc951c3507fff5"><code>&#34;object&#34;</code></span>

<a id="dt-d25448d8cc299a9c03e8"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-d459859783879c6beb28"></a>

**<code>reg</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-939e6f8b83d666daa7ad"><code>1</code></span>

<a id="dt-39ed6ec21b9a0555dc47"></a>

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-044c536c8ca485e023ef"><code>1</code></span>

<a id="dt-ee17edb8e945783b83bf"></a>

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-bf257e762c38dfe2005c"><code>0</code></span>

<a id="dt-000a7ea90df39b408eb2"></a>

**<code>frame&#45;master</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6bc224c1c23cc9675ebb">[<code>&#35;&#47;definitions&#47;frame&#45;master</code>](<#dt-3b6258751039c90920e3>)</span>

<a id="dt-3a1d7addb657d58df77f"></a>

**<code>bitclock&#45;master</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ddbb2a4dc634e31de6f6">[<code>&#35;&#47;definitions&#47;bitclock&#45;master</code>](<#dt-8e73afdf73b54d13da23>)</span>

<a id="dt-d25c3840381640f039d3"></a>

**<code>frame&#45;inversion</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7c056173502d975638f4">[<code>&#35;&#47;definitions&#47;frame&#45;inversion</code>](<#dt-248e057edb6bb0356b93>)</span>

<a id="dt-a70d4bd1904f3879b8cb"></a>

**<code>bitclock&#45;inversion</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c0974dd9aad341a442f6">[<code>&#35;&#47;definitions&#47;bitclock&#45;inversion</code>](<#dt-ec55dedc357eb39839e1>)</span>

<a id="dt-505d51b98745c3a51cc4"></a>

**<code>format</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d2be6db0431f4d62b876">[<code>&#35;&#47;definitions&#47;format</code>](<#dt-8ef57cf02c0149b54ca6>)</span>

<a id="dt-3b0a3e1c618dfa65f9ad"></a>

**<code>mclk&#45;fs</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e2adfe08aa5946ec6ab1">[<code>&#35;&#47;definitions&#47;mclk&#45;fs</code>](<#dt-704baca6eb95d5a6bae1>)</span>

<a id="dt-14002795d5e2412456b9"></a>

**<code>aux&#45;devs</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-921addbee44d2b544fb7">[<code>&#35;&#47;definitions&#47;aux&#45;devs</code>](<#dt-f34aace8983511262973>)</span>

<a id="dt-921ac615d61a6455dc96"></a>

**<code>convert&#45;rate</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-33b42f478dc013f94e43">[<code>&#35;&#47;definitions&#47;convert&#45;rate</code>](<#dt-b95589eadb7a7fcf0910>)</span>

<a id="dt-2cd2db94b224661a8120"></a>

**<code>convert&#45;channels</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a802c4def5604678e8cf">[<code>&#35;&#47;definitions&#47;convert&#45;channels</code>](<#dt-188774dda1fa80a9e39e>)</span>

<a id="dt-1adb2a8e435b07c5ab15"></a>

**<code>prefix</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-262351243afd0a4d6bc7">[<code>&#35;&#47;definitions&#47;prefix</code>](<#dt-7196bd3e758b256f2062>)</span>

<a id="dt-c092e465c93d3da1c410"></a>

**<code>pin&#45;switches</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-abe6856dc5a4942529d1">[<code>&#35;&#47;definitions&#47;pin&#45;switches</code>](<#dt-4638108adce5c75d66d2>)</span>

<a id="dt-fc559e7d94780ba44164"></a>

**<code>hp&#45;det&#45;gpio</code> — not listed as required here**

**Deprecated (<code>deprecated</code>):** <span id="dt-237b3f0c2e8ac40e0e22"><code>true</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-671756030e689062fd3a"><code>1</code></span>

<a id="dt-8fb3fe62e13d00d6d671"></a>

**<code>hp&#45;det&#45;gpios</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e3baf415fd5b3a0b9298"><code>1</code></span>

<a id="dt-2989a69a24fc401afa5a"></a>

**<code>mic&#45;det&#45;gpio</code> — not listed as required here**

**Deprecated (<code>deprecated</code>):** <span id="dt-d2215ac91edc746232cb"><code>true</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-dc0ba0d180c6b1b2ef9e"><code>1</code></span>

<a id="dt-3ee687ef6344acb57652"></a>

**<code>mic&#45;det&#45;gpios</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9f928b9aca623ab7fba5"><code>1</code></span>

<a id="dt-2629368306c0a1b96491"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-0c46f11ef639b6cd1234"></a>

**<code>&#94;cpu&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-23e897de3e8b6b7d058c">[<code>&#35;&#47;definitions&#47;dai</code>](<#dt-c09ef0d16411b54aa886>)</span>

<a id="dt-5016049686d96c434d14"></a>

**<code>&#94;codec&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-523fd7971da76cbebc40">[<code>&#35;&#47;definitions&#47;dai</code>](<#dt-c09ef0d16411b54aa886>)</span>

<a id="dt-1b53d8088afc32528a01"></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>

<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">sound {
    compatible = "simple-audio-card";
    simple-audio-card,name = "VF610-Tower-Sound-Card";
    simple-audio-card,format = "left_j";
    simple-audio-card,bitclock-master = &lt;&amp;dailink0_master&gt;;
    simple-audio-card,frame-master = &lt;&amp;dailink0_master&gt;;
    simple-audio-card,widgets =
            "Microphone", "Microphone Jack",
            "Headphone", "Headphone Jack",
            "Speaker", "External Speaker";
    simple-audio-card,routing =
            "MIC_IN", "Microphone Jack",
            "Headphone Jack", "HP_OUT",
            "External Speaker", "LINE_OUT";

    simple-audio-card,cpu {
        sound-dai = &lt;&amp;sh_fsi2 0&gt;;
    };

    dailink0_master: simple-audio-card,codec {
        sound-dai = &lt;&amp;ak4648&gt;;
        clocks = &lt;&amp;osc&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">sound {
    compatible = "simple-audio-card";
    simple-audio-card,name = "Cubox Audio";

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    simple-audio-card,dai-link@0 {		/* I2S - HDMI */
        reg = &lt;0&gt;;
        format = "i2s";
        cpu {
            sound-dai = &lt;&amp;audio0&gt;;
        };
        codec {
            sound-dai = &lt;&amp;tda998x0&gt;;
        };
    };

    simple-audio-card,dai-link@1 {		/* S/PDIF - HDMI */
        reg = &lt;1&gt;;
        cpu {
            sound-dai = &lt;&amp;audio1&gt;;
        };
        codec {
            sound-dai = &lt;&amp;tda998x1&gt;;
        };
    };

    simple-audio-card,dai-link@2 {		/* S/PDIF - S/PDIF */
        reg = &lt;2&gt;;
        cpu {
            sound-dai = &lt;&amp;audio2&gt;;
        };
        codec {
            sound-dai = &lt;&amp;spdif_codec&gt;;
        };
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">sound {
    compatible = "simple-audio-card";

    simple-audio-card,widgets =
        "Headphone", "Headphone Jack";
    simple-audio-card,routing =
        "Headphone Jack", "HPLEFT",
        "Headphone Jack", "HPRIGHT",
        "LEFTIN", "HPL",
        "RIGHTIN", "HPR";
    simple-audio-card,aux-devs = &lt;&amp;amp&gt;;
    simple-audio-card,cpu {
        sound-dai = &lt;&amp;ssi2&gt;;
    };
    simple-audio-card,codec {
        sound-dai = &lt;&amp;codec&gt;;
        clocks = &lt;&amp;clocks&gt;;
    };
};
</code></pre>

<pre id="dt-cf8a683b5a963eb1c566"><code class="language-dts">sound {
    compatible = "simple-audio-card";

    simple-audio-card,aux-devs = &lt;&amp;amp_in&gt;, &lt;&amp;amp_out&gt;;
    simple-audio-card,routing =
        "CODEC LEFTIN", "AMP_IN LEFT OUT",
        "CODEC RIGHTIN", "AMP_IN RIGHT OUT",
        "AMP_OUT LEFT IN", "CODEC LEFTOUT",
        "AMP_OUT RIGHT IN", "CODEC RIGHTOUT";

    simple-audio-card,additional-devs {
        amp_out: iio-aux-out {
            compatible = "audio-iio-aux";
            io-channels = &lt;&amp;pot_out 0&gt;, &lt;&amp;pot_out 1&gt;;
            io-channel-names = "LEFT", "RIGHT";
            snd-control-invert-range = &lt;1 1&gt;;
            sound-name-prefix = "AMP_OUT";
        };

        amp_in: iio_aux-in {
            compatible = "audio-iio-aux";
            io-channels = &lt;&amp;pot_in 0&gt;, &lt;&amp;pot_in 1&gt;;
            io-channel-names = "LEFT", "RIGHT";
            sound-name-prefix = "AMP_IN";
        };
    };

    simple-audio-card,cpu {
        sound-dai = &lt;&amp;cpu&gt;;
    };

    simple-audio-card,codec {
        sound-dai = &lt;&amp;codec&gt;;
        clocks = &lt;&amp;clocks&gt;;
    };
};
</code></pre>

<pre id="dt-89dd782fdab7d446b5b9"><code class="language-dts">sound {
    compatible = "simple-audio-card";

    simple-audio-card,name = "rsnd-ak4643";
    simple-audio-card,format = "left_j";
    simple-audio-card,bitclock-master = &lt;&amp;sndcodec&gt;;
    simple-audio-card,frame-master = &lt;&amp;sndcodec&gt;;

    simple-audio-card,convert-rate = &lt;48000&gt;;

    simple-audio-card,prefix = "ak4642";
    simple-audio-card,routing = "ak4642 Playback", "DAI0 Playback",
                                "DAI0 Capture", "ak4642 Capture";

    sndcpu: simple-audio-card,cpu {
        sound-dai = &lt;&amp;rcar_sound&gt;;
    };

    sndcodec: simple-audio-card,codec {
        sound-dai = &lt;&amp;ak4643&gt;;
        system-clock-frequency = &lt;11289600&gt;;
    };
};
</code></pre>

<pre id="dt-0a7a1e02b6a2bd0df8c7"><code class="language-dts">sound {
    compatible = "simple-audio-card";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    simple-audio-card,name = "rsnd-ak4643";
    simple-audio-card,format = "left_j";
    simple-audio-card,bitclock-master = &lt;&amp;dpcmcpu&gt;;
    simple-audio-card,frame-master = &lt;&amp;dpcmcpu&gt;;

    simple-audio-card,convert-rate = &lt;48000&gt;;
    simple-audio-card,convert-channels = &lt;2&gt;;

    simple-audio-card,routing = "ak4642 Playback", "DAI0 Playback",
                                "ak4642 Playback", "DAI1 Playback";

    dpcmcpu: simple-audio-card,cpu@0 {
        reg = &lt;0&gt;;
        sound-dai = &lt;&amp;rcar_sound 0&gt;;
    };

    simple-audio-card,cpu@1 {
        reg = &lt;1&gt;;
        sound-dai = &lt;&amp;rcar_sound 1&gt;;
    };

    simple-audio-card,codec {
        prefix = "ak4642";
        sound-dai = &lt;&amp;ak4643&gt;;
        clocks = &lt;&amp;audio_clock&gt;;
    };
};
</code></pre>

<pre id="dt-f015148604ca561352a9"><code class="language-dts">sound {
    compatible = "simple-audio-card";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    simple-audio-card,routing =
        "pcm3168a Playback", "DAI1 Playback",
        "pcm3168a Playback", "DAI2 Playback",
        "pcm3168a Playback", "DAI3 Playback",
        "pcm3168a Playback", "DAI4 Playback";

    simple-audio-card,dai-link@0 {
        reg = &lt;0&gt;;
        format = "left_j";
        bitclock-master = &lt;&amp;sndcpu0&gt;;
        frame-master = &lt;&amp;sndcpu0&gt;;

        sndcpu0: cpu {
            sound-dai = &lt;&amp;rcar_sound 0&gt;;
        };
        codec {
            sound-dai = &lt;&amp;ak4613&gt;;
        };
    };

    simple-audio-card,dai-link@1 {
        reg = &lt;1&gt;;
        format = "i2s";
        bitclock-master = &lt;&amp;sndcpu1&gt;;
        frame-master = &lt;&amp;sndcpu1&gt;;

        convert-channels = &lt;8&gt;; /* TDM Split */

        sndcpu1: cpu-0 {
            sound-dai = &lt;&amp;rcar_sound 1&gt;;
        };
        cpu-1 {
            sound-dai = &lt;&amp;rcar_sound 2&gt;;
        };
        cpu-2 {
            sound-dai = &lt;&amp;rcar_sound 3&gt;;
        };
        cpu-3 {
            sound-dai = &lt;&amp;rcar_sound 4&gt;;
        };
        codec {
            mclk-fs = &lt;512&gt;;
            prefix = "pcm3168a";
            dai-tdm-slot-num = &lt;8&gt;;
            sound-dai = &lt;&amp;pcm3168a 0&gt;;
        };
    };

    simple-audio-card,dai-link@2 {
        reg = &lt;2&gt;;
        format = "i2s";
        bitclock-master = &lt;&amp;sndcpu2&gt;;
        frame-master = &lt;&amp;sndcpu2&gt;;

        sndcpu2: cpu {
            sound-dai = &lt;&amp;rcar_sound 5&gt;;
        };
        codec {
            mclk-fs = &lt;512&gt;;
            prefix = "pcm3168a";
            sound-dai = &lt;&amp;pcm3168a 1&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</span></p>

<p id="dt-comment-1"><strong>Line 122:</strong> <span> common properties</span></p>

<p id="dt-comment-2"><strong>Line 184:</strong> <span> common properties</span></p>

<p id="dt-comment-3"><strong>Line 241:</strong> <span> common properties</span></p>

<p id="dt-comment-4"><strong>Line 288:</strong> <span> --------------------</span></p>

<p id="dt-comment-5"><strong>Line 289:</strong> <span> single DAI link</span></p>

<p id="dt-comment-6"><strong>Line 290:</strong> <span> --------------------</span></p>

<p id="dt-comment-7"><strong>Line 317:</strong> <span> --------------------</span></p>

<p id="dt-comment-8"><strong>Line 318:</strong> <span> Multi DAI links</span></p>

<p id="dt-comment-9"><strong>Line 319:</strong> <span> --------------------</span></p>

<p id="dt-comment-10"><strong>Line 360:</strong> <span> --------------------</span></p>

<p id="dt-comment-11"><strong>Line 361:</strong> <span> route audio from IMX6 SSI2 through TLV320DAC3100 codec</span></p>

<p id="dt-comment-12"><strong>Line 362:</strong> <span> through TPA6130A2 amplifier to headphones:</span></p>

<p id="dt-comment-13"><strong>Line 363:</strong> <span> --------------------</span></p>

<p id="dt-comment-14"><strong>Line 385:</strong> <span> --------------------</span></p>

<p id="dt-comment-15"><strong>Line 386:</strong> <span> route audio to/from a codec through an amplifier</span></p>

<p id="dt-comment-16"><strong>Line 387:</strong> <span> designed with a potentiometer driven by IIO:</span></p>

<p id="dt-comment-17"><strong>Line 388:</strong> <span> --------------------</span></p>

<p id="dt-comment-18"><strong>Line 427:</strong> <span> --------------------</span></p>

<p id="dt-comment-19"><strong>Line 428:</strong> <span> Sampling Rate Conversion</span></p>

<p id="dt-comment-20"><strong>Line 429:</strong> <span> --------------------</span></p>

<p id="dt-comment-21"><strong>Line 455:</strong> <span> --------------------</span></p>

<p id="dt-comment-22"><strong>Line 456:</strong> <span> 2 CPU 1 Codec (Mixing)</span></p>

<p id="dt-comment-23"><strong>Line 457:</strong> <span> --------------------</span></p>

<p id="dt-comment-24"><strong>Line 492:</strong> <span> --------------------</span></p>

<p id="dt-comment-25"><strong>Line 493:</strong> <span> Multi DAI links with DPCM:</span></p>

<p id="dt-comment-26"><strong>Line 494:</strong> <span></span></p>

<p id="dt-comment-27"><strong>Line 495:</strong> <span> CPU0 ------ ak4613</span></p>

<p id="dt-comment-28"><strong>Line 496:</strong> <span> CPU1 ------ PCM3168A-p  /* DPCM 1ch/2ch */</span></p>

<p id="dt-comment-29"><strong>Line 497:</strong> <span> CPU2 --/                /* DPCM 3ch/4ch */</span></p>

<p id="dt-comment-30"><strong>Line 498:</strong> <span> CPU3 --/                /* DPCM 5ch/6ch */</span></p>

<p id="dt-comment-31"><strong>Line 499:</strong> <span> CPU4 --/                /* DPCM 7ch/8ch */</span></p>

<p id="dt-comment-32"><strong>Line 500:</strong> <span> CPU5 ------ PCM3168A-c</span></p>

<p id="dt-comment-33"><strong>Line 501:</strong> <span> --------------------</span></p>

</details>

---

# DesignWare I2S controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for DesignWare I2S controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;snps&#44;designware&#45;i2s&#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;Jose Abreu &#60;joabreu&#64;synopsys&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;canaan&#44;k210&#45;i2s&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;snps&#44;designware&#45;i2s&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Allowed values (<code>enum</code>):** <a id="dt-ad5dbad5326d5a61ae46"></a> <span id="dt-af4759e2a8ab9583f63d"><code>&#34;snps&#44;designware&#45;i2s&#34;</code></span>, <span id="dt-9aa1d0e5d9a73a253eb7"><code>&#34;starfive&#44;jh7110&#45;i2stx0&#34;</code></span>, <span id="dt-5c9870d52793df25216b"><code>&#34;starfive&#44;jh7110&#45;i2stx1&#34;</code></span>, <span id="dt-5142a30d4d34242a17aa"><code>&#34;starfive&#44;jh7110&#45;i2srx&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The interrupt line number for the I2S controller. Add this
parameter if the I2S controller that you are using does not
support DMA.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Sampling rate reference clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">APB clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">Audio master clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">Inner audio master clock source</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">External audio master clock source</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">Bit clock</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">Left/right channel clock</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">External bit clock</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">External left/right channel clock</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;i2sclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;apb&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;mclk&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;mclk&#95;inner&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;mclk&#95;ext&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;bclk&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;lrck&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;bclk&#95;ext&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;lrck&#95;ext&#34;</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

<a id="dt-7d15d3b17aa2d528614e"></a>

#### Array item rules (<code>items</code>)

<a id="dt-95107b4b3584e917ff31"></a>

**Item 1**

> <div id="dt-3686a6620d670314acea">
> <p style="white-space: pre-wrap">Optional controller resets</p>
> </div>

<a id="dt-d5e57279f24674469f92"></a>

**Item 2**

> <div id="dt-ea6a40f03c50681315cc">
> <p style="white-space: pre-wrap">controller reset of Sampling rate</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-645ab1fb5ab11474dc54"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">TX DMA Channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">RX DMA Channel</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>1</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-6d0b8f093f81278007f9"><code>1</code></span>

<a id="dt-d022f27c81d056d17790"></a>

### <code>starfive&#44;syscon</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a77e05d4d33f660f399b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-91deb4153b82a0bd2ff4"></a>

#### Array item rules (<code>items</code>)

<a id="dt-6f4a2a10b0b4677b3691"></a>

**Item 1**

> <a id="dt-cd0da229f0a01f7448a0"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-77ffe9063384ada5e1b7"></a>
>
> **Item 1**
>
> > <div id="dt-e49827f886043197fe3a">
> > <p style="white-space: pre-wrap">phandle to System Register Controller sys_syscon node.</p>
> > </div>
>
> <a id="dt-c47b05a1033b3824fa4a"></a>
>
> **Item 2**
>
> > <div id="dt-2193f82760b75f539698">
> > <p style="white-space: pre-wrap">I2S-rx enabled control offset of SYS_SYSCONSAIF__SYSCFG register.</p>
> > </div>
>
> <a id="dt-89c4b1f2ff903960f8de"></a>
>
> **Item 3**
>
> > <div id="dt-079acbec127d728105b7">
> > <p style="white-space: pre-wrap">I2S-rx enabled control mask</p>
> > </div>

<div id="dt-5fbea6e1be5febff4ba3">
<p style="white-space: pre-wrap">The phandle to System Register Controller syscon node and the I2S-rx(ADC) enabled control offset and mask of SYS_SYSCONSAIF__SYSCFG register.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;canaan&#44;k210&#45;i2s&#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-63d08dbb6bf37a82e0c1"></a>
> >
> > **<code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-4f76af0c3accd6ca1233"><code>1</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-59b5458106dda91de149"></a>
> >
> > **<code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-98b2c8194e0cfd636960"><code>0</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;snps&#44;designware&#45;i2s&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b6a3ef79f98a671e3897"><code>1</code></span>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-af5c957d7f8b13028255"><code>1</code></span>
> >
> > <a id="dt-c0283b740329014d51de"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-7c7bd1efbdea40aa530d"><code>1</code></span>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-cd51450a704923b81c40"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-3778acb4a8bbe2222577"><code>2</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b18511bff8b756af69ad"><code>2</code></span>

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5c56c46a4e287cf52ece"><code>&#34;starfive&#44;jh7110&#45;i2stx0&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9b48ab756d49c09e7d6e"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-0d329c1d0e8794ec82db"><code>5</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2840472fefd88961267c"><code>5</code></span>
> >
> > <a id="dt-0dd30bad243a0df76d0b"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-a6de7153ef67b90d4495"><code>5</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-d46b2a295f669e454d2b"><code>5</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-e8e2f7d7ecdebb81c712"></a> <span id="dt-1a51fa9eec7d4fe91130"><code>&#34;resets&#34;</code></span>

<a id="dt-1c66024c2be5a725f708"></a>

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-def647aea9878c3c7610"><code>&#34;starfive&#44;jh7110&#45;i2stx1&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-61105cb355bf27434ff1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-aa0d767cf1ac9fac4f5a"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-a0ce00e83e48875d8fd0"><code>9</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2177aa6156683c9aaaa1"><code>9</code></span>
> >
> > <a id="dt-50f1ce702c9c66684754"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-510317f16647fb107d3a"><code>9</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-9467b9e51f6c6093048c"><code>9</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-d0be233c145bb706d4e5"></a> <span id="dt-70d480dba72a9448693e"><code>&#34;resets&#34;</code></span>

<a id="dt-51879ae9be030b28e888"></a>

### Rule 6

> <a id="dt-29f1a7d11303016de0fb"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-31db8c2b34419cd49333"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-049791ad441d801be5c0"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-b015f3429cf037cca578"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-7f8a84f9de0fb496acc4"><code>&#34;starfive&#44;jh7110&#45;i2srx&#34;</code></span>
>
> <a id="dt-5d3814a6fa606b79b9a6"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-bc42d1cd066384e1f6fa"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-5cedb4af376c7ab36944"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b7c54c3bf40945b85783"><code>9</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-5032aef16422f9f5489e"><code>9</code></span>
> >
> > <a id="dt-05f0b7ea7d095111f4fa"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-2986aec00cd2496625fb"><code>9</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-ef04d7c4968d2356eac0"><code>9</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-4d24b4f1e20ac26d3bb0"></a> <span id="dt-5222e20791875e6a5bb0"><code>&#34;resets&#34;</code></span>, <span id="dt-6b34eb0da848c5ad1a7f"><code>&#34;starfive&#44;syscon&#34;</code></span>
>
> <a id="dt-12993a33272d9cd90990"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-88eb81ccba2edad81b56"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a8d73d54051e5598acda"></a>
> >
> > **<code>starfive&#44;syscon</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property 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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-51356188806d31ca2021"></a>

## Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-cd9b886d4ab1d8a8e722"></a>

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-48cc38ffec184df79a62"></a> <span id="dt-bbd3b687ebb435349af2"><code>&#34;dmas&#34;</code></span>, <span id="dt-197071ddece3cb0e54fd"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-ba873e4d927d6e7d51c4"></a>

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-686ce4562589647d257c"></a> <span id="dt-8060cb7221f215eec82f"><code>&#34;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">soc_i2s: i2s@7ff90000 {
  compatible = "snps,designware-i2s";
  reg = &lt;0x7ff90000 0x1000&gt;;
  clocks = &lt;&amp;scpi_i2sclk 0&gt;;
  clock-names = "i2sclk";
  #sound-dai-cells = &lt;0&gt;;
  dmas = &lt;&amp;dma0 5&gt;;
  dma-names = "tx";
};
</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 OR BSD-2-Clause)</span></p>

</details>

---

# UniPhier AIO audio system

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for UniPhier AIO audio system.

<!-- 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;socionext&#44;uniphier&#45;aio&#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;&#60;alsa&#45;devel&#64;alsa&#45;project&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;socionext&#44;uniphier&#45;ld11&#45;aio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;socionext&#44;uniphier&#45;ld20&#45;aio&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;socionext&#44;uniphier&#45;pxs2&#45;aio&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;aio&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-fc45b57fcd1ba81d2c64"><code>&#34;aio&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-7ca65593c17085964261"></a>

### <code>socionext&#44;syscon</code> — not listed as required here

<div id="dt-f81390044f0fc62ca3cd">
<p style="white-space: pre-wrap">Specifies a phandle to soc-glue, which is used for changing mode of S/PDIF
signal pin to output from Hi-Z. This property is optional if you use I2S
signal pins only.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-01e3be4a2e677a784b1d">[<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-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-9c1958d867b8b8e1cda6"></a>

### <code>&#94;port&#64;&#91;0&#45;9&#93;&#36;</code> — name matches this regular expression

<div id="dt-919536992804ca751c8d">
<pre><code>Port number of DT node is specified by the following DAI channels that
depends on SoC.
ld11-aio,ld20-aio:
  0: hdmi
  1: pcmin2
  2: line
  3: hpcmout1
  4: pcmout3
  5: hiecout1
  6: epcmout2
  7: epcmout3
  8: hieccompout1
pxs2-aio:
  0: hdmi
  1: line
  2: aux
  3: hiecout1
  4: iecout1
  5: hieccompout1
  6: ieccompout1</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b58a0d75f52e90e4ba11">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-8a06c102fcaca6ced4b0"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;resets&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">audio@56000000 {
    compatible = "socionext,uniphier-ld20-aio";
    reg = &lt;0x56000000 0x80000&gt;;
    interrupts = &lt;0 144 4&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_aout&gt;;
    clock-names = "aio";
    clocks = &lt;&amp;sys_clk 40&gt;;
    reset-names = "aio";
    resets = &lt;&amp;sys_rst 40&gt;;
    #sound-dai-cells = &lt;1&gt;;
    socionext,syscon = &lt;&amp;soc_glue&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>

</details>

---

# UniPhier EVEA SoC-internal sound codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for UniPhier EVEA SoC-internal sound codec.

<!-- 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;socionext&#44;uniphier&#45;evea&#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;&#60;alsa&#45;devel&#64;alsa&#45;project&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;socionext&#44;uniphier&#45;evea&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;evea&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;exiv&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

<a id="dt-353fc881e5c58d1dcba1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-00c19fce1fea453eab02"><code>&#34;evea&#34;</code></span>

<a id="dt-80813f149d5a57545875"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-bff27a7e8c043853e284"><code>&#34;exiv&#34;</code></span>

<a id="dt-4e4402977ece4872e6e4"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-b66875ab339f76330538"><code>&#34;adamv&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-645ab1fb5ab11474dc54"><code>3</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>3</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-9c1958d867b8b8e1cda6"></a>

### <code>&#94;port&#64;&#91;0&#45;9&#93;&#36;</code> — name matches this regular expression

<div id="dt-919536992804ca751c8d">
<pre><code>Port number of DT node is specified by the following DAI channels.
  0: line1
  1: hp
  2: line2</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b58a0d75f52e90e4ba11">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-8a06c102fcaca6ced4b0"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;clock&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;resets&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">codec@57900000 {
    compatible = "socionext,uniphier-evea";
    reg = &lt;0x57900000 0x1000&gt;;
    clock-names = "evea", "exiv";
    clocks = &lt;&amp;sys_clk 41&gt;, &lt;&amp;sys_clk 42&gt;;
    reset-names = "evea", "exiv", "adamv";
    resets = &lt;&amp;sys_rst 41&gt;, &lt;&amp;sys_rst 42&gt;, &lt;&amp;adamv_rst 0&gt;;
    #sound-dai-cells = &lt;1&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>

</details>

---

# Sophgo CV1800B Internal ADC/DAC Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Sophgo CV1800B Internal ADC/DAC Codec.

<!-- 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;sophgo&#44;cv1800b&#45;codecs&#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;Anton D&#46; Stavinskii &#60;stavinsky&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Internal ADC and DAC audio codecs integrated in the Sophgo CV1800B SoC. Codecs expose a single DAI and are intended to be connected to an I2S/TDM controller via an ASoC machine driver.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;sophgo&#44;cv1800b&#45;sound&#45;adc&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;sophgo&#44;cv1800b&#45;sound&#45;dac&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">audio-codec@300a100 {
  compatible = "sophgo,cv1800b-sound-adc";
  reg = &lt;0x0300a100 0x100&gt;;
  #sound-dai-cells = &lt;0&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>

</details>

---

# Sophgo CV1800B I2S/TDM controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Sophgo CV1800B I2S/TDM controller.

<!-- 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;sophgo&#44;cv1800b&#45;i2s&#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;Anton D&#46; Stavinskii &#60;stavinsky&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">I2S/TDM controller found in CV1800B / Sophgo SG2002/SG2000 SoCs.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sophgo&#44;cv1800b&#45;i2s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;i2s&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mclk&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-6d0b8f093f81278007f9"><code>1</code></span>

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-0b1c0ae358961bd0f7aa"></a> <span id="dt-a6989793672531931b48"><code>&#34;rx&#34;</code></span>, <span id="dt-23bdb23d318bc2f867d8"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/sophgo,cv1800.h&gt;

i2s@4110000 {
    compatible = "sophgo,cv1800b-i2s";
    reg = &lt;0x04110000 0x10000&gt;;
    clocks = &lt;&amp;clk CLK_APB_I2S1&gt;,  &lt;&amp;clk CLK_SDMA_AUD1&gt;;
    clock-names = "i2s", "mclk";
    dmas = &lt;&amp;dmamux 2 1&gt;, &lt;&amp;dmamux 3 1&gt;;
    dma-names = "rx", "tx";
    #sound-dai-cells = &lt;0&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>

</details>

---

# Board Sound Card Common Properties

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Board Sound Card Common Properties.

<!-- 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;sound&#45;card&#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;Mark Brown &#60;broonie&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-a63806f6b8715cc455cd"></a>

### <code>audio&#45;routing</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5aa48addbfe3befc2051">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-ac2f16e184b02d2d5305">
<p style="white-space: pre-wrap">A list of the connections between audio components. Each entry is a
pair of strings, the first being the connection's sink, the second
being the connection's source.</p>
</div>

<a id="dt-f7be3c1d6f687633f9c0"></a>

### <code>ignore&#45;suspend&#45;widgets</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ef396f42a394034f123c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-e14043dcfe0d74969d20">
<p style="white-space: pre-wrap">A list of audio sound widgets which are marked ignoring system suspend.
Paths between these endpoints are still active over suspend of the main
application processor that the current operating system is running.</p>
</div>

<a id="dt-35a8a57fdd6e9ed01be8"></a>

### <code>model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4888cbb3b35392d2f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bf4b69bd171c38756e1b">
<p style="white-space: pre-wrap">User specified audio sound card name</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;model&#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-only OR BSD-2-Clause)</span></p>

</details>

---

# Digital Audio Interface consumer

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Digital Audio Interface consumer.

<!-- 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;sound&#45;dai&#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;Rob Herring &#60;robh&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

<code>true</code>

This selection rule always matches.

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-58896b9de8862fa123cd"></a>

### <code>sound&#45;dai</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-249d2df8ef32e644309e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<div id="dt-b5067bd766121fc12017">
<p style="white-space: pre-wrap">A phandle plus args to digital audio interface provider(s)</p>
</div>

<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>

---

# K1 I2S controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for K1 I2S controller.

<!-- 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;spacemit&#44;k1&#45;i2s&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The I2S bus (Inter-IC sound bus) is a serial link for digital audio data transfer between devices in the system.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Troy Mitchell &#60;troy&#46;mitchell&#64;linux&#46;spacemit&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;spacemit&#44;k1&#45;i2s&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for I2S sysclk</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">clock for I2S bclk</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">clock for I2S bus</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">clock for I2S controller</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;sysclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;bclk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;bus&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;func&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-6d0b8f093f81278007f9"><code>1</code></span>

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dmas&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;resets&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/spacemit,k1-syscon.h&gt;
i2s@d4026000 {
  compatible = "spacemit,k1-i2s";
  reg = &lt;0xd4026000 0x30&gt;;
  clocks = &lt;&amp;syscon_mpmu CLK_I2S_SYSCLK&gt;,
           &lt;&amp;syscon_mpmu CLK_I2S_BCLK&gt;,
           &lt;&amp;syscon_apbc CLK_SSPA0_BUS&gt;,
           &lt;&amp;syscon_apbc CLK_SSPA0&gt;;
  clock-names = "sysclk", "bclk", "bus", "func";
  dmas = &lt;&amp;pdma0 21&gt;, &lt;&amp;pdma0 22&gt;;
  dma-names = "tx", "rx";
  resets = &lt;&amp;syscon_apbc RESET_SSPA0&gt;;
  #sound-dai-cells = &lt;0&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>

</details>

---

# Spreadtrum DMA platform

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Spreadtrum DMA platform.

<!-- 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;sprd&#44;pcm&#45;platform&#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;Orson Zhai &#60;orsonzhai&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Baolin Wang &#60;baolin&#46;wang7&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Chunyan Zhang &#60;zhang&#46;lyra&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sprd&#44;pcm&#45;platform&#34;</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>10</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;normal&#95;p&#95;l&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;normal&#95;p&#95;r&#34;</code></span>

<a id="dt-0e2aefacbafcf9a0980e"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-3f514d275e33beb6e5ff"><code>&#34;normal&#95;c&#95;l&#34;</code></span>

<a id="dt-5a226dab574974e40c5e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-2e2c6a37a765a25a4ed3"><code>&#34;normal&#95;c&#95;r&#34;</code></span>

<a id="dt-a1f62891527b83a95dc1"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-dcd81bd962f6a20a7654"><code>&#34;voice&#95;c&#34;</code></span>

<a id="dt-5717ba9ebdfea611d8b3"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-34afef879a5be5b38e9e"><code>&#34;fast&#95;p&#34;</code></span>

<a id="dt-9d982f81dd1dc8d79917"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-f42c90f6f5ca180fe91a"><code>&#34;loop&#95;c&#34;</code></span>

<a id="dt-c6a20f3e18c1713f05a1"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-6667d987b56726c4c8d4"><code>&#34;loop&#95;p&#34;</code></span>

<a id="dt-0c8d4e4d4bb44405bb84"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-6195e7c5eb99649ef4f0"><code>&#34;voip&#95;c&#34;</code></span>

<a id="dt-004aa747c694b8968d85"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-e785ffd4a774e689c975"><code>&#34;voip&#95;p&#34;</code></span>

**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;dmas&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;dma&#45;names&#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">platform {
  compatible = "sprd,pcm-platform";
  dmas = &lt;&amp;agcp_dma 1 1&gt;, &lt;&amp;agcp_dma 2 2&gt;,
         &lt;&amp;agcp_dma 3 3&gt;, &lt;&amp;agcp_dma 4 4&gt;,
         &lt;&amp;agcp_dma 5 5&gt;, &lt;&amp;agcp_dma 6 6&gt;,
         &lt;&amp;agcp_dma 7 7&gt;, &lt;&amp;agcp_dma 8 8&gt;,
         &lt;&amp;agcp_dma 9 9&gt;, &lt;&amp;agcp_dma 10 10&gt;;
  dma-names = "normal_p_l", "normal_p_r",
              "normal_c_l", "normal_c_r",
              "voice_c", "fast_p",
              "loop_c", "loop_p",
              "voip_c", "voip_p";
};
</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>

</details>

---

# Spreadtrum Multi-Channel Data Transfer controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Spreadtrum Multi-Channel Data Transfer controller.

<!-- 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;sprd&#44;sc9860&#45;mcdt&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Multi-channel data transfer controller is used for sound stream transmission between the audio subsystem and other AP/CP subsystem. It supports 10 DAC channels and 10 ADC channels, and each channel can be configured with DMA mode or interrupt mode.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Orson Zhai &#60;orsonzhai&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Baolin Wang &#60;baolin&#46;wang7&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Chunyan Zhang &#60;zhang&#46;lyra&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sprd&#44;sc9860&#45;mcdt&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

**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;interrupts&#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/interrupt-controller/irq.h&gt;

mcdt@41490000 {
  compatible = "sprd,sc9860-mcdt";
  reg = &lt;0x41490000 0x170&gt;;
  interrupts = &lt;GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH&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>

</details>

---

# STMicroelectronics STM32 SPI/I2S Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for STMicroelectronics STM32 SPI/I2S Controller.

<!-- 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;st&#44;stm32&#45;i2s&#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;Olivier Moysan &#60;olivier&#46;moysan&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SPI/I2S block supports I2S/PCM protocols when configured on I2S mode. Only some SPI instances support I2S.</p>
</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;st&#44;stm32h7&#45;i2s&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;st&#44;stm32mp25&#45;i2s&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock feeding the peripheral bus interface.</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">clock feeding the internal clock generator.</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">I2S parent clock for sampling rates multiple of 8kHz.</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">I2S parent clock for sampling rates multiple of 11.025kHz.</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;i2sclk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;x8k&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;x11k&#34;</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>2</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">audio capture DMA.</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">audio playback DMA.</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — not listed as required here

<div id="dt-6709a835409866cbd3af">
<p style="white-space: pre-wrap">Configure the I2S device as MCLK clock provider.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>0</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-5f3f3e541535f5466fd9"></a>

### <code>access&#45;controllers</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-d4f269b8cc70ecfb4fbb"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-169e64bd1b86d7e387bd"><code>2</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupts&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;st&#44;stm32h7&#45;i2s&#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-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b0ed5de2f4ed693e5dda"><code>4</code></span>
> >
> > <a id="dt-dde63784a5285c3f925c"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-4c755ff4260d5b6f370d"><code>4</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;st&#44;stm32mp25&#45;i2s&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b6a3ef79f98a671e3897"><code>2</code></span>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-af5c957d7f8b13028255"><code>2</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/stm32mp1-clks.h&gt;
i2s2: audio-controller@4000b000 {
    compatible = "st,stm32h7-i2s";
    #sound-dai-cells = &lt;0&gt;;
    reg = &lt;0x4000b000 0x400&gt;;
    clocks = &lt;&amp;rcc SPI2&gt;, &lt;&amp;rcc SPI2_K&gt;, &lt;&amp;rcc PLL3_Q&gt;, &lt;&amp;rcc PLL3_R&gt;;
    clock-names = "pclk", "i2sclk", "x8k", "x11k";
    interrupts = &lt;GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH&gt;;
    dmas = &lt;&amp;dmamux1 39 0x400 0x01&gt;,
           &lt;&amp;dmamux1 40 0x400 0x01&gt;;
    dma-names = "rx", "tx";
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;i2s2_pins_a&gt;;

    /* assume audio-graph */
    port {
        codec_endpoint: endpoint {
            remote-endpoint = &lt;&amp;codec_endpoint&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>

</details>

---

# STMicroelectronics STM32 Serial Audio Interface (SAI)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for STMicroelectronics STM32 Serial Audio Interface (SAI).

<!-- 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;st&#44;stm32&#45;sai&#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;Olivier Moysan &#60;olivier&#46;moysan&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SAI interface (Serial Audio Interface) offers a wide set of audio protocols as I2S standards, LSB or MSB-justified, PCM/DSP, TDM, and AC'97. The SAI contains two independent audio sub-blocks. Each sub-block has its own clock generator and I/O lines controller.</p>
</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;st&#44;stm32f4&#45;sai&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;st&#44;stm32h7&#45;sai&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;st&#44;stm32mp25&#45;sai&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<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">Base address and size of SAI common register set.</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">Base address and size of SAI identification register set.</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

<a id="dt-1e6b10cf5f67a6a268f5"></a>

### <code>ranges</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7928d91ff1b85834b6df"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>3</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>3</code></span>

<a id="dt-5f3f3e541535f5466fd9"></a>

### <code>access&#45;controllers</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-d4f269b8cc70ecfb4fbb"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-169e64bd1b86d7e387bd"><code>2</code></span>

**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;ranges&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-000d80696e47839750c3"></a>

### <code>&#94;audio&#45;controller&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-d370a730342d3eec1cfb"><code>&#34;object&#34;</code></span>

<a id="dt-55d00be5f2a92fa8de2f"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-54d026ca767224e0add5">
<p style="white-space: pre-wrap">Two subnodes corresponding to SAI sub-block instances A et B can be defined. Subnode can be omitted for unused sub-block.</p>
</div>

<a id="dt-9c860e391a825f5c28a2"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-cee71b2034fcda6e9a7a"></a>

**<code>compatible</code> — required here**

<div id="dt-93be2e5d9a990af9294f">
<p style="white-space: pre-wrap">Compatible for SAI sub-block A or B.</p>
</div>

**String pattern (<code>pattern</code>):** <span id="dt-69f1d3b1bdb4a409bb96"><code>&#34;&#94;st&#44;stm32&#45;sai&#45;sub&#45;&#91;ab&#93;&#36;&#34;</code></span>

<a id="dt-98d7f6c197621b65c440"></a>

**<code>&#35;sound&#45;dai&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-8cd1df64b663923ad601"><code>0</code></span>

<a id="dt-0586fe677d6ac109db07"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-28bcf7dc22848e3ac99c"><code>1</code></span>

<a id="dt-d9285ba8ff35f7732003"></a>

**<code>clocks</code> — required here**

<a id="dt-7adffbe084b4be26f1e4"></a>

**Array item rules (<code>items</code>)**

<a id="dt-b9a6670db954cac6f524"></a>

**Item 1**

> <div id="dt-5e7329b09a8de2a200ed">
> <p style="white-space: pre-wrap">sai_ck clock feeding the internal clock generator.</p>
> </div>

<a id="dt-a503855c52e9c8c72349"></a>

**Item 2**

> <div id="dt-3d2fe32d9be244a9067c">
> <p style="white-space: pre-wrap">MCLK clock from a SAI set as master clock provider.</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-dac95815aea9fa7341cf"><code>1</code></span>

<a id="dt-17c71bedebdf2380e9d7"></a>

**<code>clock&#45;names</code> — required here**

<a id="dt-919b0fc474df1f776db3"></a>

**Array item rules (<code>items</code>)**

<a id="dt-6bda7967849974890b14"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-0e784ab91afdf23c025f"><code>&#34;sai&#95;ck&#34;</code></span>

<a id="dt-c2da8375261523b3c632"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-ccb597ca75f5a97cfe90"><code>&#34;MCLK&#34;</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-feba90135e22e0773ed2"><code>1</code></span>

<a id="dt-4f958d7112a9975dc893"></a>

**<code>dmas</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-764eb4644dfcc516f9ab"><code>1</code></span>

<a id="dt-5002f2acecb06af890b5"></a>

**<code>dma&#45;names</code> — required here**

<div id="dt-0e5e821d7b848b50a9cd">
<p style="white-space: pre-wrap">rx: SAI sub-block is configured as a capture DAI.
tx: SAI sub-block is configured as a playback DAI.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-c3c7e3f75cc95e73bf57"></a> <span id="dt-2a22c01ad35806f4f432"><code>&#34;rx&#34;</code></span>, <span id="dt-e6a60654a23f0ef53744"><code>&#34;tx&#34;</code></span>

<a id="dt-2d8f2afe4eda6d276222"></a>

**<code>st&#44;sync</code> — not listed as required here**

<div id="dt-3bb6bacb78dc4a94dc8f">
<p style="white-space: pre-wrap">Configure the SAI sub-block as slave of another SAI sub-block. By default SAI sub-block is in asynchronous mode. Must contain the phandle and index of the SAI sub-block providing the synchronization.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f10ec737634fbe0b4209">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-4e20b40be72f527222aa"></a>

**Array item rules (<code>items</code>)**

<a id="dt-4f8495b8315ed04c383a"></a>

**Item 1**

> <a id="dt-9f45fcc83773c91bf8cc"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-e21f70f90faaa27c3d78"></a>
>
> **Item 1**
>
> > <div id="dt-983c4210ed69895519d1">
> > <p style="white-space: pre-wrap">phandle of the SAI sub-block</p>
> > </div>
>
> <a id="dt-954bac40d68f3a292c16"></a>
>
> **Item 2**
>
> > <div id="dt-6ff64ee83951abc1fba3">
> > <p style="white-space: pre-wrap">index of the SAI sub-block</p>
> > </div>

<a id="dt-0169dbafd4d8d17d2554"></a>

**<code>st&#44;iec60958</code> — not listed as required here**

<div id="dt-375c23cd2c91b40cb6bc">
<p style="white-space: pre-wrap">If set, support S/PDIF IEC6958 protocol for playback. IEC60958 protocol is not available for capture. By default, custom protocol is assumed, meaning that protocol is configured according to protocol defined in related DAI link node, such as i2s, left justified, right justified, dsp and pdm protocols.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-52f2d9a0737bd6c2bdd9">[<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-a2250ae37715970467ce"></a>

**<code>&#35;clock&#45;cells</code> — not listed as required here**

<div id="dt-6eb4b615d9bd73a204c5">
<p style="white-space: pre-wrap">Configure the SAI device as master clock provider.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-55a03f522c8209998684"><code>0</code></span>

<a id="dt-818ca72152ab865774b3"></a>

**<code>port</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-908ceaff270719de1cb6">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-03117cbf96d4afd1ca2a"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

**Required in this object (<code>required</code>):** <a id="dt-898deccf1918e7f5b645"></a> <span id="dt-440f79ce289417599fba"><code>&#34;compatible&#34;</code></span>, <span id="dt-efc8fdac9b4a07f5f760"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-f90c66025d09a44d3446"><code>&#34;reg&#34;</code></span>, <span id="dt-79021c9f5496b2e12e63"><code>&#34;clocks&#34;</code></span>, <span id="dt-fa872dc8090c55c8f8e4"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-5cc86b3f1d37214d89c1"><code>&#34;dmas&#34;</code></span>, <span id="dt-72d5f545be155f866bac"><code>&#34;dma&#45;names&#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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;st&#44;stm32f4&#45;sai&#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-065d246b482f4e9fba10"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-bf2571e4630a59f0c256"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-2a540a403e097f848634"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-343db573787971306c08">
> > > <p style="white-space: pre-wrap">x8k, SAI parent clock for sampling rates multiple of 8kHz.</p>
> > > </div>
> >
> > <a id="dt-30c4212017dcaacb0d3b"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-87bc545af27987cc71f5">
> > > <p style="white-space: pre-wrap">x11k, SAI parent clock for sampling rates multiple of 11.025kHz.</p>
> > > </div>
> >
> > <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;x8k&#34;</code></span>
> >
> > <a id="dt-499faf6f3c1e6a2de32b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-14ea8009c50633baa575"><code>&#34;x11k&#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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;st&#44;stm32h7&#45;sai&#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-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-9bc2c4bcef6f6d2c7e6f"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-9a92b8140775cdd9d56e"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-5f2a23fcde50f95228b6">
> > > <p style="white-space: pre-wrap">pclk feeds the peripheral bus interface.</p>
> > > </div>
> >
> > <a id="dt-dc6ae259ca41c4b0d9fb"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-2cb4ced180ccd82e5b26">
> > > <p style="white-space: pre-wrap">x8k, SAI parent clock for sampling rates multiple of 8kHz.</p>
> > > </div>
> >
> > <a id="dt-fc61b8a16019b78d6a4b"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-381d656359cdb9f0f7a9">
> > > <p style="white-space: pre-wrap">x11k, SAI parent clock for sampling rates multiple of 11.025kHz.</p>
> > > </div>
> >
> > <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;pclk&#34;</code></span>
> >
> > <a id="dt-fbbb17d593cc6352303b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1c6351ea0af6cbead296"><code>&#34;x8k&#34;</code></span>
> >
> > <a id="dt-c8b31f2db7bbcbe11358"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4cfacbda270425cafd45"><code>&#34;x11k&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;st&#44;stm32mp25&#45;sai&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-848f98d28ea162761487"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-5bfe5ca02fe705443505"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-09903707c496e0ef03ef">
> > > <p style="white-space: pre-wrap">pclk feeds the peripheral bus interface.</p>
> > > </div>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;pclk&#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/clock/stm32mp1-clks.h&gt;
#include &lt;dt-bindings/reset/stm32mp1-resets.h&gt;
sai2: sai@4400b000 {
  compatible = "st,stm32h7-sai";
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;1&gt;;
  ranges = &lt;0 0x4400b000 0x400&gt;;
  reg = &lt;0x4400b000 0x4&gt;, &lt;0x4400b3f0 0x10&gt;;
  clocks = &lt;&amp;rcc SAI2&gt;, &lt;&amp;rcc PLL3_Q&gt;, &lt;&amp;rcc PLL3_R&gt;;
  clock-names = "pclk", "x8k", "x11k";
  pinctrl-names = "default", "sleep";
  pinctrl-0 = &lt;&amp;sai2a_pins_a&gt;, &lt;&amp;sai2b_pins_b&gt;;
  pinctrl-1 = &lt;&amp;sai2a_sleep_pins_a&gt;, &lt;&amp;sai2b_sleep_pins_b&gt;;

  sai2a: audio-controller@4400b004 {
    #sound-dai-cells = &lt;0&gt;;
    compatible = "st,stm32-sai-sub-a";
    reg = &lt;0x4 0x1c&gt;;
    dmas = &lt;&amp;dmamux1 89 0x400 0x01&gt;;
    dma-names = "tx";
    clocks = &lt;&amp;rcc SAI2_K&gt;;
    clock-names = "sai_ck";
  };
};
</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>

</details>

---

# STMicroelectronics STM32 S/PDIF receiver (SPDIFRX)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for STMicroelectronics STM32 S/PDIF receiver (SPDIFRX).

<!-- 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;st&#44;stm32&#45;spdifrx&#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;Olivier Moysan &#60;olivier&#46;moysan&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SPDIFRX peripheral, is designed to receive an S/PDIF flow compliant with
IEC-60958 and IEC-61937.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;st&#44;stm32h7&#45;spdifrx&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;kclk&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">audio data capture DMA</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">IEC status bits capture DMA</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#45;ctrl&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-5f3f3e541535f5466fd9"></a>

### <code>access&#45;controllers</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-d4f269b8cc70ecfb4fbb"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-169e64bd1b86d7e387bd"><code>2</code></span>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupts&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dmas&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/stm32mp1-clks.h&gt;
spdifrx: spdifrx@40004000 {
    compatible = "st,stm32h7-spdifrx";
    #sound-dai-cells = &lt;0&gt;;
    reg = &lt;0x40004000 0x400&gt;;
    clocks = &lt;&amp;rcc SPDIF_K&gt;;
    clock-names = "kclk";
    interrupts = &lt;GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH&gt;;
    dmas = &lt;&amp;dmamux1 2 93 0x400 0x0&gt;,
           &lt;&amp;dmamux1 3 94 0x400 0x0&gt;;
    dma-names = "rx", "rx-ctrl";
    pinctrl-0 = &lt;&amp;spdifrx_pins&gt;;
    pinctrl-names = "default";
};
</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>

</details>

---

# StarFive JH7110 PWM-DAC Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for StarFive JH7110 PWM-DAC Controller.

<!-- 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;starfive&#44;jh7110&#45;pwmdac&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The PWM-DAC Controller uses PWM square wave generators plus RC filters to form a DAC for audio play in StarFive JH7110 SoC. This audio play controller supports 16 bit audio format, up to 48K sampling frequency, up to left and right dual channels.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Hal Feng &#60;hal&#46;feng&#64;starfivetech&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;starfive&#44;jh7110&#45;pwmdac&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">PWMDAC APB</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">PWMDAC CORE</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;apb&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;core&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<div id="dt-d372137de588ae9d23ee">
<p style="white-space: pre-wrap">PWMDAC APB</p>
</div>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>1</code></span>

<div id="dt-af21a91b793bee877863">
<p style="white-space: pre-wrap">TX DMA Channel</p>
</div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-05981720df4cd7d43d3c"><code>&#34;tx&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;resets&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dmas&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;sound&#45;dai&#45;cells&#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">pwmdac@100b0000 {
    compatible = "starfive,jh7110-pwmdac";
    reg = &lt;0x100b0000 0x1000&gt;;
    clocks = &lt;&amp;syscrg 157&gt;,
             &lt;&amp;syscrg 158&gt;;
    clock-names = "apb", "core";
    resets = &lt;&amp;syscrg 96&gt;;
    dmas = &lt;&amp;dma 22&gt;;
    dma-names = "tx";
    #sound-dai-cells = &lt;0&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>

</details>

---

# StarFive JH7110 TDM Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for StarFive JH7110 TDM Controller.

<!-- 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;starfive&#44;jh7110&#45;tdm&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TDM Controller is a Time Division Multiplexed audio interface
integrated in StarFive JH7110 SoC, allowing up to 8 channels of
audio over a serial interface. The TDM controller can operate both
in master and slave mode.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Walker Chen &#60;walker&#46;chen&#64;starfivetech&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;starfive&#44;jh7110&#45;tdm&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">TDM AHB Clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">TDM APB Clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">TDM Internal Clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">TDM Clock</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">Inner MCLK</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">TDM External Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;tdm&#95;ahb&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;tdm&#95;apb&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;tdm&#95;internal&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;tdm&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;mclk&#95;inner&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;tdm&#95;ext&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

<a id="dt-7d15d3b17aa2d528614e"></a>

#### Array item rules (<code>items</code>)

<a id="dt-95107b4b3584e917ff31"></a>

**Item 1**

> <div id="dt-3686a6620d670314acea">
> <p style="white-space: pre-wrap">tdm ahb reset line</p>
> </div>

<a id="dt-d5e57279f24674469f92"></a>

**Item 2**

> <div id="dt-ea6a40f03c50681315cc">
> <p style="white-space: pre-wrap">tdm apb reset line</p>
> </div>

<a id="dt-1fa210bf9c56cd150882"></a>

**Item 3**

> <div id="dt-a27d54fa35b70392456c">
> <p style="white-space: pre-wrap">tdm core reset line</p>
> </div>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">RX DMA Channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">TX DMA Channel</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;resets&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dmas&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;sound&#45;dai&#45;cells&#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">tdm@10090000 {
    compatible = "starfive,jh7110-tdm";
    reg = &lt;0x10090000 0x1000&gt;;
    clocks = &lt;&amp;syscrg 184&gt;,
             &lt;&amp;syscrg 185&gt;,
             &lt;&amp;syscrg 186&gt;,
             &lt;&amp;syscrg 187&gt;,
             &lt;&amp;syscrg 17&gt;,
             &lt;&amp;tdm_ext&gt;;
    clock-names = "tdm_ahb", "tdm_apb",
                  "tdm_internal", "tdm",
                  "mclk_inner", "tdm_ext";
    resets = &lt;&amp;syscrg 105&gt;,
             &lt;&amp;syscrg 107&gt;,
             &lt;&amp;syscrg 106&gt;;
    dmas = &lt;&amp;dma 20&gt;, &lt;&amp;dma 21&gt;;
    dma-names = "rx","tx";
    #sound-dai-cells = &lt;0&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>

</details>

---

# Test Component

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Test Component.

<!-- 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;test&#45;component&#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-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;test&#45;cpu&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;test&#45;cpu&#45;verbose&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;test&#45;cpu&#45;verbose&#45;dai&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;test&#45;cpu&#45;verbose&#45;component&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;test&#45;codec&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;test&#45;codec&#45;verbose&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;test&#45;codec&#45;verbose&#45;dai&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;test&#45;codec&#45;verbose&#45;component&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#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.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">test_cpu {
    compatible = "test-cpu";
};
</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>

</details>

---

# Texas Instruments J721e Common Processor Board Audio Support

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments J721e Common Processor Board Audio Support.

<!-- 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;ti&#44;j721e&#45;cpb&#45;audio&#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;Peter Ujfalusi &#60;peter&#46;ujfalusi&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The audio support on the board is using pcm3168a codec connected to McASP10
serializers in parallel setup.
The pcm3168a SCKI clock is sourced from j721e AUDIO_REFCLK2 pin.
In order to support 48KHz and 44.1KHz family of sampling rates the parent
clock for AUDIO_REFCLK2 needs to be changed between PLL4 (for 48KHz) and
PLL15 (for 44.1KHz). The same PLLs are used for McASP10's AUXCLK clock via
different HSDIVIDER.</p>
<pre><code>Clocking setup for j721e:
  48KHz family:
  PLL4 ---&gt; PLL4_HSDIV0 ---&gt; MCASP10_AUXCLK ---&gt; McASP10.auxclk
        |-&gt; PLL4_HSDIV2 ---&gt; AUDIO_REFCLK2  ---&gt; pcm3168a.SCKI</code></pre>
<pre><code>  44.1KHz family:
  PLL15 ---&gt; PLL15_HSDIV0 ---&gt; MCASP10_AUXCLK ---&gt; McASP10.auxclk
         |-&gt; PLL15_HSDIV2 ---&gt; AUDIO_REFCLK2  ---&gt; pcm3168a.SCKI</code></pre>
<pre><code>Clocking setup for j7200:
  48KHz family:
  PLL4 ---&gt; PLL4_HSDIV0 ---&gt; MCASP0_AUXCLK ---&gt; McASP0.auxclk
        |-&gt; PLL4_HSDIV2 ---&gt; AUDIO_REFCLK2  ---&gt; pcm3168a.SCKI</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;ti&#44;j721e&#45;cpb&#45;audio&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;j7200&#45;cpb&#45;audio&#34;</code></span>

<a id="dt-35a8a57fdd6e9ed01be8"></a>

### <code>model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4888cbb3b35392d2f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bf4b69bd171c38756e1b">
<p style="white-space: pre-wrap">User specified audio sound card name</p>
</div>

<a id="dt-05e4890970bce363fe65"></a>

### <code>ti&#44;cpb&#45;mcasp</code> — required here

<div id="dt-0738122d07634d239301">
<p style="white-space: pre-wrap">phandle to McASP used on CPB</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7d917a148652ca447eb0">[<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-2a1e81d62429f2cfc0c2"></a>

### <code>ti&#44;cpb&#45;codec</code> — required here

<div id="dt-c332316af0cfa4b9e2b9">
<p style="white-space: pre-wrap">phandle to the pcm3168a codec used on the CPB</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3cee830768f2a48c48d0">[<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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>6</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>6</code></span>

**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;model&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;ti&#44;cpb&#45;mcasp&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;ti&#44;cpb&#45;codec&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#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-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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;ti&#44;j721e&#45;cpb&#45;audio&#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-065d246b482f4e9fba10"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-bf2571e4630a59f0c256"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-2a540a403e097f848634"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-343db573787971306c08">
> > > <p style="white-space: pre-wrap">AUXCLK clock for McASP used by CPB audio</p>
> > > </div>
> >
> > <a id="dt-30c4212017dcaacb0d3b"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-87bc545af27987cc71f5">
> > > <p style="white-space: pre-wrap">Parent for CPB_McASP auxclk (for 48KHz)</p>
> > > </div>
> >
> > <a id="dt-5b84b7ba5037f6e7c6f1"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-a1b272356204c2749c06">
> > > <p style="white-space: pre-wrap">Parent for CPB_McASP auxclk (for 44.1KHz)</p>
> > > </div>
> >
> > <a id="dt-cbff12dec1d2f28b843d"></a>
> >
> > **Item 4**
> >
> > > <div id="dt-15bb9a103d1ac9f01009">
> > > <p style="white-space: pre-wrap">SCKI clock for the pcm3168a codec on CPB</p>
> > > </div>
> >
> > <a id="dt-2d724bcfbcfd4887fcde"></a>
> >
> > **Item 5**
> >
> > > <div id="dt-8cf8ee289dd85f3d1979">
> > > <p style="white-space: pre-wrap">Parent for CPB_SCKI clock (for 48KHz)</p>
> > > </div>
> >
> > <a id="dt-938495925c8245090c24"></a>
> >
> > **Item 6**
> >
> > > <div id="dt-a0d215aa1ac1398932d0">
> > > <p style="white-space: pre-wrap">Parent for CPB_SCKI clock (for 44.1KHz)</p>
> > > </div>
> >
> > <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;cpb&#45;mcasp&#45;auxclk&#34;</code></span>
> >
> > <a id="dt-499faf6f3c1e6a2de32b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-14ea8009c50633baa575"><code>&#34;cpb&#45;mcasp&#45;auxclk&#45;48000&#34;</code></span>
> >
> > <a id="dt-68e48919ba73efad2634"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-28720a6003e8b65201ce"><code>&#34;cpb&#45;mcasp&#45;auxclk&#45;44100&#34;</code></span>
> >
> > <a id="dt-2b5e504807fea168972d"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-173cbd8240ef7df98917"><code>&#34;cpb&#45;codec&#45;scki&#34;</code></span>
> >
> > <a id="dt-43984fef6d9f4daddd97"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-f508c12dce6e92d2db66"><code>&#34;cpb&#45;codec&#45;scki&#45;48000&#34;</code></span>
> >
> > <a id="dt-9a7e89976c20cf10ece2"></a>
> >
> > **Item 6**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-0947d1a8a5d4acde3826"><code>&#34;cpb&#45;codec&#45;scki&#45;44100&#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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;ti&#44;j7200&#45;cpb&#45;audio&#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-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-9bc2c4bcef6f6d2c7e6f"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-9a92b8140775cdd9d56e"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-5f2a23fcde50f95228b6">
> > > <p style="white-space: pre-wrap">AUXCLK clock for McASP used by CPB audio</p>
> > > </div>
> >
> > <a id="dt-dc6ae259ca41c4b0d9fb"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-2cb4ced180ccd82e5b26">
> > > <p style="white-space: pre-wrap">Parent for CPB_McASP auxclk (for 48KHz)</p>
> > > </div>
> >
> > <a id="dt-fc61b8a16019b78d6a4b"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-381d656359cdb9f0f7a9">
> > > <p style="white-space: pre-wrap">SCKI clock for the pcm3168a codec on CPB</p>
> > > </div>
> >
> > <a id="dt-deefb49fd92bca75b3b8"></a>
> >
> > **Item 4**
> >
> > > <div id="dt-d6174f8316c7d901b871">
> > > <p style="white-space: pre-wrap">Parent for CPB_SCKI clock (for 48KHz)</p>
> > > </div>
> >
> > <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;cpb&#45;mcasp&#45;auxclk&#34;</code></span>
> >
> > <a id="dt-fbbb17d593cc6352303b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1c6351ea0af6cbead296"><code>&#34;cpb&#45;mcasp&#45;auxclk&#45;48000&#34;</code></span>
> >
> > <a id="dt-c8b31f2db7bbcbe11358"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4cfacbda270425cafd45"><code>&#34;cpb&#45;codec&#45;scki&#34;</code></span>
> >
> > <a id="dt-fce74aba9d8a9d8485cd"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-eb00a5766b022f484e2c"><code>&#34;cpb&#45;codec&#45;scki&#45;48000&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">sound {
    compatible = "ti,j721e-cpb-audio";
    model = "j721e-cpb";

    ti,cpb-mcasp = &lt;&amp;mcasp10&gt;;
    ti,cpb-codec = &lt;&amp;pcm3168a_1&gt;;

    clocks = &lt;&amp;k3_clks 184 1&gt;,
             &lt;&amp;k3_clks 184 2&gt;, &lt;&amp;k3_clks 184 4&gt;,
             &lt;&amp;k3_clks 157 371&gt;,
             &lt;&amp;k3_clks 157 400&gt;, &lt;&amp;k3_clks 157 401&gt;;
    clock-names = "cpb-mcasp-auxclk",
                  "cpb-mcasp-auxclk-48000", "cpb-mcasp-auxclk-44100",
                  "cpb-codec-scki",
                  "cpb-codec-scki-48000", "cpb-codec-scki-44100";
};
</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 2:</strong> <span> Copyright (C) 2020 Texas Instruments Incorporated</span></p>

<p id="dt-comment-2"><strong>Line 3:</strong> <span> Author: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;</span></p>

</details>

---

# Texas Instruments J721e Common Processor Board Audio Support

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments J721e Common Processor Board Audio Support.

<!-- 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;ti&#44;j721e&#45;cpb&#45;ivi&#45;audio&#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;Peter Ujfalusi &#60;peter&#46;ujfalusi&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Infotainment board plugs into the Common Processor Board, the support of the
extension board is extending the CPB audio support, described in:
sound/ti,j721e-cpb-audio.txt</p>
<p style="white-space: pre-wrap">The audio support on the Infotainment Expansion Board consists of McASP0
connected to two pcm3168a codecs with dedicated set of serializers to each.
The SCKI for pcm3168a is sourced from j721e AUDIO_REFCLK0 pin.</p>
<p style="white-space: pre-wrap">In order to support 48KHz and 44.1KHz family of sampling rates the parent clock
for AUDIO_REFCLK0 needs to be changed between PLL4 (for 48KHz) and PLL15 (for
44.1KHz). The same PLLs are used for McASP0's AUXCLK clock via different
HSDIVIDER.</p>
<p style="white-space: pre-wrap">Note: the same PLL4 and PLL15 is used by the audio support on the CPB!</p>
<pre><code>Clocking setup for 48KHz family:
PLL4 ---&gt; PLL4_HSDIV0 ---&gt; MCASP10_AUXCLK ---&gt; McASP10.auxclk
      |                |-&gt; MCASP0_AUXCLK  ---&gt; McASP0.auxclk
      |
      |-&gt; PLL4_HSDIV2 ---&gt; AUDIO_REFCLK2  ---&gt; pcm3168a.SCKI
                       |-&gt; AUDIO_REFCLK0  ---&gt; pcm3168a_a/b.SCKI</code></pre>
<pre><code>Clocking setup for 44.1KHz family:
PLL15 ---&gt; PLL15_HSDIV0 ---&gt; MCASP10_AUXCLK ---&gt; McASP10.auxclk
      |                  |-&gt; MCASP0_AUXCLK  ---&gt; McASP0.auxclk
      |
      |-&gt; PLL15_HSDIV2 ---&gt; AUDIO_REFCLK2   ---&gt; pcm3168a.SCKI
                        |-&gt; AUDIO_REFCLK0   ---&gt; pcm3168a_a/b.SCKI</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

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;ti&#44;j721e&#45;cpb&#45;ivi&#45;audio&#34;</code></span>

<a id="dt-35a8a57fdd6e9ed01be8"></a>

### <code>model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca4888cbb3b35392d2f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bf4b69bd171c38756e1b">
<p style="white-space: pre-wrap">User specified audio sound card name</p>
</div>

<a id="dt-05e4890970bce363fe65"></a>

### <code>ti&#44;cpb&#45;mcasp</code> — required here

<div id="dt-0738122d07634d239301">
<p style="white-space: pre-wrap">phandle to McASP used on CPB</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7d917a148652ca447eb0">[<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-2a1e81d62429f2cfc0c2"></a>

### <code>ti&#44;cpb&#45;codec</code> — required here

<div id="dt-c332316af0cfa4b9e2b9">
<p style="white-space: pre-wrap">phandle to the pcm3168a codec used on the CPB</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3cee830768f2a48c48d0">[<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-012fa7e83e8288c861f1"></a>

### <code>ti&#44;ivi&#45;mcasp</code> — required here

<div id="dt-1f7ac78226c09a9c906c">
<p style="white-space: pre-wrap">phandle to McASP used on IVI</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-697bbd39c4e8a57e9607">[<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-45d4e3ae1b7b9ebd4366"></a>

### <code>ti&#44;ivi&#45;codec&#45;a</code> — required here

<div id="dt-e89316448758cc1201e7">
<p style="white-space: pre-wrap">phandle to the pcm3168a-A codec on the expansion board</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5007f712ee40b4f98f09">[<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-d98ae959451b425cd6c2"></a>

### <code>ti&#44;ivi&#45;codec&#45;b</code> — required here

<div id="dt-c96ac00e8fc0e36b5d01">
<p style="white-space: pre-wrap">phandle to the pcm3168a-B codec on the expansion board</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c153820ffec5e6361e4d">[<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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">AUXCLK clock for McASP used by CPB audio</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Parent for CPB_McASP auxclk (for 48KHz)</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">Parent for CPB_McASP auxclk (for 44.1KHz)</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">SCKI clock for the pcm3168a codec on CPB</p>
> </div>

<a id="dt-c16426e63f49879b23f2"></a>

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">Parent for CPB_SCKI clock (for 48KHz)</p>
> </div>

<a id="dt-a20807b512a8d4fde8cf"></a>

**Item 6**

> <div id="dt-33432f859e093c0b33d4">
> <p style="white-space: pre-wrap">Parent for CPB_SCKI clock (for 44.1KHz)</p>
> </div>

<a id="dt-2e6f5ad3a45b7b4da085"></a>

**Item 7**

> <div id="dt-ea8da08d635fbec17c67">
> <p style="white-space: pre-wrap">AUXCLK clock for McASP used by IVI audio</p>
> </div>

<a id="dt-54c68f408b9de8f89b61"></a>

**Item 8**

> <div id="dt-4f5bf39a48469220a049">
> <p style="white-space: pre-wrap">Parent for IVI_McASP auxclk (for 48KHz)</p>
> </div>

<a id="dt-70a1a7b058ca0d6b926f"></a>

**Item 9**

> <div id="dt-0de632d2a145847cfa72">
> <p style="white-space: pre-wrap">Parent for IVI_McASP auxclk (for 44.1KHz)</p>
> </div>

<a id="dt-de0b3dfcbfe00e590e15"></a>

**Item 10**

> <div id="dt-6894e360c86a075494aa">
> <p style="white-space: pre-wrap">SCKI clock for the pcm3168a codec on IVI</p>
> </div>

<a id="dt-b0d2fe433bb8ee085f99"></a>

**Item 11**

> <div id="dt-ce56df8912b8f8ea9536">
> <p style="white-space: pre-wrap">Parent for IVI_SCKI clock (for 48KHz)</p>
> </div>

<a id="dt-3a6e19bd8f81a7da76c2"></a>

**Item 12**

> <div id="dt-59b5f0b6f9a554d62511">
> <p style="white-space: pre-wrap">Parent for IVI_SCKI clock (for 44.1KHz)</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;cpb&#45;mcasp&#45;auxclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;cpb&#45;mcasp&#45;auxclk&#45;48000&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;cpb&#45;mcasp&#45;auxclk&#45;44100&#34;</code></span>

<a id="dt-ae944c97a534a6c0067e"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;cpb&#45;codec&#45;scki&#34;</code></span>

<a id="dt-cf956fcaf1071b45bd0b"></a>

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;cpb&#45;codec&#45;scki&#45;48000&#34;</code></span>

<a id="dt-5c85cfca154ff81f91db"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-74db9e0661e7c48759a1"><code>&#34;cpb&#45;codec&#45;scki&#45;44100&#34;</code></span>

<a id="dt-abf5734536a72f9e055f"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-476373fe0de47601719d"><code>&#34;ivi&#45;mcasp&#45;auxclk&#34;</code></span>

<a id="dt-0193be4a74dd05cd3681"></a>

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-630c939e660398e2f44a"><code>&#34;ivi&#45;mcasp&#45;auxclk&#45;48000&#34;</code></span>

<a id="dt-63ff63a9c6771cd12cff"></a>

**Item 9**

> **Exact value (<code>const</code>):** <span id="dt-08dc2d8c9b908aa3d268"><code>&#34;ivi&#45;mcasp&#45;auxclk&#45;44100&#34;</code></span>

<a id="dt-aefc523228cb79b361e6"></a>

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-a77f41dba60b56e1254c"><code>&#34;ivi&#45;codec&#45;scki&#34;</code></span>

<a id="dt-12d8b06a7df3814aa931"></a>

**Item 11**

> **Exact value (<code>const</code>):** <span id="dt-2ed53cba7466661173bd"><code>&#34;ivi&#45;codec&#45;scki&#45;48000&#34;</code></span>

<a id="dt-cdc319b61e94b611f980"></a>

**Item 12**

> **Exact value (<code>const</code>):** <span id="dt-0bf4d52880d7237bb9a0"><code>&#34;ivi&#45;codec&#45;scki&#45;44100&#34;</code></span>

**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;model&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;ti&#44;cpb&#45;mcasp&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;ti&#44;cpb&#45;codec&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;ti&#44;ivi&#45;mcasp&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;ti&#44;ivi&#45;codec&#45;a&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;ti&#44;ivi&#45;codec&#45;b&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;clocks&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;clock&#45;names&#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">sound {
    compatible = "ti,j721e-cpb-ivi-audio";
    model = "j721e-cpb-ivi";

    ti,cpb-mcasp = &lt;&amp;mcasp10&gt;;
    ti,cpb-codec = &lt;&amp;pcm3168a_1&gt;;

    ti,ivi-mcasp = &lt;&amp;mcasp0&gt;;
    ti,ivi-codec-a = &lt;&amp;pcm3168a_a&gt;;
    ti,ivi-codec-b = &lt;&amp;pcm3168a_b&gt;;

    clocks = &lt;&amp;k3_clks 184 1&gt;,
             &lt;&amp;k3_clks 184 2&gt;, &lt;&amp;k3_clks 184 4&gt;,
             &lt;&amp;k3_clks 157 371&gt;,
             &lt;&amp;k3_clks 157 400&gt;, &lt;&amp;k3_clks 157 401&gt;,
             &lt;&amp;k3_clks 174 1&gt;,
             &lt;&amp;k3_clks 174 2&gt;, &lt;&amp;k3_clks 174 4&gt;,
             &lt;&amp;k3_clks 157 301&gt;,
             &lt;&amp;k3_clks 157 330&gt;, &lt;&amp;k3_clks 157 331&gt;;
    clock-names = "cpb-mcasp-auxclk",
                  "cpb-mcasp-auxclk-48000", "cpb-mcasp-auxclk-44100",
                  "cpb-codec-scki",
                  "cpb-codec-scki-48000", "cpb-codec-scki-44100",
                  "ivi-mcasp-auxclk",
                  "ivi-mcasp-auxclk-48000", "ivi-mcasp-auxclk-44100",
                  "ivi-codec-scki",
                  "ivi-codec-scki-48000", "ivi-codec-scki-44100";
};
</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 2:</strong> <span> Copyright (C) 2020 Texas Instruments Incorporated</span></p>

<p id="dt-comment-2"><strong>Line 3:</strong> <span> Author: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;</span></p>

</details>

---

# Texas Instruments SoC with twl4030 based audio setups

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments SoC with twl4030 based audio setups.

<!-- 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;ti&#44;omap&#45;twl4030&#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;Peter Ujfalusi &#60;peter&#46;ujfalusi&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Audio setups on TI OMAP SoCs using TWL4030-family audio codec connected via a McBSP port.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;ti&#44;omap&#45;twl4030&#34;</code></span>

<a id="dt-582f463502c0d3c9f799"></a>

### <code>ti&#44;model</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-50aec0fdf3aab9fa4e9a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-bcb2949861befb2d39f7">
<p style="white-space: pre-wrap">Name of the sound card (for example "omap3beagle").</p>
</div>

<a id="dt-0000ef4633dbfd28423d"></a>

### <code>ti&#44;mcbsp</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-946e05537e0362c0dd3f">[<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-06dbd2164573b5059a5b">
<p style="white-space: pre-wrap">phandle for the McBSP node.</p>
</div>

<a id="dt-1e05bddd199fa322aa56"></a>

### <code>ti&#44;codec</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f3e9cc591a66f886f1d3">[<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-916d5b09235c3c54faf1">
<p style="white-space: pre-wrap">phandle for the twl4030 audio node.</p>
</div>

<a id="dt-20de8e7f71f69ce3d09b"></a>

### <code>ti&#44;mcbsp&#45;voice</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ee69366608a413977b73">[<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-2fb96eb633b555c30767">
<p style="white-space: pre-wrap">phandle to the McBSP node connected to the voice port.</p>
</div>

<a id="dt-ff47f70d2ec2151fda32"></a>

### <code>ti&#44;jack&#45;det&#45;gpio</code> — not listed as required here

<div id="dt-552b27e1955ebf237512">
<p style="white-space: pre-wrap">GPIO specifier for jack detection.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-57b332189647d57d352a"><code>1</code></span>

<a id="dt-fcd23778d492821ba979"></a>

### <code>ti&#44;audio&#45;routing</code> — not listed as required here

<div id="dt-b2a20d8ec80c96dfcec5">
<p style="white-space: pre-wrap">A list of audio routing connections. Each entry is a pair of strings,
with the first being the connection's sink and the second being the
source. If not provided, all possible connections are available.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b15b34947f4265351cf6">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<a id="dt-d926420bcb914d3486ee"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-a50c01b6fc3d3a1c2492"></a> <span id="dt-6c41597b86374b989ef8"><code>&#34;Headset Stereophone&#34;</code></span>, <span id="dt-5a005c3293c1d215791d"><code>&#34;Earpiece Spk&#34;</code></span>, <span id="dt-8b06a341ec8a53a597ca"><code>&#34;Handsfree Spk&#34;</code></span>, <span id="dt-138991337727fd321d9d"><code>&#34;Ext Spk&#34;</code></span>, <span id="dt-b9bd5abc736f4af66bda"><code>&#34;Main Mic&#34;</code></span>, <span id="dt-f4aef2d83f33f47f8d50"><code>&#34;Sub Mic&#34;</code></span>, <span id="dt-2398a611a16c06e9a76a"><code>&#34;Headset Mic&#34;</code></span>, <span id="dt-3f62329b8350a1be1a1f"><code>&#34;Carkit Mic&#34;</code></span>, <span id="dt-202917243441be88ae68"><code>&#34;Digital0 Mic&#34;</code></span>, <span id="dt-90a821af3576a47f6185"><code>&#34;Digital1 Mic&#34;</code></span>, <span id="dt-134f1c24f604d05c2ddf"><code>&#34;Line In&#34;</code></span>, <span id="dt-6bfab95b0bdfdeb9306c"><code>&#34;HSOL&#34;</code></span>, <span id="dt-9ab7f65ffcaf83952dee"><code>&#34;HSOR&#34;</code></span>, <span id="dt-cb8b678dd1e6f99c0167"><code>&#34;EARPIECE&#34;</code></span>, <span id="dt-17ef8b572fd66451ba42"><code>&#34;HFL&#34;</code></span>, <span id="dt-19e322875f4b4a732b94"><code>&#34;HFR&#34;</code></span>, <span id="dt-e33d3c5461b1dd0c06cb"><code>&#34;PREDRIVEL&#34;</code></span>, <span id="dt-fc11d16bc035a70f2a30"><code>&#34;PREDRIVER&#34;</code></span>, <span id="dt-f243cea4277ef0b29ae4"><code>&#34;CARKITL&#34;</code></span>, <span id="dt-16b3da015e4a58ac0189"><code>&#34;CARKITR&#34;</code></span>, <span id="dt-656dcb43145246bc78df"><code>&#34;MAINMIC&#34;</code></span>, <span id="dt-16c38565cbfa1f735c0d"><code>&#34;SUBMIC&#34;</code></span>, <span id="dt-1d0eec0b235abddded9c"><code>&#34;HSMIC&#34;</code></span>, <span id="dt-e926611f455272d25563"><code>&#34;DIGIMIC0&#34;</code></span>, <span id="dt-4d3e4bb49863a9cc2759"><code>&#34;DIGIMIC1&#34;</code></span>, <span id="dt-805863df80e272500fea"><code>&#34;CARKITMIC&#34;</code></span>, <span id="dt-cfba9bee849915c3c7bd"><code>&#34;AUXL&#34;</code></span>, <span id="dt-f320a9d9a0d538f7e56a"><code>&#34;AUXR&#34;</code></span>, <span id="dt-78b35686acfbb935289a"><code>&#34;Mic Bias 1&#34;</code></span>, <span id="dt-a04b1abf7f6b99462a91"><code>&#34;Mic Bias 2&#34;</code></span>

**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;ti&#44;model&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;ti&#44;mcbsp&#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">sound {
    compatible = "ti,omap-twl4030";
    ti,model = "omap3beagle";
    ti,mcbsp = &lt;&amp;mcbsp2&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 49:</strong> <span> Board Connectors</span></p>

<p id="dt-comment-2"><strong>Line 62:</strong> <span> CODEC Pins</span></p>

<p id="dt-comment-3"><strong>Line 81:</strong> <span> Headset Mic Bias</span></p>

<p id="dt-comment-4"><strong>Line 82:</strong> <span> Used for Main Mic or Digimic0</span></p>

<p id="dt-comment-5"><strong>Line 83:</strong> <span> Used for Sub Mic or Digimic1</span></p>

</details>

---

# OMAP McPDM

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for OMAP McPDM.

<!-- 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;ti&#44;omap4&#45;mcpdm&#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;Misael Lopez Cruz &#60;misael&#46;lopez&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">OMAP ALSA SoC DAI driver using McPDM port used by TWL6040</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;ti&#44;omap4&#45;mcpdm&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<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">MPU access base address</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">L3 interconnect address</p>
> </div>

<a id="dt-a25ee402afa562132bc5"></a>

### <code>reg&#45;names</code> — required here

<a id="dt-cb45e4d562022f44522c"></a>

#### Array item rules (<code>items</code>)

<a id="dt-ad0326e242afa18bd21a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;mpu&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;dma&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;up&#95;link&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;dn&#95;link&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pdmclk&#34;</code></span>

**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;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dmas&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dma&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clocks&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;clock&#45;names&#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;
mcpdm@0 {
  compatible = "ti,omap4-mcpdm";
  reg = &lt;0x0 0x7f&gt;, /* MPU private access */
        &lt;0x49032000 0x7f&gt;; /* L3 Interconnect */
  reg-names = "mpu", "dma";
  interrupts = &lt;GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH&gt;;
  interrupt-parent = &lt;&amp;gic&gt;;
  dmas = &lt;&amp;sdma 65&gt;, &lt;&amp;sdma 66&gt;;
  dma-names = "up_link", "dn_link";
  clocks = &lt;&amp;twl6040&gt;;
  clock-names = "pdmclk";
};
</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>

</details>

---

# Texas Instruments PCM1681 8-channel Digital-to-Analog Converter

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments PCM1681 8-channel Digital-to-Analog Converter.

<!-- 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;ti&#44;pcm1681&#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;Shenghao Ding &#60;shenghao&#45;ding&#64;ti&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Kevin Lu &#60;kevin&#45;lu&#64;ti&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Baojun Xu &#60;baojun&#46;xu&#64;ti&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;ti&#44;pcm1681&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    pcm1681: audio-codec@4c {
        compatible = "ti,pcm1681";
        reg = &lt;0x4c&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>

</details>

---

# Texas Instruments PCM1754 Stereo DAC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments PCM1754 Stereo DAC.

<!-- 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;ti&#44;pcm1754&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The PCM1754 is a simple stereo DAC that is controlled via hardware gpios.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Stefan Kerkmann &#60;s&#46;kerkmann&#64;pengutronix&#46;de&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;ti&#44;pcm1754&#34;</code></span>

<a id="dt-5b20c41001654467bdea"></a>

### <code>vcc&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-13ee977a065656717599"></a>

### <code>format&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-951fdc3d3529c64ef624"><code>1</code></span>

<div id="dt-d1773e3c9e3f0ce2be1a">
<p style="white-space: pre-wrap">GPIO used to select the PCM format</p>
</div>

<a id="dt-406caea147a245139462"></a>

### <code>mute&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-09c5403a506cee507e9e"><code>1</code></span>

<div id="dt-c3c4e6f36ce3c92049e8">
<p style="white-space: pre-wrap">GPIO used to mute all outputs</p>
</div>

**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;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;vcc&#45;supply&#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/gpio/gpio.h&gt;
codec {
  compatible = "ti,pcm1754";
  #sound-dai-cells = &lt;0&gt;;

  vcc-supply = &lt;&amp;vcc_reg&gt;;
  mute-gpios = &lt;&amp;gpio 0 GPIO_ACTIVE_HIGH&gt;;
  format-gpios = &lt;&amp;gpio 1 GPIO_ACTIVE_HIGH&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>

</details>

---

# Texas Instruments PCM186x Universal Audio ADC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments PCM186x Universal Audio ADC.

<!-- 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;ti&#44;pcm1862&#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;Ranganath V N &#60;vnranganath&#46;20&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Texas Instruments PCM186x family are multi-channel audio ADCs
that support both I2C and SPI control interfaces, selected by
pin strapping. These devices include on-chip programmable gain
amplifiers and support differential or single-ended analog inputs.</p>
<pre><code>CODEC input pins:
  * VINL1
  * VINR1
  * VINL2
  * VINR2
  * VINL3
  * VINR3
  * VINL4
  * VINR4</code></pre>
<p style="white-space: pre-wrap">The pins can be used in referring sound node's audio-routing property.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;ti&#44;pcm1862&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;pcm1863&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;pcm1864&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;pcm1865&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-14397a69ba55f41119c5"></a>

### <code>avdd&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-84a2bc358063a1a7c956"></a>

### <code>dvdd&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-79d466fdcccc88d28b5b"></a>

### <code>iovdd&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;avdd&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dvdd&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;iovdd&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@4a {
        compatible = "ti,pcm1865";
        reg = &lt;0x4a&gt;;

        avdd-supply = &lt;&amp;reg_3v3_analog&gt;;
        dvdd-supply = &lt;&amp;reg_3v3&gt;;
        iovdd-supply = &lt;&amp;reg_1v8&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>

</details>

---

# Texas Instruments PCM3168A Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments PCM3168A Audio Codec.

<!-- 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;ti&#44;pcm3168a&#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;Damien Horsley &#60;Damien&#46;Horsley&#64;imgtec&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Geert Uytterhoeven &#60;geert&#43;renesas&#64;glider&#46;be&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Kuninori Morimoto &#60;kuninori&#46;morimoto&#46;gx&#64;renesas&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Texas Instruments PCM3168A is a 24-bit Multi-channel Audio CODEC with 96/192kHz sampling rate, supporting both SPI and I2C bus access.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;ti&#44;pcm3168a&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">System clock input</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;scki&#34;</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<a id="dt-c34cefeaef2b19c576ba"></a>

#### Array item rules (<code>items</code>)

<a id="dt-1e6ff37147f507c410e2"></a>

**Item 1**

> <div id="dt-b7b7f253f6d9c20bc04b">
> <pre><code>GPIO line connected to the active-low RST pin of the codec.
>   RST = low: device power-down
>   RST = high: device is enabled</code></pre>
> </div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-e3f706c9f572bc7f095d"></a> <span id="dt-266d930490f5dab7d95f"><code>0</code></span>, <span id="dt-3ada6c9b25a2310fa7d9"><code>1</code></span>

<a id="dt-0886adf7ff989afb03a2"></a>

### <code>VDD1&#45;supply</code> — required here

<div id="dt-98bd47144f4141ca71bd">
<p style="white-space: pre-wrap">Digital power supply regulator 1 (+3.3V)</p>
</div>

<a id="dt-aaaa17359834307bca5a"></a>

### <code>VDD2&#45;supply</code> — required here

<div id="dt-ffeba4b7bf34aa20f736">
<p style="white-space: pre-wrap">Digital power supply regulator 2 (+3.3V)</p>
</div>

<a id="dt-9d3e19efe846756c8e97"></a>

### <code>VCCAD1&#45;supply</code> — required here

<div id="dt-b6e9a76fa143a25e6075">
<p style="white-space: pre-wrap">ADC power supply regulator 1 (+5V)</p>
</div>

<a id="dt-dc9ae898e6cbdc7ba4cd"></a>

### <code>VCCAD2&#45;supply</code> — required here

<div id="dt-596fd4d731daf06f3f69">
<p style="white-space: pre-wrap">ADC power supply regulator 2 (+5V)</p>
</div>

<a id="dt-0cb1826ccd6ddb7ea129"></a>

### <code>VCCDA1&#45;supply</code> — required here

<div id="dt-a746ef06d6653c9f74e3">
<p style="white-space: pre-wrap">DAC power supply regulator 1 (+5V)</p>
</div>

<a id="dt-5fb453773f43414463a2"></a>

### <code>VCCDA2&#45;supply</code> — required here

<div id="dt-b450f5858d3f9b8ff6af">
<p style="white-space: pre-wrap">DAC power supply regulator 2 (+5V)</p>
</div>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>audio&#45;graph&#45;port&#46;yaml&#35;&#47;definitions&#47;port&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-23c8ace9b66b375a2e09>)</span>

<a id="dt-26ee9c13917528ac2e97"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">Audio input port.</p>
</div>

<a id="dt-d8ac7b78cc1246edfc03"></a>

**<code>port&#64;1</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">Audio output port.</p>
</div>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;VDD1&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;VDD2&#45;supply&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;VCCAD1&#45;supply&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;VCCAD2&#45;supply&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;VCCDA1&#45;supply&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;VCCDA2&#45;supply&#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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    pcm3168a: audio-codec@44 {
        compatible = "ti,pcm3168a";
        reg = &lt;0x44&gt;;
        reset-gpios = &lt;&amp;gpio0 4 GPIO_ACTIVE_LOW&gt;;
        clocks = &lt;&amp;clk_core 42&gt;;
        clock-names = "scki";
        VDD1-supply = &lt;&amp;supply3v3&gt;;
        VDD2-supply = &lt;&amp;supply3v3&gt;;
        VCCAD1-supply = &lt;&amp;supply5v0&gt;;
        VCCAD2-supply = &lt;&amp;supply5v0&gt;;
        VCCDA1-supply = &lt;&amp;supply5v0&gt;;
        VCCDA2-supply = &lt;&amp;supply5v0&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>

</details>

---

# PCM512x and TAS575x audio CODECs/amplifiers

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for PCM512x and TAS575x audio CODECs/amplifiers.

<!-- 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;ti&#44;pcm512x&#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;Animesh Agarwal &#60;animeshagarwal28&#64;gmail&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;ti&#44;pcm5121&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;pcm5122&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;pcm5141&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;pcm5142&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;pcm5242&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;ti&#44;tas5754&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;ti&#44;tas5756&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-bc22b86a699ed19f7b01"></a>

### <code>DVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-7bdbb9a3ac571e92c418"></a>

### <code>CPVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">A clock specifier for the clock connected as SCLK. If this is absent the device will be configured to clock from BCLK. If pll-in and pll-out are specified in addition to a clock, the device is configured to accept clock input on a specified gpio pin.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-2c813c0e610522cedec4"></a>

### <code>pll&#45;in</code> — not listed as required here

<div id="dt-53c6b8c7140fbb1ae4f0">
<p style="white-space: pre-wrap">GPIO pin used to connect the pll using &lt;1&gt; through &lt;6&gt;. The device will be configured for clock input on the given pll-in pin.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8cf9435056d7bd7e2bd6">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-e232e967b4f7368ddaa1"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-fb27d3bfb6f773b294cc"><code>6</code></span>

<a id="dt-96f1c106a75e30f16117"></a>

### <code>pll&#45;out</code> — not listed as required here

<div id="dt-a02f47659065327d40e4">
<p style="white-space: pre-wrap">GPIO pin used to connect the pll using &lt;1&gt; through &lt;6&gt;. The device will be configured for PLL output on the given pll-out pin.  An external connection from the pll-out pin to the SCLK pin is assumed.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cf7ea264a3110043c640">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-9a14db8abba6c4c52833"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-3ebbcdb63cc6548ebbe0"><code>6</code></span>

**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;AVDD&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;DVDD&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;CPVDD&#45;supply&#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;ti&#44;tas5754&#34;</code></span>, <span id="dt-5b5b6c5b8f914dcc6d1d"><code>&#34;ti&#44;tas5756&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-fa2541f0e458f6405d99"></a>
>
> #### <code>pll&#45;in</code> — not listed as required here
>
> **Maximum value (<code>maximum</code>):** <span id="dt-34d1ea8c524d4c528281"><code>3</code></span>
>
> <a id="dt-382b4d2682e5f429a7b7"></a>
>
> #### <code>pll&#45;out</code> — not listed as required here
>
> **Maximum value (<code>maximum</code>):** <span id="dt-0f09c8157397749e219a"><code>3</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@4c {
        compatible = "ti,pcm5142";
        reg = &lt;0x4c&gt;;
        AVDD-supply = &lt;&amp;reg_3v3_analog&gt;;
        DVDD-supply = &lt;&amp;reg_1v8&gt;;
        CPVDD-supply = &lt;&amp;reg_3v3&gt;;
        #sound-dai-cells = &lt;0&gt;;
        clocks = &lt;&amp;sck&gt;;
        pll-in = &lt;3&gt;;
        pll-out = &lt;6&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>

</details>

---

# Texas Instruments PCM6240 Family Audio ADC/DAC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments PCM6240 Family Audio ADC/DAC.

<!-- 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;ti&#44;pcm6240&#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;Shenghao Ding &#60;shenghao&#45;ding&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The PCM6240 Family is a big family of Audio ADC/DAC for
different Specifications, range from Personal Electric
to Automotive Electric, even some professional fields.</p>
<pre><code>Specifications about the audio chip can be found at:
  https://www.ti.com/lit/gpn/tlv320adc3120
  https://www.ti.com/lit/gpn/tlv320adc5120
  https://www.ti.com/lit/gpn/tlv320adc6120
  https://www.ti.com/lit/gpn/dix4192
  https://www.ti.com/lit/gpn/pcm1690
  https://www.ti.com/lit/gpn/pcm3120-q1
  https://www.ti.com/lit/gpn/pcm3140-q1
  https://www.ti.com/lit/gpn/pcm5120-q1
  https://www.ti.com/lit/gpn/pcm6120-q1
  https://www.ti.com/lit/gpn/pcm6260-q1
  https://www.ti.com/lit/gpn/pcm9211
  https://www.ti.com/lit/gpn/pcmd3140
  https://www.ti.com/lit/gpn/pcmd3180
  https://www.ti.com/lit/gpn/taa5212
  https://www.ti.com/lit/gpn/tad5212</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

<div id="dt-e84064a2d568e9bcb9c3">
<p style="white-space: pre-wrap">ti,adc3120: Stereo-channel, 768-kHz, Burr-Brown™ audio analog-to-
digital converter (ADC) with 106-dB SNR.</p>
<p style="white-space: pre-wrap">ti,adc5120: 2-Channel, 768-kHz, Burr-Brown™ Audio ADC with 120-dB SNR.</p>
<p style="white-space: pre-wrap">ti,adc6120: Stereo-channel, 768-kHz, Burr-Brown™ audio analog-to-
digital converter (ADC) with 123-dB SNR.</p>
<p style="white-space: pre-wrap">ti,dix4192: 216-kHz digital audio converter with Quad-Channel In
and One-Channel Out.</p>
<p style="white-space: pre-wrap">ti,pcm1690: Automotive Catalog 113dB SNR 8-Channel Audio DAC with
Differential Outputs.</p>
<p style="white-space: pre-wrap">ti,pcm3120: Automotive, stereo, 106-dB SNR, 768-kHz, low-power
software-controlled audio ADC.</p>
<p style="white-space: pre-wrap">ti,pcm3140: Automotive, Quad-Channel, 768-kHz, Burr-Brown™ Audio ADC
with 106-dB SNR.</p>
<p style="white-space: pre-wrap">ti,pcm5120: Automotive, stereo, 120-dB SNR, 768-kHz, low-power
software-controlled audio ADC.</p>
<p style="white-space: pre-wrap">ti,pcm5140: Automotive, Quad-Channel, 768-kHz, Burr-Brown™ Audio ADC
with 120-dB SNR.</p>
<p style="white-space: pre-wrap">ti,pcm6120: Automotive, stereo, 123-dB SNR, 768-kHz, low-power
software-controlled audio ADC.</p>
<p style="white-space: pre-wrap">ti,pcm6140: Automotive, Quad-Channel, 768-kHz, Burr-Brown™ Audio ADC
with 123-dB SNR.</p>
<p style="white-space: pre-wrap">ti,pcm6240: Automotive 4-ch audio ADC with integrated programmable mic
bias, boost and input diagnostics.</p>
<p style="white-space: pre-wrap">ti,pcm6260: Automotive 6-ch audio ADC with integrated programmable mic
bias, boost and input diagnostics.</p>
<p style="white-space: pre-wrap">ti,pcm9211: 216-kHz digital audio converter With Stereo ADC and
Routing.</p>
<p style="white-space: pre-wrap">ti,pcmd3140: Four-channel PDM-input to TDM or I2S output converter.</p>
<p style="white-space: pre-wrap">ti,pcmd3180: Eight-channel pulse-density-modulation input to TDM or
I2S output converter.</p>
<p style="white-space: pre-wrap">ti,taa5212: Low-power high-performance stereo audio ADC with 118-dB
dynamic range.</p>
<p style="white-space: pre-wrap">ti,tad5212: Low-power stereo audio DAC with 120-dB dynamic range.</p>
</div>

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;ti&#44;adc3120&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;ti&#44;adc5120&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;ti&#44;pcm3120&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;ti&#44;pcm5120&#34;</code></span>, <span id="dt-fd88adda17227ca32776"><code>&#34;ti&#44;pcm6120&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;ti&#44;adc6120&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;ti&#44;pcmd512x&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;ti&#44;pcm9211&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;ti&#44;taa5212&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;ti&#44;tad5212&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;ti&#44;adc6120&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;ti&#44;pcm3140&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;ti&#44;pcm5140&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;ti&#44;dix4192&#34;</code></span>, <span id="dt-7337bb6973adc8f5010d"><code>&#34;ti&#44;pcm6140&#34;</code></span>, <span id="dt-2a4824de128057522b89"><code>&#34;ti&#44;pcm6260&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;ti&#44;pcm6240&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;ti&#44;pcmd3140&#34;</code></span>, <span id="dt-f0654d9dc65c16ce7d6a"><code>&#34;ti&#44;pcmd3180&#34;</code></span>, <span id="dt-80bf5233c0e34928f5ac"><code>&#34;ti&#44;pcm1690&#34;</code></span>, <span id="dt-3e86066ba2e9703b9565"><code>&#34;ti&#44;taa5412&#34;</code></span>, <span id="dt-1fd75caf61d0f4869524"><code>&#34;ti&#44;tad5412&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;ti&#44;pcm6240&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> **Allowed values (<code>enum</code>):** <a id="dt-78e29080fba906436b34"></a> <span id="dt-2db59273bf1b9e9ca307"><code>&#34;ti&#44;adc6120&#34;</code></span>, <span id="dt-fb96169e79112d83b1e6"><code>&#34;ti&#44;pcm6240&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address, in multiple pcmdevices case, all the i2c address aggregate as one Audio Device to support multiple audio slots.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>4</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Invalid only for ti,pcm1690 because of no INT pin.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;ti&#44;pcm1690&#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-46e318450db8639361ba"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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/gpio/gpio.h&gt;

i2c {
    /* example for two devices with interrupt support */
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@48 {
        compatible = "ti,pcm6240";
        reg = &lt;0x48&gt;, /* primary-device */
              &lt;0x4b&gt;; /* secondary-device */
        #sound-dai-cells = &lt;0&gt;;
        reset-gpios = &lt;&amp;gpio1 10 GPIO_ACTIVE_HIGH&gt;;
        interrupt-parent = &lt;&amp;gpio1&gt;;
        interrupts = &lt;15&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 2:</strong> <span> Copyright (C) 2022 - 2024 Texas Instruments Incorporated</span></p>

</details>

---

# Texas Instruments SRC4392

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments SRC4392.

<!-- SPDX-License-Identifier: (GPL-2.0 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;ti&#44;src4xxx&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SRC4392 is a digital audio codec that can be connected via
I2C or SPI. Currently, only I2C bus is supported.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Matt Flax &#60;flatmax&#64;flatmax&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;ti&#44;src4392&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@70 {
        #sound-dai-cells = &lt;0&gt;;
        compatible = "ti,src4392";
        reg = &lt;0x70&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 OR BSD-2-Clause)</span></p>

</details>

---

# Texas Instruments TAS2552 Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TAS2552 Codec.

<!-- 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;ti&#44;tas2552&#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;Shenghao Ding &#60;shenghao&#45;ding&#64;ti&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Kevin Lu &#60;kevin&#45;lu&#64;ti&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Baojun Xu &#60;baojun&#46;xu&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TAS2552 can receive its reference clock via MCLK, BCLK, IVCLKIN pin or use the internal 1.8MHz. This CLKIN is used by the PLL. In addition to PLL, the PDM reference clock is also selectable: PLL, IVCLKIN, BCLK or MCLK.
For system integration the dt-bindings/sound/tas2552.h header file provides defined values to select and configure the PLL and PDM reference clocks.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;ti&#44;tas2552&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-ec77812e53e236d829e4"></a>

### <code>vbat&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-79d466fdcccc88d28b5b"></a>

### <code>iovdd&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-14397a69ba55f41119c5"></a>

### <code>avdd&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-7c22dc1c08c2507b631b"></a>

### <code>enable&#45;gpio</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-73b7d1d2876fa2fdb6b9"><code>1</code></span>

<div id="dt-2c0b5064e5d71b216e21">
<p style="white-space: pre-wrap">gpio pin to enable/disable the device</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;vbat&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;iovdd&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;avdd&#45;supply&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@41 {
        compatible = "ti,tas2552";
        reg = &lt;0x41&gt;;
        #sound-dai-cells = &lt;0&gt;;
        vbat-supply = &lt;&amp;reg_vbat&gt;;
        iovdd-supply = &lt;&amp;reg_iovdd&gt;;
        avdd-supply = &lt;&amp;reg_avdd&gt;;
        enable-gpio = &lt;&amp;gpio4 2 GPIO_ACTIVE_HIGH&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>

</details>

---

# Texas Instruments TAS2562 Smart PA

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TAS2562 Smart PA.

<!-- 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;ti&#44;tas2562&#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;Andrew Davis &#60;afd&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TAS2562 is a mono, digital input Class-D audio amplifier optimized for
efficiently driving high peak power into small loudspeakers.
Integrated speaker voltage and current sense provides for
real time monitoring of loudspeaker behavior.</p>
<pre><code>Specifications about the audio amplifier can be found at:
  https://www.ti.com/lit/gpn/tas2562
  https://www.ti.com/lit/gpn/tas2564
  https://www.ti.com/lit/gpn/tas2110</code></pre>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;ti&#44;tas2562&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tas2564&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;tas2110&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the device can be one of these 0x4c, 0x4d, 0x4e or 0x4f</p>
</div>

<a id="dt-6ec31ec35ac2f6b954b4"></a>

### <code>shut&#45;down&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9e31b01d49334543c955"><code>1</code></span>

<div id="dt-b018d4cc92e68c32ed00">
<p style="white-space: pre-wrap">GPIO used to control the state of the device.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-61cd837ff5b4937bacbb"><code>true</code></span>

<a id="dt-45e267b98287a9b9f697"></a>

### <code>shutdown&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f2aa23ea2741c8b6979c"><code>1</code></span>

<div id="dt-b739a5c096a414ad16bb">
<p style="white-space: pre-wrap">GPIO used to control the state of the device.</p>
</div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-e2a0bbb5f723955b7549"></a>

### <code>ti&#44;imon&#45;slot&#45;no</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-47919724700e21908933">[<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-343b61e35e0d8093c3fd">
<p style="white-space: pre-wrap">TDM TX current sense time slot.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-e3f706c9f572bc7f095d"></a> <span id="dt-266d930490f5dab7d95f"><code>0</code></span>, <span id="dt-3ada6c9b25a2310fa7d9"><code>1</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@4c {
        compatible = "ti,tas2562";
        reg = &lt;0x4c&gt;;
        #sound-dai-cells = &lt;0&gt;;
        interrupt-parent = &lt;&amp;gpio1&gt;;
        interrupts = &lt;14&gt;;
        shutdown-gpios = &lt;&amp;gpio1 15 GPIO_ACTIVE_HIGH&gt;;
        ti,imon-slot-no = &lt;0&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 2:</strong> <span> Copyright (C) 2019 Texas Instruments Incorporated</span></p>

<p id="dt-comment-2"><strong>Line 56:</strong> <span> The codec has a single DAI, the #sound-dai-cells=&lt;1&gt;; case is left in for backward</span></p>

<p id="dt-comment-3"><strong>Line 57:</strong> <span> compatibility but is deprecated.</span></p>

</details>

---

# Texas Instruments TAS2770 Smart PA

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TAS2770 Smart PA.

<!-- 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;ti&#44;tas2770&#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;Shi Fu &#60;shifu0704&#64;thundersoft&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TAS2770 is a mono, digital input Class-D audio amplifier optimized for
efficiently driving high peak power into small loudspeakers.
Integrated speaker voltage and current sense provides for
real time monitoring of loudspeaker behavior.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;ti&#44;tas2770&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tas5770l&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the device can be between 0x41 to 0x48.</p>
</div>

<a id="dt-1b1ed8f565b8632a04fa"></a>

### <code>reset&#45;gpio</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-1af958c060476197f40d"><code>1</code></span>

<div id="dt-fc03fde0411f55caae07">
<p style="white-space: pre-wrap">GPIO used to reset the device.</p>
</div>

<a id="dt-45e267b98287a9b9f697"></a>

### <code>shutdown&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f2aa23ea2741c8b6979c"><code>1</code></span>

<div id="dt-b739a5c096a414ad16bb">
<p style="white-space: pre-wrap">GPIO used to control the state of the device.</p>
</div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-e2a0bbb5f723955b7549"></a>

### <code>ti&#44;imon&#45;slot&#45;no</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-47919724700e21908933">[<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-343b61e35e0d8093c3fd">
<p style="white-space: pre-wrap">TDM TX current sense time slot.</p>
</div>

<a id="dt-f9b6d77a273126dba3e9"></a>

### <code>ti&#44;vmon&#45;slot&#45;no</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-630495937c7a06b432a1">[<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-31ca81dec3708bdb325a">
<p style="white-space: pre-wrap">TDM TX voltage sense time slot.</p>
</div>

<a id="dt-6e1b8a1d3d9acaade997"></a>

### <code>ti&#44;asi&#45;format</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-be741aeff78a151bc5eb"><code>true</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1677c9842cc0c38dd49a">[<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-fb23aa72dcd5877ffc04">
<p style="white-space: pre-wrap">Sets TDM RX capture edge.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d295c61e16d7ca8a44ac"></a> <span id="dt-23c395b287bc7a210506"><code>0</code></span>, <span id="dt-5a156b42aa26795d0616"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-e3f706c9f572bc7f095d"></a> <span id="dt-266d930490f5dab7d95f"><code>0</code></span>, <span id="dt-3ada6c9b25a2310fa7d9"><code>1</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@41 {
        compatible = "ti,tas2770";
        reg = &lt;0x41&gt;;
        #sound-dai-cells = &lt;0&gt;;
        interrupt-parent = &lt;&amp;gpio1&gt;;
        interrupts = &lt;14&gt;;
        reset-gpio = &lt;&amp;gpio1 15 GPIO_ACTIVE_HIGH&gt;;
        shutdown-gpios = &lt;&amp;gpio1 14 GPIO_ACTIVE_HIGH&gt;;
        ti,imon-slot-no = &lt;0&gt;;
        ti,vmon-slot-no = &lt;2&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 2:</strong> <span> Copyright (C) 2019-20 Texas Instruments Incorporated</span></p>

<p id="dt-comment-2"><strong>Line 26:</strong> <span> Apple variant</span></p>

<p id="dt-comment-3"><strong>Line 57:</strong> <span> Rising edge</span></p>

<p id="dt-comment-4"><strong>Line 58:</strong> <span> Falling edge</span></p>

<p id="dt-comment-5"><strong>Line 61:</strong> <span> The codec has a single DAI, the #sound-dai-cells=&lt;1&gt;; case is left in for backward</span></p>

<p id="dt-comment-6"><strong>Line 62:</strong> <span> compatibility but is deprecated.</span></p>

</details>

---

# Texas Instruments TAS2563/TAS2781 SmartAMP

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TAS2563/TAS2781 SmartAMP.

<!-- 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;ti&#44;tas2781&#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;Shenghao Ding &#60;shenghao&#45;ding&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TAS2118/TAS2X20 is mono, digital input Class-D audio
amplifier optimized for efficiently driving high peak power into
small loudspeakers.
The TAS257x is mono, digital input Class-D audio amplifier optimized
for efficiently driving high peak power into small loudspeakers.
Integrated speaker voltage and current sense provides for real time
monitoring of loudspeaker behavior.
The TAS2563/TAS2781 is a mono, digital input Class-D audio
amplifier optimized for efficiently driving high peak power into
small loudspeakers. An integrated on-chip DSP supports Texas
Instruments Smart Amp speaker protection algorithm. The
integrated speaker voltage and current sense provides for real time
monitoring of loudspeaker behavior.
The TAS5802/TAS5815/TAS5822/TAS5825/TAS5827/TAS5828 is a stereo,
digital input Class-D audio amplifier optimized for efficiently driving
high peak power into small loudspeakers. An integrated on-chip DSP
supports Texas Instruments Smart Amp speaker protection algorithm.</p>
<pre><code>Specifications about the audio amplifier can be found at:
  https://www.ti.com/lit/gpn/tas2120
  https://www.ti.com/lit/gpn/tas2320
  https://www.ti.com/lit/gpn/tas2563
  https://www.ti.com/lit/gpn/tas2572
  https://www.ti.com/lit/gpn/tas2574
  https://www.ti.com/lit/gpn/tas2781
  https://www.ti.com/lit/gpn/tas5806m
  https://www.ti.com/lit/gpn/tas5806md
  https://www.ti.com/lit/gpn/tas5815
  https://www.ti.com/lit/gpn/tas5822m
  https://www.ti.com/lit/gpn/tas5825m
  https://www.ti.com/lit/gpn/tas5827
  https://www.ti.com/lit/gpn/tas5828m
  https://www.ti.com/lit/gpn/tas5830</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

<div id="dt-e84064a2d568e9bcb9c3">
<p style="white-space: pre-wrap">ti,tas2020: 3.2-W Mono Digital Input Class-D Speaker Amp with 5.5V PVDD
Support.</p>
<p style="white-space: pre-wrap">ti,tas2118: 5-W Mono Digital Input Class-D Speaker Amp with Integrated
8.4-V Class-H Boost.</p>
<p style="white-space: pre-wrap">ti,tas2120: 8.2-W Mono Digital Input Class-D Speaker Amp with
Integrated 14.75V Class-H Boost.</p>
<p style="white-space: pre-wrap">ti,tas2320: 15-W Mono Digital Input Class-D Speaker Amp with 15V Support.</p>
<p style="white-space: pre-wrap">ti,tas2563: 6.1-W Boosted Class-D Audio Amplifier With Integrated
DSP and IV Sense, 16/20/24/32bit stereo I2S or multichannel TDM.</p>
<p style="white-space: pre-wrap">ti,tas2568: 5.3-W Digital Input Smart Amp with I/V Sense and Integrated
10.75-V Class-H Boost</p>
<p style="white-space: pre-wrap">ti,tas2570: 5.8-W Digital Input smart amp with I/V sense and integrated
11-V Class-H Boost</p>
<p style="white-space: pre-wrap">ti,tas2572: 6.6-W Digital Input smart amp with I/V sense and integrated
13-V Class-H Boost</p>
<p style="white-space: pre-wrap">ti,tas2574: 8.5-W Digital Input smart amp with I/V sense and integrated
15-V Class-H Boost</p>
<p style="white-space: pre-wrap">ti,tas2781: 24-V Class-D Amplifier with Real Time Integrated Speaker
Protection and Audio Processing, 16/20/24/32bit stereo I2S or
multichannel TDM.</p>
<p style="white-space: pre-wrap">ti,tas5802: 22-W, Inductor-Less, Digital Input, Closed-Loop Class-D
Audio Amplifier with 96-Khz Extended Processing and Low Idle Power
Dissipation.</p>
<p style="white-space: pre-wrap">ti,tas5806m: 23-W, Inductor-Less, Digital Input, Stereo, Closed-Loop
Class-D Audio Amplifier with Enhanced Processing and Low Power
Dissipation.</p>
<p style="white-space: pre-wrap">ti,tas5806md: 23-W, Inductor-Less, Digital Input, Stereo, Closed-Loop
Class-D Audio Amplifier with Enhanced Processing and DirectPath(TM)
HP Driver</p>
<p style="white-space: pre-wrap">ti,tas5815: 30-W, Digital Input, Stereo, Closed-loop Class-D Audio
Amplifier with 96 kHz Enhanced Processing</p>
<p style="white-space: pre-wrap">ti,tas5822: 35-W, Digital Input, Stereo, Closed-Loop Class-D Audio
Amplifier with 96 kHz Enhanced Processing</p>
<p style="white-space: pre-wrap">ti,tas5825: 38-W Stereo, Inductor-Less, Digital Input, Closed-Loop 4.5V
to 26.4V Class-D Audio Amplifier with 192-kHz Extended Audio Processing.</p>
<p style="white-space: pre-wrap">ti,tas5827: 47-W Stereo, Digital Input, High Efficiency Closed-Loop
Class-D Amplifier with Class-H Algorithm</p>
<p style="white-space: pre-wrap">ti,tas5828: 50-W Stereo, Digital Input, High Efficiency Closed-Loop
Class-D Amplifier with Hybrid-Pro Algorithm</p>
<p style="white-space: pre-wrap">ti,tas5830: 65-W Stereo, Digital Input, High Efficiency Closed-Loop
Class-D Amplifier with Class-H Algorithm</p>
</div>

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;ti&#44;tas2020&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;ti&#44;tas2118&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;ti&#44;tas2120&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;ti&#44;tas2320&#34;</code></span>, <span id="dt-fd88adda17227ca32776"><code>&#34;ti&#44;tas2563&#34;</code></span>, <span id="dt-f0dfbb755d86acc4c265"><code>&#34;ti&#44;tas2568&#34;</code></span>, <span id="dt-fd90c4a6b4c12fdce245"><code>&#34;ti&#44;tas2570&#34;</code></span>, <span id="dt-e2dcb0e367ca5c3b7bca"><code>&#34;ti&#44;tas2572&#34;</code></span>, <span id="dt-8f172ba5f5ba57694b17"><code>&#34;ti&#44;tas2574&#34;</code></span>, <span id="dt-818bfc86902057a0cfa5"><code>&#34;ti&#44;tas5802&#34;</code></span>, <span id="dt-40cc8e0354bd3c46c2b0"><code>&#34;ti&#44;tas5806m&#34;</code></span>, <span id="dt-a51a88fcd7865e1371b5"><code>&#34;ti&#44;tas5806md&#34;</code></span>, <span id="dt-23e0456f1590624d28e6"><code>&#34;ti&#44;tas5815&#34;</code></span>, <span id="dt-97919bd8d4cffc92f04e"><code>&#34;ti&#44;tas5822&#34;</code></span>, <span id="dt-e645e3f9d6254b0c4193"><code>&#34;ti&#44;tas5825&#34;</code></span>, <span id="dt-582ea23e6d93a2ab2899"><code>&#34;ti&#44;tas5827&#34;</code></span>, <span id="dt-ec4788eeb35c9e532697"><code>&#34;ti&#44;tas5828&#34;</code></span>, <span id="dt-ce811e7f5e306c3785e9"><code>&#34;ti&#44;tas5830&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;ti&#44;tas2781&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Allowed values (<code>enum</code>):** <a id="dt-ad5dbad5326d5a61ae46"></a> <span id="dt-af4759e2a8ab9583f63d"><code>&#34;ti&#44;tas2781&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address, in multiple-AMP case, all the i2c address aggregate as one Audio Device to support multiple audio slots.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>8</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;ti&#44;tas2020&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;ti&#44;tas2118&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;ti&#44;tas2120&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;ti&#44;tas2320&#34;</code></span>, <span id="dt-f5a9f906c7ab6d73de62"><code>&#34;ti&#44;tas2568&#34;</code></span>, <span id="dt-ad13ece4b900cc595f9f"><code>&#34;ti&#44;tas2574&#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-18ed1f4bd380878274d8"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-022546edf486cc20947c"><code>4</code></span>
> >
> > <a id="dt-57a47f31b9538e0be5c1"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Minimum value (<code>minimum</code>):** <span id="dt-09b9ffadc37d2ba2008e"><code>72</code></span>
> > >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-b520228bd1e7ab301b31"><code>75</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;ti&#44;tas2563&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;ti&#44;tas5825&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b5c94fac3a56b4f9f0e9"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <div id="dt-78651c43d986476000c9">
> > <p style="white-space: pre-wrap">I2C address, in multiple-AMP case, all the i2c address aggregate as one Audio Device to support multiple audio slots.</p>
> > </div>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-69135558470d5e3ce462"><code>4</code></span>
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-951abd00fab37bf86404"><code>1</code></span>
> >
> > <a id="dt-1f6db9cd4c0d15216b3c"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Minimum value (<code>minimum</code>):** <span id="dt-7e4dde28b24b8e8df83c"><code>76</code></span>
> > >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-f86bf54d854a2ba33827"><code>79</code></span>

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;ti&#44;tas2570&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;ti&#44;tas2572&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bf3c32dc20c3c8a6e8c5"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-a871c44be1e9f993b306"><code>4</code></span>
> >
> > <a id="dt-6e243d35b1ada3999fb9"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Minimum value (<code>minimum</code>):** <span id="dt-fdd59fdbfbfe26245f87"><code>72</code></span>
> > >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-192131c04b6aeeb2fddc"><code>75</code></span>

<a id="dt-1c66024c2be5a725f708"></a>

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-f6f7348eb6a3f6a0c1d3"></a> <span id="dt-e23119600ac866295534"><code>&#34;ti&#44;tas2781&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-61105cb355bf27434ff1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-6fc5528acbfd0f2736ff"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <div id="dt-8f1b76ce2e7518e4251d">
> > <p style="white-space: pre-wrap">I2C address, in multiple-AMP case, all the i2c address aggregate as one Audio Device to support multiple audio slots.</p>
> > </div>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-6a7bcfdbffec320d0508"><code>8</code></span>
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-03edfba6efbcc66592ae"><code>1</code></span>
> >
> > <a id="dt-19e90681297ae0eac15e"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Minimum value (<code>minimum</code>):** <span id="dt-1826f0d216d287331e5e"><code>56</code></span>
> > >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-781a3efa7f15b258a4c5"><code>63</code></span>

<a id="dt-51879ae9be030b28e888"></a>

### Rule 6

> <a id="dt-29f1a7d11303016de0fb"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-31db8c2b34419cd49333"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-049791ad441d801be5c0"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-b015f3429cf037cca578"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7fd3859f97987911f131"></a> <span id="dt-c7b90595f82e2304d5f1"><code>&#34;ti&#44;tas5802&#34;</code></span>, <span id="dt-8451738494e2188d25d3"><code>&#34;ti&#44;tas5815&#34;</code></span>
>
> <a id="dt-5d3814a6fa606b79b9a6"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-bc42d1cd066384e1f6fa"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-4d11423ab1a0358500ad"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b794411f59446de97d18"><code>4</code></span>
> >
> > <a id="dt-752dc193b93384622f5a"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Minimum value (<code>minimum</code>):** <span id="dt-07099bf78c1f80692e91"><code>84</code></span>
> > >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-c960dd086b3a160634a2"><code>87</code></span>

<a id="dt-60e5f24c7565f25c976f"></a>

### Rule 7

> <a id="dt-adc37659b18b744ffc21"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-d05034e35339a4228f73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-012adea3ff9b123e6012"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-722bd6dfca33f01d98ac"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-8fc9e14b2279a9817cff"></a> <span id="dt-b4babef5338af7c8ece2"><code>&#34;ti&#44;tas5806m&#34;</code></span>, <span id="dt-d408288ade2fa2fa3be8"><code>&#34;ti&#44;tas5806md&#34;</code></span>, <span id="dt-06436bfa8a6b474bcb2c"><code>&#34;ti&#44;tas5822&#34;</code></span>
>
> <a id="dt-53bae45a2e235a9fb120"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-46da8c9fe8477efbe234"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-ab7fd0330b83d367483e"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-854b9739b6e4680e56e6"><code>4</code></span>
> >
> > <a id="dt-32722778e5c9fd11a38f"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Minimum value (<code>minimum</code>):** <span id="dt-5e9ef6a8e0594a2e3230"><code>44</code></span>
> > >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-52f505b66a68afaf2728"><code>47</code></span>

<a id="dt-fa2851fe2e6806dbd4d9"></a>

### Rule 8

> <a id="dt-0dec882f901dbdd5da96"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-e318d04d818f7848a412"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-33aecc82258b5c176a35"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-f9b8e456dce5ffcaab8e"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-f65cbbddfee052356608"></a> <span id="dt-d51a039ce1f0715889a9"><code>&#34;ti&#44;tas5827&#34;</code></span>, <span id="dt-37e68b867024d1e905df"><code>&#34;ti&#44;tas5828&#34;</code></span>, <span id="dt-2a650265d7dc93ec7747"><code>&#34;ti&#44;tas5830&#34;</code></span>
>
> <a id="dt-f41b5086d105c7986c84"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-2c12b15fd025c8e34502"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-03fc3a02d85545ef687b"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2cc4c82c05b9e81db300"><code>6</code></span>
> >
> > <a id="dt-7da2ad74e47dca4fb70e"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Minimum value (<code>minimum</code>):** <span id="dt-7f5580459cd12c7a1a22"><code>96</code></span>
> > >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-1b5b4cdb17b43574edd1"><code>101</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/gpio/gpio.h&gt;

i2c {
    /* example with quad tas2781s, such as tablet or pad device */
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@38 {
        compatible = "ti,tas2781";
        reg = &lt;0x38&gt;, /* Audio slot 0 */
              &lt;0x3a&gt;, /* Audio slot 1 */
              &lt;0x39&gt;, /* Audio slot 2 */
              &lt;0x3b&gt;; /* Audio slot 3 */

        #sound-dai-cells = &lt;0&gt;;
        reset-gpios = &lt;&amp;gpio1 10 GPIO_ACTIVE_HIGH&gt;;
        interrupt-parent = &lt;&amp;gpio1&gt;;
        interrupts = &lt;15&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 2:</strong> <span> Copyright (C) 2022 - 2025 Texas Instruments Incorporated</span></p>

</details>

---

# Texas Instruments TAS2764/TAS2780 Smart PA

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TAS2764/TAS2780 Smart PA.

<!-- 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;ti&#44;tas27xx&#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;Shenghao Ding &#60;shenghao&#45;ding&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TAS2764/TAS2780 is a mono, digital input Class-D audio amplifier
optimized for efficiently driving high peak power into small
loudspeakers. Integrated speaker voltage and current sense provides
for real time monitoring of loudspeaker behavior.</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;ti&#44;tas2764&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tas2780&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;sn012776&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the device can be between 0x38 to 0x45.</p>
</div>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO used to reset the device.</p>
</div>

<a id="dt-45e267b98287a9b9f697"></a>

### <code>shutdown&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f2aa23ea2741c8b6979c"><code>1</code></span>

<div id="dt-b739a5c096a414ad16bb">
<p style="white-space: pre-wrap">GPIO used to control the state of the device.</p>
</div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-e2a0bbb5f723955b7549"></a>

### <code>ti&#44;imon&#45;slot&#45;no</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-47919724700e21908933">[<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-343b61e35e0d8093c3fd">
<p style="white-space: pre-wrap">TDM TX current sense time slot.</p>
</div>

<a id="dt-f9b6d77a273126dba3e9"></a>

### <code>ti&#44;vmon&#45;slot&#45;no</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-630495937c7a06b432a1">[<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-31ca81dec3708bdb325a">
<p style="white-space: pre-wrap">TDM TX voltage sense time slot.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-e3f706c9f572bc7f095d"></a> <span id="dt-266d930490f5dab7d95f"><code>0</code></span>, <span id="dt-3ada6c9b25a2310fa7d9"><code>1</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@38 {
        compatible = "ti,tas2764";
        reg = &lt;0x38&gt;;
        #sound-dai-cells = &lt;0&gt;;
        interrupt-parent = &lt;&amp;gpio1&gt;;
        interrupts = &lt;14&gt;;
        reset-gpios = &lt;&amp;gpio1 15 GPIO_ACTIVE_HIGH&gt;;
        shutdown-gpios = &lt;&amp;gpio1 15 GPIO_ACTIVE_HIGH&gt;;
        ti,imon-slot-no = &lt;0&gt;;
        ti,vmon-slot-no = &lt;2&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 2:</strong> <span> Copyright (C) 2020-2022 Texas Instruments Incorporated</span></p>

<p id="dt-comment-2"><strong>Line 27:</strong> <span> Apple variant of TAS2764</span></p>

<p id="dt-comment-3"><strong>Line 54:</strong> <span> The codec has a single DAI, the #sound-dai-cells=&lt;1&gt;; case is left in for backward</span></p>

<p id="dt-comment-4"><strong>Line 55:</strong> <span> compatibility but is deprecated.</span></p>

</details>

---

# Texas Instruments TAS5711/TAS5717/TAS5719/TAS5721 stereo power amplifiers

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TAS5711/TAS5717/TAS5719/TAS5721 stereo power amplifiers.

<!-- 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;ti&#44;tas57xx&#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;Neil Armstrong &#60;neil&#46;armstrong&#64;linaro&#46;org&#62;&#34;</code></span>

<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;ti&#44;tas5707&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tas5711&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;tas5717&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;tas5719&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;tas5721&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;ti&#44;tas5733&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;ti&#44;tas5753&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO for the active low reset line</p>
</div>

<a id="dt-592dce04800fc99e7598"></a>

### <code>pdn&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-dc25e5b39fc91ac14b05"><code>1</code></span>

<div id="dt-4a7f7348ec24d8961ec0">
<p style="white-space: pre-wrap">GPIO for the active low powerdown line</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-bc22b86a699ed19f7b01"></a>

### <code>DVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-e77c9a02a579ccfcd83e"></a>

### <code>HPVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-e7d68d67fc74c3104168"></a>

### <code>PVDD&#95;AB&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-30fe2e4c6d8c95397bfe"></a>

### <code>PVDD&#95;CD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-64990620830b0e8486a7"></a>

### <code>PVDD&#95;A&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-0d540aa8cf318abd5a22"></a>

### <code>PVDD&#95;B&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-a6f69505090e1f3bfa15"></a>

### <code>PVDD&#95;C&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-3e10295052b8ddd7962c"></a>

### <code>PVDD&#95;D&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8fc9a13417c288900283"></a>

### <code>DRVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-f5d88bb44576878b10c3"></a>

### <code>PVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;&#35;sound&#45;dai&#45;cells&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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;ti&#44;tas5717&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;ti&#44;tas5719&#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-5d105be8dc6d96236211"></a>
> >
> > **<code>PVDD&#95;A&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-eb85fed5ac07d1df0f41"></a>
> >
> > **<code>PVDD&#95;B&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-3bd79950338392aeff5c"></a>
> >
> > **<code>PVDD&#95;C&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-f2474ac10c1020675619"></a>
> >
> > **<code>PVDD&#95;D&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-2142e49c9ae230c4b63e"></a>
> >
> > **<code>DRVDD&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-d2cb935581a39f59226a"></a>
> >
> > **<code>PVDD&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;ti&#44;tas5711&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-78f43f353bb4aadc2844"></a>
> >
> > **<code>HPVDD&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-69e5d73891e5c87efa13"></a>
> >
> > **<code>PVDD&#95;AB&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-2deacb161cfe445484a7"></a>
> >
> > **<code>PVDD&#95;CD&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-0561a38a1cc978ecea64"></a>
> >
> > **<code>DRVDD&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-5be2675ad3f42a448943"></a>
> >
> > **<code>PVDD&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;ti&#44;tas5721&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;ti&#44;tas5753&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a4fe1c514ce9746e4824"></a>
> >
> > **<code>HPVDD&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-c40c00c1bd513f67ffdf"></a>
> >
> > **<code>PVDD&#95;AB&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-37321da95417242fbcfb"></a>
> >
> > **<code>PVDD&#95;CD&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-4f9be4b9895fb15147e1"></a>
> >
> > **<code>PVDD&#95;A&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-548d71161347768d1764"></a>
> >
> > **<code>PVDD&#95;B&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-0aa8e9a0b59d270d4112"></a>
> >
> > **<code>PVDD&#95;C&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-4c91112a207c66139b9d"></a>
> >
> > **<code>PVDD&#95;D&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@2a {
        compatible = "ti,tas5717";
        reg = &lt;0x2a&gt;;
        #sound-dai-cells = &lt;0&gt;;
        reset-gpios = &lt;&amp;gpio1 15 GPIO_ACTIVE_HIGH&gt;;
        pdn-gpios = &lt;&amp;gpio1 15 GPIO_ACTIVE_HIGH&gt;;
        AVDD-supply = &lt;&amp;avdd_supply&gt;;
        DVDD-supply = &lt;&amp;dvdd_supply&gt;;
        HPVDD-supply = &lt;&amp;hpvdd_supply&gt;;
        PVDD_AB-supply = &lt;&amp;pvdd_ab_supply&gt;;
        PVDD_CD-supply = &lt;&amp;pvdd_cd_supply&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>

</details>

---

# TAS5805M audio amplifier

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for TAS5805M audio amplifier.

<!-- 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;ti&#44;tas5805m&#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;Daniel Beer &#60;daniel&#46;beer&#64;igorinstitute&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TAS5805M is a class D audio amplifier with a built-in DSP.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;ti&#44;tas5805m&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the amplifier. See the datasheet for possible values.</p>
</div>

<a id="dt-722272e0225afab3aadc"></a>

### <code>pvdd&#45;supply</code> — not listed as required here

<div id="dt-2483fddb14d539d108cf">
<p style="white-space: pre-wrap">Regulator for audio power supply (PVDD in the datasheet).</p>
</div>

<a id="dt-592dce04800fc99e7598"></a>

### <code>pdn&#45;gpios</code> — not listed as required here

<div id="dt-4a7f7348ec24d8961ec0">
<p style="white-space: pre-wrap">Power-down control GPIO (PDN pin in the datasheet).</p>
</div>

<a id="dt-a82d0220105f1f830fbb"></a>

### <code>ti&#44;dsp&#45;config&#45;name</code> — not listed as required here

<div id="dt-f03edb6c558e3c1fa5b3">
<p style="white-space: pre-wrap">The name of the DSP configuration that should be loaded for this
instance. Configuration blobs are sequences of register writes
generated from TI's PPC3 tool.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-92725e3c8b0cbbb9ed4f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    tas5805m: tas5805m@2c {
            reg = &lt;0x2c&gt;;
            compatible = "ti,tas5805m";

            pvdd-supply = &lt;&amp;audiopwr&gt;;
            pdn-gpios = &lt;&amp;tlmm 160 0&gt;;

            ti,dsp-config-name = "mono_pbtl_48khz";
    };
};
</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>

</details>

---

# Texas Instruments TLV320ADC3001/TLV320ADC3101 Stereo ADC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TLV320ADC3001/TLV320ADC3101 Stereo ADC.

<!-- 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;ti&#44;tlv320adc3xxx&#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;Ricard Wanderlof &#60;ricardw&#64;axis&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Texas Instruments TLV320ADC3001 and TLV320ADC3101 Stereo ADC
https://www.ti.com/product/TLV320ADC3001
https://www.ti.com/product/TLV320ADC3101</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;ti&#44;tlv320adc3001&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tlv320adc3101&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO pin used for codec reset (RESET pin)</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Master clock (MCLK)</p>
</div>

<a id="dt-d6ab6989e48ef54d2aec"></a>

### <code>ti&#44;dmdin&#45;gpio1</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-59a103455083dc694c08">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-704afdd3bfba58ae127c"></a> <span id="dt-951491b5d78ad1da4ead"><code>0</code></span>, <span id="dt-0456d1f6ffd3e51515f6"><code>1</code></span>, <span id="dt-8dcf175505b3f95b241d"><code>2</code></span>, <span id="dt-3e42ff647ed3240a640e"><code>3</code></span>, <span id="dt-1e4ededd34a4d7132fbd"><code>4</code></span>, <span id="dt-fb7004b8f2c334bc462e"><code>5</code></span>, <span id="dt-4701b5f094415a8d04f5"><code>6</code></span>, <span id="dt-06cd5ef48d4f0cdb56af"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-a725109cce7bbf171213"><code>0</code></span>

<div id="dt-75bd3df244aabf056d38">
<p style="white-space: pre-wrap">Configuration for DMDIN/GPIO1 pin.</p>
<p style="white-space: pre-wrap">When ADC3XXX_GPIO_GPO is selected, the pin may be controlled via the
GPIO framework, as pin number 0 on the device.</p>
</div>

<a id="dt-86e444e60336579da8cc"></a>

### <code>ti&#44;dmclk&#45;gpio2</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-66315a3a4eb9a78b08df">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-e203fb830fe1b6f542eb"></a> <span id="dt-ff949ea1c3384944d054"><code>0</code></span>, <span id="dt-a0e4a0ab803c1b775979"><code>1</code></span>, <span id="dt-f4e727bd6be3626de2c1"><code>2</code></span>, <span id="dt-605824c07dbea48a9ad6"><code>3</code></span>, <span id="dt-5464b411a6d144097a54"><code>4</code></span>, <span id="dt-d8079627f32e25c37d3a"><code>5</code></span>, <span id="dt-e4d0cf96c649d6706a25"><code>6</code></span>, <span id="dt-70e59becb9417cdc60e5"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-655eefdf2d46b5217559"><code>0</code></span>

<div id="dt-fa2c33d626dc4312bf5e">
<p style="white-space: pre-wrap">Configuration for DMCLK/GPIO2 pin.</p>
<p style="white-space: pre-wrap">When ADC3XXX_GPIO_GPO is selected, the pin may be controlled via the
GPIO framework, as pin number 1 on the device.</p>
<p style="white-space: pre-wrap">Note that there is currently no support for reading the GPIO pins as
inputs.</p>
</div>

<a id="dt-710d9ebdf5716cd0da9e"></a>

### <code>ti&#44;micbias1&#45;gpo</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-8dd09b069ed4d1efc583"><code>&#34;boolean&#34;</code></span>

<div id="dt-493e1dc9071ee0113634">
<p style="white-space: pre-wrap">When set, the MICBIAS1 pin may be controlled via the GPIO framework,
as pin number 3 on the device.</p>
<p style="white-space: pre-wrap">In this mode, when the pin is activated, it will be set to the voltage
specified by the ti,micbias1-vg property. When deactivated, the pin will
float.</p>
</div>

<a id="dt-3483f1414e7fce713bd8"></a>

### <code>ti&#44;micbias2&#45;gpo</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-0f74f5ba9b71491618e2"><code>&#34;boolean&#34;</code></span>

<div id="dt-18f96578eb3ec1cb8feb">
<p style="white-space: pre-wrap">When set, the MICBIAS2 pin may be controlled via the GPIO framework,
as pin number 4 on the device.</p>
<p style="white-space: pre-wrap">In this mode, when the pin is activated, it will be set to the voltage
specified by the ti,micbias2-vg property. When deactivated, the pin will
float.</p>
</div>

<a id="dt-3bd232deecab4a5f2dc0"></a>

### <code>ti&#44;micbias1&#45;vg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-28faee038e74d2b3ae38">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-d09c7b9ed0e94f501dc3"></a> <span id="dt-537fe635b39ed1427f69"><code>0</code></span>, <span id="dt-a4b644e14e4a3dfa8c13"><code>1</code></span>, <span id="dt-373dd66c6874a35595da"><code>2</code></span>, <span id="dt-433b78a95fd453dbfed5"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-8b0ff232b51e4f5fcbed"><code>0</code></span>

<div id="dt-a1ef00195553d52a5018">
<p style="white-space: pre-wrap">Mic bias voltage output on MICBIAS1 pin</p>
</div>

<a id="dt-638f581201424a0f9a4b"></a>

### <code>ti&#44;micbias2&#45;vg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fc84b41d23a2a83e8102">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-217b47968a10c59ec7bf"></a> <span id="dt-5c979d45a9fad8b46a5f"><code>0</code></span>, <span id="dt-f0f2f7cac7d2780ed5ae"><code>1</code></span>, <span id="dt-f05c13c64f7ee1faeac5"><code>2</code></span>, <span id="dt-0b2a6671fe4a2a971258"><code>3</code></span>

**Default value (<code>default</code>):** <span id="dt-6c4d1baaa76071b568bc"><code>0</code></span>

<div id="dt-d514f3f11941e5be0a91">
<p style="white-space: pre-wrap">Mic bias voltage output on MICBIAS2 pin</p>
</div>

<a id="dt-3d235861b18e278e9c09"></a>

## Property dependencies (<code>dependencies</code>)

<a id="dt-5fb8beb7122b58d50cb8"></a>

### <code>ti&#44;micbias1&#45;gpo</code> — applies when this property is present

Also requires: <span id="dt-385904043ef51138281c"><code>&#34;ti&#44;micbias1&#45;vg&#34;</code></span>

<a id="dt-24ea9ff42b30a3c9c01e"></a>

### <code>ti&#44;micbias2&#45;gpo</code> — applies when this property is present

Also requires: <span id="dt-50d7528fab35cbec399e"><code>&#34;ti&#44;micbias2&#45;vg&#34;</code></span>

**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;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/sound/tlv320adc3xxx.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    tlv320adc3101: audio-codec@18 {
        compatible = "ti,tlv320adc3101";
        reg = &lt;0x18&gt;;
        reset-gpios = &lt;&amp;gpio_pc 3 GPIO_ACTIVE_LOW&gt;;
        clocks = &lt;&amp;audio_mclk&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
        ti,dmdin-gpio1 = &lt;ADC3XXX_GPIO_GPO&gt;;
        ti,micbias1-vg = &lt;ADC3XXX_MICBIAS_AVDD&gt;;
    };
};

audio_mclk: clock {
    compatible = "fixed-clock";
    #clock-cells = &lt;0&gt;;
    clock-frequency = &lt;24576000&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 49:</strong> <span> ADC3XXX_GPIO_DISABLED       - I/O buffers powered down and not used</span></p>

<p id="dt-comment-2"><strong>Line 50:</strong> <span> ADC3XXX_GPIO_INPUT          - Various non-GPIO input functions</span></p>

<p id="dt-comment-3"><strong>Line 51:</strong> <span> ADC3XXX_GPIO_GPI            - General purpose input</span></p>

<p id="dt-comment-4"><strong>Line 52:</strong> <span> ADC3XXX_GPIO_GPO            - General purpose output</span></p>

<p id="dt-comment-5"><strong>Line 53:</strong> <span> ADC3XXX_GPIO_CLKOUT         - Clock source set in CLKOUT_MUX reg</span></p>

<p id="dt-comment-6"><strong>Line 54:</strong> <span> ADC3XXX_GPIO_INT1           - INT1 output</span></p>

<p id="dt-comment-7"><strong>Line 55:</strong> <span> ADC3XXX_GPIO_SECONDARY_BCLK - Codec interface secondary BCLK</span></p>

<p id="dt-comment-8"><strong>Line 56:</strong> <span> ADC3XXX_GPIO_SECONDARY_WCLK - Codec interface secondary WCLK</span></p>

<p id="dt-comment-9"><strong>Line 67:</strong> <span> ADC3XXX_GPIO_DISABLED       - I/O buffers powered down and not used</span></p>

<p id="dt-comment-10"><strong>Line 68:</strong> <span> ADC3XXX_GPIO_INPUT          - Various non-GPIO input functions</span></p>

<p id="dt-comment-11"><strong>Line 69:</strong> <span> ADC3XXX_GPIO_GPI            - General purpose input</span></p>

<p id="dt-comment-12"><strong>Line 70:</strong> <span> ADC3XXX_GPIO_GPO            - General purpose output</span></p>

<p id="dt-comment-13"><strong>Line 71:</strong> <span> ADC3XXX_GPIO_CLKOUT         - Clock source set in CLKOUT_MUX reg</span></p>

<p id="dt-comment-14"><strong>Line 72:</strong> <span> ADC3XXX_GPIO_INT1           - INT1 output</span></p>

<p id="dt-comment-15"><strong>Line 73:</strong> <span> ADC3XXX_GPIO_SECONDARY_BCLK - Codec interface secondary BCLK</span></p>

<p id="dt-comment-16"><strong>Line 74:</strong> <span> ADC3XXX_GPIO_SECONDARY_WCLK - Codec interface secondary WCLK</span></p>

<p id="dt-comment-17"><strong>Line 108:</strong> <span> ADC3XXX_MICBIAS_OFF		- Mic bias is powered down</span></p>

<p id="dt-comment-18"><strong>Line 109:</strong> <span> ADC3XXX_MICBIAS_2_0V	- Mic bias is set to 2.0V</span></p>

<p id="dt-comment-19"><strong>Line 110:</strong> <span> ADC3XXX_MICBIAS_2_5V	- Mic bias is set to 2.5V</span></p>

<p id="dt-comment-20"><strong>Line 111:</strong> <span> ADC3XXX_MICBIAS_AVDD	- Mic bias is same as AVDD supply</span></p>

<p id="dt-comment-21"><strong>Line 119:</strong> <span> ADC3XXX_MICBIAS_OFF		- Mic bias is powered down</span></p>

<p id="dt-comment-22"><strong>Line 120:</strong> <span> ADC3XXX_MICBIAS_2_0V	- Mic bias is set to 2.0V</span></p>

<p id="dt-comment-23"><strong>Line 121:</strong> <span> ADC3XXX_MICBIAS_2_5V	- Mic bias is set to 2.5V</span></p>

<p id="dt-comment-24"><strong>Line 122:</strong> <span> ADC3XXX_MICBIAS_AVDD	- Mic bias is same as AVDD supply</span></p>

</details>

---

# Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter.

<!-- SPDX-License-Identifier: (GPL-2.0+ 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;ti&#44;tlv320adcx140&#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;Andrew Davis &#60;afd&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital
PDM microphones recording), high-performance audio, analog-to-digital
converter (ADC) with analog inputs supporting up to 2V RMS. The TLV320ADCX140
family supports line and  microphone Inputs, and offers a programmable
microphone bias or supply voltage generation.</p>
<pre><code>Specifications can be found at:
  https://www.ti.com/lit/ds/symlink/tlv320adc3140.pdf
  https://www.ti.com/lit/ds/symlink/tlv320adc5140.pdf
  https://www.ti.com/lit/ds/symlink/tlv320adc6140.pdf</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;ti&#44;tlv320adc3140&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tlv320adc5140&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;tlv320adc6140&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C address of the device can be one of these 0x4c, 0x4d, 0x4e or 0x4f</p>
</div>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO used for hardware reset.</p>
</div>

<a id="dt-9eb22398eda568cdc681"></a>

### <code>areg&#45;supply</code> — not listed as required here

<div id="dt-b3f235c9d0bc0d866008">
<p style="white-space: pre-wrap">External supply of 1.8V. If not defined then the internal regulator is
enabled instead.</p>
</div>

<a id="dt-14397a69ba55f41119c5"></a>

### <code>avdd&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-79d466fdcccc88d28b5b"></a>

### <code>iovdd&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-027d0ea65a141e9aec15"></a>

### <code>ti&#44;mic&#45;bias&#45;source</code> — not listed as required here

<div id="dt-93239633ebc76a1da34d">
<p style="white-space: pre-wrap">Indicates the source for MIC Bias.
0 - Mic bias is set to VREF
1 - Mic bias is set to VREF × 1.096
6 - Mic bias is set to AVDD</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-528d9138389371c23217">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-62f41ca06d8c358dc3ce"></a> <span id="dt-b9030a97191b7a173642"><code>0</code></span>, <span id="dt-26f3eb158d9b37778af4"><code>1</code></span>, <span id="dt-e9ed645d7070aa0d5df6"><code>6</code></span>

<a id="dt-a81e12c1cb12c2add373"></a>

### <code>ti&#44;vref&#45;source</code> — not listed as required here

<div id="dt-c9d17631fe770228bc3b">
<p style="white-space: pre-wrap">Indicates the source for MIC Bias.
0 - Set VREF to 2.75V
1 - Set VREF to 2.5V
2 - Set VREF to 1.375V</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ecf8717287680f97c9f0">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-94e081e1612cc0952996"></a> <span id="dt-5d4ec7cee65d45df08bc"><code>0</code></span>, <span id="dt-4808c6c6dedf03533788"><code>1</code></span>, <span id="dt-dc44bf9dd541dee0e4d6"><code>2</code></span>

<a id="dt-46b5f6080fbecf443bea"></a>

### <code>ti&#44;pdm&#45;edge&#45;select</code> — not listed as required here

<div id="dt-73fe9fba0f0d98bdd321">
<p style="white-space: pre-wrap">Defines the PDMCLK sampling edge configuration for the PDM inputs.  This
array is defined as &lt;PDMIN1 PDMIN2 PDMIN3 PDMIN4&gt;.</p>
<p style="white-space: pre-wrap">0 - (default) Odd channel is latched on the negative edge and even
channel is latched on the positive edge.
1 - Odd channel is latched on the positive edge and even channel is
latched on the negative edge.</p>
<p style="white-space: pre-wrap">PDMIN1 - PDMCLK latching edge used for channel 1 and 2 data
PDMIN2 - PDMCLK latching edge used for channel 3 and 4 data
PDMIN3 - PDMCLK latching edge used for channel 5 and 6 data
PDMIN4 - PDMCLK latching edge used for channel 7 and 8 data</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-568f5147f6a90a827436">[<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-cec1d8543d9557ea2dca"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-1820ab1b072ada9bf927"><code>4</code></span>

<a id="dt-8c08a5ff1da15f7a2604"></a>

#### Array item rules (<code>items</code>)

> **Maximum value (<code>maximum</code>):** <span id="dt-572ae6991cab58c0bc89"><code>1</code></span>

**Default value (<code>default</code>):** <a id="dt-4095ab090d51dc85cb49"></a> <span id="dt-3a0a6532b285eb7fd6d8"><code>0</code></span>, <span id="dt-6bced234a43ec42fb3f9"><code>0</code></span>, <span id="dt-577bfafa571888064a59"><code>0</code></span>, <span id="dt-0a5dfd0fb50f755e2b42"><code>0</code></span>

<a id="dt-63f2dc64053670232dbb"></a>

### <code>ti&#44;gpi&#45;config</code> — not listed as required here

<div id="dt-08c38e008c690554a3c2">
<p style="white-space: pre-wrap">Defines the configuration for the general purpose input pins (GPI).
The array is defined as &lt;GPI1 GPI2 GPI3 GPI4&gt;.</p>
<pre><code>0 - (default) disabled
1 - GPIX is configured as a general-purpose input (GPI)
2 - GPIX is configured as a master clock input (MCLK)
3 - GPIX is configured as an ASI input for daisy-chain (SDIN)
4 - GPIX is configured as a PDM data input for channel 1 and channel
     (PDMDIN1)
5 - GPIX is configured as a PDM data input for channel 3 and channel
     (PDMDIN2)
6 - GPIX is configured as a PDM data input for channel 5 and channel
     (PDMDIN3)
7 - GPIX is configured as a PDM data input for channel 7 and channel
     (PDMDIN4)</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e05ef236038d84bba835">[<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-2c2632e5b29cc519bf53"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ff4b10df383b6652b17e"><code>4</code></span>

<a id="dt-09c378838528a898a000"></a>

#### Array item rules (<code>items</code>)

> **Maximum value (<code>maximum</code>):** <span id="dt-546ae532fe6013e2bfb3"><code>7</code></span>

**Default value (<code>default</code>):** <a id="dt-3f60732c1bfec416fc68"></a> <span id="dt-dc394052a602a1fc80cd"><code>0</code></span>, <span id="dt-c2f297a00b94d4e605eb"><code>0</code></span>, <span id="dt-c0d78b4e5534c6c60359"><code>0</code></span>, <span id="dt-984a1404094b98693220"><code>0</code></span>

<a id="dt-fdebca7b81cddecca494"></a>

### <code>ti&#44;gpio&#45;config</code> — not listed as required here

<div id="dt-135e80f84e4c6c2e8939">
<p style="white-space: pre-wrap">Defines the configuration and output drive for the General Purpose
Input and Output pin (GPIO1). Its value is a pair, the first value is for
the configuration type and the second value is for the output drive
type. The array is defined as &lt;GPIO1_CFG GPIO1_DRV&gt;</p>
<pre><code>configuration for the GPIO pin can be one of the following:
0 - disabled
1 - GPIO1 is configured as a general-purpose output (GPO)
2 - (default) GPIO1 is configured as a device interrupt output (IRQ)
3 - GPIO1 is configured as a secondary ASI output (SDOUT2)
4 - GPIO1 is configured as a PDM clock output (PDMCLK)
8 - GPIO1 is configured as an input to control when MICBIAS turns on or
    off (MICBIAS_EN)
9 - GPIO1 is configured as a general-purpose input (GPI)
10 - GPIO1 is configured as a master clock input (MCLK)
11 - GPIO1 is configured as an ASI input for daisy-chain (SDIN)
12 - GPIO1 is configured as a PDM data input for channel 1 and channel 2
     (PDMDIN1)
13 - GPIO1 is configured as a PDM data input for channel 3 and channel 4
     (PDMDIN2)
14 - GPIO1 is configured as a PDM data input for channel 5 and channel 6
     (PDMDIN3)
15 - GPIO1 is configured as a PDM data input for channel 7 and channel 8
     (PDMDIN4)</code></pre>
<p style="white-space: pre-wrap">output drive type for the GPIO pin can be one of the following:
0 - Hi-Z output
1 - Drive active low and active high
2 - (default) Drive active low and weak high
3 - Drive active low and Hi-Z
4 - Drive weak low and active high
5 - Drive Hi-Z and active high</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7ead296a5f5362fed5ed">[<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-2d8f5b714e11e7631fb5"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-aa5a9c662030aae98f66"><code>2</code></span>

<a id="dt-3fa9d929c53cab907b68"></a>

#### Array item rules (<code>items</code>)

> **Maximum value (<code>maximum</code>):** <span id="dt-f93be0deb40db709cdd6"><code>15</code></span>

**Default value (<code>default</code>):** <a id="dt-290908da449043ee4894"></a> <span id="dt-a10383babdc7eb071260"><code>2</code></span>, <span id="dt-7b5b7f4a76a9a9d9faa7"><code>2</code></span>

<a id="dt-aa65d6eb757729a025fd"></a>

### <code>ti&#44;asi&#45;tx&#45;drive</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-79b80b062895896913f6"><code>&#34;boolean&#34;</code></span>

<div id="dt-9980942c558f4a650500">
<p style="white-space: pre-wrap">When set the device will set the Tx ASI output to a Hi-Z state for unused
data cycles. Default is to drive the output low on unused ASI cycles.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-3eefc1ef7414adc28aa9"></a>

### <code>&#94;ti&#44;gpo&#45;config&#45;&#91;1&#45;4&#93;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-399385c483a847b3216e">[<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>

<div id="dt-94cab805695ea84e2b6f">
<p style="white-space: pre-wrap">Defines the configuration and output driver for the general purpose
output pins (GPO).  These values are pairs, the first value is for the
configuration type and the second value is for the output drive type.
The array is defined as &lt;GPO_CFG GPO_DRV&gt;</p>
<p style="white-space: pre-wrap">GPO output configuration can be one of the following:</p>
<p style="white-space: pre-wrap">0 - (default) disabled
1 - GPOX is configured as a general-purpose output (GPO)
2 - GPOX is configured as a device interrupt output (IRQ)
3 - GPOX is configured as a secondary ASI output (SDOUT2)
4 - GPOX is configured as a PDM clock output (PDMCLK)</p>
<p style="white-space: pre-wrap">GPO output drive configuration for the GPO pins can be one of the following:</p>
<p style="white-space: pre-wrap">0d - (default) Hi-Z output
1d - Drive active low and active high
2d - Drive active low and weak high
3d - Drive active low and Hi-Z
4d - Drive weak low and active high
5d - Drive Hi-Z and active high</p>
</div>

**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>

<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/gpio/gpio.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  codec: codec@4c {
    compatible = "ti,tlv320adc5140";
    reg = &lt;0x4c&gt;;
    ti,mic-bias-source = &lt;6&gt;;
    ti,pdm-edge-select = &lt;0 1 0 1&gt;;
    ti,gpi-config = &lt;4 5 6 7&gt;;
    ti,gpio-config = &lt;10 2&gt;;
    ti,gpo-config-1 = &lt;0 0&gt;;
    ti,gpo-config-2 = &lt;0 0&gt;;
    reset-gpios = &lt;&amp;gpio0 14 GPIO_ACTIVE_HIGH&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+ OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2019 Texas Instruments Incorporated</span></p>

</details>

---

# Texas Instruments TLV320AIC32x4 Stereo Audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TLV320AIC32x4 Stereo Audio codec.

<!-- 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;ti&#44;tlv320aic32x4&#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;Alexander Stein &#60;alexander&#46;stein&#64;ew&#46;tq&#45;group&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TLV320AIC32x4 audio codec can be accessed using I2C or SPI</p>
</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;ti&#44;tas2505&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tlv320aic32x4&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;tlv320aic32x6&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Master clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-47f648ba568720d5f089"></a>

### <code>av&#45;supply</code> — not listed as required here

<div id="dt-79093f49a4d9716c2378">
<p style="white-space: pre-wrap">Analog core power supply</p>
</div>

<a id="dt-d439e255774a7ad4e908"></a>

### <code>dv&#45;supply</code> — not listed as required here

<div id="dt-c4c476c3ce6d9fa8c842">
<p style="white-space: pre-wrap">Digital core power supply</p>
</div>

<a id="dt-83549e46044ce74ea6b2"></a>

### <code>iov&#45;supply</code> — required here

<div id="dt-ed6733833bd0dbdf819a">
<p style="white-space: pre-wrap">Digital IO power supply</p>
</div>

<a id="dt-6bda903dcb9d4e621512"></a>

### <code>ldoin&#45;supply</code> — not listed as required here

<div id="dt-decdd65f61c3c6c457cd">
<p style="white-space: pre-wrap">LDO power supply</p>
</div>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-a27d78f3946841563d57"></a>

### <code>aic32x4&#45;gpio&#45;func</code> — not listed as required here

<div id="dt-122fd00ce584bca5fa3d">
<p style="white-space: pre-wrap">GPIO function configuration for pins MFP1-MFP5.
Types are defined in include/sound/tlv320aic32x4.h</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6ddef6a4e8b1ae452d94">[<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-21249f53a59263b3f794"><code>5</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-68e3757b7ba04a96f4f5"><code>5</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;iov&#45;supply&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-1f5272cb1d084137975e"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-6d7596bdf54362b56296"></a> <span id="dt-04863704c832ad7c52e8"><code>&#34;ldoin&#45;supply&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;av&#45;supply&#34;</code></span>, <span id="dt-5daae4bef35eb1615659"><code>&#34;dv&#45;supply&#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/gpio/gpio.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  audio-codec@18 {
    compatible = "ti,tlv320aic32x4";
    reg = &lt;0x18&gt;;
    iov-supply = &lt;&amp;reg_3v3&gt;;
    ldoin-supply = &lt;&amp;reg_3v3&gt;;
    clocks = &lt;&amp;clks 201&gt;;
    clock-names = "mclk";
    aic32x4-gpio-func = &lt;
      0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
      0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
      0x04 /* MFP3 AIC32X4_MFP3_GPIO_ENABLED */
      0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
      0x08 /* MFP5 AIC32X4_MFP5_GPIO_INPUT */
    &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 2:</strong> <span> Copyright (C) 2019 Texas Instruments Incorporated</span></p>

</details>

---

# Texas Instruments TLV320AIC3x Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TLV320AIC3x Codec.

<!-- 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;ti&#44;tlv320aic3x&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">TLV320AIC3x are a series of low-power stereo audio codecs with stereo
headphone amplifier, as well as multiple inputs and outputs programmable in
single-ended or fully differential configurations.</p>
<p style="white-space: pre-wrap">The serial control bus supports SPI or I2C protocols, while the serial audio
data bus is programmable for I2S, left/right-justified, DSP, or TDM modes.</p>
<p style="white-space: pre-wrap">The following pins can be referred in the sound node's audio routing property:</p>
<pre><code>CODEC output pins:
   LLOUT
   RLOUT
   MONO_LOUT
   HPLOUT
   HPROUT
   HPLCOM
   HPRCOM</code></pre>
<pre><code>CODEC input pins for TLV320AIC3104:
   MIC2L
   MIC2R
   LINE1L
   LINE1R</code></pre>
<pre><code>CODEC input pins for other compatible codecs:
   MIC3L
   MIC3R
   LINE1L
   LINE2L
   LINE1R
   LINE2R</code></pre>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jai Luthra &#60;j&#45;luthra&#64;ti&#46;com&#62;&#34;</code></span>

<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;ti&#44;tlv320aic23&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tlv320aic3x&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;tlv320aic33&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;tlv320aic3007&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;tlv320aic3106&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;ti&#44;tlv320aic3104&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO specification for the active low RESET input.</p>
</div>

<a id="dt-31302fba4a1851663afe"></a>

### <code>gpio&#45;reset</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e790dc68933a9e97bc70">[<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>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9f2e873f54efe57cbd14"><code>1</code></span>

<div id="dt-2eacd835c57f79dc2b37">
<p style="white-space: pre-wrap">Deprecated, please use reset-gpios instead.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-3abde1c8cfa6bed5a11c"><code>true</code></span>

<a id="dt-ce0c4d4d5939eabf176b"></a>

### <code>ai3x&#45;gpio&#45;func</code> — not listed as required here

<div id="dt-7f957018ac8ecf153752">
<p style="white-space: pre-wrap">AIC3X_GPIO1 &amp; AIC3X_GPIO2 Functionality</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-354997727f01a1116324">[<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>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c73a2562a1a951f7c4b2"><code>2</code></span>

<a id="dt-d7aa74895ac9d5286171"></a>

### <code>ai3x&#45;micbias&#45;vg</code> — not listed as required here

<div id="dt-90b86981c31d724777dc">
<p style="white-space: pre-wrap">MicBias required voltage. If node is omitted then MicBias is powered down.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-94bbe050906169741154">[<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-377ae5d018a19a8fa1c9"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-1d59995b0b0c3b337434"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-16410afb1d138bebf9ca"><code>1</code></span>
>
> <div id="dt-8da2263db6c3f98980b4">
> <p style="white-space: pre-wrap">MICBIAS output is powered to 2.0V.</p>
> </div>

<a id="dt-bc4e5874f5addb335e3b"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-daf0a3a2805eae2b53a1"><code>2</code></span>
>
> <div id="dt-83b085d2f40afd5f7bcb">
> <p style="white-space: pre-wrap">MICBIAS output is powered to 2.5V.</p>
> </div>

<a id="dt-527b92e2c9537ef1fc4a"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-cfccd04e28a11d6b96c0"><code>3</code></span>
>
> <div id="dt-55ae6d82eb261ff67463">
> <p style="white-space: pre-wrap">MICBIAS output is connected to AVDD.</p>
> </div>

<a id="dt-f1e90789e9225f3e3d8b"></a>

### <code>ai3x&#45;ocmv</code> — not listed as required here

<div id="dt-4e4504dcf00b935fc0bb">
<p style="white-space: pre-wrap">Output Common-Mode Voltage selection.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bf29db3c21ea27754ac3">[<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-6f1345859bc2762f1d53"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-8ea7336bdba6b20ec34a"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-92d0950731b28fdceb62"><code>0</code></span>
>
> <div id="dt-97cec48554ae4007a960">
> <p style="white-space: pre-wrap">1.35V</p>
> </div>

<a id="dt-b121b6a7868a818aa284"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-3bfc7f5b9970d974b7c5"><code>1</code></span>
>
> <div id="dt-37211ce30087a4cd9bda">
> <p style="white-space: pre-wrap">1.5V</p>
> </div>

<a id="dt-729f6ed198c7d6093c63"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-8b5492f634ad80a457fe"><code>2</code></span>
>
> <div id="dt-89a172bd31693132aff1">
> <p style="white-space: pre-wrap">1.65V</p>
> </div>

<a id="dt-b5803442be3443eb356f"></a>

**Rule 4**

> **Exact value (<code>const</code>):** <span id="dt-f1e70eb34a6973bddb25"><code>3</code></span>
>
> <div id="dt-3f1e2e896241c0a20e4a">
> <p style="white-space: pre-wrap">1.8V</p>
> </div>

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — not listed as required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">Analog DAC voltage.</p>
</div>

<a id="dt-eeda551f9a2dc3034204"></a>

### <code>IOVDD&#45;supply</code> — not listed as required here

<div id="dt-2e72ee4576cbfa3e7a01">
<p style="white-space: pre-wrap">I/O voltage.</p>
</div>

<a id="dt-8fc9a13417c288900283"></a>

### <code>DRVDD&#45;supply</code> — not listed as required here

<div id="dt-9b98d463cafd236f3eda">
<p style="white-space: pre-wrap">ADC analog and output driver voltage.</p>
</div>

<a id="dt-bc22b86a699ed19f7b01"></a>

### <code>DVDD&#45;supply</code> — not listed as required here

<div id="dt-ef89d6f7bbce0e649a3a">
<p style="white-space: pre-wrap">Digital core voltage.</p>
</div>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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>

<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/gpio/gpio.h&gt;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  tlv320aic3x_i2c: audio-codec@1b {
    compatible = "ti,tlv320aic3x";
    reg = &lt;0x1b&gt;;

    reset-gpios = &lt;&amp;gpio1 17 GPIO_ACTIVE_LOW&gt;;

    AVDD-supply = &lt;&amp;regulator&gt;;
    IOVDD-supply = &lt;&amp;regulator&gt;;
    DRVDD-supply = &lt;&amp;regulator&gt;;
    DVDD-supply = &lt;&amp;regulator&gt;;
  };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;
spi {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  tlv320aic3x_spi: audio-codec@0 {
    compatible = "ti,tlv320aic3x";
    reg = &lt;0&gt;; /* CS number */
    #sound-dai-cells = &lt;0&gt;;

    AVDD-supply = &lt;&amp;regulator&gt;;
    IOVDD-supply = &lt;&amp;regulator&gt;;
    DRVDD-supply = &lt;&amp;regulator&gt;;
    DVDD-supply = &lt;&amp;regulator&gt;;
    ai3x-ocmv = &lt;0&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 2:</strong> <span> Copyright (C) 2022 Texas Instruments Incorporated</span></p>

</details>

---

# Texas Instruments - tlv320aic31xx Codec module

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments - tlv320aic31xx Codec module.

<!-- 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;ti&#44;tlv320dac3100&#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;Shenghao Ding &#60;shenghao&#45;ding&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>CODEC output pins:
  * HPL
  * HPR
  * SPL, devices with stereo speaker amp
  * SPR, devices with stereo speaker amp
  * SPK, devices with mono speaker amp
  * MICBIAS</code></pre>
<pre><code>CODEC input pins:
  * MIC1LP, devices with ADC
  * MIC1RP, devices with ADC
  * MIC1LM, devices with ADC
  * AIN1, devices without ADC
  * AIN2, devices without ADC</code></pre>
<p style="white-space: pre-wrap">The pins can be used in referring sound node's audio-routing property.</p>
</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;ti&#44;tlv320aic310x&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tlv320aic311x&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;tlv320aic3100&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;tlv320aic3110&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;tlv320aic3120&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;ti&#44;tlv320aic3111&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;ti&#44;tlv320dac3100&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;ti&#44;tlv320dac3101&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-e77c9a02a579ccfcd83e"></a>

### <code>HPVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-94a4e1850c3d84bd5541"></a>

### <code>SPRVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-61898b488aee19f72fc5"></a>

### <code>SPLVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-eeda551f9a2dc3034204"></a>

### <code>IOVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-bc22b86a699ed19f7b01"></a>

### <code>DVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO specification for the active low RESET input.</p>
</div>

<a id="dt-0a5ad6a1e45e47d004dc"></a>

### <code>ai31xx&#45;micbias&#45;vg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-50e83130b201b6f5f79b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-ae013dfca4caebd0cb0b"><code>1</code></span>

**Allowed values (<code>enum</code>):** <a id="dt-8df1b6cc002fe610244c"></a> <span id="dt-dd72a53f073ac1f9bb8c"><code>1</code></span>, <span id="dt-93019fa96d41810e371e"><code>2</code></span>, <span id="dt-60923ab74a3786486b78"><code>3</code></span>

<div id="dt-56d020ada8990f304264">
<pre><code>MicBias Voltage setting
  1 or MICBIAS_2_0V - MICBIAS output is powered to 2.0V
  2 or MICBIAS_2_5V - MICBIAS output is powered to 2.5V
  3 or MICBIAS_AVDD - MICBIAS output is connected to AVDD</code></pre>
</div>

<a id="dt-74432993cb33cd376fb4"></a>

### <code>ai31xx&#45;ocmv</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2b0935fc939d4f8faaca">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-d901e2541031b8c31cf3"></a> <span id="dt-8828233e3a112e5b7c10"><code>0</code></span>, <span id="dt-b53eba264703381cf66b"><code>1</code></span>, <span id="dt-199a55f32622d39d5f22"><code>2</code></span>, <span id="dt-58cf11453a9e7f107623"><code>3</code></span>

<div id="dt-170df9bc1acf3daf266f">
<pre><code>output common-mode voltage setting
  0 - 1.35V,
  1 - 1.5V,
  2 - 1.65V,
  3 - 1.8V</code></pre>
</div>

<a id="dt-31302fba4a1851663afe"></a>

### <code>gpio&#45;reset</code> — not listed as required here

<div id="dt-2eacd835c57f79dc2b37">
<p style="white-space: pre-wrap">gpio pin number used for codec reset</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-3abde1c8cfa6bed5a11c"><code>true</code></span>

**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;HPVDD&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;SPRVDD&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;SPLVDD&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;AVDD&#45;supply&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;IOVDD&#45;supply&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;DVDD&#45;supply&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;
#include &lt;dt-bindings/sound/tlv320aic31xx.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    sound@18 {
        compatible = "ti,tlv320aic311x";
        reg = &lt;0x18&gt;;

        ai31xx-micbias-vg = &lt;MICBIAS_2_0V&gt;;
        reset-gpios = &lt;&amp;gpio1 17 GPIO_ACTIVE_LOW&gt;;

        HPVDD-supply = &lt;&amp;regulator&gt;;
        SPRVDD-supply = &lt;&amp;regulator&gt;;
        SPLVDD-supply = &lt;&amp;regulator&gt;;
        AVDD-supply = &lt;&amp;regulator&gt;;
        IOVDD-supply = &lt;&amp;regulator&gt;;
        DVDD-supply = &lt;&amp;regulator&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 33:</strong> <span> - Generic TLV320AIC31xx with mono speaker amp</span></p>

<p id="dt-comment-2"><strong>Line 34:</strong> <span> - Generic TLV320AIC31xx with stereo speaker amp</span></p>

<p id="dt-comment-3"><strong>Line 35:</strong> <span> - TLV320AIC3100 (mono speaker amp, no MiniDSP)</span></p>

<p id="dt-comment-4"><strong>Line 36:</strong> <span> - TLV320AIC3110 (stereo speaker amp, no MiniDSP)</span></p>

<p id="dt-comment-5"><strong>Line 37:</strong> <span> - TLV320AIC3120 (mono speaker amp, MiniDSP)</span></p>

<p id="dt-comment-6"><strong>Line 38:</strong> <span> - TLV320AIC3111 (stereo speaker amp, MiniDSP)</span></p>

<p id="dt-comment-7"><strong>Line 39:</strong> <span> - TLV320DAC3100 (no ADC, mono speaker amp, no MiniDSP)</span></p>

<p id="dt-comment-8"><strong>Line 40:</strong> <span> - TLV320DAC3101 (no ADC, stereo speaker amp, no MiniDSP)</span></p>

</details>

---

# Texas Instruments - tpa6130a2 Codec module

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments - tpa6130a2 Codec module.

<!-- 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;ti&#44;tpa6130a2&#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;Sebastian Reichel &#60;sre&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Stereo, analog input headphone amplifier</p>
</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;ti&#44;tpa6130a2&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tpa6140a2&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-470cf0cac3ba2acb6542"></a>

### <code>Vdd&#45;supply</code> — required here

<div id="dt-7091e11a5a9bdc0036ef">
<p style="white-space: pre-wrap">power supply regulator</p>
</div>

<a id="dt-ae807292f23321b4ffc3"></a>

### <code>power&#45;gpio</code> — not listed as required here

<div id="dt-04fe9f06f119727e8057">
<p style="white-space: pre-wrap">gpio pin to power the device</p>
</div>

**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;Vdd&#45;supply&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    amplifier@60 {
        compatible = "ti,tpa6130a2";
        reg = &lt;0x60&gt;;
        Vdd-supply = &lt;&amp;vmmc2&gt;;
        power-gpio = &lt;&amp;gpio4 2 GPIO_ACTIVE_HIGH&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>

</details>

---

# Texas Instruments TS3A227E Autonomous Audio Accessory Detection and Configuration Switch

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TS3A227E Autonomous Audio Accessory Detection and Configuration Switch.

<!-- 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;ti&#44;ts3a227e&#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;Dylan Reid &#60;dgreid&#64;chromium&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TS3A227E detect headsets of 3-ring and 4-ring standards and
switches automatically to route the microphone correctly. It also
handles key press detection in accordance with the Android audio
headset specification v1.0.</p>
</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;ti&#44;ts3a227e&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Exact value (<code>const</code>):** <span id="dt-37ff54f2982aadb4aad3"><code>59</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-7f746a9e9a24f9296fcf"></a>

### <code>ti&#44;micbias</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-af24c4c049bf667916ad">[<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-0f026c4451dd161b62fc">
<p style="white-space: pre-wrap">Intended MICBIAS voltage (datasheet section 9.6.7).</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d1c5e900da5207334241"></a> <span id="dt-b531e502b3102469bb0e"><code>0</code></span>, <span id="dt-a6b256b0e235207e8749"><code>1</code></span>, <span id="dt-a2c462bf3260a3a2266f"><code>2</code></span>, <span id="dt-a490394f36cb01d89868"><code>3</code></span>, <span id="dt-2303e91cd0af66614c99"><code>4</code></span>, <span id="dt-9352cb959f52e6abd299"><code>5</code></span>, <span id="dt-d7b70b70d87cb5fc1b6a"><code>6</code></span>, <span id="dt-953c99ab497114f29544"><code>7</code></span>

**Default value (<code>default</code>):** <span id="dt-25741e9d79772bdb260b"><code>1</code></span>

<a id="dt-b13559c279dc01701882"></a>

### <code>ti&#44;debounce&#45;release&#45;ms</code> — not listed as required here

<div id="dt-39b1f946fe4a717fb454">
<p style="white-space: pre-wrap">key release debounce time in ms (datasheet section 9.6.7).</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-5c26c07cb43331a0652f"></a> <span id="dt-76e2d4db70563fbc9f5b"><code>0</code></span>, <span id="dt-7c780aecb37c5c0db7e3"><code>20</code></span>

**Default value (<code>default</code>):** <span id="dt-4c6eb73f514659668140"><code>20</code></span>

<a id="dt-587bd37e10f4fb7f640c"></a>

### <code>ti&#44;debounce&#45;press&#45;ms</code> — not listed as required here

<div id="dt-1814bae032d05e80d958">
<p style="white-space: pre-wrap">key press debounce time in ms (datasheet section 9.6.7).</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-adb71415a001b6ec92b1"></a> <span id="dt-ba164635cc2d95a7ff4e"><code>2</code></span>, <span id="dt-6000b0473bb3b888f6a5"><code>40</code></span>, <span id="dt-0b0ae8cb036e300d8c13"><code>80</code></span>, <span id="dt-3626042ebb9c565b9874"><code>120</code></span>

**Default value (<code>default</code>):** <span id="dt-dbe1ae770db562cc428f"><code>80</code></span>

<a id="dt-01b3c8717705b749b049"></a>

### <code>ti&#44;debounce&#45;insertion&#45;ms</code> — not listed as required here

<div id="dt-c5b62313cfbaf18fa47f">
<p style="white-space: pre-wrap">headset insertion debounce time in ms (datasheet section 9.6.5).</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-2ee9785eb63fd3b645e3"></a> <span id="dt-f8171a3f26a8d5392a6d"><code>2</code></span>, <span id="dt-db1ab94ac9b1ce84de74"><code>30</code></span>, <span id="dt-441ffb60c1a8c03d1b9f"><code>60</code></span>, <span id="dt-2911f0880ad4bd1db2f9"><code>90</code></span>, <span id="dt-6a7c7693e5fd584faac4"><code>120</code></span>, <span id="dt-be241018dc9d4a629e41"><code>150</code></span>, <span id="dt-c00ffceb0a0d68247f98"><code>1000</code></span>, <span id="dt-c0ef05a70b0d4cd325bc"><code>2000</code></span>

**Default value (<code>default</code>):** <span id="dt-bf6129200d0c558bb658"><code>90</code></span>

**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;interrupts&#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/irq.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec: audio-controller@3b {
        compatible = "ti,ts3a227e";
        reg = &lt;0x3b&gt;;
        interrupt-parent = &lt;&amp;gpio1&gt;;
        interrupts = &lt;3 IRQ_TYPE_LEVEL_LOW&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 34:</strong> <span> 2.1 V</span></p>

<p id="dt-comment-2"><strong>Line 35:</strong> <span> 2.2 V</span></p>

<p id="dt-comment-3"><strong>Line 36:</strong> <span> 2.3 V</span></p>

<p id="dt-comment-4"><strong>Line 37:</strong> <span> 2.4 V</span></p>

<p id="dt-comment-5"><strong>Line 38:</strong> <span> 2.5 V</span></p>

<p id="dt-comment-6"><strong>Line 39:</strong> <span> 2.6 V</span></p>

<p id="dt-comment-7"><strong>Line 40:</strong> <span> 2.7 V</span></p>

<p id="dt-comment-8"><strong>Line 41:</strong> <span> 2.8 V</span></p>

</details>

---

# Texas Instruments TWL4030-family Audio Module

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Texas Instruments TWL4030-family Audio Module.

<!-- 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;ti&#44;twl4030&#45;audio&#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;Peter Ujfalusi &#60;peter&#46;ujfalusi&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The audio module within the TWL4030-family of companion chips consists of an audio codec and a vibra driver. This binding describes the parent node for these functions.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;ti&#44;twl4030&#45;audio&#34;</code></span>

<a id="dt-4d93ba21e7a2d03aa4e1"></a>

### <code>codec</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-54f8798581324c75f1b8"><code>&#34;object&#34;</code></span>

<div id="dt-8db3888bf28c4c7029d0">
<p style="white-space: pre-wrap">Node containing properties for the audio codec functionality.</p>
</div>

<a id="dt-689bd98d988b5ce4bf07"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-3a9376745414141b326f"></a>

**<code>ti&#44;digimic&#95;delay</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-38109d47d17cf2f333dd">[<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-6335be227c55501a3bc9">
<p style="white-space: pre-wrap">Delay in milliseconds after enabling digital microphones to reduce artifacts.</p>
</div>

<a id="dt-dae1c1db22a2a280b3c9"></a>

**<code>ti&#44;ramp&#95;delay&#95;value</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c9b7f625e9fc45e79e48">[<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-ca06008c1c8370eddaf7">
<p style="white-space: pre-wrap">Headset ramp delay configuration to reduce pop noise.</p>
</div>

<a id="dt-acab53906052887f66a2"></a>

**<code>ti&#44;hs&#95;extmute</code> — not listed as required here**

**Value type (<code>type</code>):** <span id="dt-08346ef98689191f3567"><code>&#34;boolean&#34;</code></span>

<div id="dt-00a5f2254084743a3e7e">
<p style="white-space: pre-wrap">Enable the use of an external mute for headset pop reduction.</p>
</div>

<a id="dt-271ba00e046ab7c7f90f"></a>

**<code>ti&#44;hs&#95;extmute&#95;gpio</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bbd6e7dc179e5d4b36ab">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<div id="dt-90ba0ede8ba8716cdd6d">
<p style="white-space: pre-wrap">The GPIO specifier for the external mute control.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-51b59b2247a3026e6bfa"><code>1</code></span>

<a id="dt-ec9ba392193d0fa99d9f"></a>

**<code>ti&#44;offset&#95;cncl&#95;path</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a1dee52fa476969ca6ed">[<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-a0f5f38dc2e2f5470298">
<p style="white-space: pre-wrap">Offset cancellation path selection. Refer to the Technical Reference Manual for valid values.</p>
</div>

<a id="dt-0d4aecb6194fa404434d"></a>

### <code>ti&#44;enable&#45;vibra</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b3b8b51de3dcde1f25c7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-24ad85a9ec69d45ada62"></a> <span id="dt-0b43f304445ad566d92c"><code>0</code></span>, <span id="dt-71e0139709bcf3fc288d"><code>1</code></span>

<div id="dt-72b80d34e1a0f1fcc2b0">
<p style="white-space: pre-wrap">Enable or disable the vibra functionality.</p>
</div>

<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.

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  twl: twl@48 {
    reg = &lt;0x48&gt;;
    interrupts = &lt;7&gt;; /* SYS_NIRQ cascaded to intc */
    interrupt-parent = &lt;&amp;intc&gt;;

    twl_audio: audio {
      compatible = "ti,twl4030-audio";

      ti,enable-vibra = &lt;1&gt;;

      codec {
        ti,ramp_delay_value = &lt;3&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 54:</strong> <span> The 'codec' node itself is optional, but if it exists, it can be empty.</span></p>

<p id="dt-comment-2"><strong>Line 55:</strong> <span> We don't require any of its sub-properties.</span></p>

</details>

---

# Trivial Audio Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Trivial Audio Codec.

<!-- SPDX-License-Identifier: (GPL-2.0 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;trivial&#45;codec&#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;Rob Herring &#60;robh&#64;kernel&#46;org&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;adi&#44;ssm2602&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;ssm2603&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;adi&#44;ssm2604&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;adi&#44;ssm3515&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;cirrus&#44;cs4265&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;cirrus&#44;cs4341a&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;cirrus&#44;cs4349&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;dlg&#44;da9055&#45;codec&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;nuvoton&#44;nau8540&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;nuvoton&#44;nau8810&#34;</code></span>, <span id="dt-70e866729f00cfce3510"><code>&#34;nuvoton&#44;nau8812&#34;</code></span>, <span id="dt-81f973819a6dd2302321"><code>&#34;nuvoton&#44;nau8814&#34;</code></span>, <span id="dt-e5cbf931a6c5d40231a9"><code>&#34;nxp&#44;tfa9879&#34;</code></span>, <span id="dt-5235cdfd9421f63db578"><code>&#34;nxp&#44;uda1342&#34;</code></span>, <span id="dt-d43d2d7f137c2a014614"><code>&#34;sdw3019f836300&#34;</code></span>, <span id="dt-550b25c2a121e87d781f"><code>&#34;ti&#44;pcm1789&#34;</code></span>, <span id="dt-da56dd3331033aff7561"><code>&#34;ti&#44;pcm1792a&#34;</code></span>, <span id="dt-d9315c8e8ee3234b7e87"><code>&#34;ti&#44;pcm5102a&#34;</code></span>, <span id="dt-e73fb8e64585dbf152bb"><code>&#34;wlf&#44;wm8510&#34;</code></span>, <span id="dt-c04eda18e53cea683785"><code>&#34;wlf&#44;wm8523&#34;</code></span>, <span id="dt-3ffabe0580c6de50e5cc"><code>&#34;wlf&#44;wm8580&#34;</code></span>, <span id="dt-5190efa75ea4a5510e0f"><code>&#34;wlf&#44;wm8581&#34;</code></span>, <span id="dt-392fad2ff1685daba7ef"><code>&#34;wlf&#44;wm8711&#34;</code></span>, <span id="dt-a923b3ee256c159f13c3"><code>&#34;wlf&#44;wm8728&#34;</code></span>, <span id="dt-6a0c36f1cf1eefe094b3"><code>&#34;wlf&#44;wm8737&#34;</code></span>, <span id="dt-c9755ed3021e0922ba6b"><code>&#34;wlf&#44;wm8750&#34;</code></span>, <span id="dt-4cd1773400f8dc75fbc2"><code>&#34;wlf&#44;wm8753&#34;</code></span>, <span id="dt-77531c8454769d58e5d6"><code>&#34;wlf&#44;wm8770&#34;</code></span>, <span id="dt-ce19e6e0935cb3733af2"><code>&#34;wlf&#44;wm8776&#34;</code></span>, <span id="dt-965f1aab0eaa1908e917"><code>&#34;wlf&#44;wm8961&#34;</code></span>, <span id="dt-3d9f560b33fc7c6e37c8"><code>&#34;wlf&#44;wm8974&#34;</code></span>, <span id="dt-ed18a21596e7c8e72bbc"><code>&#34;wlf&#44;wm8987&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

**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>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    codec@1a {
        compatible = "wlf,wm8523";
        reg = &lt;0x1a&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 18:</strong> <span> Analog Devices SSM2602 I2S audio CODEC devices</span></p>

<p id="dt-comment-2"><strong>Line 23:</strong> <span> Cirrus Logic CS4265 audio DAC</span></p>

<p id="dt-comment-3"><strong>Line 28:</strong> <span> Nuvoton Technology Corporation NAU85L40 Audio CODEC</span></p>

<p id="dt-comment-4"><strong>Line 33:</strong> <span> NXP TFA9879 class-D audio amplifier</span></p>

</details>

---

# Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs.

<!-- 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;wlf&#44;arizona&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">These devices are audio SoCs with extensive digital capabilities and a range
of analogue I/O.</p>
<p style="white-space: pre-wrap">This document lists sound specific bindings, see the primary binding
document ../mfd/arizona.yaml</p>
</div>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

<div id="dt-c6fec2b67f85839e5c16">
<p style="white-space: pre-wrap">The first cell indicating the audio interface.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-43b0cbd009dcee253877"></a>

### <code>wlf&#44;inmode</code> — not listed as required here

<div id="dt-a6888ac31d87c2a0ee1d">
<p style="white-space: pre-wrap">A list of INn_MODE register values, where n is the number of input signals. Valid values are 0 (Differential), 1 (Single-ended) and 2 (Digital Microphone). If absent, INn_MODE registers set to 0 by default.  If present, values must be specified less than or equal to the number of input signals. If values less than the number of input signals, elements that have not been specified are set to 0 by default. Entries are &lt;IN1, IN2, IN3, IN4&gt; (wm5102, wm5110, wm8280, wm8997) and &lt;IN1A, IN2A, IN1B, IN2B&gt; (wm8998, wm1814)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2bb89072caaaeb6fb1b3">[<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-a8b264a3b5484bc5ff13"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-2003e6f50f107378d9c4"><code>4</code></span>

<a id="dt-8191a3de1028b2d50978"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-e4102b45d020dd6baebb"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-ab04e8148ba900759766"><code>2</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-749cbdf5c2e773b8d321"><code>0</code></span>

<a id="dt-91bb734ad0e56dd73844"></a>

### <code>wlf&#44;out&#45;mono</code> — not listed as required here

<div id="dt-c11d10d50cf628c24429">
<p style="white-space: pre-wrap">A list of boolean values indicating whether each output is mono or stereo. Position within the list indicates the output affected (eg. First entry in the list corresponds to output 1). A non-zero value indicates a mono output. If present, the number of values should be less than or equal to the number of outputs, if less values are supplied the additional outputs will be treated as stereo.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a6154b8f7e2ca319b558">[<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-9b1ea613405facafff63"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f33970a8282699e73f91"><code>6</code></span>

<a id="dt-c4f7a1f5c734b56777df"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-c3ce86ad2d16dc19fd18"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-b2da7a2c3f96b5e83f84"><code>1</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-ad5155738fcd11e0d1d2"><code>0</code></span>

<a id="dt-0a0bff9f89b84e130241"></a>

### <code>wlf&#44;dmic&#45;ref</code> — not listed as required here

<div id="dt-58f1460e88bcee2cdc37">
<p style="white-space: pre-wrap">DMIC reference voltage source for each input, can be selected from either MICVDD or one of the MICBIAS's, defines (ARIZONA_DMIC_xxxx) are provided in dt-bindings/mfd/arizona.h. If present, the number of values should be less than or equal to the number of inputs, unspecified inputs will use the chip default.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7d12830fec5767cbdb21">[<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-19edfb36538004dba709"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d96550ce506497563a23"><code>4</code></span>

<a id="dt-b617b2f264e398c7ae24"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-d5bd1c3ef424714977fa"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-2bec93ccbc2be73b17db"><code>3</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-782deb4cd401f9e698f3"><code>0</code></span>

<a id="dt-467d51d17bf81e13e74c"></a>

### <code>wlf&#44;max&#45;channels&#45;clocked</code> — not listed as required here

<div id="dt-0733066f5f4e875b182a">
<p style="white-space: pre-wrap">The maximum number of channels to be clocked on each AIF, useful for I2S systems with multiple data lines being mastered.  Specify one cell for each AIF to be configured, specify zero for AIFs that should be handled normally.  If present, number of cells must be less than or equal to the number of AIFs. If less than the number of AIFs, for cells that have not been specified the corresponding AIFs will be treated as default setting.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-744552c166a426c19583">[<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-d3fb6fbe35745a9640f3"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f0a2da4acd5d35b333e4"><code>3</code></span>

<a id="dt-1ff48fdd07e9c6aad6d9"></a>

#### Array item rules (<code>items</code>)

> **Default value (<code>default</code>):** <span id="dt-541c2ec34b1ecb01d422"><code>0</code></span>

<a id="dt-c9e204e3636224a49f87"></a>

### <code>wlf&#44;spk&#45;fmt</code> — not listed as required here

<div id="dt-814744c3ca5fae95855b">
<p style="white-space: pre-wrap">PDM speaker data format, must contain 2 cells (OUT5 and OUT6).  See the datasheet for values.  The second cell is ignored for codecs that do not have OUT6 (wm5102, wm8997, wm8998, wm1814)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c03faf678485df5a685f">[<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-2425a2ad6af15540830b"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-2aa2c63d7e1ccd39ae6c"><code>2</code></span>

<a id="dt-23fb97c59637214e8190"></a>

### <code>wlf&#44;spk&#45;mute</code> — not listed as required here

<div id="dt-7dcc579d2171dbcaef26">
<p style="white-space: pre-wrap">PDM speaker mute setting, must contain 2 cells (OUT5 and OUT6).  See the datasheet for values.  The second cell is ignored for codecs that do not have OUT6 (wm5102, wm8997, wm8998, wm1814)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-878b239b563cd555a5d9">[<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-d087381bf6ba7f358e66"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-fb25b7828a910a397a06"><code>2</code></span>

<a id="dt-d953295a6abe43f48ea2"></a>

### <code>wlf&#44;out&#45;volume&#45;limit</code> — not listed as required here

<div id="dt-bae1b00d4d1a0a8b4290">
<p style="white-space: pre-wrap">The volume limit value that should be applied to each output channel. See the datasheet for exact values. Channels are specified in the order OUT1L, OUT1R, OUT2L, OUT2R, etc.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5d06bb680769f751bea5">[<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-1621d5cf6ff894764224"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-40d92659cc86267f6339"><code>12</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-only OR BSD-2-Clause</span></p>

</details>

---

# Wolfson WM8524 24-bit 192KHz Stereo DAC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Wolfson WM8524 24-bit 192KHz Stereo DAC.

<!-- 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;wlf&#44;wm8524&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;wlf&#44;wm8524&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-9edfe45b1ffc3eb1b1ff"></a>

### <code>wlf&#44;mute&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-1c11e08881c2cb52e276"><code>1</code></span>

<div id="dt-20c2b29a17ad396012b7">
<p style="white-space: pre-wrap">a GPIO spec for the MUTE pin.</p>
</div>

**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;wlf&#44;mute&#45;gpios&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

wm8524: codec {
    compatible = "wlf,wm8524";
    wlf,mute-gpios = &lt;&amp;gpio1 8 GPIO_ACTIVE_LOW&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>

</details>

---

# Wolfson Microelectromics WM8731 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Wolfson Microelectromics WM8731 audio CODEC.

<!-- 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;wlf&#44;wm8731&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Wolfson Microelectronics WM8731 audio CODEC</p>
<pre><code>Pins on the device (for linking into audio routes):
  * LOUT: Left Channel Line Output
  * ROUT: Right Channel Line Output
  * LHPOUT: Left Channel Headphone Output
  * RHPOUT: Right Channel Headphone Output
  * LLINEIN: Left Channel Line Input
  * RLINEIN: Right Channel Line Input
  * MICIN: Microphone Input</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;wlf&#44;wm8731&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Clock provider for MCLK pin.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">Analog power supply regulator on the AVDD pin.</p>
</div>

<a id="dt-e77c9a02a579ccfcd83e"></a>

### <code>HPVDD&#45;supply</code> — required here

<div id="dt-f10f62cc4514dea5485b">
<p style="white-space: pre-wrap">Headphone power supply regulator on the HPVDD pin.</p>
</div>

<a id="dt-fd18faf11ae6aa072011"></a>

### <code>DBVDD&#45;supply</code> — required here

<div id="dt-da8631045899fc03bff5">
<p style="white-space: pre-wrap">Digital buffer supply regulator for the DBVDD pin.</p>
</div>

<a id="dt-b6cfd2a25dd52102b8c7"></a>

### <code>DCVDD&#45;supply</code> — required here

<div id="dt-c74a4be16d81d6c4e145">
<p style="white-space: pre-wrap">Digital core supply regulator for the DCVDD pin.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;reg&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;AVDD&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;HPVDD&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;DBVDD&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;DCVDD&#45;supply&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    wm8731_i2c: codec@0 {
        compatible = "wlf,wm8731";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;12500000&gt;;

        AVDD-supply = &lt;&amp;avdd_reg&gt;;
        HPVDD-supply = &lt;&amp;hpvdd_reg&gt;;
        DCVDD-supply = &lt;&amp;dcvdd_reg&gt;;
        DBVDD-supply = &lt;&amp;dbvdd_reg&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    wm8731_spi: codec@1b {
        compatible = "wlf,wm8731";
        reg = &lt;0x1b&gt;;

        AVDD-supply = &lt;&amp;avdd_reg&gt;;
        HPVDD-supply = &lt;&amp;hpvdd_reg&gt;;
        DCVDD-supply = &lt;&amp;dcvdd_reg&gt;;
        DBVDD-supply = &lt;&amp;dbvdd_reg&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>

</details>

---

# Wolfson Microelectromics WM8782 audio CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Wolfson Microelectromics WM8782 audio CODEC.

<!-- 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;wlf&#44;wm8782&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;wlf&#44;wm8782&#34;</code></span>

<a id="dt-79f5df3d7ecb11b98616"></a>

### <code>Vdda&#45;supply</code> — required here

<div id="dt-2bbdd0e8b5e8a219bb8e">
<p style="white-space: pre-wrap">Regulator for the analog power supply (2.7V - 5.5V)</p>
</div>

<a id="dt-470cf0cac3ba2acb6542"></a>

### <code>Vdd&#45;supply</code> — required here

<div id="dt-7091e11a5a9bdc0036ef">
<p style="white-space: pre-wrap">Regulator for the digital power supply (2.7V - 3.6V)</p>
</div>

<a id="dt-b10581adbce9c7d80c44"></a>

### <code>wlf&#44;fsampen</code> — not listed as required here

<div id="dt-163f2c9fccac4c0e9e84">
<p style="white-space: pre-wrap">FSAMPEN pin value, 0 for low, 1 for high, 2 for disconnected.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-12631523a86fc3662611">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-cd30132d6f9cee8f7985"></a> <span id="dt-8d2e41469df4818d056c"><code>0</code></span>, <span id="dt-4bd21000293969fb59f6"><code>1</code></span>, <span id="dt-2183852a04ec41aa460c"><code>2</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

**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;Vdda&#45;supply&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;Vdd&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">wm8782: codec {
    compatible = "wlf,wm8782";
    Vdda-supply = &lt;&amp;vdda_supply&gt;;
    Vdd-supply = &lt;&amp;vdd_supply&gt;;
    wlf,fsampen = &lt;2&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>

</details>

---

# WM8804 audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for WM8804 audio codec.

<!-- 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;wlf&#44;wm8804&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This device supports both I2C and SPI (configured with pin strapping on the
board).</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;wlf&#44;wm8804&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">The I2C address of the device for I2C, the chip select number for SPI.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-f5d88bb44576878b10c3"></a>

### <code>PVDD&#45;supply</code> — required here

<div id="dt-835f66e09f74567a650f">
<p style="white-space: pre-wrap">PLL core supply</p>
</div>

<a id="dt-bc22b86a699ed19f7b01"></a>

### <code>DVDD&#45;supply</code> — required here

<div id="dt-ef89d6f7bbce0e649a3a">
<p style="white-space: pre-wrap">Digital core supply</p>
</div>

<a id="dt-4f01f30a04fb6025ec44"></a>

### <code>wlf&#44;reset&#45;gpio</code> — not listed as required here

<div id="dt-7428e359ed5e7da19fe6">
<p style="white-space: pre-wrap">A GPIO specifier for the GPIO controlling the reset pin.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-cb0a8368d27096baf189"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;reg&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;PVDD&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;DVDD&#45;supply&#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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1a {
        compatible = "wlf,wm8804";
        reg = &lt;0x1a&gt;;
        PVDD-supply = &lt;&amp;pvdd_reg&gt;;
        DVDD-supply = &lt;&amp;dvdd_reg&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>

</details>

---

# WM8903 audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for WM8903 audio codec.

<!-- SPDX-License-Identifier: (GPL-2.0 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;wlf&#44;wm8903&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>This device supports I2C only.
Pins on the device (for linking into audio routes):
    * IN1L
    * IN1R
    * IN2L
    * IN2R
    * IN3L
    * IN3R
    * DMICDAT
    * HPOUTL
    * HPOUTR
    * LINEOUTL
    * LINEOUTR
    * LOP
    * LON
    * ROP
    * RON
    * MICBIAS</code></pre>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;wlf&#44;wm8903&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-e11d4ae3ccfdad4572bd"></a>

### <code>micdet&#45;cfg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-41c0ad63b31a7161c3fc">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-40550f85668d1707923d"><code>0</code></span>

<div id="dt-f70a24da0ad094ffbc7d">
<p style="white-space: pre-wrap">Default register value for R6 (Mic Bias).</p>
</div>

<a id="dt-9ad7e6dd4458f32541bd"></a>

### <code>micdet&#45;delay</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7e40a0f6f5102fc69d77">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-ee0c7e9805bd039d6f87"><code>100</code></span>

<div id="dt-711c3bf2e99e9842390e">
<p style="white-space: pre-wrap">The debounce delay for microphone detection in mS.</p>
</div>

<a id="dt-0a8c74b8a3e3245a4235"></a>

### <code>gpio&#45;cfg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1df105d9c10574a97de4">[<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>

<div id="dt-9bdd0720898fc3217519">
<p style="white-space: pre-wrap">minItems: 5
maxItems: 5
A list of GPIO configuration register values.
If absent, no configuration of these registers is performed.
If any entry has the value 0xffffffff, that GPIO's
configuration will not be modified.</p>
</div>

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — not listed as required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">Analog power supply regulator on the AVDD pin.</p>
</div>

<a id="dt-7bdbb9a3ac571e92c418"></a>

### <code>CPVDD&#45;supply</code> — not listed as required here

<div id="dt-843dfcc834734cb90b44">
<p style="white-space: pre-wrap">Charge pump supply regulator on the CPVDD pin.</p>
</div>

<a id="dt-fd18faf11ae6aa072011"></a>

### <code>DBVDD&#45;supply</code> — not listed as required here

<div id="dt-da8631045899fc03bff5">
<p style="white-space: pre-wrap">Digital buffer supply regulator for the DBVDD pin.</p>
</div>

<a id="dt-b6cfd2a25dd52102b8c7"></a>

### <code>DCVDD&#45;supply</code> — not listed as required here

<div id="dt-c74a4be16d81d6c4e145">
<p style="white-space: pre-wrap">Digital core supply regulator for the DCVDD pin.</p>
</div>

**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;gpio&#45;controller&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;gpio&#45;cells&#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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  wm8903: codec@1a {
    compatible = "wlf,wm8903";
    reg = &lt;0x1a&gt;;
    interrupts = &lt;347&gt;;

    AVDD-supply = &lt;&amp;fooreg_a&gt;;
    CPVDD-supply = &lt;&amp;fooreg_b&gt;;
    DBVDD-supply = &lt;&amp;fooreg_c&gt;;
    DCVDD-supply = &lt;&amp;fooreg_d&gt;;

    gpio-controller;
    #gpio-cells = &lt;2&gt;;

    micdet-cfg = &lt;0&gt;;
    micdet-delay = &lt;100&gt;;
    gpio-cfg = &lt;
      0x0600 /* DMIC_LR, output */
      0x0680 /* DMIC_DAT, input */
      0x0000 /* GPIO, output, low */
      0x0200 /* Interrupt, output */
      0x01a0 /* BCLK, input, active high */
    &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 OR BSD-2-Clause)</span></p>

</details>

---

# Wolfson WM8904/WM8912 audio codecs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Wolfson WM8904/WM8912 audio codecs.

<!-- 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;wlf&#44;wm8904&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Pins on the device (for linking into audio routes):
IN1L, IN1R, IN2L, IN2R, IN3L, IN3R, HPOUTL, HPOUTR, LINEOUTL, LINEOUTR,
MICBIAS</p>
</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;wlf&#44;wm8904&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;wlf&#44;wm8912&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;mclk&#34;</code></span>

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-7bdbb9a3ac571e92c418"></a>

### <code>CPVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-fd18faf11ae6aa072011"></a>

### <code>DBVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-b6cfd2a25dd52102b8c7"></a>

### <code>DCVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-90c8e6ce8abd8198a2ee"></a>

### <code>MICVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-66d4c4f2d508178002e6"></a>

### <code>wlf&#44;in1l&#45;as&#45;dmicdat1</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-71a57833b0ac7bb744d3"><code>&#34;boolean&#34;</code></span>

<div id="dt-2b46bed9adbb910f8a5f">
<p style="white-space: pre-wrap">Use IN1L/DMICDAT1 as DMICDAT1, enabling the DMIC input path. Can be used separately or together with wlf,in1r-as-dmicdat2.</p>
</div>

<a id="dt-7b709a9b7c8f462a1a05"></a>

### <code>wlf&#44;in1r&#45;as&#45;dmicdat2</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-b9511620df8f756e7bdf"><code>&#34;boolean&#34;</code></span>

<div id="dt-c5bb901297c49c26d373">
<p style="white-space: pre-wrap">Use IN1R/DMICDAT2 as DMICDAT2, enabling the DMIC input path. Can be used separately or together with wlf,in1l-as-dmicdat1.</p>
</div>

<a id="dt-377a0729efe1531e7ae9"></a>

### <code>wlf&#44;gpio&#45;cfg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c806d5544f3d129af3de">[<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-01a7953b8f920ca9af36"><code>4</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-83eb6111b098e0993e75"><code>4</code></span>

<div id="dt-b5e93fd1a83d13e09e00">
<p style="white-space: pre-wrap">Default register values for R121/122/123/124 (GPIO Control). If any entry has the value 0xFFFF, the related register won't be set.</p>
</div>

**Default value (<code>default</code>):** <a id="dt-9ea4f22e4576b0bd497b"></a> <span id="dt-b0d3d18574e971c6be52"><code>65535</code></span>, <span id="dt-b4898b31f6ce6e238492"><code>65535</code></span>, <span id="dt-23fc7f7f7d2078745ed6"><code>65535</code></span>, <span id="dt-52dcdb4b1e361607d38a"><code>65535</code></span>

<a id="dt-94eb5fdde1d0dd359e06"></a>

### <code>wlf&#44;micbias&#45;cfg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c66d72352bbfa027483d">[<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-4b3f8789f97055b91884"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c2f0d15d397440461a74"><code>2</code></span>

<div id="dt-d8f151c1c980d157fe5c">
<p style="white-space: pre-wrap">Default register values for R6/R7 (Mic Bias Control).</p>
</div>

**Default value (<code>default</code>):** <a id="dt-fba68c055ca7f94569f2"></a> <span id="dt-5443ec3470227d07b6a4"><code>0</code></span>, <span id="dt-89feaddca369773dae15"><code>0</code></span>

<a id="dt-e547d9abcdbb8272afc1"></a>

### <code>wlf&#44;drc&#45;cfg&#45;names</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-66ed3b6f29450141231c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-7360acce49da10397d42>)</span>

<div id="dt-ed1ffd387d055b5aef01">
<p style="white-space: pre-wrap">List of strings for the available DRC modes. If absent, DRC is disabled.</p>
</div>

<a id="dt-a47bc2799cd5fe804cce"></a>

### <code>wlf&#44;drc&#45;cfg&#45;regs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d59bc2e08b955c6a6c40">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint16&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-39ef0be14e548bcb739c>)</span>

<div id="dt-86ec264f947b481d2a9b">
<p style="white-space: pre-wrap">Sets of default register values for R40/41/42/43 (DRC). Each set corresponds to a DRC mode, so the number of sets should equal the length of wlf,drc-cfg-names. If absent, DRC is disabled.</p>
</div>

<a id="dt-3009cdaa5e210fe7bf57"></a>

#### Array item rules (<code>items</code>)

> **Minimum number of items (<code>minItems</code>):** <span id="dt-bfb42455024bc584090c"><code>4</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-4be6cd2eaee1f8603386"><code>4</code></span>

<a id="dt-9ebbe8cd0c9a297b24ea"></a>

### <code>wlf&#44;retune&#45;mobile&#45;cfg&#45;names</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fed199976ee8f35f35cd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;non&#45;unique&#45;string&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-493f5d03b14b15ff7558>)</span>

<div id="dt-c8270927fdc4f1631a8a">
<p style="white-space: pre-wrap">List of strings for the available retune modes. If absent, retune is disabled.</p>
</div>

<a id="dt-f2963f44febe71655818"></a>

### <code>wlf&#44;retune&#45;mobile&#45;cfg&#45;hz</code> — not listed as required here

<div id="dt-caa9024b2bcb4f5d670c">
<p style="white-space: pre-wrap">The list must be the same length as wlf,retune-mobile-cfg-names. If absent, retune is disabled.</p>
</div>

<a id="dt-14b3b803fa227b55833a"></a>

### <code>wlf&#44;retune&#45;mobile&#45;cfg&#45;regs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a66bf63027e16f568cf9">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint16&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-39ef0be14e548bcb739c>)</span>

<div id="dt-60acd642e6660d2ea781">
<p style="white-space: pre-wrap">Sets of default register values for R134/.../157 (EQ). Each set corresponds to a retune mode, so the number of sets should equal the length of wlf,retune-mobile-cfg-names. If absent, retune is disabled.</p>
</div>

<a id="dt-8393162afd86a699fb9b"></a>

#### Array item rules (<code>items</code>)

> **Minimum number of items (<code>minItems</code>):** <span id="dt-655bdb9be85cdc75d653"><code>24</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-77e94194721724010eaa"><code>24</code></span>

<a id="dt-3d235861b18e278e9c09"></a>

## Property dependencies (<code>dependencies</code>)

<a id="dt-367a860bd37b1d69a9ec"></a>

### <code>wlf&#44;drc&#45;cfg&#45;names</code> — applies when this property is present

Also requires: <span id="dt-9a8f37af2d46880e3027"><code>&#34;wlf&#44;drc&#45;cfg&#45;regs&#34;</code></span>

<a id="dt-82ff2c817b8b9f36f69a"></a>

### <code>wlf&#44;drc&#45;cfg&#45;regs</code> — applies when this property is present

Also requires: <span id="dt-29652e664a1a60e71109"><code>&#34;wlf&#44;drc&#45;cfg&#45;names&#34;</code></span>

<a id="dt-79381834470df9da731a"></a>

### <code>wlf&#44;retune&#45;mobile&#45;cfg&#45;names</code> — applies when this property is present

Also requires: <span id="dt-143298e879dfbaf75547"><code>&#34;wlf&#44;retune&#45;mobile&#45;cfg&#45;hz&#34;</code></span>, <span id="dt-df1e87438074881b00b5"><code>&#34;wlf&#44;retune&#45;mobile&#45;cfg&#45;regs&#34;</code></span>

<a id="dt-764662d01e79778da0dd"></a>

### <code>wlf&#44;retune&#45;mobile&#45;cfg&#45;regs</code> — applies when this property is present

Also requires: <span id="dt-d361cd2f2f3d71e0631b"><code>&#34;wlf&#44;retune&#45;mobile&#45;cfg&#45;names&#34;</code></span>, <span id="dt-a5193735eb2ffb4cff50"><code>&#34;wlf&#44;retune&#45;mobile&#45;cfg&#45;hz&#34;</code></span>

<a id="dt-e593d5b68b61d255139c"></a>

### <code>wlf&#44;retune&#45;mobile&#45;cfg&#45;hz</code> — applies when this property is present

Also requires: <span id="dt-a93b4aeeec9d278d6269"><code>&#34;wlf&#44;retune&#45;mobile&#45;cfg&#45;names&#34;</code></span>, <span id="dt-c418151abf9b6994da2c"><code>&#34;wlf&#44;retune&#45;mobile&#45;cfg&#45;regs&#34;</code></span>

**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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;AVDD&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;CPVDD&#45;supply&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;DBVDD&#45;supply&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;DCVDD&#45;supply&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;MICVDD&#45;supply&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1a {
        compatible = "wlf,wm8904";
        reg = &lt;0x1a&gt;;
        clocks = &lt;&amp;pck0&gt;;
        clock-names = "mclk";
        AVDD-supply = &lt;&amp;reg_1p8v&gt;;
        CPVDD-supply = &lt;&amp;reg_1p8v&gt;;
        DBVDD-supply = &lt;&amp;reg_1p8v&gt;;
        DCVDD-supply = &lt;&amp;reg_1p8v&gt;;
        MICVDD-supply = &lt;&amp;reg_1p8v&gt;;

        wlf,drc-cfg-names = "default", "peaklimiter", "tradition", "soft",
                            "music";
        /*
         * Config registers per name, respectively:
         * KNEE_IP = 0,   KNEE_OP = 0,     HI_COMP = 1,   LO_COMP = 1
         * KNEE_IP = -24, KNEE_OP = -6,    HI_COMP = 1/4, LO_COMP = 1
         * KNEE_IP = -42, KNEE_OP = -3,    HI_COMP = 0,   LO_COMP = 1
         * KNEE_IP = -45, KNEE_OP = -9,    HI_COMP = 1/8, LO_COMP = 1
         * KNEE_IP = -30, KNEE_OP = -10.5, HI_COMP = 1/4, LO_COMP = 1
         */
        wlf,drc-cfg-regs = /bits/ 16 &lt;0x01af 0x3248 0x0000 0x0000&gt;,
                           /bits/ 16 &lt;0x04af 0x324b 0x0010 0x0408&gt;,
                           /bits/ 16 &lt;0x04af 0x324b 0x0028 0x0704&gt;,
                           /bits/ 16 &lt;0x04af 0x324b 0x0018 0x078c&gt;,
                           /bits/ 16 &lt;0x04af 0x324b 0x0010 0x050e&gt;;

        /* GPIO1 = DMIC_CLK, don't touch others */
        wlf,gpio-cfg = &lt;0x0018&gt;, &lt;0xffff&gt;, &lt;0xffff&gt;, &lt;0xffff&gt;;

        /* Use IN1R as DMICDAT2, leave IN1L as an analog input path */
        wlf,in1r-as-dmicdat2;

        wlf,retune-mobile-cfg-names = "bassboost", "bassboost", "treble";
        wlf,retune-mobile-cfg-hz = &lt;48000&gt;, &lt;44100&gt;, &lt;48000&gt;;
        /*
         * Config registers per name, respectively:
         * EQ_ENA,  100 Hz,  300 Hz,  875 Hz, 2400 Hz, 6900 Hz
         *      1,   +6 dB,   +3 dB,    0 dB,    0 dB,    0 dB
         *      1,   +6 dB,   +3 dB,    0 dB,    0 dB,    0 dB
         *      1,   -2 dB,   -2 dB,    0 dB,    0 dB,   +3 dB
         * Each one uses the defaults for ReTune Mobile registers 140-157
         */
        wlf,retune-mobile-cfg-regs = /bits/ 16 &lt;0x1 0x12 0xf 0xc 0xc 0xc
                                                0x0fca 0x0400 0x00d8 0x1eb5
                                                0xf145 0x0bd5 0x0075 0x1c58
                                                0xf3d3 0x0a54 0x0568 0x168e
                                                0xf829 0x07ad 0x1103 0x0564
                                                0x0559 0x4000&gt;,

                                     /bits/ 16 &lt;0x1 0x12 0xf 0xc 0xc 0xc
                                                0x0fca 0x0400 0x00d8 0x1eb5
                                                0xf145 0x0bd5 0x0075 0x1c58
                                                0xf3d3 0x0a54 0x0568 0x168e
                                                0xf829 0x07ad 0x1103 0x0564
                                                0x0559 0x4000&gt;,

                                     /bits/ 16 &lt;0x1 0xa 0xa 0xc 0xc 0xf
                                                0x0fca 0x0400 0x00d8 0x1eb5
                                                0xf145 0x0bd5 0x0075 0x1c58
                                                0xf3d3 0x0a54 0x0568 0x168e
                                                0xf829 0x07ad 0x1103 0x0564
                                                0x0559 0x4000&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>

</details>

---

# Wolfson WM8940 Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Wolfson WM8940 Codec.

<!-- SPDX-License-Identifier: (GPL-2.0 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;wlf&#44;wm8940&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;wlf&#44;wm8940&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-f17e1c3bb71259096275"><code>526000</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@0 {
        #sound-dai-cells = &lt;0&gt;;
        compatible = "wlf,wm8940";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;500000&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1a {
        #sound-dai-cells = &lt;0&gt;;
        compatible = "wlf,wm8940";
        reg = &lt;0x1a&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 OR BSD-2-Clause)</span></p>

</details>

---

# Wolfson WM8960 audio codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Wolfson WM8960 audio codec.

<!-- 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;wlf&#44;wm8960&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Wolfson WM8960 audio codec</p>
<p style="white-space: pre-wrap">Pins on the device (for linking into audio routes):</p>
<pre><code>  Outputs:
    * HP_L    : Left Headphone/Line Output
    * HP_R    : Right Headphone/Line Output
    * SPK_LP  : Left Speaker Output (Positive)
    * SPK_LN  : Left Speaker Output (Negative)
    * SPK_RP  : Right Speaker Output (Positive)
    * SPK_RN  : Right Speaker Output (Negative)
    * OUT3    : Mono, Left, Right or buffered midrail output for capless mode</code></pre>
<pre><code>  Inputs:
    * LINPUT1 : Left single-ended or negative differential microphone input
    * RINPUT1 : Right single-ended or negative differential microphone input
    * LINPUT2 : Left line input or positive differential microphone input
    * RINPUT2 : Right line input or positive differential microphone input
    * LINPUT3 : Left line input, positive differential microphone, or Jack Detect 2
    * RINPUT3 : Right line input, positive differential microphone, or Jack Detect 3</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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;wlf&#44;wm8960&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;mclk&#34;</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — not listed as required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">Analogue supply.</p>
</div>

<a id="dt-fd18faf11ae6aa072011"></a>

### <code>DBVDD&#45;supply</code> — not listed as required here

<div id="dt-da8631045899fc03bff5">
<p style="white-space: pre-wrap">Digital Buffer Supply.</p>
</div>

<a id="dt-b6cfd2a25dd52102b8c7"></a>

### <code>DCVDD&#45;supply</code> — not listed as required here

<div id="dt-c74a4be16d81d6c4e145">
<p style="white-space: pre-wrap">Digital Core Supply.</p>
</div>

<a id="dt-60a31cfa6f6a94257956"></a>

### <code>SPKVDD1&#45;supply</code> — not listed as required here

<div id="dt-881a46d48160228ce981">
<p style="white-space: pre-wrap">Supply for speaker drivers 1.</p>
</div>

<a id="dt-b15b5ead81d1a8bcceb3"></a>

### <code>SPKVDD2&#45;supply</code> — not listed as required here

<div id="dt-96ebb001a12f8cb599b2">
<p style="white-space: pre-wrap">Supply for speaker drivers 2.</p>
</div>

<a id="dt-94f7c7d2349275fe517c"></a>

### <code>wlf&#44;capless</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-00e6e6cef42053e6e158"><code>&#34;boolean&#34;</code></span>

<div id="dt-bbaf3bc8996dca1ffd38">
<p style="white-space: pre-wrap">If present, OUT3 pin will be enabled and disabled together with HP_L and HP_R pins in response to jack detect events.</p>
</div>

<a id="dt-377a0729efe1531e7ae9"></a>

### <code>wlf&#44;gpio&#45;cfg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c806d5544f3d129af3de">[<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>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-83eb6111b098e0993e75"><code>2</code></span>

<div id="dt-b5e93fd1a83d13e09e00">
<p style="white-space: pre-wrap">A list of GPIO configuration register values.
 - gpio-cfg[0]: ALRCGPIO of R9 (Audio interface)
 - gpio-cfg[1]: {GPIOPOL:GPIOSEL[2:0]} of R48 (Additional Control 4).</p>
</div>

<a id="dt-852256d1fb52c5bab0c7"></a>

### <code>wlf&#44;hp&#45;cfg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4a6fc081033798b94864">[<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>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-ac2982897c4d00a57640"><code>3</code></span>

<div id="dt-d57b74da3e3966567a55">
<p style="white-space: pre-wrap">A list of headphone jack detect configuration register values:
 - hp-cfg[0]: HPSEL[1:0] of R48 (Additional Control 4).
 - hp-cfg[1]: {HPSWEN:HPSWPOL} of R24 (Additional Control 2).
 - hp-cfg[2]: {TOCLKSEL:TOEN} of R23 (Additional Control 1).</p>
</div>

<a id="dt-ea1d8cb13ed3a22bccbf"></a>

### <code>wlf&#44;shared&#45;lrclk</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-065d8015c8cfc8981210"><code>&#34;boolean&#34;</code></span>

<div id="dt-6d29b75fa1098da65190">
<p style="white-space: pre-wrap">If present, the LRCM bit of R24 (Additional control 2) gets set, indicating that ADCLRC and DACLRC pins will be disabled only when ADC (Left and Right) and DAC (Left and Right) are disabled. When WM8960 works on synchronize mode and DACLRC pin is used to supply frame clock, it will no frame clock for captrue unless enable DAC to enable DACLRC pin. If shared-lrclk is present, no need to enable DAC for captrue.</p>
</div>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@1a {
        compatible = "wlf,wm8960";
        reg = &lt;0x1a&gt;;
        clocks = &lt;&amp;clks 0&gt;;
        clock-names = "mclk";
        #sound-dai-cells = &lt;0&gt;;
        wlf,hp-cfg = &lt;3 2 3&gt;;
        wlf,gpio-cfg = &lt;1 3&gt;;
        wlf,shared-lrclk;
        DCVDD-supply = &lt;&amp;reg_audio&gt;;
        DBVDD-supply = &lt;&amp;reg_audio&gt;;
        AVDD-supply = &lt;&amp;reg_audio&gt;;
        SPKVDD1-supply = &lt;&amp;reg_audio&gt;;
        SPKVDD2-supply = &lt;&amp;reg_audio&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>

</details>

---

# Wolfson WM8962 Ultra-Low Power Stereo CODEC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Wolfson WM8962 Ultra-Low Power Stereo CODEC.

<!-- 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;wlf&#44;wm8962&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;wlf&#44;wm8962&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-108e4e3fba989bd6d0af"></a>

### <code>AVDD&#45;supply</code> — required here

<div id="dt-89e7094c99037fa76d27">
<p style="white-space: pre-wrap">Analogue supply.</p>
</div>

<a id="dt-7bdbb9a3ac571e92c418"></a>

### <code>CPVDD&#45;supply</code> — required here

<div id="dt-843dfcc834734cb90b44">
<p style="white-space: pre-wrap">Charge pump power supply.</p>
</div>

<a id="dt-fd18faf11ae6aa072011"></a>

### <code>DBVDD&#45;supply</code> — required here

<div id="dt-da8631045899fc03bff5">
<p style="white-space: pre-wrap">Digital Buffer Supply.</p>
</div>

<a id="dt-b6cfd2a25dd52102b8c7"></a>

### <code>DCVDD&#45;supply</code> — required here

<div id="dt-c74a4be16d81d6c4e145">
<p style="white-space: pre-wrap">Digital Core Supply.</p>
</div>

<a id="dt-90c8e6ce8abd8198a2ee"></a>

### <code>MICVDD&#45;supply</code> — required here

<div id="dt-34bfdf642bcd3dd0f0a7">
<p style="white-space: pre-wrap">Microphone bias amp supply.</p>
</div>

<a id="dt-719549cb153f8eba7654"></a>

### <code>PLLVDD&#45;supply</code> — required here

<div id="dt-2dbe8eeb1f7e807f30d7">
<p style="white-space: pre-wrap">PLL Supply</p>
</div>

<a id="dt-60a31cfa6f6a94257956"></a>

### <code>SPKVDD1&#45;supply</code> — required here

<div id="dt-881a46d48160228ce981">
<p style="white-space: pre-wrap">Supply for left speaker drivers.</p>
</div>

<a id="dt-b15b5ead81d1a8bcceb3"></a>

### <code>SPKVDD2&#45;supply</code> — required here

<div id="dt-96ebb001a12f8cb599b2">
<p style="white-space: pre-wrap">Supply for right speaker drivers.</p>
</div>

<a id="dt-8fe352fab938e3cf7702"></a>

### <code>spk&#45;mono</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b59c8a10d2edf3090b06">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-4f23b70f01aeb16560c3">
<p style="white-space: pre-wrap">If present, the SPK_MONO bit of R51 (Class D Control 2) gets set, indicating that the speaker is in mono mode.</p>
</div>

<a id="dt-d9dcf922492313b78d1a"></a>

### <code>mic&#45;cfg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-99fed4a32966b03a3bdd">[<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-85ce041b15701f291cc7">
<p style="white-space: pre-wrap">Default register value for R48 (Additional Control 4). If absent, the default should be the register default.</p>
</div>

<a id="dt-0a8c74b8a3e3245a4235"></a>

### <code>gpio&#45;cfg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1df105d9c10574a97de4">[<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-725f69df4a01a08ecc9c"><code>6</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-18234edc6e4dbeb19277"><code>6</code></span>

<div id="dt-9bdd0720898fc3217519">
<p style="white-space: pre-wrap">A list of GPIO configuration register values.  If absent, no configuration of these registers is performed.  Note that only values within [0x0, 0xffff] are valid.  Any other value is regarded as setting the GPIO register to its reset value 0x0.</p>
</div>

<a id="dt-1d845f0617b4072cef77"></a>

### <code>port</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>audio&#45;graph&#45;port&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/audio-graph-port.md#dt-root>)</span>

<a id="dt-a216b653a8bb94beac4f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;AVDD&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;CPVDD&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;DBVDD&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;DCVDD&#45;supply&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;MICVDD&#45;supply&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;PLLVDD&#45;supply&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;SPKVDD1&#45;supply&#34;</code></span>, <span id="dt-1a79af41bdb7f37c802f"><code>&#34;SPKVDD2&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/clock/imx6qdl-clock.h&gt;

i2c {
      #address-cells = &lt;1&gt;;
      #size-cells = &lt;0&gt;;

      wm8962: codec@1a {
              compatible = "wlf,wm8962";
              reg = &lt;0x1a&gt;;
              clocks = &lt;&amp;clks IMX6QDL_CLK_CKO&gt;;
              DCVDD-supply = &lt;&amp;reg_audio&gt;;
              DBVDD-supply = &lt;&amp;reg_audio&gt;;
              AVDD-supply = &lt;&amp;reg_audio&gt;;
              CPVDD-supply = &lt;&amp;reg_audio&gt;;
              MICVDD-supply = &lt;&amp;reg_audio&gt;;
              PLLVDD-supply = &lt;&amp;reg_audio&gt;;
              SPKVDD1-supply = &lt;&amp;reg_audio&gt;;
              SPKVDD2-supply = &lt;&amp;reg_audio&gt;;
              gpio-cfg = &lt;
                      0x0000 /* 0:Default */
                      0x0000 /* 1:Default */
                      0x0013 /* 2:FN_DMICCLK */
                      0x0000 /* 3:Default */
                      0x8014 /* 4:FN_DMICCDAT */
                      0x0000 /* 5:Default */
              &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>

</details>

---

# Wolfson WM8978 Codec

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Wolfson WM8978 Codec.

<!-- SPDX-License-Identifier: (GPL-2.0 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;wlf&#44;wm8978&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;wlf&#44;wm8978&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

**Maximum value (<code>maximum</code>):** <span id="dt-f17e1c3bb71259096275"><code>526000</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;sound&#45;dai&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;compatible&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@0 {
        #sound-dai-cells = &lt;0&gt;;
        compatible = "wlf,wm8978";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;500000&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    codec@1a {
        #sound-dai-cells = &lt;0&gt;;
        compatible = "wlf,wm8978";
        reg = &lt;0x1a&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 OR BSD-2-Clause)</span></p>

</details>

---

# Wolfson WM1811/WM8994/WM8958 audio codecs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Wolfson WM1811/WM8994/WM8958 audio codecs.

<!-- 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;wlf&#44;wm8994&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">These devices support both I2C and SPI (configured with pin strapping on the
board).</p>
<p style="white-space: pre-wrap">Pins on the device (for linking into audio routes):
IN1LN, IN1LP, IN2LN, IN2LP:VXRN, IN1RN, IN1RP, IN2RN, IN2RP:VXRP, SPKOUTLP,
SPKOUTLN, SPKOUTRP, SPKOUTRN, HPOUT1L, HPOUT1R, HPOUT2P, HPOUT2N, LINEOUT1P,
LINEOUT1N, LINEOUT2P, LINEOUT2N.</p>
</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;wlf&#44;wm1811&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;wlf&#44;wm8994&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;wlf&#44;wm8958&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;MCLK1&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;MCLK2&#34;</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<div id="dt-0cc2c51365b6879fba3b">
<p style="white-space: pre-wrap">The first cell is the IRQ number. The second cell is the flags, encoded as the trigger masks.</p>
</div>

<a id="dt-0dd83a7961257f227201"></a>

### <code>AVDD1&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-c71af3775653a4f91f57"></a>

### <code>AVDD2&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-7bdbb9a3ac571e92c418"></a>

### <code>CPVDD&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-fd18faf11ae6aa072011"></a>

### <code>DBVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-a9552ece35e8e0c6d97d"></a>

### <code>DBVDD1&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-b92e17dbaa4843ebf150"></a>

### <code>DBVDD2&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-af8ccf1a9bf64c9c357b"></a>

### <code>DBVDD3&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-b6cfd2a25dd52102b8c7"></a>

### <code>DCVDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-c49dff09a1bc7f34c7a8"></a>

### <code>LDO1VDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-9544622de6607741b3b7"></a>

### <code>LDO2VDD&#45;supply</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-60a31cfa6f6a94257956"></a>

### <code>SPKVDD1&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-b15b5ead81d1a8bcceb3"></a>

### <code>SPKVDD2&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>0</code></span>

<a id="dt-377a0729efe1531e7ae9"></a>

### <code>wlf&#44;gpio&#45;cfg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c806d5544f3d129af3de">[<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>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-83eb6111b098e0993e75"><code>11</code></span>

<div id="dt-b5e93fd1a83d13e09e00">
<p style="white-space: pre-wrap">A list of GPIO configuration register values. If absent, no configuration of these registers is performed. If any value is over 0xffff then the register will be left as default. If present 11 values must be supplied.</p>
</div>

<a id="dt-94eb5fdde1d0dd359e06"></a>

### <code>wlf&#44;micbias&#45;cfg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c66d72352bbfa027483d">[<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>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c2f0d15d397440461a74"><code>2</code></span>

<div id="dt-d8f151c1c980d157fe5c">
<p style="white-space: pre-wrap">Two MICBIAS register values for WM1811 or WM8958.  If absent the register defaults will be used.</p>
</div>

<a id="dt-8907a1799f153f36b8b5"></a>

### <code>wlf&#44;ldo1ena&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d36ea0afffea6c4cb510"><code>1</code></span>

<div id="dt-180536ef4de2645b54d4">
<p style="white-space: pre-wrap">Control of LDO1ENA input to device.</p>
</div>

<a id="dt-d896a89f35acd82c37ec"></a>

### <code>wlf&#44;ldo2ena&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c963c33806e1a1890ca8"><code>1</code></span>

<div id="dt-b8b4ad0daaa502f1bf75">
<p style="white-space: pre-wrap">Control of LDO2ENA input to device.</p>
</div>

<a id="dt-437c53af0ad8f17dc952"></a>

### <code>wlf&#44;lineout1&#45;se</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-01a2e770ae2280d18967"><code>&#34;boolean&#34;</code></span>

<div id="dt-24b773869472e8ad71df">
<p style="white-space: pre-wrap">LINEOUT1 is in single ended mode.</p>
</div>

<a id="dt-e71c5429c0a1ea6ac64e"></a>

### <code>wlf&#44;lineout2&#45;se</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-6d2d99333cda2e612e7e"><code>&#34;boolean&#34;</code></span>

<div id="dt-9dc36dc4596032bd228b">
<p style="white-space: pre-wrap">INEOUT2 is in single ended mode.</p>
</div>

<a id="dt-3150d484723850331e98"></a>

### <code>wlf&#44;lineout1&#45;feedback</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-a9cf36f7374cc1de45f3"><code>&#34;boolean&#34;</code></span>

<div id="dt-1a20357322f67bf9165d">
<p style="white-space: pre-wrap">LINEOUT1 has common mode feedback connected.</p>
</div>

<a id="dt-a96b37a254ae6f1627d5"></a>

### <code>wlf&#44;lineout2&#45;feedback</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-a5541ed6dfa7ea7976e0"><code>&#34;boolean&#34;</code></span>

<div id="dt-540ce93d2f3dfe365853">
<p style="white-space: pre-wrap">LINEOUT2 has common mode feedback connected.</p>
</div>

<a id="dt-ad121cddb584f5415ec2"></a>

### <code>wlf&#44;ldoena&#45;always&#45;driven</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-702e5dd579c8e9dfc676"><code>&#34;boolean&#34;</code></span>

<div id="dt-eb4aa24cc027604333eb">
<p style="white-space: pre-wrap">LDOENA is always driven.</p>
</div>

<a id="dt-7c732ea1eaaaa978c1ba"></a>

### <code>wlf&#44;spkmode&#45;pu</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-b8d6d228ef20bd9c5534"><code>&#34;boolean&#34;</code></span>

<div id="dt-11c7b6b43cc04c3e3437">
<p style="white-space: pre-wrap">Enable the internal pull-up resistor on the SPKMODE pin.</p>
</div>

<a id="dt-351ec54264632c3f8426"></a>

### <code>wlf&#44;csnaddr&#45;pd</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-53e0cef7ddd039cb4585"><code>&#34;boolean&#34;</code></span>

<div id="dt-f72c9b525ca8ba9a7a17">
<p style="white-space: pre-wrap">Enable the internal pull-down resistor on the CS/ADDR pin.</p>
</div>

**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;AVDD2&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;CPVDD&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;SPKVDD1&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;SPKVDD2&#45;supply&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-c0ab484bd71d0671c6ab"></a> <span id="dt-4eb87bb951292ac8d56d"><code>&#34;wlf&#44;wm1811&#34;</code></span>, <span id="dt-68ac103663508bfae0ff"><code>&#34;wlf&#44;wm8958&#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-4189f8279995ebc61c2b"></a>
> >
> > **<code>DBVDD&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-2439b2e4be2f99090948"></a>
> >
> > **<code>LDO2VDD&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;DBVDD1&#45;supply&#34;</code></span>, <span id="dt-5daae4bef35eb1615659"><code>&#34;DBVDD2&#45;supply&#34;</code></span>, <span id="dt-dabdc46fe881a853c5d7"><code>&#34;DBVDD3&#45;supply&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-97ab691ce247686c044c"></a>
> >
> > **<code>DBVDD1&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-1e5163d9fe8d3d61533d"></a>
> >
> > **<code>DBVDD2&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-bbcf5751760ac5cd75f5"></a>
> >
> > **<code>DBVDD3&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > **Required in this object (<code>required</code>):** <a id="dt-fa517e64e1a26bde5333"></a> <span id="dt-3f0dc1b361e0cd17ff53"><code>&#34;DBVDD&#45;supply&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    audio-codec@1a {
        compatible = "wlf,wm1811";
        reg = &lt;0x1a&gt;;
        clocks = &lt;&amp;i2s0 0&gt;;
        clock-names = "MCLK1";

        AVDD2-supply = &lt;&amp;main_dc_reg&gt;;
        CPVDD-supply = &lt;&amp;main_dc_reg&gt;;
        DBVDD1-supply = &lt;&amp;main_dc_reg&gt;;
        DBVDD2-supply = &lt;&amp;main_dc_reg&gt;;
        DBVDD3-supply = &lt;&amp;main_dc_reg&gt;;
        LDO1VDD-supply = &lt;&amp;main_dc_reg&gt;;
        SPKVDD1-supply = &lt;&amp;main_dc_reg&gt;;
        SPKVDD2-supply = &lt;&amp;main_dc_reg&gt;;

        wlf,ldo1ena-gpios = &lt;&amp;gpb0 0 GPIO_ACTIVE_HIGH&gt;;
        wlf,ldo2ena-gpios = &lt;&amp;gpb0 1 GPIO_ACTIVE_HIGH&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>

</details>

---

# Xilinx PL audio formatter

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Xilinx PL audio formatter.

<!-- 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;xlnx&#44;audio&#45;formatter&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The IP core supports DMA, data formatting(AES&lt;-&gt;PCM conversion) of audio samples.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Vincenzo Frascino &#60;vincenzo&#46;frascino&#64;arm&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;xlnx&#44;audio&#45;formatter&#45;1&#46;0&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-30089c7b6e408306475b"><code>1</code></span>

<a id="dt-77e94e63ca0b20bb5ef1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;irq&#95;mm2s&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;irq&#95;s2mm&#34;</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">interrupt from MM2S block</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">interrupt from S2MM block</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;s&#95;axi&#95;lite&#95;aclk&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;aud&#95;mclk&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">clock for the axi data stream</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">clock for the MEMS microphone data stream</p>
> </div>

**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;interrupt&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#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">audio_formatter@80010000 {
  compatible = "xlnx,audio-formatter-1.0";
  reg = &lt;0x80010000 0x1000&gt;;
  interrupt-names = "irq_mm2s", "irq_s2mm";
  interrupt-parent = &lt;&amp;gic&gt;;
  interrupts = &lt;0 104 4&gt;, &lt;0 105 4&gt;;
  clock-names = "s_axi_lite_aclk", "aud_mclk";
  clocks = &lt;&amp;clk 71&gt;, &lt;&amp;clk_wiz_1 0&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>

</details>

---

# Xilinx I2S PL block

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Xilinx I2S PL block.

<!-- 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;xlnx&#44;i2s&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The IP supports I2S based playback/capture audio.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Vincenzo Frascino &#60;vincenzo&#46;frascino&#64;arm&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;xlnx&#44;i2s&#45;receiver&#45;1&#46;0&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;xlnx&#44;i2s&#45;transmitter&#45;1&#46;0&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-8708b8d26331a2d7fdaf"></a>

### <code>xlnx&#44;dwidth</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-16318cd9fae9238a60fd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-62710456e515854f7167"></a> <span id="dt-24c06c8f4f00aa09f34e"><code>16</code></span>, <span id="dt-5e753e4a5ba333c4ed02"><code>24</code></span>

<div id="dt-0a4499527f9c3bacb7e1">
<p style="white-space: pre-wrap">Sample data width.</p>
</div>

<a id="dt-6ec804a93549288d910e"></a>

### <code>xlnx&#44;num&#45;channels</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fb9f1278443a1f17f5f7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-5e20476ce649c8dc0b38"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-83102d606f50896a15b7"><code>4</code></span>

<div id="dt-2b5d9a2aa9fc0640198d">
<p style="white-space: pre-wrap">Number of I2S streams.</p>
</div>

**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;xlnx&#44;dwidth&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;xlnx&#44;num&#45;channels&#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">i2s@a0080000 {
  compatible = "xlnx,i2s-receiver-1.0";
  reg = &lt;0xa0080000 0x10000&gt;;
  xlnx,dwidth = &lt;0x18&gt;;
  xlnx,num-channels = &lt;1&gt;;
};
i2s@a0090000 {
  compatible = "xlnx,i2s-transmitter-1.0";
  reg = &lt;0xa0090000 0x10000&gt;;
  xlnx,dwidth = &lt;0x18&gt;;
  xlnx,num-channels = &lt;1&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>

</details>

---

# Xilinx SPDIF IP

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Xilinx SPDIF IP.

<!-- 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;xlnx&#44;spdif&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The IP supports playback and capture of SPDIF audio.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Vincenzo Frascino &#60;vincenzo&#46;frascino&#64;arm&#46;com&#62;&#34;</code></span>

<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>dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</span>

<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;xlnx&#44;spdif&#45;2&#46;0&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">SPDIF audio interrupt</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;aud&#95;clk&#95;i&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;s&#95;axi&#95;aclk&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">input audio clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">clock for the AXI data stream</p>
> </div>

<a id="dt-fa596aa437ef678da3c9"></a>

### <code>xlnx&#44;spdif&#45;mode</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fd220b89864d018300d8">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-0ed30eb611384948765b"></a> <span id="dt-13ad81213ffe70ca760c"><code>0</code></span>, <span id="dt-fcf7ae70824b2cbe85f2"><code>1</code></span>

<div id="dt-86c14c223857339c2120">
<p style="white-space: pre-wrap">0 - receiver
1 - transmitter</p>
</div>

<a id="dt-94bfe55080df64765d21"></a>

### <code>xlnx&#44;aud&#95;clk&#95;i</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a93561e674b37f3fc67c">[<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-dd8a20fc887e7f59602c">
<p style="white-space: pre-wrap">Input audio clock frequency. It affects the sampling rate.</p>
</div>

**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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#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">spdif@80010000 {
  compatible = "xlnx,spdif-2.0";
  reg = &lt;0x80010000 0x10000&gt;;
  clock-names = "aud_clk_i", "s_axi_aclk";
  clocks = &lt;&amp;misc_clk_0&gt;, &lt;&amp;clk 71&gt;;
  interrupt-parent = &lt;&amp;gic&gt;;
  interrupts = &lt;0 91 4&gt;;
  xlnx,spdif-mode = &lt;1&gt;;
  xlnx,aud_clk_i = &lt;49152913&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>

</details>

---

# XMOS XVF3500 VocalFusion Voice Processor

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for XMOS XVF3500 VocalFusion Voice Processor.

<!-- SPDX-License-Identifier: (GPL-2.0 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;xmos&#44;xvf3500&#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;Javier Carrasco &#60;javier&#46;carrasco&#64;wolfvision&#46;net&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The XMOS XVF3500 VocalFusion Voice Processor is a low-latency, 32-bit multicore controller for voice processing. https://www.xmos.com/xvf3500/</p>
</div>

<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>&#47;schemas&#47;usb&#47;usb&#45;device&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-usb/usb-device.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;usb20b1&#44;0013&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<a id="dt-236855bde9eebcc9d904"></a>

### <code>vdd&#45;supply</code> — required here

<div id="dt-bc3e69b335e23d461899">
<p style="white-space: pre-wrap">Regulator for the 1V0 supply.</p>
</div>

<a id="dt-78ea9f736d3e6cab7ae5"></a>

### <code>vddio&#45;supply</code> — required here

<div id="dt-ba263ef99f73e8ce56fb">
<p style="white-space: pre-wrap">Regulator for the 3V3 supply.</p>
</div>

**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;reset&#45;gpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vdd&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;vddio&#45;supply&#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/gpio/gpio.h&gt;

usb {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    voice_processor: voice-processor@1 {
        compatible = "usb20b1,0013";
        reg = &lt;1&gt;;
        reset-gpios = &lt;&amp;gpio 5 GPIO_ACTIVE_LOW&gt;;
        vdd-supply = &lt;&amp;vcc1v0&gt;;
        vddio-supply = &lt;&amp;vcc3v3&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 OR BSD-2-Clause)</span></p>

</details>
