# Analog Devices AD485X family

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

> Device-tree binding reference for Analog Devices AD485X family.

<!-- 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;ad4851&#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;Sergiu Cuciurean &#60;sergiu&#46;cuciurean&#64;analog&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Dragos Bogdan &#60;dragos&#46;bogdan&#64;analog&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Antoniu Miclaus &#60;antoniu&#46;miclaus&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Analog Devices AD485X fully buffered, 8-channel simultaneous sampling,
16/20-bit, 1 MSPS data acquisition system (DAS) with differential, wide
common-mode range inputs.</p>
<p style="white-space: pre-wrap">https://www.analog.com/media/en/technical-documentation/data-sheets/ad4855.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad4856.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad4857.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad4858.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;ad4851&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;ad4852&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;adi&#44;ad4853&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;adi&#44;ad4854&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;adi&#44;ad4855&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;adi&#44;ad4856&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;adi&#44;ad4857&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;adi&#44;ad4858&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;adi&#44;ad4858i&#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-5b20c41001654467bdea"></a>

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

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

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

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

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

<a id="dt-236855bde9eebcc9d904"></a>

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

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

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

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

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

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

### <code>vddl&#45;supply</code> — not listed as 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-2b47e0031afee55c7b8d"></a>

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

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

<a id="dt-76035e1e122b600e2a99"></a>

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

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

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

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

<div id="dt-901b3170f60b32ff98e9">
<p style="white-space: pre-wrap">PWM connected to the CNV pin.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-92a0cfeeb9788737f274"><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-ac9b7a4523ea36cd7575"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-fb9516f9ffc1323c3e6c"><code>1</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>25000000</code></span>

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

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

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

<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-e92215bd3c2f5373b164"></a>

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

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

### <code>&#94;channel&#40;&#64;&#91;0&#45;7&#93;&#41;&#63;&#36;</code> — name matches this regular expression

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

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

<div id="dt-e322ae771864e2029130">
<p style="white-space: pre-wrap">Represents the channels which are connected to the ADC.</p>
</div>

<a id="dt-195323a94bc7f48c7e57"></a>

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

<a id="dt-12be7f77f0b4e4f06913"></a>

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

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

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

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

<a id="dt-07cb8d1f2b9c855088ae"></a>

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

<div id="dt-eae37433e32125bc65de">
<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-abac6f3627cf9aa09fdc"></a>

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

> **Minimum value (<code>minimum</code>):** <span id="dt-1fbdc467e9ed46d81a27"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-3d55ae626eb970febce9"><code>7</code></span>

<a id="dt-1399772f1e881f92cb36"></a>

**<code>bipolar</code> — not listed as required here**

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

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

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

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this 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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;vcc&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vee&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;vdd&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;vio&#45;supply&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;pwms&#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">spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    adc@0{
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        compatible = "adi,ad4858";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;10000000&gt;;
        vcc-supply = &lt;&amp;vcc&gt;;
        vdd-supply = &lt;&amp;vdd&gt;;
        vee-supply = &lt;&amp;vee&gt;;
        vddh-supply = &lt;&amp;vddh&gt;;
        vddl-supply = &lt;&amp;vddl&gt;;
        vio-supply = &lt;&amp;vio&gt;;
        pwms = &lt;&amp;pwm_gen 0 0&gt;;
        io-backends = &lt;&amp;iio_backend&gt;;

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

        channel@1 {
          reg = &lt;1&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 2:</strong> <span> Copyright 2024 Analog Devices Inc.</span></p>

</details>
