# TMP513/512 system monitor sensor

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

> Device-tree binding reference for TMP513/512 system monitor sensor.

<!-- 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;tmp513&#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;Eric Tremblay &#60;etremblay&#64;distech&#45;controls&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TMP512 (dual-channel) and TMP513 (triple-channel) are system monitors
that include remote sensors, a local temperature sensor, and a high-side
current shunt monitor. These system monitors have the capability of measuring
remote temperatures, on-chip temperatures, and system voltage/power/current
consumption.</p>
<p style="white-space: pre-wrap">Datasheets:
https://www.ti.com/lit/gpn/tmp513
https://www.ti.com/lit/gpn/tmp512</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;ti&#44;tmp512&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tmp513&#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-9800ba30a3358f7953d5"></a>

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

<div id="dt-2f043def05d1b62bd4af">
<p style="white-space: pre-wrap">If 0, the calibration process will be skipped and the current and power
measurement engine will not work. Temperature and voltage measurement
will continue to work. The shunt value also need to respect:
rshunt &lt;= pga-gain * 40 * 1000 * 1000.
If not, it's not possible to compute a valid calibration value.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-7a74f95426492cd9706c"><code>1000</code></span>

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

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

<div id="dt-d38cb54a884965b65447">
<p style="white-space: pre-wrap">The gain value for the PGA function. This is 8, 4, 2 or 1.
The PGA gain affect the shunt voltage range.
The range will be equal to: pga-gain * 40mV</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ebcca1698ccc51a00012">[<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-a7d743db4de3b0434d10"></a> <span id="dt-5ce51f9cc53f0295ed9a"><code>1</code></span>, <span id="dt-c1ddb2fdd6051b83ada8"><code>2</code></span>, <span id="dt-e53644f192a1a74ce299"><code>4</code></span>, <span id="dt-15ddd9c70f03bf36ba3c"><code>8</code></span>

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

<a id="dt-692d8c16a62c5474b58c"></a>

### <code>ti&#44;bus&#45;range&#45;microvolt</code> — not listed as required here

<div id="dt-0e3efb0a2e990e9511c4">
<p style="white-space: pre-wrap">This is the operating range of the bus voltage in microvolt</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-5fa9715f79a8370ed064"></a> <span id="dt-8b0575f4d8fee5daa064"><code>16000000</code></span>, <span id="dt-d0e059bbbf1eb02f4620"><code>32000000</code></span>

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

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

### <code>ti&#44;nfactor</code> — not listed as required here

<div id="dt-451f453a737962feab97">
<p style="white-space: pre-wrap">Array of three(TMP513) or two(TMP512) n-Factor value for each remote
temperature channel.
See datasheet Table 11 for n-Factor range list and value interpretation.</p>
</div>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-0ab8dffaa328a9a669c8"><code>2</code></span>

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

<a id="dt-83bcaa01782d20ce1c72"></a>

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

> **Default value (<code>default</code>):** <span id="dt-0a3c9163e6e51a647d65"><code>0</code></span>
>
> **Minimum value (<code>minimum</code>):** <span id="dt-def3e0f3de965a3cb3e5"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-02193560f3173bbcf37a"><code>255</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-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;;

    tmp513@5c {
        compatible = "ti,tmp513";
        reg = &lt;0x5c&gt;;
        shunt-resistor-micro-ohms = &lt;330000&gt;;
        ti,bus-range-microvolt = &lt;32000000&gt;;
        ti,pga-gain = &lt;8&gt;;
        ti,nfactor = &lt;0x1 0xf3 0x00&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>
