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