# Texas Instruments INA209 family of power/voltage monitors

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings_

> Device-tree binding reference for Texas Instruments INA209 family of power/voltage monitors.

<!-- 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;hwmon&#47;ti&#44;ina2xx&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The INA209 is a high-side current shunt and power monitor with
an I2C interface.</p>
<pre><code>Datasheets:
  https://www.ti.com/product/INA209</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;silergy&#44;sq52206&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;silergy&#44;sy24655&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;ina209&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;ina219&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;ina220&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;ti&#44;ina226&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;ti&#44;ina228&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;ti&#44;ina230&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;ti&#44;ina231&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;ti&#44;ina233&#34;</code></span>, <span id="dt-70e866729f00cfce3510"><code>&#34;ti&#44;ina237&#34;</code></span>, <span id="dt-81f973819a6dd2302321"><code>&#34;ti&#44;ina238&#34;</code></span>, <span id="dt-e5cbf931a6c5d40231a9"><code>&#34;ti&#44;ina260&#34;</code></span>, <span id="dt-5235cdfd9421f63db578"><code>&#34;ti&#44;ina700&#34;</code></span>, <span id="dt-d43d2d7f137c2a014614"><code>&#34;ti&#44;ina780&#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-6971e222e0082656e9f5"></a>

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

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

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

### <code>shunt&#45;resistor</code> — not listed as required here

<div id="dt-c31ad3dbb874f5143b91">
<p style="white-space: pre-wrap">Shunt resistor value in micro-Ohm.</p>
</div>

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

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

### <code>ti&#44;shunt&#45;gain</code> — not listed as required here

<div id="dt-d72767aff881f2c23f05">
<p style="white-space: pre-wrap">Programmable gain divisor for the shunt voltage accuracy and range. This
property only applies to devices that have configurable PGA/ADCRANGE. The
gain value is used configure the gain and to convert the shunt voltage,
current and power register values when reading measurements from the
device.</p>
<p style="white-space: pre-wrap">For devices that have a configurable PGA (e.g. INA209, INA219, INA220),
the gain value maps directly with the PG bits of the config register.</p>
<p style="white-space: pre-wrap">For devices that have ADCRANGE configuration (e.g. INA238) a shunt-gain
value of 1 maps to ADCRANGE=1 where no gain divisor is applied to the
shunt voltage, and a value of 4 maps to ADCRANGE=0 such that a wider
voltage range is used.</p>
<p style="white-space: pre-wrap">For SQ52206,the shunt-gain value 1 mapps to ADCRANGE=10/11, the value 2
mapps to ADCRANGE=01, and the value 4 mapps to ADCRANGE=00.</p>
<p style="white-space: pre-wrap">The default value is device dependent, and is defined by the reset value
of PGA/ADCRANGE in the respective configuration registers.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-470c3646852cae5b8bdf">[<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-6cb72a6dbb145e622024"></a> <span id="dt-f84749450e95fa42baca"><code>1</code></span>, <span id="dt-81c25f5a1b5d72d24c3a"><code>2</code></span>, <span id="dt-09223d44efdf0f63ae56"><code>4</code></span>, <span id="dt-cd2306fb1b780e351fa7"><code>8</code></span>

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

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

<div id="dt-34f31b4408d51d077330">
<p style="white-space: pre-wrap">phandle to the regulator that provides the VS supply typically in range from 2.7 V to 5.5 V.</p>
</div>

<a id="dt-40ad47edd87759fbd48c"></a>

### <code>ti&#44;alert&#45;polarity&#45;active&#45;high</code> — not listed as required here

<div id="dt-d1660c0aa8f175178546">
<p style="white-space: pre-wrap">Alert pin is asserted based on the value of Alert polarity Bit of Mask/Enable register. Default value is Normal (0 which maps to active-low open collector). The other value is Inverted (1 which maps to active-high open collector). Specify this property to set the alert polarity to active-high.</p>
</div>

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

<a id="dt-50236e4237b1d6373255"></a>

### <code>ti&#44;maximum&#45;expected&#45;current&#45;microamp</code> — not listed as required here

<div id="dt-3fdebdb0c2c57c233f92">
<p style="white-space: pre-wrap">This value indicates the maximum current in microamps that you can
expect to measure with ina233 in your circuit.</p>
<p style="white-space: pre-wrap">This value will be used to calculate the Current_LSB and current/power
coefficient for the pmbus and to calibrate the IC.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-97d14b3c82ab526fa63f"><code>32768</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-77ae6b4f7d610a01b0c3"><code>4294967295</code></span>

**Default value (<code>default</code>):** <span id="dt-dc90c5903f1a7c63af65"><code>32768000</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>

<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>hwmon&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-hwmon/hwmon-common.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-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;silergy&#44;sq52206&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;silergy&#44;sy24655&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;ti&#44;ina209&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;ti&#44;ina219&#34;</code></span>, <span id="dt-f5a9f906c7ab6d73de62"><code>&#34;ti&#44;ina220&#34;</code></span>, <span id="dt-ad13ece4b900cc595f9f"><code>&#34;ti&#44;ina226&#34;</code></span>, <span id="dt-26dd6a375d2236ef1180"><code>&#34;ti&#44;ina228&#34;</code></span>, <span id="dt-491255916b91d3572af8"><code>&#34;ti&#44;ina230&#34;</code></span>, <span id="dt-fdbb8472ea4196de9e1a"><code>&#34;ti&#44;ina231&#34;</code></span>, <span id="dt-ddacc7c15182518b43b8"><code>&#34;ti&#44;ina237&#34;</code></span>, <span id="dt-b7bea7fbb4e54e40498b"><code>&#34;ti&#44;ina238&#34;</code></span>, <span id="dt-5f4d5ac6eb85fe074ac1"><code>&#34;ti&#44;ina260&#34;</code></span>, <span id="dt-8fe7927ab4a4143aef55"><code>&#34;ti&#44;ina700&#34;</code></span>, <span id="dt-0e289f48b02e8769df63"><code>&#34;ti&#44;ina780&#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-ddfe331e36e2507e42b0"></a>
> >
> > **<code>ti&#44;maximum&#45;expected&#45;current&#45;microamp</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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;silergy&#44;sy24655&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;ti&#44;ina209&#34;</code></span>, <span id="dt-d1d620265d00d6403d17"><code>&#34;ti&#44;ina219&#34;</code></span>, <span id="dt-3d53ff488bbaf861c416"><code>&#34;ti&#44;ina220&#34;</code></span>, <span id="dt-db5cf6fc727bcff46a28"><code>&#34;ti&#44;ina226&#34;</code></span>, <span id="dt-60413d4aaf8889ec04f2"><code>&#34;ti&#44;ina230&#34;</code></span>, <span id="dt-76eed9a2b7a25e07406a"><code>&#34;ti&#44;ina231&#34;</code></span>, <span id="dt-96b5d853813542a22b7a"><code>&#34;ti&#44;ina260&#34;</code></span>, <span id="dt-4213b58bc9915c291ebf"><code>&#34;ti&#44;ina700&#34;</code></span>, <span id="dt-36d988d045bd861cd25d"><code>&#34;ti&#44;ina780&#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-0b1c7fcf99d255c30c35"></a>
> >
> > **<code>ti&#44;shunt&#45;gain</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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;ti&#44;ina700&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;ti&#44;ina780&#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-e1fc7367f26233d2c4f1"></a>
> >
> > **<code>shunt&#45;resistor</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    power-sensor@44 {
        compatible = "ti,ina220";
        reg = &lt;0x44&gt;;
        #io-channel-cells = &lt;1&gt;;
        label = "vdd_3v0";
        shunt-resistor = &lt;1000&gt;;
        vs-supply = &lt;&amp;vdd_3v0&gt;;
        ti,alert-polarity-active-high;
    };
};
</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>
