# LM90 series thermometer

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

> Device-tree binding reference for LM90 series thermometer.

<!-- 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;hwmon&#47;national&#44;lm90&#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;Jean Delvare &#60;jdelvare&#64;suse&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Guenter Roeck &#60;linux&#64;roeck&#45;us&#46;net&#62;&#34;</code></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;adm1032&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;adi&#44;adt7461&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;adi&#44;adt7461a&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;adi&#44;adt7481&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;dallas&#44;max6646&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;dallas&#44;max6647&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;dallas&#44;max6649&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;dallas&#44;max6654&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;dallas&#44;max6657&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;dallas&#44;max6658&#34;</code></span>, <span id="dt-70e866729f00cfce3510"><code>&#34;dallas&#44;max6659&#34;</code></span>, <span id="dt-81f973819a6dd2302321"><code>&#34;dallas&#44;max6680&#34;</code></span>, <span id="dt-e5cbf931a6c5d40231a9"><code>&#34;dallas&#44;max6681&#34;</code></span>, <span id="dt-5235cdfd9421f63db578"><code>&#34;dallas&#44;max6695&#34;</code></span>, <span id="dt-d43d2d7f137c2a014614"><code>&#34;dallas&#44;max6696&#34;</code></span>, <span id="dt-550b25c2a121e87d781f"><code>&#34;gmt&#44;g781&#34;</code></span>, <span id="dt-da56dd3331033aff7561"><code>&#34;national&#44;lm86&#34;</code></span>, <span id="dt-d9315c8e8ee3234b7e87"><code>&#34;national&#44;lm89&#34;</code></span>, <span id="dt-e73fb8e64585dbf152bb"><code>&#34;national&#44;lm90&#34;</code></span>, <span id="dt-c04eda18e53cea683785"><code>&#34;national&#44;lm99&#34;</code></span>, <span id="dt-3ffabe0580c6de50e5cc"><code>&#34;nuvoton&#44;nct7716&#34;</code></span>, <span id="dt-5190efa75ea4a5510e0f"><code>&#34;nuvoton&#44;nct7717&#34;</code></span>, <span id="dt-392fad2ff1685daba7ef"><code>&#34;nuvoton&#44;nct7718&#34;</code></span>, <span id="dt-a923b3ee256c159f13c3"><code>&#34;nxp&#44;sa56004&#34;</code></span>, <span id="dt-6a0c36f1cf1eefe094b3"><code>&#34;onnn&#44;nct72&#34;</code></span>, <span id="dt-c9755ed3021e0922ba6b"><code>&#34;onnn&#44;nct214&#34;</code></span>, <span id="dt-4cd1773400f8dc75fbc2"><code>&#34;onnn&#44;nct218&#34;</code></span>, <span id="dt-77531c8454769d58e5d6"><code>&#34;onnn&#44;nct1008&#34;</code></span>, <span id="dt-ce19e6e0935cb3733af2"><code>&#34;ti&#44;tmp451&#34;</code></span>, <span id="dt-965f1aab0eaa1908e917"><code>&#34;ti&#44;tmp461&#34;</code></span>, <span id="dt-3d9f560b33fc7c6e37c8"><code>&#34;winbond&#44;w83l771&#34;</code></span>

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

### <code>interrupts</code> — not listed as required here

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">Single interrupt specifier which describes the LM90 "-ALERT" pin
> output.</p>
> </div>

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

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

**Exact value (<code>const</code>):** <span id="dt-864271cb6a9393891ea2"><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>

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

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

<div id="dt-304923183fea32e69a40">
<p style="white-space: pre-wrap">phandle to the regulator that provides the +VCC supply</p>
</div>

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

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

<div id="dt-c9c4490897621a72dfcb">
<p style="white-space: pre-wrap">Set to enable extended range temperature.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-cbf2b870f871c4a3bf1d"><code>&#34;boolean&#34;</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-e92215bd3c2f5373b164"></a>

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

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

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

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

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

<a id="dt-475d756fd8396a6759d1"></a>

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

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

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

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

<a id="dt-76f012bad025aea52260"></a>

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

> **Minimum value (<code>minimum</code>):** <span id="dt-94aa2390c75a89ab6abd"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-cfa6eca3eeda70d06456"><code>2</code></span>

<a id="dt-8b214ff7f113c7f882df"></a>

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

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

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

**<code>temperature&#45;offset&#45;millicelsius</code> — not listed as required here**

<div id="dt-a8c35ab50c5fb83e8b14">
<p style="white-space: pre-wrap">Temperature offset to be added to or subtracted from remote temperature measurements.</p>
</div>

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

<a id="dt-319f3eb22ff3b881e922"></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-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-17723ad0bbc7f42a3e70"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-3defb1f4dc0d6847a043"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-0e5d4207b2374940f9d3"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-6e1ee4ed1b112666419d"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-66d2e4111e4fd49859fb"></a> <span id="dt-5f804f07539691f45609"><code>&#34;adi&#44;adt7461&#34;</code></span>, <span id="dt-c8b958ab48e92db0fc79"><code>&#34;adi&#44;adt7461a&#34;</code></span>, <span id="dt-4ca26a0b2046267be847"><code>&#34;adi&#44;adt7481&#34;</code></span>, <span id="dt-7cd566bb45867d255aa2"><code>&#34;ti&#44;tmp451&#34;</code></span>, <span id="dt-11eb5500830be37cb437"><code>&#34;ti&#44;tmp461&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9e1a08ae6746b08904d7"></a>
> >
> > **<code>ti&#44;extended&#45;range&#45;enable</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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;dallas&#44;max6646&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;dallas&#44;max6647&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;dallas&#44;max6649&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;dallas&#44;max6654&#34;</code></span>, <span id="dt-f5a9f906c7ab6d73de62"><code>&#34;dallas&#44;max6657&#34;</code></span>, <span id="dt-ad13ece4b900cc595f9f"><code>&#34;dallas&#44;max6658&#34;</code></span>, <span id="dt-26dd6a375d2236ef1180"><code>&#34;dallas&#44;max6659&#34;</code></span>, <span id="dt-491255916b91d3572af8"><code>&#34;dallas&#44;max6695&#34;</code></span>, <span id="dt-fdbb8472ea4196de9e1a"><code>&#34;dallas&#44;max6696&#34;</code></span>, <span id="dt-ddacc7c15182518b43b8"><code>&#34;nuvoton&#44;nct7716&#34;</code></span>, <span id="dt-b7bea7fbb4e54e40498b"><code>&#34;nuvoton&#44;nct7717&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-8b91e530d80f7cc46df3"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-533b4a8afe199bf3a3ce"></a>
> >
> > **<code>&#94;channel&#64;&#40;&#91;0&#45;2&#93;&#41;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-05cd49185697760a980c"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-1fe270eaf899b1f9eeca"></a>
> >
> > **<code>temperature&#45;offset&#45;millicelsius</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;adi&#44;adt7461&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;adi&#44;adt7461a&#34;</code></span>, <span id="dt-d1d620265d00d6403d17"><code>&#34;adi&#44;adt7481&#34;</code></span>, <span id="dt-3d53ff488bbaf861c416"><code>&#34;onnn&#44;nct72&#34;</code></span>, <span id="dt-db5cf6fc727bcff46a28"><code>&#34;onnn&#44;nct214&#34;</code></span>, <span id="dt-60413d4aaf8889ec04f2"><code>&#34;onnn&#44;nct218&#34;</code></span>, <span id="dt-76eed9a2b7a25e07406a"><code>&#34;onnn&#44;nct1008&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-c8fcd31065f7e965d191"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-4572bf22e13e1c135263"></a>
> >
> > **<code>&#94;channel&#64;&#40;&#91;0&#45;2&#93;&#41;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-1f2d6f4ad23947ff6878"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-54374a04b5237b2ab9b5"></a>
> >
> > **<code>temperature&#45;offset&#45;millicelsius</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-468e13d91559dcc71238"><code>127750</code></span>

<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;adi&#44;adm1032&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;dallas&#44;max6680&#34;</code></span>, <span id="dt-e937cad1333060d95a2c"><code>&#34;dallas&#44;max6681&#34;</code></span>, <span id="dt-056d08a65205139bcaab"><code>&#34;gmt&#44;g781&#34;</code></span>, <span id="dt-02fa8e60e9295856d1a5"><code>&#34;national&#44;lm86&#34;</code></span>, <span id="dt-9686ee1a9e2f3fa92406"><code>&#34;national&#44;lm89&#34;</code></span>, <span id="dt-25d264d51cb0e1e53a89"><code>&#34;national&#44;lm90&#34;</code></span>, <span id="dt-07052aeb45c2eb49c4a0"><code>&#34;national&#44;lm99&#34;</code></span>, <span id="dt-f28d385a404d540668a6"><code>&#34;nuvoton&#44;nct7718&#34;</code></span>, <span id="dt-81ea80a03826735328d6"><code>&#34;nxp&#44;sa56004&#34;</code></span>, <span id="dt-46e7bbb91d0ea84cb524"><code>&#34;winbond&#44;w83l771&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-9fff9961ce6722b392f4"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-1dd1b590e4e04ee812c3"></a>
> >
> > **<code>&#94;channel&#64;&#40;&#91;0&#45;2&#93;&#41;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-b63783cc2456009ac481"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-f46af94192789a38f81a"></a>
> >
> > **<code>temperature&#45;offset&#45;millicelsius</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-18cae85727209012173f"><code>127875</code></span>

<a id="dt-1c66024c2be5a725f708"></a>

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-f6f7348eb6a3f6a0c1d3"></a> <span id="dt-e23119600ac866295534"><code>&#34;ti&#44;tmp451&#34;</code></span>, <span id="dt-394f4c36882e88052506"><code>&#34;ti&#44;tmp461&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-71e2d872d02b2110c3db"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-26f1ee434bc590116a3d"></a>
> >
> > **<code>&#94;channel&#64;&#40;&#91;0&#45;2&#93;&#41;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-1cd4f91dd00fa9395465"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-dcffeeb12119e0db6039"></a>
> >
> > **<code>temperature&#45;offset&#45;millicelsius</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-1ed5a53d01cc362aa4a8"><code>127937</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-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    sensor@4c {
        compatible = "onnn,nct1008";
        reg = &lt;0x4c&gt;;
        vcc-supply = &lt;&amp;palmas_ldo6_reg&gt;;
        interrupts = &lt;4 IRQ_TYPE_LEVEL_LOW&gt;;
        #thermal-sensor-cells = &lt;1&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 = "adi,adt7481";
        reg = &lt;0x4c&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        channel@0 {
            reg = &lt;0x0&gt;;
            label = "local";
        };

        channel@1 {
            reg = &lt;0x1&gt;;
            label = "front";
            temperature-offset-millicelsius = &lt;4000&gt;;
        };

        channel@2 {
            reg = &lt;0x2&gt;;
            label = "back";
            temperature-offset-millicelsius = &lt;750&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>

</details>
