# Analog Devices Fast PulSAR Analog to Digital Converters

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Industrial I/O bindings / adc_

> Device-tree binding reference for Analog Devices Fast PulSAR Analog to Digital Converters.

<!-- 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;iio&#47;adc&#47;adi&#44;ad7625&#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;Michael Hennerich &#60;Michael&#46;Hennerich&#64;analog&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Nuno Sá &#60;nuno&#46;sa&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">A family of single channel differential analog to digital converters.</p>
<p style="white-space: pre-wrap">* https://www.analog.com/en/products/ad7625.html
* https://www.analog.com/en/products/ad7626.html
* https://www.analog.com/en/products/ad7960.html
* https://www.analog.com/en/products/ad7961.html</p>
</div>

<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;adi&#44;ad7625&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;ad7626&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;adi&#44;ad7960&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;adi&#44;ad7961&#34;</code></span>

<a id="dt-132dbce37f6069ffb57c"></a>

### <code>vdd1&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

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

### <code>vdd2&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

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

### <code>vio&#45;supply</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4faf4b7f743573e07a30"></a>

### <code>ref&#45;supply</code> — not listed as required here

<div id="dt-c7c35e0a020d29083f1f">
<p style="white-space: pre-wrap">Voltage regulator for the external reference voltage (REF).</p>
</div>

<a id="dt-84e2e3a75b9cc8ae2fc7"></a>

### <code>refin&#45;supply</code> — not listed as required here

<div id="dt-b738ecee2d7603dfe032">
<p style="white-space: pre-wrap">Voltage regulator for the reference buffer input (REFIN).</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">The clock connected to the CLK pins, gated by the clk_gate PWM.</p>
</div>

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

<a id="dt-4a7041c930b420fcb4d6"></a>

### <code>pwms</code> — required here

<a id="dt-4503f999eb97048f47e2"></a>

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

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

**Item 1**

> <div id="dt-727744102974b9d536ab">
> <p style="white-space: pre-wrap">PWM connected to the CNV input on the ADC.</p>
> </div>

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

**Item 2**

> <div id="dt-89854b1594ad6c139e22">
> <p style="white-space: pre-wrap">PWM that gates the clock connected to the ADC's CLK input.</p>
> </div>

<a id="dt-03eb1854b27f5f0caf31"></a>

### <code>pwm&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-44b5d566d75b7031ec14"><code>&#34;cnv&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-80482d1badbc22a1fd24"><code>&#34;clk&#95;gate&#34;</code></span>

<a id="dt-81e7883eee239039c608"></a>

### <code>io&#45;backends</code> — required here

<div id="dt-b5aa1aba466d3f07bf64">
<p style="white-space: pre-wrap">The AXI ADC IP block connected to the D+/- and DCO+/- lines of the ADC. An example backend can be found at http://analogdevicesinc.github.io/hdl/projects/pulsar_lvds/index.html.</p>
</div>

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

<a id="dt-461bd10369b96f35b138"></a>

### <code>adi&#44;no&#45;dco</code> — not listed as required here

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

<div id="dt-312852ebb8073c90ca38">
<p style="white-space: pre-wrap">Indicates the wiring of the DCO+/- lines. If true, then they are grounded and the device is in self-clocked mode. If this is not present, then the device is in echoed clock mode.</p>
</div>

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

### <code>adi&#44;en0&#45;always&#45;on</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-599a4a5df2784a2de7be">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-ed63b715c638aedd2961">
<p style="white-space: pre-wrap">Indicates if EN0 is hard-wired to the high state. If neither this nor en0-gpios are present, then EN0 is hard-wired low.</p>
</div>

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

### <code>adi&#44;en1&#45;always&#45;on</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6c5633ae5ff244a2adce">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-997a00ff921ca015df22">
<p style="white-space: pre-wrap">Indicates if EN1 is hard-wired to the high state. If neither this nor en1-gpios are present, then EN1 is hard-wired low.</p>
</div>

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

### <code>adi&#44;en2&#45;always&#45;on</code> — not listed as required here

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

<div id="dt-2a6dd97936d49e370e0a">
<p style="white-space: pre-wrap">Indicates if EN2 is hard-wired to the high state. If neither this nor en2-gpios are present, then EN2 is hard-wired low.</p>
</div>

<a id="dt-4ac1522485faa9f1f2b5"></a>

### <code>adi&#44;en3&#45;always&#45;on</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9486990da404bb8d6b3e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-227c68ecf52cb90a3a5a">
<p style="white-space: pre-wrap">Indicates if EN3 is hard-wired to the high state. If neither this nor en3-gpios are present, then EN3 is hard-wired low.</p>
</div>

<a id="dt-89348746a4eb62ee879a"></a>

### <code>en0&#45;gpios</code> — not listed as required here

<div id="dt-447fcd11b2055d25e987">
<p style="white-space: pre-wrap">Configurable EN0 pin.</p>
</div>

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

### <code>en1&#45;gpios</code> — not listed as required here

<div id="dt-0630e74b456ee7213e30">
<p style="white-space: pre-wrap">Configurable EN1 pin.</p>
</div>

<a id="dt-6f41657073f561eb3b0d"></a>

### <code>en2&#45;gpios</code> — not listed as required here

<div id="dt-dd92dd164956437ae68e">
<p style="white-space: pre-wrap">Configurable EN2 pin.</p>
</div>

<a id="dt-5fd0d3421299d4d6feb9"></a>

### <code>en3&#45;gpios</code> — not listed as required here

<div id="dt-bc355d8d57fadee21ece">
<p style="white-space: pre-wrap">Configurable EN3 pin.</p>
</div>

**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;vdd1&#45;supply&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;vdd2&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vio&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;pwms&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;pwm&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;io&#45;backends&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-8562362a36ebdbb1ff2a"></a> <span id="dt-31d648f7705dc578c2d6"><code>&#34;ref&#45;supply&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-92145748c76cdea4aa11"></a>
> >
> > **<code>refin&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-5f135e3db8ef1aa53700"></a> <span id="dt-0164887f025a095456fa"><code>&#34;refin&#45;supply&#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-a209ff45b8546b22a9e4"></a>
> >
> > **<code>ref&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;adi&#44;ad7625&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;adi&#44;ad7626&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-3744aa78fdbf2c2123b8"></a>
> >
> > **<code>en2&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-907e3437466107910368"></a>
> >
> > **<code>en3&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-81b1f94ed051eb71d9fc"></a>
> >
> > **<code>adi&#44;en2&#45;always&#45;on</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-db34e76c2004da960d8f"></a>
> >
> > **<code>adi&#44;en3&#45;always&#45;on</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;adi&#44;ad7960&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;adi&#44;ad7961&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-04f4f18b63970098d4f8"></a>
> >
> > **Exactly one of these rules must match (<code>oneOf</code>)**
> >
> > <a id="dt-c67263bafd3213bb48ab"></a>
> >
> > **Rule 1**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-3c466e0ea5cfeedf138a"></a> <span id="dt-4e48dc202542bd2e578e"><code>&#34;ref&#45;supply&#34;</code></span>
> >
> > <a id="dt-650ca9993f2d78d792fa"></a>
> >
> > **Rule 2**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-0660ef83dbc89dc0b6b7"></a> <span id="dt-06c88bf9ee2ef7ddb64d"><code>&#34;refin&#45;supply&#34;</code></span>

<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;
adc {
    compatible = "adi,ad7625";
    vdd1-supply = &lt;&amp;supply_5V&gt;;
    vdd2-supply = &lt;&amp;supply_2_5V&gt;;
    vio-supply = &lt;&amp;supply_2_5V&gt;;
    io-backends = &lt;&amp;axi_adc&gt;;
    clocks = &lt;&amp;ref_clk&gt;;
    pwms = &lt;&amp;axi_pwm_gen 0 0&gt;, &lt;&amp;axi_pwm_gen 1 0&gt;;
    pwm-names = "cnv", "clk_gate";
    en0-gpios = &lt;&amp;gpio0 86 GPIO_ACTIVE_HIGH&gt;;
    en1-gpios = &lt;&amp;gpio0 87 GPIO_ACTIVE_HIGH&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 155:</strong> <span> ad796x parts must have one of the two supplies</span></p>

</details>
