# Analog Devices AD7280a Lithium Ion Battery Monitoring System

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

> Device-tree binding reference for Analog Devices AD7280a Lithium Ion Battery Monitoring System.

<!-- 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;ad7280a&#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;Jonathan Cameron &#60;jic23&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>Bindings for the Analog Devices AD7280a Battery Monitoring System.
Used in devices such as hybrid electric cars, battery backup and power tools.
Multiple chips can be daisy chained and accessed via a single SPI interface.
Data sheet found here:
  https://www.analog.com/media/en/technical-documentation/data-sheets/AD7280A.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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;adi&#44;ad7280a&#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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">IRQ line for the ADC</p>
</div>

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

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

### <code>adi&#44;voltage&#45;alert&#45;last&#45;chan</code> — not listed as required here

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

<div id="dt-8f296579ec9b9cd5a269">
<p style="white-space: pre-wrap">Allows limiting of scope of which channels are considered for voltage alerts, typically because not all are wired to anything. Only applies to last device in the daisy chain.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-7a44723d094dbeffb477"></a> <span id="dt-2e72cf215a4472678e54"><code>3</code></span>, <span id="dt-503db7fdfc442411ea6a"><code>4</code></span>, <span id="dt-2cff71226367143ff9bd"><code>5</code></span>

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

### <code>adi&#44;acquisition&#45;time&#45;ns</code> — not listed as required here

<div id="dt-ffb96c4f75466f42ebe2">
<p style="white-space: pre-wrap">Additional time may be needed to charge the sampling capacitors depending on external writing.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-cfa2d51480c0998766eb"><code>400</code></span>

**Allowed values (<code>enum</code>):** <a id="dt-39beba70e1cd061f94b4"></a> <span id="dt-a539422d6dcce06dcff0"><code>400</code></span>, <span id="dt-4a16b44abe9179b684ad"><code>800</code></span>, <span id="dt-5036c9b6137cfe0f63e9"><code>1200</code></span>, <span id="dt-56da195c64667efc0931"><code>1600</code></span>

<a id="dt-0206841f363eb0db817d"></a>

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

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

<div id="dt-7caacdfa3f75f6a72bea">
<p style="white-space: pre-wrap">Enable the thermistor termination function.</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;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-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 {
    compatible = "adi,ad7280a";
    reg = &lt;0&gt;;
    spi-max-frequency = &lt;700000&gt;;
    interrupt-parent = &lt;&amp;gpio&gt;;
    interrupts = &lt;25 2&gt;;
    adi,thermistor-termination;
    adi,acquisition-time-ns = &lt;800&gt;;
    adi,voltage-alert-last-chan = &lt;5&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 OR BSD-2-Clause)</span></p>

</details>
