# TMP42x/TMP44x temperature sensor

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

> Device-tree binding reference for TMP42x/TMP44x temperature 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;tmp421&#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;Guenter Roeck &#60;linux&#64;roeck&#45;us&#46;net&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">±1°C Remote and Local temperature sensor
https://www.ti.com/lit/ds/symlink/tmp422.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;ti&#44;tmp421&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tmp422&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;tmp423&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;tmp441&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;tmp442&#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>

**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-738c4b4f9e483441138b"></a>

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

<code>false</code>

Not allowed by this rule.

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

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

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

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

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

<div id="dt-83b838f202b906ef9246">
<p style="white-space: pre-wrap">Represents channels of the device and their specific configuration.</p>
</div>

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

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

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

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

<div id="dt-3e1efd9f87f82d8c25a9">
<p style="white-space: pre-wrap">The channel number. 0 is local channel, 1-3 are remote channels</p>
</div>

<a id="dt-67cd2a42af23f2e1bc58"></a>

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

> **Minimum value (<code>minimum</code>):** <span id="dt-9438ea3ee61a3c876832"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-d12de37d7d396cefac53"><code>3</code></span>

<a id="dt-474ebab9d7f8a37a2801"></a>

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

<div id="dt-527d6ec6e5daed140a8a">
<p style="white-space: pre-wrap">A descriptive name for this channel, like "ambient" or "psu".</p>
</div>

<a id="dt-27604e412724adadf479"></a>

**<code>ti&#44;n&#45;factor</code> — not listed as required here**

<div id="dt-4993130e44350873ed4a">
<p style="white-space: pre-wrap">The value (two's complement) to be programmed in the channel specific N correction register.
For remote channels only.</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-f9fd087823af6233df25"><code>&#45;128</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-6fe2be92940f4de0b1e4"><code>127</code></span>

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

<a id="dt-587b9c01b0cf2c13633c"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</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;;

  sensor@4c {
    compatible = "ti,tmp422";
    reg = &lt;0x4c&gt;;
  };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  sensor@4c {
    compatible = "ti,tmp422";
    reg = &lt;0x4c&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    channel@0 {
      reg = &lt;0x0&gt;;
      ti,n-factor = &lt;0x1&gt;;
      label = "local";
    };

    channel@1 {
      reg = &lt;0x1&gt;;
      ti,n-factor = &lt;0x0&gt;;
      label = "somelabel";
    };

    channel@2 {
      reg = &lt;0x2&gt;;
      status = "disabled";
    };
  };
};
</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>
