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