# Analog Devices AD7606 Simultaneous Sampling ADC

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

> Device-tree binding reference for Analog Devices AD7606 Simultaneous Sampling ADC.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;ad7606&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Analog Devices AD7606 Simultaneous Sampling ADC
https://www.analog.com/media/en/technical-documentation/data-sheets/AD7605-4.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-16.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-18.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7607.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7608.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7609.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/AD7616.pdf</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;ad7605&#45;4&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;ad7606&#45;4&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;adi&#44;ad7606&#45;6&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;adi&#44;ad7606&#45;8&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;adi&#44;ad7606b&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;adi&#44;ad7606c&#45;16&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;adi&#44;ad7606c&#45;18&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;adi&#44;ad7607&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;adi&#44;ad7608&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;adi&#44;ad7609&#34;</code></span>, <span id="dt-70e866729f00cfce3510"><code>&#34;adi&#44;ad7616&#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-9a37fa576e1a5095cf90"></a>

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

<div id="dt-d3e55122941545c59869">
<p style="white-space: pre-wrap">Cell indicates the output signal: 0 = BUSY, 1 = FIRSTDATA.</p>
<p style="white-space: pre-wrap">For convenience, macros for these values are available in
dt-bindings/iio/adc/adi,ad7606.h.</p>
</div>

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

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

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

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

<a id="dt-27851c8ce8d41152ef35"></a>

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

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

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

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

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

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

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

<div id="dt-e6573245ee1c7650d14e">
<p style="white-space: pre-wrap">Determines the voltage level at which the interface logic pins will operate.</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">The voltage supply for optional external reference voltage.</p>
</div>

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The BUSY pin falling edge indicates that the conversion is over, and thus new data is available.</p>
</div>

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

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

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

<div id="dt-b20b90df6a459fd580e1">
<p style="white-space: pre-wrap">Must be the device tree identifier of the CONVST pin(s). This logic input is used to initiate conversions on the analog input channels. As the line is active high, it should be marked GPIO_ACTIVE_HIGH.</p>
</div>

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

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

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

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

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">Must be the device tree identifier of the RESET pin. If specified, it will be asserted during driver probe. On the AD7606x, as the line is active high, it should be marked GPIO_ACTIVE_HIGH. On the AD7616, as the line is active low, it should be marked GPIO_ACTIVE_LOW.</p>
</div>

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

<a id="dt-04a7408a72e67d08e59b"></a>

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

<div id="dt-c4b8ace5ebc63cb590d5">
<p style="white-space: pre-wrap">Must be the device tree identifier of the STBY pin. This pin is used to place the AD7606 into one of two power-down modes, Standby mode or Shutdown mode. As the line is active low, it should be marked GPIO_ACTIVE_LOW.</p>
</div>

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

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

### <code>adi&#44;first&#45;data&#45;gpios</code> — not listed as required here

<div id="dt-50c2e50adff728098a80">
<p style="white-space: pre-wrap">Must be the device tree identifier of the FRSTDATA pin. The FRSTDATA output indicates when the first channel, V1, is being read back on either the parallel, byte or serial interface. As the line is active high, it should be marked GPIO_ACTIVE_HIGH.</p>
</div>

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

<a id="dt-3874c57df1eb3ae7cb55"></a>

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

<div id="dt-ad0fae1405417fa55db9">
<p style="white-space: pre-wrap">Must be the device tree identifier of the RANGE pin. The state on this pin determines the input range of the analog input channels. If this pin is tied to a logic high, the analog input range is ±10V for all channels. On the AD760X, if this pin is tied to a logic low, the analog input range is ±5V for all channels. As the line is active high, it should be marked GPIO_ACTIVE_HIGH. On the AD7616, there are 2 pins, and if the 2 pins are tied to a logic high, software mode is enabled, otherwise one of the 3 possible range values is selected.</p>
</div>

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

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

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

### <code>adi&#44;oversampling&#45;ratio&#45;gpios</code> — not listed as required here

<div id="dt-be29b4078ca872650dda">
<p style="white-space: pre-wrap">Must be the device tree identifier of the over-sampling mode pins. As the line is active high, it should be marked GPIO_ACTIVE_HIGH. On the AD7606X parts that support it, if all 3 pins are tied to a logic high, software mode is enabled.</p>
</div>

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

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

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

<div id="dt-40f1a24283a64730f1c3">
<p style="white-space: pre-wrap">Software mode of operation, so far available only for AD7616 and AD7606B. It is enabled when all three oversampling mode pins are connected to high level for the AD7606B, or both the range selection are connected to high level for the AD7616. The device is configured by the corresponding registers. If the adi,oversampling-ratio-gpios property is defined, then the driver will set the oversampling gpios to high. Otherwise, it is assumed that the pins are hardwired to VDD.</p>
</div>

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

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

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

<div id="dt-901b3170f60b32ff98e9">
<p style="white-space: pre-wrap">In case the conversion is triggered by a PWM instead of a GPIO plugged to the CONVST pin, the PWM must be referenced. The first is the PWM connected to CONVST or CONVST1 for the chips with the 2nd PWM connected to CONVST2, if CONVST2 is available and not shorted to CONVST1.</p>
</div>

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

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

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

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

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

<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;convst1&#34;</code></span>

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

**Item 2**

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

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

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

<div id="dt-b5aa1aba466d3f07bf64">
<p style="white-space: pre-wrap">A reference to the iio-backend, which is responsible handling the BUSY pin's falling edge and communication. An example of backend can be found at http://analogdevicesinc.github.io/hdl/library/axi_ad7606x/index.html</p>
</div>

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

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

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

### <code>&#94;channel&#64;&#91;1&#45;8&#93;&#36;</code> — name matches this regular expression

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

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

<a id="dt-7ea719f489a0f48cd80e"></a>

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

<code>false</code>

Not allowed by this rule.

<a id="dt-738469773f813a1e9b10"></a>

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

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

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

<div id="dt-fdd2b9f0dbb2c98abe08">
<p style="white-space: pre-wrap">The channel number, as specified in the datasheet (from 1 to 8).</p>
</div>

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

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

<a id="dt-39a623e2c0cd240fbdab"></a>

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

<div id="dt-10d26f94e02f9781b274">
<p style="white-space: pre-wrap">Each channel can be configured as a bipolar differential channel. The ADC uses the same positive and negative inputs for this. This property must be specified as 'reg' (or the channel number) for both positive and negative inputs (i.e. diff-channels = &lt;reg reg&gt;). Since the configuration is bipolar differential, the 'bipolar' property is required.</p>
</div>

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

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

> **Minimum value (<code>minimum</code>):** <span id="dt-5ab17320c79be663aeef"><code>1</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-00ab472c5b612ff6cb07"><code>8</code></span>

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

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

<div id="dt-e66448751e6b25265144">
<p style="white-space: pre-wrap">The ADC channels can be configured as * Bipolar single-ended * Unipolar single-ended * Bipolar differential Therefore in the DT, if no channel node is specified, it is considered 'unipolar single-ended'. So for the other configurations the 'bipolar' property must be specified. If 'diff-channels' is specified, it is considered a bipolar differential channel. Otherwise it is bipolar single-ended.</p>
</div>

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

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

<div id="dt-e48a9a4a1e1892af5d44">
<p style="white-space: pre-wrap">For ADCs that supports gain calibration, this property must be set to the value of the external RFilter resistor. Proper gain error correction is applied based on this value.</p>
</div>

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

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

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

**Required in this object (<code>required</code>):** <a id="dt-90f06f7c1f9f2d5d7f0c"></a> <span id="dt-43d220f511609b7b1269"><code>&#34;reg&#34;</code></span>, <span id="dt-6a22e6384d6f116b22d5"><code>&#34;bipolar&#34;</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;avcc&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vdrive&#45;supply&#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-36225154b4523791bda5"></a>
>
> #### Exactly one of these rules must match (<code>oneOf</code>)
>
> <a id="dt-39f7ea7fabdcfc81c2b3"></a>
>
> **Rule 1**
>
> > **Required in this object (<code>required</code>):** <a id="dt-3f24f8a7d8d9e24f13d4"></a> <span id="dt-9075baf5207b98579182"><code>&#34;adi&#44;conversion&#45;start&#45;gpios&#34;</code></span>
>
> <a id="dt-3809802bf90718835b86"></a>
>
> **Rule 2**
>
> > **Required in this object (<code>required</code>):** <a id="dt-0d5241c31ed37a964e3e"></a> <span id="dt-403ac36900153e6e59aa"><code>&#34;pwms&#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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;adi&#44;ad7616&#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-4199742132a1ecee131d"></a>
> >
> > **<code>adi&#44;first&#45;data&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-340f7a48b11e6c882b2b"></a>
> >
> > **<code>standby&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-cf1f18137f813d539ed7"></a>
> >
> > **<code>adi&#44;range&#45;gpios</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-69696dcd617da4a9d472"><code>2</code></span>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-07b6fb14b13122dd6ee0"></a>
> >
> > **<code>adi&#44;range&#45;gpios</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-3048424b8a6762e2033b"><code>1</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;ad7605&#45;4&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;adi&#44;ad7616&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-5ce718309d75d507ec0d"></a>
> >
> > **<code>adi&#44;oversampling&#45;ratio&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-f6f7348eb6a3f6a0c1d3"></a> <span id="dt-e23119600ac866295534"><code>&#34;adi&#44;ad7605&#45;4&#34;</code></span>, <span id="dt-394f4c36882e88052506"><code>&#34;adi&#44;ad7606&#45;4&#34;</code></span>, <span id="dt-95e59d4b4fc4dc8444e1"><code>&#34;adi&#44;ad7606&#45;6&#34;</code></span>, <span id="dt-1690cc8817b19888354c"><code>&#34;adi&#44;ad7606&#45;8&#34;</code></span>, <span id="dt-9ab9b547d9880bdef7d4"><code>&#34;adi&#44;ad7607&#34;</code></span>, <span id="dt-c25339ed39a84d965f7c"><code>&#34;adi&#44;ad7608&#34;</code></span>, <span id="dt-993e0fa7273153049cc5"><code>&#34;adi&#44;ad7609&#34;</code></span>, <span id="dt-c1e49841333afa57a254"><code>&#34;adi&#44;ad7616&#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-dd89c1b61b74df516ae4"></a>
> >
> > **<code>&#94;channel&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-e8e028db38968e5dffcb"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-38d14c4935f12aa5a700"></a>
> >
> > **<code>adi&#44;rfilter&#45;ohms</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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;ad7605&#45;4&#34;</code></span>, <span id="dt-8451738494e2188d25d3"><code>&#34;adi&#44;ad7606&#45;4&#34;</code></span>, <span id="dt-64ab3ab027587ecff8c6"><code>&#34;adi&#44;ad7606&#45;6&#34;</code></span>, <span id="dt-5fbb1b5e20dca0daacef"><code>&#34;adi&#44;ad7606&#45;8&#34;</code></span>, <span id="dt-e34f6d10b660ac76eab4"><code>&#34;adi&#44;ad7607&#34;</code></span>, <span id="dt-d97ed723b86e6a68251d"><code>&#34;adi&#44;ad7608&#34;</code></span>, <span id="dt-50bf008de80faf0960cf"><code>&#34;adi&#44;ad7609&#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-55b86aadc68d303da1a7"></a>
> >
> > **<code>adi&#44;sw&#45;mode</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-12993a33272d9cd90990"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-88eb81ccba2edad81b56"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bc53be937f5d3cab4a5c"></a>
> >
> > **<code>pwms</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-638bf219753b73e167d8"><code>1</code></span>
> >
> > <a id="dt-c1a9d6289cadce148760"></a>
> >
> > **<code>pwm&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-e19f9ef9d2488e112d19"><code>1</code></span>
> >
> > <a id="dt-93fe8d049831879096c7"></a>
> >
> > **<code>adi&#44;conversion&#45;start&#45;gpios</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-d6e55e3cb6372f7b0ee3"><code>1</code></span>

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

### Rule 7

> <a id="dt-adc37659b18b744ffc21"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-f2c1bf726b9dc5094220"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-438ec5b8edbf7e5f24bd"></a> <span id="dt-ff013a2b99c8466c5033"><code>&#34;adi&#44;sw&#45;mode&#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-916915d8539d79327822"></a>
> >
> > **<code>&#94;channel&#64;&#91;1&#45;8&#93;&#36;</code> — name matches this regular expression**
> >
> > <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-db3d553d824c0ae77f59"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-27210402152ab81c83ea"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-c440a115c2e2b1caa616"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > **Allowed values (<code>enum</code>):** <a id="dt-eeab42b96e9ec09c13ae"></a> <span id="dt-24a89bdf4a6a6a6cd930"><code>&#34;adi&#44;ad7606c&#45;16&#34;</code></span>, <span id="dt-ad6debb5ae317f90bb44"><code>&#34;adi&#44;ad7606c&#45;18&#34;</code></span>
>
> <a id="dt-f41b5086d105c7986c84"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-fe18995ccc9b2db1d5df"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-ff076d3f6e1c3f69e58a"></a>
> >
> > **<code>&#94;channel&#64;&#91;1&#45;8&#93;&#36;</code> — name matches this regular expression**
> >
> > <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/gpio/gpio.h&gt;
iio-backend {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    adi_adc@0 {
        compatible = "adi,ad7606b";
        reg = &lt;0&gt;;
        pwms = &lt;&amp;axi_pwm_gen 0 0&gt;;

        avcc-supply = &lt;&amp;adc_vref&gt;;
        vdrive-supply = &lt;&amp;vdd_supply&gt;;

        reset-gpios = &lt;&amp;gpio0 91 GPIO_ACTIVE_HIGH&gt;;
        standby-gpios = &lt;&amp;gpio0 90 GPIO_ACTIVE_LOW&gt;;
        adi,range-gpios = &lt;&amp;gpio0 89 GPIO_ACTIVE_HIGH&gt;;
        adi,oversampling-ratio-gpios = &lt;&amp;gpio0 88 GPIO_ACTIVE_HIGH
                                        &amp;gpio0 87 GPIO_ACTIVE_HIGH
                                        &amp;gpio0 86 GPIO_ACTIVE_HIGH&gt;;
        io-backends = &lt;&amp;iio_backend&gt;;
    };
};
</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,ad7606-8";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;1000000&gt;;
        spi-cpol;

        avcc-supply = &lt;&amp;adc_vref&gt;;
        vdrive-supply = &lt;&amp;vdd_supply&gt;;

        interrupts = &lt;25 IRQ_TYPE_EDGE_FALLING&gt;;
        interrupt-parent = &lt;&amp;gpio&gt;;

        adi,conversion-start-gpios = &lt;&amp;gpio 17 GPIO_ACTIVE_HIGH&gt;;
        reset-gpios = &lt;&amp;gpio 27 GPIO_ACTIVE_HIGH&gt;;
        adi,first-data-gpios = &lt;&amp;gpio 22 GPIO_ACTIVE_HIGH&gt;;
        adi,oversampling-ratio-gpios = &lt;&amp;gpio 18 GPIO_ACTIVE_HIGH&gt;,
                                       &lt;&amp;gpio 23 GPIO_ACTIVE_HIGH&gt;,
                                       &lt;&amp;gpio 26 GPIO_ACTIVE_HIGH&gt;;
        standby-gpios = &lt;&amp;gpio 24 GPIO_ACTIVE_LOW&gt;;
    };
};
</code></pre>

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

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

        spi-max-frequency = &lt;1000000&gt;;
        spi-cpol;

        avcc-supply = &lt;&amp;adc_vref&gt;;
        vdrive-supply = &lt;&amp;vdd_supply&gt;;

        interrupts = &lt;25 IRQ_TYPE_EDGE_FALLING&gt;;
        interrupt-parent = &lt;&amp;gpio&gt;;

        adi,conversion-start-gpios = &lt;&amp;gpio 17 GPIO_ACTIVE_HIGH&gt;;
        reset-gpios = &lt;&amp;gpio 27 GPIO_ACTIVE_HIGH&gt;;
        adi,first-data-gpios = &lt;&amp;gpio 22 GPIO_ACTIVE_HIGH&gt;;
        standby-gpios = &lt;&amp;gpio 24 GPIO_ACTIVE_LOW&gt;;

        adi,sw-mode;

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

        channel@3 {
            reg = &lt;3&gt;;
            bipolar;
        };

        channel@8 {
            reg = &lt;8&gt;;
            diff-channels = &lt;8 8&gt;;
            bipolar;
            adi,rfilter-ohms = &lt;2048&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</span></p>

<p id="dt-comment-1"><strong>Line 30:</strong> <span> Referred to as AD7606 (without -8) in the datasheet</span></p>

<p id="dt-comment-2"><strong>Line 56:</strong> <span> According to the datasheet, "Data is clocked in from SDI on the falling</span></p>

<p id="dt-comment-3"><strong>Line 57:</strong> <span> edge of SCLK, while data is clocked out on DOUTA on the rising edge of</span></p>

<p id="dt-comment-4"><strong>Line 58:</strong> <span> SCLK".  Also, even if not stated textually in the datasheet, it is made</span></p>

<p id="dt-comment-5"><strong>Line 59:</strong> <span> clear on the diagrams that sclk idles at high.  Subsequently, in case SPI</span></p>

<p id="dt-comment-6"><strong>Line 60:</strong> <span> interface is used, the correct way is to only set spi-cpol.</span></p>

</details>
