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