# Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Audio bindings_

> Device-tree binding reference for Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs.

<!-- 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;arizona&#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;patches&#64;opensource&#46;cirrus&#46;com&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">These devices are audio SoCs with extensive digital capabilities and a range
of analogue I/O.</p>
<p style="white-space: pre-wrap">This document lists sound specific bindings, see the primary binding
document ../mfd/arizona.yaml</p>
</div>

<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-4a22cdb1eade348ac0d4"></a>

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

<div id="dt-c6fec2b67f85839e5c16">
<p style="white-space: pre-wrap">The first cell indicating the audio interface.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-06650c5e4c981bc2a500"><code>1</code></span>

<a id="dt-43b0cbd009dcee253877"></a>

### <code>wlf&#44;inmode</code> — not listed as required here

<div id="dt-a6888ac31d87c2a0ee1d">
<p style="white-space: pre-wrap">A list of INn_MODE register values, where n is the number of input signals. Valid values are 0 (Differential), 1 (Single-ended) and 2 (Digital Microphone). If absent, INn_MODE registers set to 0 by default.  If present, values must be specified less than or equal to the number of input signals. If values less than the number of input signals, elements that have not been specified are set to 0 by default. Entries are &lt;IN1, IN2, IN3, IN4&gt; (wm5102, wm5110, wm8280, wm8997) and &lt;IN1A, IN2A, IN1B, IN2B&gt; (wm8998, wm1814)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2bb89072caaaeb6fb1b3">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-a8b264a3b5484bc5ff13"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-2003e6f50f107378d9c4"><code>4</code></span>

<a id="dt-8191a3de1028b2d50978"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-e4102b45d020dd6baebb"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-ab04e8148ba900759766"><code>2</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-749cbdf5c2e773b8d321"><code>0</code></span>

<a id="dt-91bb734ad0e56dd73844"></a>

### <code>wlf&#44;out&#45;mono</code> — not listed as required here

<div id="dt-c11d10d50cf628c24429">
<p style="white-space: pre-wrap">A list of boolean values indicating whether each output is mono or stereo. Position within the list indicates the output affected (eg. First entry in the list corresponds to output 1). A non-zero value indicates a mono output. If present, the number of values should be less than or equal to the number of outputs, if less values are supplied the additional outputs will be treated as stereo.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a6154b8f7e2ca319b558">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-9b1ea613405facafff63"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f33970a8282699e73f91"><code>6</code></span>

<a id="dt-c4f7a1f5c734b56777df"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-c3ce86ad2d16dc19fd18"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-b2da7a2c3f96b5e83f84"><code>1</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-ad5155738fcd11e0d1d2"><code>0</code></span>

<a id="dt-0a0bff9f89b84e130241"></a>

### <code>wlf&#44;dmic&#45;ref</code> — not listed as required here

<div id="dt-58f1460e88bcee2cdc37">
<p style="white-space: pre-wrap">DMIC reference voltage source for each input, can be selected from either MICVDD or one of the MICBIAS's, defines (ARIZONA_DMIC_xxxx) are provided in dt-bindings/mfd/arizona.h. If present, the number of values should be less than or equal to the number of inputs, unspecified inputs will use the chip default.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7d12830fec5767cbdb21">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-19edfb36538004dba709"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d96550ce506497563a23"><code>4</code></span>

<a id="dt-b617b2f264e398c7ae24"></a>

#### Array item rules (<code>items</code>)

> **Minimum value (<code>minimum</code>):** <span id="dt-d5bd1c3ef424714977fa"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-2bec93ccbc2be73b17db"><code>3</code></span>
>
> **Default value (<code>default</code>):** <span id="dt-782deb4cd401f9e698f3"><code>0</code></span>

<a id="dt-467d51d17bf81e13e74c"></a>

### <code>wlf&#44;max&#45;channels&#45;clocked</code> — not listed as required here

<div id="dt-0733066f5f4e875b182a">
<p style="white-space: pre-wrap">The maximum number of channels to be clocked on each AIF, useful for I2S systems with multiple data lines being mastered.  Specify one cell for each AIF to be configured, specify zero for AIFs that should be handled normally.  If present, number of cells must be less than or equal to the number of AIFs. If less than the number of AIFs, for cells that have not been specified the corresponding AIFs will be treated as default setting.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-744552c166a426c19583">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-d3fb6fbe35745a9640f3"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f0a2da4acd5d35b333e4"><code>3</code></span>

<a id="dt-1ff48fdd07e9c6aad6d9"></a>

#### Array item rules (<code>items</code>)

> **Default value (<code>default</code>):** <span id="dt-541c2ec34b1ecb01d422"><code>0</code></span>

<a id="dt-c9e204e3636224a49f87"></a>

### <code>wlf&#44;spk&#45;fmt</code> — not listed as required here

<div id="dt-814744c3ca5fae95855b">
<p style="white-space: pre-wrap">PDM speaker data format, must contain 2 cells (OUT5 and OUT6).  See the datasheet for values.  The second cell is ignored for codecs that do not have OUT6 (wm5102, wm8997, wm8998, wm1814)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c03faf678485df5a685f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-2425a2ad6af15540830b"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-2aa2c63d7e1ccd39ae6c"><code>2</code></span>

<a id="dt-23fb97c59637214e8190"></a>

### <code>wlf&#44;spk&#45;mute</code> — not listed as required here

<div id="dt-7dcc579d2171dbcaef26">
<p style="white-space: pre-wrap">PDM speaker mute setting, must contain 2 cells (OUT5 and OUT6).  See the datasheet for values.  The second cell is ignored for codecs that do not have OUT6 (wm5102, wm8997, wm8998, wm1814)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-878b239b563cd555a5d9">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-d087381bf6ba7f358e66"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-fb25b7828a910a397a06"><code>2</code></span>

<a id="dt-d953295a6abe43f48ea2"></a>

### <code>wlf&#44;out&#45;volume&#45;limit</code> — not listed as required here

<div id="dt-bae1b00d4d1a0a8b4290">
<p style="white-space: pre-wrap">The volume limit value that should be applied to each output channel. See the datasheet for exact values. Channels are specified in the order OUT1L, OUT1R, OUT2L, OUT2R, etc.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5d06bb680769f751bea5">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1621d5cf6ff894764224"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-40d92659cc86267f6339"><code>12</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

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