# Analog Devices AD7173 ADC

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

> Device-tree binding reference for Analog Devices AD7173 ADC.

<!-- SPDX-License-Identifier: (GPL-2.0 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;ad7173&#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;Ceclan Dumitru &#60;dumitru&#46;ceclan&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Analog Devices AD717x ADC's:
The AD717x family offer a complete integrated Sigma-Delta ADC solution which
can be used in high precision, low noise single channel applications
(Life Science measurements) or higher speed multiplexed applications
(Factory Automation PLC Input modules). The Sigma-Delta ADC is intended
primarily for measurement of signals close to DC but also delivers
outstanding performance with input bandwidths out to ~10kHz.</p>
<p style="white-space: pre-wrap">Analog Devices AD411x ADC's:
The AD411X family encompasses a series of low power, low noise, 24-bit,
sigma-delta analog-to-digital converters that offer a versatile range of
specifications. They integrate an analog front end suitable for processing
fully differential/single-ended and bipolar voltage inputs.</p>
<pre><code>Datasheets for supported chips:
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD4111.pdf
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD4112.pdf
  &lt;AD4113: not released yet&gt;
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD4114.pdf
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD4115.pdf
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD4116.pdf
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD7172-2.pdf
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD7172-4.pdf
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD7173-8.pdf
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD7175-2.pdf
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD7175-8.pdf
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD7176-2.pdf
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD7177-2.pdf</code></pre>
</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;ad4111&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;ad4112&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;adi&#44;ad4113&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;adi&#44;ad4114&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;adi&#44;ad4115&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;adi&#44;ad4116&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;adi&#44;ad7172&#45;2&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;adi&#44;ad7172&#45;4&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;adi&#44;ad7173&#45;8&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;adi&#44;ad7175&#45;2&#34;</code></span>, <span id="dt-70e866729f00cfce3510"><code>&#34;adi&#44;ad7175&#45;8&#34;</code></span>, <span id="dt-81f973819a6dd2302321"><code>&#34;adi&#44;ad7176&#45;2&#34;</code></span>, <span id="dt-e5cbf931a6c5d40231a9"><code>&#34;adi&#44;ad7177&#45;2&#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-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">Ready: multiplexed with SPI data out. While SPI CS is low,
> can be used to indicate the completion of a conversion.</p>
> </div>

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

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">Error: The three error bits in the status register (ADC_ERROR, CRC_ERROR,
> and REG_ERROR) are OR'ed, inverted, and mapped to the ERROR pin.
> Therefore, the ERROR pin indicates that an error has occurred.</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>

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

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;rdy&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;err&#34;</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-03a3b4f56bf191dde680"></a>

### <code>spi&#45;max&#45;frequency</code> — not listed as required here

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

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

### <code>gpio&#45;controller</code> — not listed as required here

<div id="dt-5168d714e593428371b8">
<p style="white-space: pre-wrap">Marks the device node as a GPIO controller.</p>
</div>

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

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

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">The first cell is the GPIO number and the second cell specifies GPIO flags, as defined in &lt;dt-bindings/gpio/gpio.h&gt;.</p>
</div>

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

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

<div id="dt-f9c8a721f6889569bcad">
<p style="white-space: pre-wrap">Differential external reference supply used for conversion. The reference
voltage (Vref) specified here must be the voltage difference between the
REF+ and REF- pins: Vref = (REF+) - (REF-).</p>
</div>

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

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

<div id="dt-a7af6ba2437ec4d42e73">
<p style="white-space: pre-wrap">Differential external reference supply used for conversion. The reference
voltage (Vref2) specified here must be the voltage difference between the
REF2+ and REF2- pins: Vref2 = (REF2+) - (REF2-).</p>
</div>

<a id="dt-14397a69ba55f41119c5"></a>

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

<div id="dt-c928412db05126ef65e3">
<p style="white-space: pre-wrap">Avdd supply, can be used as reference for conversion. This supply is referenced to AVSS, voltage specified here represents (AVDD1 - AVSS).</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 supply, used as the input to the internal voltage regulator. This supply is referenced to AVSS, voltage specified here represents (AVDD2 - AVSS).</p>
</div>

<a id="dt-79d466fdcccc88d28b5b"></a>

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

<div id="dt-2944c46a7e888b63a216">
<p style="white-space: pre-wrap">iovdd supply, used for the chip digital interface.</p>
</div>

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

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Optional external clock source. Can include one clock source: external
clock or external crystal.</p>
</div>

<a id="dt-041d7cd76b652a5de06a"></a>

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

**Allowed values (<code>enum</code>):** <a id="dt-1867ab15174af1c2753f"></a> <span id="dt-b867c4484db0762649fe"><code>&#34;ext&#45;clk&#34;</code></span>, <span id="dt-33bb158b0dfde511ea76"><code>&#34;xtal&#34;</code></span>

<a id="dt-7471877b51a93881192b"></a>

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

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

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

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

<div id="dt-295a48021a1bd8398484">
<p style="white-space: pre-wrap">GPIO reading the R̅D̅Y̅ line. Having such a GPIO is technically optional but highly recommended because DOUT/R̅D̅Y̅ toggles during SPI transfers (in its DOUT aka MISO role) and so usually triggers a spurious interrupt. The distinction between such a spurious event and a real one can only be done by reading such a GPIO. (There is a register telling the same information, but accessing that one needs a SPI transfer which then triggers another interrupt event.)</p>
</div>

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

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

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-27acee23cc96e8b374fd"></a>

### <code>&#94;channel&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6210368e468940a3b88f">[<code>adc&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-iio/adc/adc.md#dt-root>)</span>

<a id="dt-32e0cd360bb661224f88"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-79d96182bf8928214577"></a>

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

<a id="dt-98ff2d5ed519ef7de84d"></a>

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

**Minimum value (<code>minimum</code>):** <span id="dt-9f2c53514100a2bc0554"><code>0</code></span>

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

<a id="dt-10eac8102d8788258df8"></a>

**<code>diff&#45;channels</code> — not listed as required here**

<div id="dt-ba37c2f22caa2a686971">
<p style="white-space: pre-wrap">This property is used for defining the inputs of a differential
voltage channel. The first value is the positive input and the second
value is the negative input of the channel.</p>
<pre><code>Family AD411x supports a dedicated VINCOM voltage input.
To select it set the second channel to 16.
  (VIN2, VINCOM) -&gt; diff-channels = &lt;2 16&gt;</code></pre>
<pre><code>There are special values that can be selected besides the voltage
analog inputs:
  21: REF+
  22: REF−</code></pre>
<pre><code>Supported only by AD7172-2, AD7172-4, AD7175-2, AD7175-8, AD7177-2,
must be paired together and can be used to monitor the power supply
of the ADC:
  19: ((AVDD1 − AVSS)/5)+
  20: ((AVDD1 − AVSS)/5)−</code></pre>
</div>

<a id="dt-1727bf0c0ae25490b6c0"></a>

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

> **Minimum value (<code>minimum</code>):** <span id="dt-b125650ce2afdf0c8fd3"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-0a9620c6a7337bf77f46"><code>31</code></span>

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

**<code>single&#45;channel</code> — not listed as required here**

<div id="dt-55ac651c8b53fbee2f28">
<p style="white-space: pre-wrap">This property is used for defining a current channel or the positive
input of a voltage channel (single-ended or pseudo-differential).</p>
<pre><code>Models AD4111 and AD4112 support current channels.
  Example: (IIN2+, IIN2−) -&gt; single-channel = &lt;2&gt;
To correctly configure a current channel set the "adi,current-channel"
property to true.</code></pre>
<p style="white-space: pre-wrap">To configure a single-ended/pseudo-differential channel set the
"common-mode-channel" property to the desired negative voltage input.</p>
<p style="white-space: pre-wrap">When used as a voltage channel, special inputs are valid as well.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-ccb14affef305bbbf4e0"><code>0</code></span>

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

<a id="dt-51e8f0b067c4bb68dc04"></a>

**<code>common&#45;mode&#45;channel</code> — not listed as required here**

<div id="dt-d11527bae6f78f683c08">
<p style="white-space: pre-wrap">This property is used for defining the negative input of a single-ended or pseudo-differential voltage channel.
Special inputs are valid as well.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-164f32b4a053c8b08047"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-9468844514ef855514c4"><code>31</code></span>

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

**<code>adi&#44;reference&#45;select</code> — not listed as required here**

<div id="dt-409dc8f185b793b8f727">
<p style="white-space: pre-wrap">Select the reference source to use when converting on
the specific channel. Valid values are:
vref       : REF+  /REF−
vref2      : REF2+ /REF2−
refout-avss: REFOUT/AVSS (Internal reference)
avdd       : AVDD  /AVSS</p>
<p style="white-space: pre-wrap">External reference ref2 only available on ad7173-8 and ad7172-4.
Internal reference refout-avss not available on ad7172-4.</p>
<p style="white-space: pre-wrap">If not specified, internal reference used (if available).</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-dd7b98b10e7df6e05725"></a> <span id="dt-24ab367595e4e6b9d2d4"><code>&#34;vref&#34;</code></span>, <span id="dt-a54f6f952483e437cc27"><code>&#34;vref2&#34;</code></span>, <span id="dt-99903a41d0c6e0a6302c"><code>&#34;refout&#45;avss&#34;</code></span>, <span id="dt-e1f9cde80b96d3282cd9"><code>&#34;avdd&#34;</code></span>

**Default value (<code>default</code>):** <span id="dt-acc316396f29645af354"><code>&#34;refout&#45;avss&#34;</code></span>

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

**<code>adi&#44;current&#45;channel</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0ae6e241aa64f5b5d45c">[<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-43d6e0f22e27ae4c5c20">
<p style="white-space: pre-wrap">Signal that the selected inputs are current channels.
Only available on AD4111 and AD4112.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-b47eeb21b2fd55cf4268"></a> <span id="dt-f32f8764bc640d222252"><code>&#34;reg&#34;</code></span>

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

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

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

**Rule 1**

> <a id="dt-5bfd99c767ae49c185b3"></a>
>
> **Exactly one of these rules must match (<code>oneOf</code>)**
>
> <a id="dt-c2bd59e61e77459dd11f"></a>
>
> **Rule 1**
>
> > **Required in this object (<code>required</code>):** <a id="dt-db871a49f1b2da72dec6"></a> <span id="dt-b9ab8cfad50c8acb6506"><code>&#34;single&#45;channel&#34;</code></span>
> >
> > <a id="dt-f000000cef17114ac1e0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e15b2b7fc9851797a7bc"></a>
> >
> > **<code>diff&#45;channels</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-f65a1065ce748dd8444f"></a>
>
> **Rule 2**
>
> > **Required in this object (<code>required</code>):** <a id="dt-3e68463b85478010b4e9"></a> <span id="dt-e6b956b01b6bf0c54baf"><code>&#34;diff&#45;channels&#34;</code></span>
> >
> > <a id="dt-5dd444a0c623faf66dda"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-685b9cbd02a30ad36f9f"></a>
> >
> > **<code>single&#45;channel</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-b3aeaaa3958e9ed6649c"></a>
> >
> > **<code>adi&#44;current&#45;channel</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-b70a770af707999ec51c"></a>
> >
> > **<code>common&#45;mode&#45;channel</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

**Rule 2**

> <a id="dt-a7fbd68500d0ec3292d5"></a>
>
> **Condition (<code>if</code>)**
>
> > **Required in this object (<code>required</code>):** <a id="dt-e1c695957f5c6e3267c2"></a> <span id="dt-c95d9b3410ae20b15e3e"><code>&#34;common&#45;mode&#45;channel&#34;</code></span>
>
> <a id="dt-28a408f61c4b95278a8f"></a>
>
> **When the condition matches (<code>then</code>)**
>
> > <a id="dt-d78ea1baa962044cdf9d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-1fce1c0355b4d47a0d67"></a>
> >
> > **<code>adi&#44;current&#45;channel</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

<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>&#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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d0559b738dfb5061864d"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-cc4f6e3ceb73f2aa80a7"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-bf8b82f0eb6dc532de42"></a> <span id="dt-5c0d3248d1f99a611a36"><code>&#34;adi&#44;ad7172&#45;4&#34;</code></span>, <span id="dt-97f0a0033e9a0b0c0982"><code>&#34;adi&#44;ad7173&#45;8&#34;</code></span>, <span id="dt-11e682cc8cd19bebd416"><code>&#34;adi&#44;ad7175&#45;8&#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-8f9441841f0fb8434875"></a>
> >
> > **<code>vref2&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-8b91e530d80f7cc46df3"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-8d0ecf0f4d8ec00b5f91"></a>
> >
> > **<code>&#94;channel&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-f44e07692ee5bd533546"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-31c3388a493885b148d5"></a>
> >
> > **<code>adi&#44;reference&#45;select</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-cddaf6f7f78449175b7a"></a> <span id="dt-e7c36f5356ae543325d7"><code>&#34;vref&#34;</code></span>, <span id="dt-207655f1e60318145e49"><code>&#34;refout&#45;avss&#34;</code></span>, <span id="dt-31c32e950f97d5285d6c"><code>&#34;avdd&#34;</code></span>

<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;ad4114&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;adi&#44;ad4115&#34;</code></span>, <span id="dt-d1d620265d00d6403d17"><code>&#34;adi&#44;ad4116&#34;</code></span>, <span id="dt-3d53ff488bbaf861c416"><code>&#34;adi&#44;ad7173&#45;8&#34;</code></span>, <span id="dt-db5cf6fc727bcff46a28"><code>&#34;adi&#44;ad7175&#45;8&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-c8fcd31065f7e965d191"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-8b467812f9f3d9369856"></a>
> >
> > **<code>&#94;channel&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-b1b283ad5fcfbb8d93c5"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-c38f81c773ee8502b9ed"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-8b754aff4b65b72375af"><code>15</code></span>

<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;ad7172&#45;2&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;adi&#44;ad7175&#45;2&#34;</code></span>, <span id="dt-e937cad1333060d95a2c"><code>&#34;adi&#44;ad7176&#45;2&#34;</code></span>, <span id="dt-056d08a65205139bcaab"><code>&#34;adi&#44;ad7177&#45;2&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-9fff9961ce6722b392f4"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-7a93c16a90c468787c37"></a>
> >
> > **<code>&#94;channel&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-a9721f9ad8e15b55bb09"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-62e5940593661d111f0a"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-ec7b48db2aa658dc7d17"><code>3</code></span>

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

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-def647aea9878c3c7610"><code>&#34;adi&#44;ad7172&#45;4&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-71e2d872d02b2110c3db"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-05b1693e18cdb3c58723"></a>
> >
> > **<code>&#94;channel&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-781b88801a86079a4cd7"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-90bac3d6005f1c6d4579"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-7be0e4c5c861f005cd07"><code>7</code></span>
> >
> > <a id="dt-2c637b6e14fd289a7d5d"></a>
> >
> > **<code>adi&#44;reference&#45;select</code> — required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-597ea2932dd08a27ed28"></a> <span id="dt-dab4f5ac4bbf65e78b40"><code>&#34;vref&#34;</code></span>, <span id="dt-8f09738be4b1167a094a"><code>&#34;vref2&#34;</code></span>, <span id="dt-be013213850a64ff0b1e"><code>&#34;avdd&#34;</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-aac848589074ba49c32b"></a> <span id="dt-47d3a2990233c2adebd8"><code>&#34;adi&#44;reference&#45;select&#34;</code></span>

<a id="dt-51879ae9be030b28e888"></a>

### Rule 6

> <a id="dt-29f1a7d11303016de0fb"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-31db8c2b34419cd49333"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-049791ad441d801be5c0"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-b015f3429cf037cca578"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7fd3859f97987911f131"></a> <span id="dt-c7b90595f82e2304d5f1"><code>&#34;adi&#44;ad4111&#34;</code></span>, <span id="dt-8451738494e2188d25d3"><code>&#34;adi&#44;ad4112&#34;</code></span>, <span id="dt-64ab3ab027587ecff8c6"><code>&#34;adi&#44;ad4113&#34;</code></span>, <span id="dt-5fbb1b5e20dca0daacef"><code>&#34;adi&#44;ad4114&#34;</code></span>, <span id="dt-e34f6d10b660ac76eab4"><code>&#34;adi&#44;ad4115&#34;</code></span>, <span id="dt-d97ed723b86e6a68251d"><code>&#34;adi&#44;ad4116&#34;</code></span>
>
> <a id="dt-5d3814a6fa606b79b9a6"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-bc42d1cd066384e1f6fa"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-d2e623bd6740b7fcc9e2"></a>
> >
> > **<code>avdd2&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-60e5f24c7565f25c976f"></a>

### Rule 7

> <a id="dt-adc37659b18b744ffc21"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-d05034e35339a4228f73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-012adea3ff9b123e6012"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ef077bc990d5fde2f9e4"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-2c9e7962967ef9f5f7d7"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-704168c6d9dc67989dcd"></a> <span id="dt-bf504f237e4d64cae869"><code>&#34;adi&#44;ad4111&#34;</code></span>, <span id="dt-b6849f739f84284079e1"><code>&#34;adi&#44;ad4112&#34;</code></span>
>
> <a id="dt-53bae45a2e235a9fb120"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-832a620e992723bac15f"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-e117327e989938404f78"></a>
> >
> > **<code>&#94;channel&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-0b65c623b070446e49d0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-70d2ae97a43266cb4ee5"></a>
> >
> > **<code>adi&#44;current&#45;channel</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

### Rule 8

> <a id="dt-0dec882f901dbdd5da96"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-e57b31b87ee937a09b51"></a>
> >
> > **At least one of these rules must match (<code>anyOf</code>)**
> >
> > <a id="dt-3da84b4eb33689a199e5"></a>
> >
> > **Rule 1**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-1410bcbcdd54a21d2cb4"></a> <span id="dt-1f931658f0d632161394"><code>&#34;clock&#45;names&#34;</code></span>
> >
> > <a id="dt-f70b0f87eebd32da1f75"></a>
> >
> > **Rule 2**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-5e0962af7bea1e4bc311"></a> <span id="dt-1831d43d38450bf65ce5"><code>&#34;clocks&#34;</code></span>
>
> <a id="dt-f41b5086d105c7986c84"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-2c12b15fd025c8e34502"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bec99e138b2fc37c35d9"></a>
> >
> > **<code>&#35;clock&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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/interrupt-controller/irq.h&gt;

spi {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  adc@0 {
    compatible = "adi,ad7173-8";
    reg = &lt;0&gt;;

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    interrupts = &lt;25 IRQ_TYPE_EDGE_FALLING&gt;;
    interrupt-names = "rdy";
    interrupt-parent = &lt;&amp;gpio&gt;;
    spi-max-frequency = &lt;5000000&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    #clock-cells = &lt;0&gt;;

    vref-supply = &lt;&amp;dummy_regulator&gt;;

    channel@0 {
      reg = &lt;0&gt;;
      bipolar;
      diff-channels = &lt;0 1&gt;;
      adi,reference-select = "vref";
    };

    channel@1 {
      reg = &lt;1&gt;;
      diff-channels = &lt;2 3&gt;;
    };

    channel@2 {
      reg = &lt;2&gt;;
      bipolar;
      diff-channels = &lt;4 5&gt;;
    };

    channel@3 {
      reg = &lt;3&gt;;
      bipolar;
      diff-channels = &lt;6 7&gt;;
    };

    channel@4 {
      reg = &lt;4&gt;;
      diff-channels = &lt;8 9&gt;;
      adi,reference-select = "avdd";
    };
  };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><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,ad4111";
    reg = &lt;0&gt;;

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    interrupts = &lt;25 IRQ_TYPE_EDGE_FALLING&gt;;
    interrupt-names = "rdy";
    interrupt-parent = &lt;&amp;gpio&gt;;
    rdy-gpios = &lt;&amp;gpio 25 GPIO_ACTIVE_LOW&gt;;
    spi-max-frequency = &lt;5000000&gt;;
    gpio-controller;
    #gpio-cells = &lt;2&gt;;
    #clock-cells = &lt;0&gt;;

    channel@0 {
      reg = &lt;0&gt;;
      bipolar;
      diff-channels = &lt;4 5&gt;;
    };

    // Single ended channel VIN2/VINCOM
    channel@1 {
      reg = &lt;1&gt;;
      bipolar;
      single-channel = &lt;2&gt;;
      common-mode-channel = &lt;16&gt;;
    };

    // Current channel IN2+/IN2-
    channel@2 {
      reg = &lt;2&gt;;
      single-channel = &lt;2&gt;;
      adi,current-channel;
    };
  };
};
</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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2023 Analog Devices Inc.</span></p>

<p id="dt-comment-2"><strong>Line 265:</strong> <span> Only ad7172-4, ad7173-8 and ad7175-8 support vref2</span></p>

<p id="dt-comment-3"><strong>Line 320:</strong> <span> Model ad7172-4 does not support internal reference</span></p>

<p id="dt-comment-4"><strong>Line 380:</strong> <span> Example AD7173-8 with external reference connected to REF+/REF-:</span></p>

<p id="dt-comment-5"><strong>Line 437:</strong> <span> Example AD4111 with current channel and single-ended channel:</span></p>

</details>
