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