# Analog Devices AD777X family 8-Channel, 24-Bit, Simultaneous Sampling ADCs

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

> Device-tree binding reference for Analog Devices AD777X family 8-Channel, 24-Bit, Simultaneous Sampling ADCs.

<!-- 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;ad7779&#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;Ramona Nechita &#60;ramona&#46;nechita&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The AD777X family consist of 8-channel, simultaneous sampling analog-to-
digital converter (ADC). Eight full Σ-Δ ADCs are on-chip. The
AD7771 provides an ultralow input current to allow direct sensor
connection. Each input channel has a programmable gain stage
allowing gains of 1, 2, 4, and 8 to map lower amplitude sensor
outputs into the full-scale ADC input range, maximizing the
dynamic range of the signal chain.</p>
<p style="white-space: pre-wrap">https://www.analog.com/media/en/technical-documentation/data-sheets/ad7770.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7771.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7779.pdf</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.md#dt-root>)</span>

<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;ad7770&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;ad7771&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;adi&#44;ad7779&#34;</code></span>

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

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

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

<a id="dt-2efe70314a961a652abe"></a>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

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

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

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

<div id="dt-60ed9cdbf20f03403bc6">
<p style="white-space: pre-wrap">Front-End analog supply AVDD1. Can be used as conversion ref.</p>
</div>

<a id="dt-2dd37a7f1bdf5015f753"></a>

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

<div id="dt-518898891766b3bb5ce9">
<p style="white-space: pre-wrap">AVDD2 Analog Supply from 2.2 V to 3.6 V.</p>
</div>

<a id="dt-080b3dd8fa7a182cb76c"></a>

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

<div id="dt-dadc744ae867023e34a3">
<p style="white-space: pre-wrap">AVDD4 SAR Analog Supply and Reference Source.</p>
</div>

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

### <code>interrupts</code> — not listed as required here

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">adc_rdy: Interrupt line for DRDY signal which indicates the end of
> conversion independently of the interface selected to read back the
> Σ-∆ conversion.</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">Alert: The chip includes self diagnostic features to guarantee the
> correct operation. If an error is detected, the ALERT pin is pulled
> high to generate an external interruption to the controller.</p>
> </div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — not listed as required here

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

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

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

> **Allowed values (<code>enum</code>):** <a id="dt-5db41c6b97ee97a03ba4"></a> <span id="dt-740be24d54c040792aec"><code>&#34;adc&#95;rdy&#34;</code></span>, <span id="dt-6c9c7b9c30651175ddeb"><code>&#34;alert&#34;</code></span>

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

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

<div id="dt-b404080e0841f1b65d3f">
<p style="white-space: pre-wrap">Pin that controls start synchronization pulse.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-0cd8672d478720a72017"><code>1</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-81e7883eee239039c608"></a>

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

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

<a id="dt-19585287be8008791b6a"></a>

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

<div id="dt-e4a5b8b20fa78022c089">
<p style="white-space: pre-wrap">Number of lanes on which the data is sent on the output when the data output interface is used.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2e5faa6d47225e92d70d">[<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-4af14522e8a9edad9d41"></a> <span id="dt-c0fc81ace23804f35748"><code>1</code></span>, <span id="dt-26a21271eedb02ed235d"><code>2</code></span>, <span id="dt-9128d03ffe2d548c043f"><code>4</code></span>

**Default value (<code>default</code>):** <span id="dt-545162b00b721668270c"><code>4</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#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>)
>
> > <a id="dt-17723ad0bbc7f42a3e70"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-c545a6526f92d5809228"></a> <span id="dt-b34296239384360387bf"><code>&#34;io&#45;backends&#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-37568c4f3c7fd06a11be"></a>
> >
> > **<code>adi&#44;num&#45;lanes</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-51356188806d31ca2021"></a>

## Exactly one of these rules must match (<code>oneOf</code>)

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

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-48cc38ffec184df79a62"></a> <span id="dt-bbd3b687ebb435349af2"><code>&#34;interrupts&#34;</code></span>

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

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-686ce4562589647d257c"></a> <span id="dt-8060cb7221f215eec82f"><code>&#34;io&#45;backends&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    adc@0 {
      compatible = "adi,ad7779";
      reg = &lt;0&gt;;
      start-gpios = &lt;&amp;gpio0 87 GPIO_ACTIVE_LOW&gt;;
      reset-gpios = &lt;&amp;gpio0 93 GPIO_ACTIVE_LOW&gt;;
      interrupt-parent = &lt;&amp;intc&gt;;
      interrupts = &lt;0 56 IRQ_TYPE_LEVEL_HIGH&gt;;
      interrupt-names = "adc_rdy";
      clocks = &lt;&amp;adc_clk&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;
spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    adc@0 {
      compatible = "adi,ad7779";
      reg = &lt;0&gt;;
      start-gpios = &lt;&amp;gpio0 87 GPIO_ACTIVE_LOW&gt;;
      reset-gpios = &lt;&amp;gpio0 93 GPIO_ACTIVE_LOW&gt;;
      clocks = &lt;&amp;adc_clk&gt;;
      io-backends = &lt;&amp;iio_backend&gt;;
      adi,num-lanes = &lt;4&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>

</details>
