# Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Extcon 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;extcon&#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 Extcon specific bindings, see the primary binding
document ../mfd/arizona.yaml</p>
</div>

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

## Properties and child nodes (<code>properties</code>)

<a id="dt-7397b08b1033b9a5c59d"></a>

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

<div id="dt-55b4ec0fc9013648e847">
<p style="white-space: pre-wrap">Headphone detection channel.  ARIZONA_ACCDET_MODE_HPL/1 sets the headphone detect mode to HPDETL, ARIZONA_ACCDET_MODE_HPR/2 sets it to HPDETR.  If this node is not included or if the value is unknown, then headphone detection mode is set to HPDETL.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c0f9b35e523ec16a981f">[<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-bfa03cd2bbf84b3f8f01"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-e73efdd242fefcd6a1da"><code>2</code></span>

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

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

<div id="dt-50477bbaa55d6f328fd4">
<p style="white-space: pre-wrap">Use the additional JD input along with JD1 for dual pin jack detection.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-7ccef5ff2ffa141cad7e"><code>&#34;boolean&#34;</code></span>

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

### <code>wlf&#44;use&#45;jd2&#45;nopull</code> — not listed as required here

<div id="dt-4c09faf0b990928aadee">
<p style="white-space: pre-wrap">Internal pull on JD2 is disabled when used for jack detection.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-f043951adfc7c789622e"><code>&#34;boolean&#34;</code></span>

<a id="dt-4094e804bb6b97bd83df"></a>

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

<div id="dt-0a413da091097e772127">
<p style="white-space: pre-wrap">Invert the polarity of the jack detection switch.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-2c41908c04d9d3149d3e"><code>&#34;boolean&#34;</code></span>

<a id="dt-047a2685710a55ca2243"></a>

### <code>wlf&#44;micd&#45;software&#45;compare</code> — not listed as required here

<div id="dt-c47e0128ba4e2e5ca73e">
<p style="white-space: pre-wrap">Use a software comparison to determine mic presence.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-1737dfbf66049a233eef"><code>&#34;boolean&#34;</code></span>

<a id="dt-9b4baabe4a2ed7c17083"></a>

### <code>wlf&#44;micd&#45;detect&#45;debounce</code> — not listed as required here

<div id="dt-9efb394580f0a11c0658">
<p style="white-space: pre-wrap">Additional software microphone detection debounce specified in milliseconds.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-607b90b88d7b59e0fa2e">[<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-5f3b24f106eb8e27d441"></a>

### <code>wlf&#44;micd&#45;pol&#45;gpio</code> — not listed as required here

<div id="dt-61547f5608f53be844ff">
<p style="white-space: pre-wrap">GPIO specifier for the GPIO controlling the headset polarity if one exists.</p>
</div>

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

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

### <code>wlf&#44;micd&#45;bias&#45;start&#45;time</code> — not listed as required here

<div id="dt-7c7f260cd3cb4aa94981">
<p style="white-space: pre-wrap">Time allowed for MICBIAS to startup prior to performing microphone detection, specified as per the ARIZONA_MICD_TIME_XXX defines.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-80bc750fff4faafc2050">[<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-0d52cc2eb808dbb55122"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-4a639f9fed67c5878ea7"><code>12</code></span>

<a id="dt-67ff8d9fdc9d0398a01c"></a>

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

<div id="dt-61d1dc5cd4d736bcdc2d">
<p style="white-space: pre-wrap">Delay between successive microphone detection measurements, specified as per the ARIZONA_MICD_TIME_XXX defines.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0bf68cb40e51a8396562">[<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-6e2f4d3e95245c9b22a1"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-95d8f4f91dbe9fa5ff28"><code>12</code></span>

<a id="dt-36722371c626147370f9"></a>

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

<div id="dt-19a7d00ce7d38399b9f9">
<p style="white-space: pre-wrap">Microphone detection hardware debounces specified as the number of measurements to take.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-89b632917ddcd04023e3">[<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-5f45f3cbc260888605c6"></a> <span id="dt-ca096a99385b0105ef72"><code>2</code></span>, <span id="dt-2144a0f9347b149271fb"><code>4</code></span>

<a id="dt-22b73cf0efdc82c6de0a"></a>

### <code>wlf&#44;micd&#45;timeout&#45;ms</code> — not listed as required here

<div id="dt-3d3aa854aec85f1e6980">
<p style="white-space: pre-wrap">Timeout for microphone detection, specified in milliseconds.</p>
</div>

<a id="dt-00de59d09c9b29a37ab2"></a>

### <code>wlf&#44;micd&#45;force&#45;micbias</code> — not listed as required here

<div id="dt-b6fea97bc2291f87c963">
<p style="white-space: pre-wrap">Force MICBIAS continuously on during microphone detection.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-69430fb7ab8f62d6fe60"><code>&#34;boolean&#34;</code></span>

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

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

<div id="dt-9d95a9359bd03190c9b6">
<p style="white-space: pre-wrap">Headset polarity configurations (generally used for detection of CTIA / OMTP headsets), the field can be of variable length but should always be a multiple of 3 cells long, each three cell group represents one polarity configuration.</p>
</div>

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

<a id="dt-87166e43fbf124340934"></a>

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

> <a id="dt-3f3689d7aea96f4fd6de"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-071415434610b124f74a"></a>
>
> **Item 1**
>
> > <div id="dt-3b82f0f1963e460b73e5">
> > <p style="white-space: pre-wrap">The first cell defines the accessory detection pin, zero will use MICDET1 and 0x2000 will use MICDET2.</p>
> > </div>
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-cbde998ef4e44b66748e"></a> <span id="dt-52d516a3cc765abdb501"><code>0</code></span>, <span id="dt-f7b0d457e08ce7568cf4"><code>8192</code></span>
>
> <a id="dt-a26d78b5f389bbe64abf"></a>
>
> **Item 2**
>
> > <div id="dt-570ea0d5edb9acf00cca">
> > <p style="white-space: pre-wrap">The second cell represents the MICBIAS to be used. Zero will use MICVDD, 1-3 will use MICBIASx.</p>
> > </div>
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-26f56667f93e1cf08f4c"><code>0</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-9c9b96f612d229ca9abc"><code>3</code></span>
>
> <a id="dt-857430dc75202efc4838"></a>
>
> **Item 3**
>
> > <div id="dt-2c941afc715f35c5c29f">
> > <p style="white-space: pre-wrap">The third cell represents the value of the micd-pol-gpio pin.</p>
> > </div>
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-65b91bb11cc0c50fe7c4"><code>0</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-9522a1f6dda80676e1b5"><code>1</code></span>

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

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

<div id="dt-6326f8715a98753aa34d">
<p style="white-space: pre-wrap">Settings for the general purpose switch, set as one of the ARIZONA_GPSW_XXX defines.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ba0ae6439ad65da2137e">[<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-7974cd73e520c82ee2f9"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-807aedacd935b4d7c8ed"><code>3</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>
