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