# Thermal bindings

---

# Airoha EN7581 Thermal Sensor and Monitor

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

> Device-tree binding reference for Airoha EN7581 Thermal Sensor and Monitor.

<!-- 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;thermal&#47;airoha&#44;en7581&#45;thermal&#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;Christian Marangi &#60;ansuelsmth&#64;gmail&#46;com&#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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;airoha&#44;en7581&#45;thermal&#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> — required here

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

<a id="dt-907462f5a825c749a18d"></a>

### <code>airoha&#44;chip&#45;scu</code> — required here

<div id="dt-9d1d96a26bd1229054ac">
<p style="white-space: pre-wrap">phandle to the chip SCU syscon</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b67cdd8779d3e89f5618">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</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>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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;airoha&#44;chip&#45;scu&#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-1a130cabaa8a47b058bf"></a>

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

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

thermal-sensor@1efbd800 {
    compatible = "airoha,en7581-thermal";
    reg = &lt;0x1efbd000 0xd5c&gt;;
    interrupts = &lt;GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH&gt;;
    airoha,chip-scu = &lt;&amp;chip_scu&gt;;

    #thermal-sensor-cells = &lt;0&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>

---

# Allwinner SUN8I Thermal Controller

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

> Device-tree binding reference for Allwinner SUN8I Thermal Controller.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;thermal&#47;allwinner&#44;sun8i&#45;a83t&#45;ths&#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;Vasily Khoruzhick &#60;anarsoul&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Yangtao Li &#60;tiny&#46;windzz&#64;gmail&#46;com&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</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;allwinner&#44;sun8i&#45;a83t&#45;ths&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;ths&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;allwinner&#44;sun8i&#45;r40&#45;ths&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;ths&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;ths&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;allwinner&#44;sun50i&#45;a100&#45;ths&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;allwinner&#44;sun50i&#45;h5&#45;ths&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;ths&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;allwinner&#44;sun50i&#45;h616&#45;ths&#34;</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Bus Clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Module Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;bus&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mod&#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> — required here

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

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

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

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

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

### <code>nvmem&#45;cells</code> — not listed as required here

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

<div id="dt-6e22bea212c5f15c1ddb">
<p style="white-space: pre-wrap">Calibration data for thermal sensors</p>
</div>

<a id="dt-28ee7fd676493bbd8d08"></a>

### <code>nvmem&#45;cell&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-0f49487ae6227b3e484e"><code>&#34;calibration&#34;</code></span>

<a id="dt-454097f08c19cb04961b"></a>

### <code>allwinner&#44;sram</code> — not listed as required here

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

<div id="dt-e59fedbe3a19e11fa2d9">
<p style="white-space: pre-wrap">phandle to device controlling temperate offset SYS_CFG register</p>
</div>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-ef1718d1bd9aff21caeb"></a> <span id="dt-e88932a60c4c95a26554"><code>0</code></span>, <span id="dt-efaf241770130b5c577d"><code>1</code></span>

<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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;ths&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;allwinner&#44;sun50i&#45;a100&#45;ths&#34;</code></span>, <span id="dt-f7ddd2674cdadacec733"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;ths&#34;</code></span>, <span id="dt-1afa9c359b113daf77e4"><code>&#34;allwinner&#44;sun50i&#45;h616&#45;ths&#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-065d246b482f4e9fba10"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-171c87b1275c34018cc2"><code>1</code></span>
> >
> > <a id="dt-935ce0cf7d790018ed2d"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-d9768dff51f489d2dab7"><code>1</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b1c124b62d9838b9250d"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-d4e7d222e811819ca3a3"><code>2</code></span>
> >
> > <a id="dt-a49122167f5939d1692d"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-9194e76c331072fc971b"><code>2</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-1f5272cb1d084137975e"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-eebbb9d41b21f12566d7"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-6aeb4c84797e4c678f3d"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-80145746a4351c4efa1b"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-36a35d0b3eb4ef922a1c"><code>&#34;allwinner&#44;sun50i&#45;h616&#45;ths&#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-cd78f6de3ce3b22848e2"></a>
> >
> > **<code>allwinner&#44;sram</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;allwinner&#44;sun8i&#45;h3&#45;ths&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;ths&#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-1f0e5c83d1d94555350c"></a>
> >
> > **<code>&#35;thermal&#45;sensor&#45;cells</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-9aef7a7e22ec8518ca38"><code>0</code></span>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e2a6856910203e2b51dd"></a>
> >
> > **<code>&#35;thermal&#45;sensor&#45;cells</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-6326c874713dc1f82045"><code>1</code></span>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-ab3c9681fafbc97f4647"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-de54006384b37d597b9e"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-296002be268140b67615"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-1324735c82a7f4eed531"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-6dc02a99bb47e7f291d3"></a> <span id="dt-ebd3e0b999dba07c38ce"><code>&#34;allwinner&#44;sun8i&#45;a83t&#45;ths&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-e8e2f7d7ecdebb81c712"></a> <span id="dt-1a51fa9eec7d4fe91130"><code>&#34;clocks&#34;</code></span>, <span id="dt-a1f07a977cb8e39a4174"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-ede14c503e4cd7bb26ed"><code>&#34;resets&#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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></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">thermal-sensor@1f04000 {
    compatible = "allwinner,sun8i-a83t-ths";
    reg = &lt;0x01f04000 0x100&gt;;
    interrupts = &lt;0 31 0&gt;;
    nvmem-cells = &lt;&amp;ths_calibration&gt;;
    nvmem-cell-names = "calibration";
    #thermal-sensor-cells = &lt;1&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">thermal-sensor@1c25000 {
    compatible = "allwinner,sun8i-h3-ths";
    reg = &lt;0x01c25000 0x400&gt;;
    clocks = &lt;&amp;ccu 0&gt;, &lt;&amp;ccu 1&gt;;
    clock-names = "bus", "mod";
    resets = &lt;&amp;ccu 2&gt;;
    interrupts = &lt;0 31 0&gt;;
    nvmem-cells = &lt;&amp;ths_calibration&gt;;
    nvmem-cell-names = "calibration";
    #thermal-sensor-cells = &lt;0&gt;;
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">thermal-sensor@5070400 {
    compatible = "allwinner,sun50i-h6-ths";
    reg = &lt;0x05070400 0x100&gt;;
    clocks = &lt;&amp;ccu 0&gt;;
    clock-names = "bus";
    resets = &lt;&amp;ccu 2&gt;;
    interrupts = &lt;0 15 0&gt;;
    nvmem-cells = &lt;&amp;ths_calibration&gt;;
    nvmem-cell-names = "calibration";
    #thermal-sensor-cells = &lt;1&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</span></p>

</details>

---

# Amazon Annapurna Labs Thermal Sensor

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

> Device-tree binding reference for Amazon Annapurna Labs Thermal Sensor.

<!-- 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;thermal&#47;amazon&#44;al&#45;thermal&#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;Talel Shenhar &#60;talel&#64;amazon&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Simple thermal device that allows temperature reading by a single MMIO transaction.</p>
</div>

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

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

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

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;amazon&#44;al&#45;thermal&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as 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-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">thermal: thermal@5002860 {
    compatible = "amazon,al-thermal";
    reg = &lt;0x05002860 0x1&gt;;
    #thermal-sensor-cells = &lt;0x1&gt;;
};

thermal-zones {
    z0-thermal {
        polling-delay-passive = &lt;250&gt;;
        polling-delay = &lt;1000&gt;;
        thermal-sensors = &lt;&amp;thermal 0&gt;;
        trips {
            critical {
                temperature = &lt;105000&gt;;
                hysteresis = &lt;2000&gt;;
                type = "critical";
            };
        };
    };
};
</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>

---

# Amlogic Thermal

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

> Device-tree binding reference for Amlogic Thermal.

<!-- 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;thermal&#47;amlogic&#44;thermal&#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;Guillaume La Roque &#60;glaroque&#64;baylibre&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Binding for Amlogic Thermal</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

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

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

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

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;amlogic&#44;g12a&#45;cpu&#45;thermal&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;amlogic&#44;g12a&#45;ddr&#45;thermal&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;amlogic&#44;g12a&#45;thermal&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;amlogic&#44;a1&#45;cpu&#45;thermal&#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> — required here

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

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

### <code>clocks</code> — required here

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

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

<a id="dt-42229f497389dc30a000"></a>

### <code>amlogic&#44;ao&#45;secure</code> — required here

<div id="dt-0e67d7ec8daf38f97846">
<p style="white-space: pre-wrap">phandle to the ao-secure syscon</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc623bfe8ea5e9194405">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</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>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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;amlogic&#44;ao&#45;secure&#34;</code></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">temperature-sensor@ff634800 {
    compatible = "amlogic,g12a-cpu-thermal",
                 "amlogic,g12a-thermal";
    reg = &lt;0xff634800 0x50&gt;;
    interrupts = &lt;0x0 0x24 0x0&gt;;
    clocks = &lt;&amp;clk 164&gt;;
    #thermal-sensor-cells = &lt;0&gt;;
    amlogic,ao-secure = &lt;&amp;sec_AO&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>

---

# Broadcom AVS ring oscillator thermal

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

> Device-tree binding reference for Broadcom AVS ring oscillator thermal.

<!-- 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;thermal&#47;brcm&#44;avs&#45;ro&#45;thermal&#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;Stefan Wahren &#60;wahrenst&#64;gmx&#46;net&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The thermal node should be the child of a syscon node with the
required property:</p>
<pre><code>- compatible: Should be one of the following:
              "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd"</code></pre>
<p style="white-space: pre-wrap">Refer to the bindings described in
Documentation/devicetree/bindings/mfd/syscon.yaml</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<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;brcm&#44;bcm2711&#45;thermal&#34;</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>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>

<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">avs-monitor@7d5d2000 {
    compatible = "brcm,bcm2711-avs-monitor",
                 "syscon", "simple-mfd";
    reg = &lt;0x7d5d2000 0xf00&gt;;

    thermal: thermal {
        compatible = "brcm,bcm2711-thermal";
        #thermal-sensor-cells = &lt;0&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>

---

# Broadcom STB thermal management

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

> Device-tree binding reference for Broadcom STB thermal management.

<!-- 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;thermal&#47;brcm&#44;avs&#45;tmon&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Thermal management core, provided by the AVS TMON hardware block.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Florian Fainelli &#60;f&#46;fainelli&#64;gmail&#46;com&#62;&#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>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

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

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

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

### <code>compatible</code> — required here

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

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;brcm&#44;avs&#45;tmon&#45;bcm74110&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;brcm&#44;avs&#45;tmon&#45;bcm7216&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;brcm&#44;avs&#45;tmon&#45;bcm7445&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;brcm&#44;avs&#45;tmon&#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>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">Address range for the AVS TMON registers</p>
</div>

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

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

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

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

### <code>interrupt&#45;names</code> — not listed as required here

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

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;tmon&#34;</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>0</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.

**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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">thermal@f04d1500 {
    compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon";
    reg = &lt;0xf04d1500 0x28&gt;;
    interrupts = &lt;0x6&gt;;
    interrupt-names = "tmon";
    interrupt-parent = &lt;&amp;avs_host_l2_intc&gt;;
    #thermal-sensor-cells = &lt;0&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>

---

# Broadcom BCM2835 thermal sensor

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

> Device-tree binding reference for Broadcom BCM2835 thermal sensor.

<!-- 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;thermal&#47;brcm&#44;bcm2835&#45;thermal&#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;Stefan Wahren &#60;stefan&#46;wahren&#64;i2se&#46;com&#62;&#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>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</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;brcm&#44;bcm2835&#45;thermal&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;brcm&#44;bcm2836&#45;thermal&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;brcm&#44;bcm2837&#45;thermal&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><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>0</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>

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

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

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

thermal@7e212000 {
  compatible = "brcm,bcm2835-thermal";
  reg = &lt;0x7e212000 0x8&gt;;
  clocks = &lt;&amp;clocks BCM2835_CLOCK_TSENS&gt;;
  #thermal-sensor-cells = &lt;0&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>

---

# Broadcom Northstar Thermal

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

> Device-tree binding reference for Broadcom Northstar Thermal.

<!-- 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;thermal&#47;brcm&#44;ns&#45;thermal&#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;Rafał Miłecki &#60;rafal&#64;milecki&#46;pl&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Thermal sensor that is part of Northstar's DMU (Device Management Unit).</p>
</div>

<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>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;brcm&#44;ns&#45;thermal&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">PVTMON registers range</p>
</div>

**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>0</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

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

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">thermal: thermal@1800c2c0 {
    compatible = "brcm,ns-thermal";
    reg = &lt;0x1800c2c0 0x10&gt;;
    #thermal-sensor-cells = &lt;0&gt;;
};

thermal-zones {
    cpu-thermal {
        polling-delay-passive = &lt;0&gt;;
        polling-delay = &lt;1000&gt;;
        coefficients = &lt;(-556) 418000&gt;;
        thermal-sensors = &lt;&amp;thermal&gt;;

        trips {
            cpu-crit {
                temperature = &lt;125000&gt;;
                hysteresis = &lt;0&gt;;
                type = "critical";
            };
        };

        cooling-maps {
        };
    };
};
</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>

---

# Broadcom Stingray Thermal Sensors

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

> Device-tree binding reference for Broadcom Stingray Thermal Sensors.

<!-- 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;thermal&#47;brcm&#44;sr&#45;thermal&#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;Ray Jui &#60;rjui&#64;broadcom&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Scott Branden &#60;sbranden&#64;broadcom&#46;com&#62;&#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>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<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;brcm&#44;sr&#45;thermal&#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-d6f12d04095f83759806"></a>

### <code>brcm&#44;tmon&#45;mask</code> — required here

<div id="dt-2a8305c1412bdf298a83">
<p style="white-space: pre-wrap">A one-cell bit mask of valid TMON sources. Each bit represents a single TMON source.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3ebd6cf33ce531a7e4ef">[<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-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>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;brcm&#44;tmon&#45;mask&#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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">tmon: thermal-sensor@0 {
    compatible = "brcm,sr-thermal";
    reg = &lt;0x0 0x40&gt;;
    brcm,tmon-mask = &lt;0x3f&gt;;
    #thermal-sensor-cells = &lt;1&gt;;
};

thermal-zones {
  ihost0_thermal: ihost0-thermal {
    polling-delay-passive = &lt;0&gt;;
    polling-delay = &lt;1000&gt;;
    thermal-sensors = &lt;&amp;tmon 0&gt;;
    trips {
      cpu-crit {
        temperature = &lt;105000&gt;;
        hysteresis = &lt;0&gt;;
        type = "critical";
      };
    };
  };
  ihost1_thermal: ihost1-thermal {
    polling-delay-passive = &lt;0&gt;;
    polling-delay = &lt;1000&gt;;
    thermal-sensors = &lt;&amp;tmon 1&gt;;
    trips {
      cpu-crit {
        temperature = &lt;105000&gt;;
        hysteresis = &lt;0&gt;;
        type = "critical";
      };
    };
  };
  ihost2_thermal: ihost2-thermal {
    polling-delay-passive = &lt;0&gt;;
    polling-delay = &lt;1000&gt;;
    thermal-sensors = &lt;&amp;tmon 2&gt;;
    trips {
      cpu-crit {
        temperature = &lt;105000&gt;;
        hysteresis = &lt;0&gt;;
        type = "critical";
      };
    };
  };
  ihost3_thermal: ihost3-thermal {
    polling-delay-passive = &lt;0&gt;;
    polling-delay = &lt;1000&gt;;
    thermal-sensors = &lt;&amp;tmon 3&gt;;
    trips {
      cpu-crit {
        temperature = &lt;105000&gt;;
        hysteresis = &lt;0&gt;;
        type = "critical";
      };
    };
  };
  crmu_thermal: crmu-thermal {
    polling-delay-passive = &lt;0&gt;;
    polling-delay = &lt;1000&gt;;
    thermal-sensors = &lt;&amp;tmon 4&gt;;
    trips {
      cpu-crit {
        temperature = &lt;105000&gt;;
        hysteresis = &lt;0&gt;;
        type = "critical";
      };
    };
  };
  nitro_thermal: nitro-thermal {
    polling-delay-passive = &lt;0&gt;;
    polling-delay = &lt;1000&gt;;
    thermal-sensors = &lt;&amp;tmon 5&gt;;
    trips {
      cpu-crit {
        temperature = &lt;105000&gt;;
        hysteresis = &lt;0&gt;;
        type = "critical";
      };
    };
  };
};
</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>

---

# Dialog DA9062/61 TJUNC Thermal Module

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

> Device-tree binding reference for Dialog DA9062/61 TJUNC Thermal Module.

<!-- 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;thermal&#47;dlg&#44;da9062&#45;thermal&#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;Biju Das &#60;biju&#46;das&#46;jz&#64;bp&#46;renesas&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is part of the DA9061/DA9062. For more details about entire
DA906{1,2} chips see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml</p>
<p style="white-space: pre-wrap">Junction temperature thermal module uses an interrupt signal to identify
high THERMAL_TRIP_HOT temperatures for the PMIC device.</p>
</div>

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

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

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

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;dlg&#44;da9062&#45;thermal&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;dlg&#44;da9061&#45;thermal&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;dlg&#44;da9062&#45;thermal&#34;</code></span>

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

### <code>polling&#45;delay&#45;passive</code> — not listed as required here

<div id="dt-f8680400289d75ce8db9">
<p style="white-space: pre-wrap">Specify the polling period, measured in milliseconds, between thermal zone device update checks.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#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.

## 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>

---

# NXP i.MX91 Thermal

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

> Device-tree binding reference for NXP i.MX91 Thermal.

<!-- 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;thermal&#47;fsl&#44;imx91&#45;tmu&#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;Pengfei Li &#60;pengfei&#46;li&#95;1&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">i.MX91 features a new temperature sensor. It includes programmable temperature threshold comparators for both normal and privileged accesses and allows a programmable measurement frequency for the Periodic One-Shot Measurement mode. Additionally, it provides status registers for indicating the end of measurement and threshold violation events.</p>
</div>

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

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

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

### <code>compatible</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;fsl&#44;imx91&#45;tmu&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

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

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

### <code>interrupts</code> — 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">Comparator 1 irq</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">Comparator 2 irq</p>
> </div>

<a id="dt-6825e597892563d56556"></a>

**Item 3**

> <div id="dt-2c85367ad575dfda8b35">
> <p style="white-space: pre-wrap">Data ready irq</p>
> </div>

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

### <code>interrupt&#45;names</code> — required here

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

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;thr1&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;thr2&#34;</code></span>

<a id="dt-01a6f91e38388cdf0f5a"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-25e85adf3e7caf29cd92"><code>&#34;ready&#34;</code></span>

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

### <code>nvmem&#45;cells</code> — not listed as required here

<a id="dt-6623d2ec738c83ce2eb0"></a>

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

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

**Item 1**

> <div id="dt-963a59e96105c17766a3">
> <p style="white-space: pre-wrap">Phandle to the trim control 1 provided by ocotp</p>
> </div>

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

**Item 2**

> <div id="dt-5c95e00094cd656d9937">
> <p style="white-space: pre-wrap">Phandle to the trim control 2 provided by ocotp</p>
> </div>

<a id="dt-28ee7fd676493bbd8d08"></a>

### <code>nvmem&#45;cell&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-30d2a590f6c0a447cfaa"><code>&#34;trim1&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-441ea0caeb43e3f23d69"><code>&#34;trim2&#34;</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>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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;names&#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>thermal&#45;sensor&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/clock/imx93-clock.h&gt;

thermal-sensor@44482000 {
    compatible = "fsl,imx91-tmu";
    reg = &lt;0x44482000 0x1000&gt;;
    #thermal-sensor-cells = &lt;0&gt;;
    clocks = &lt;&amp;clk IMX93_CLK_TMC_GATE&gt;;
    interrupt-parent = &lt;&amp;gic&gt;;
    interrupts = &lt;GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "thr1", "thr2", "ready";
    nvmem-cells = &lt;&amp;tmu_trim1&gt;, &lt;&amp;tmu_trim2&gt;;
    nvmem-cell-names = "trim1", "trim2";
};
</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>

---

# i.MX SCU Client Device Node - Thermal Based on SCU Message Protocol

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

> Device-tree binding reference for i.MX SCU Client Device Node - Thermal Based on SCU Message Protocol.

<!-- 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;thermal&#47;fsl&#44;scu&#45;thermal&#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;Dong Aisheng &#60;aisheng&#46;dong&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">i.MX SCU Client Device Node Client nodes are maintained as children of the relevant IMX-SCU device node.</p>
</div>

<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>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

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

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

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

### <code>compatible</code> — required here

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

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;fsl&#44;imx8dxl&#45;sc&#45;thermal&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;fsl&#44;imx8qxp&#45;sc&#45;thermal&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;fsl&#44;imx&#45;sc&#45;thermal&#34;</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>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">thermal-sensor {
    compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal";
    #thermal-sensor-cells = &lt;1&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>

---

# General Purpose Analog To Digital Converter (ADC) based thermal sensor

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

> Device-tree binding reference for General Purpose Analog To Digital Converter (ADC) based thermal sensor.

<!-- 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;thermal&#47;generic&#45;adc&#45;thermal&#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;Laxman Dewangan &#60;ldewangan&#64;nvidia&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">On some of platforms, thermal sensor like thermistors are connected to one of ADC channel and sensor resistance is read via voltage across the sensor resistor. The voltage read across the sensor is mapped to temperature using voltage-temperature lookup table.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<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;generic&#45;adc&#45;thermal&#34;</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>0</code></span>

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

### <code>io&#45;channels</code> — required here

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

<a id="dt-52503acc5d03431d5405"></a>

### <code>io&#45;channel&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-27bb6bb6712fac2e8172"><code>&#34;sensor&#45;channel&#34;</code></span>

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

### <code>temperature&#45;lookup&#45;table</code> — not listed as required here

<div id="dt-fd984730ce778bbdec23">
<p style="white-space: pre-wrap">Lookup table to map the relation between ADC value and temperature.
When ADC is read, the value is looked up on the table to get the
equivalent temperature.</p>
<p style="white-space: pre-wrap">If not specified, driver assumes the ADC channel gives milliCelsius
directly.</p>
</div>

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

<a id="dt-4082e5f61ef7be556060"></a>

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

> <a id="dt-76ac13f704df3191d915"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b4434cf2482584908e4a"></a>
>
> **Item 1**
>
> > <div id="dt-2c85ae9a96c7a445a44b">
> > <p style="white-space: pre-wrap">Temperature in milliCelsius</p>
> > </div>
>
> <a id="dt-a38346bfdf3b2188469c"></a>
>
> **Item 2**
>
> > <div id="dt-4dd5bb8722701fe3e400">
> > <p style="white-space: pre-wrap">ADC read value</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;io&#45;channels&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;io&#45;channel&#45;names&#34;</code></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">#include &lt;dt-bindings/thermal/thermal.h&gt;

thermal-sensor {
    compatible = "generic-adc-thermal";
    #thermal-sensor-cells = &lt;0&gt;;
    io-channels = &lt;&amp;ads1015 1&gt;;
    io-channel-names = "sensor-channel";
    temperature-lookup-table = &lt;
          (-40000) 2578
          (-39000) 2577
          (-38000) 2576
          (-37000) 2575
          (-36000) 2574
          (-35000) 2573
          (-34000) 2572
          (-33000) 2571
          (-32000) 2569
          (-31000) 2568
          (-30000) 2567
          /* skip */
          118000 254
          119000 247
          120000 240
          121000 233
          122000 226
          123000 220
          124000 214
          125000 208&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>

---

# Temperature Sensor on HiSilicon SoCs

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

> Device-tree binding reference for Temperature Sensor on HiSilicon SoCs.

<!-- 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;thermal&#47;hisilicon&#44;tsensor&#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;Abdulrasaq Lawani &#60;abdulrasaqolawani&#64;gmail&#46;com&#62;&#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>thermal&#45;sensor&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</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;hisilicon&#44;tsensor&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;hisilicon&#44;hi3660&#45;tsensor&#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-4e9a371963ac013ad39d"></a>

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;thermal&#95;clk&#34;</code></span>

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

### <code>interrupts</code> — required here

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

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

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

**Exact value (<code>const</code>):** <span id="dt-864271cb6a9393891ea2"><code>1</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;thermal&#45;sensor&#45;cells&#34;</code></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">#include &lt;dt-bindings/clock/hi6220-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

temperature-sensor@f7030700 {
    compatible = "hisilicon,tsensor";
    reg = &lt;0xf7030700 0x1000&gt;;
    interrupts = &lt;GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;sys_ctrl HI6220_TSENSOR_CLK&gt;;
    clock-names = "thermal_clk";
    #thermal-sensor-cells = &lt;1&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>

---

# NXP i.MX Thermal

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

> Device-tree binding reference for NXP i.MX Thermal.

<!-- 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;thermal&#47;imx&#45;thermal&#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;Shawn Guo &#60;shawnguo&#64;kernel&#46;org&#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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;fsl&#44;imx6q&#45;tempmon&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;fsl&#44;imx6sx&#45;tempmon&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;fsl&#44;imx7d&#45;tempmon&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx6sll&#45;tempmon&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx6ul&#45;tempmon&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx6sx&#45;tempmon&#34;</code></span>

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

### <code>interrupts</code> — required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The interrupt output of the controller, i.MX6Q has IRQ_HIGH which
will be triggered when temperature is higher than high threshold,
i.MX6SX and i.MX7S/D have two more IRQs than i.MX6Q, one is IRQ_LOW
and the other is IRQ_PANIC, when temperature is lower than low
threshold, IRQ_LOW will be triggered, when temperature is higher
than panic threshold, IRQ_PANIC will be triggered, and system can
be configured to auto reboot by SRC module for IRQ_PANIC. IRQ_HIGH,
IRQ_LOW and IRQ_PANIC share same interrupt output of controller.</p>
</div>

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

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

### <code>nvmem&#45;cells</code> — required here

<a id="dt-6623d2ec738c83ce2eb0"></a>

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

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

**Item 1**

> <div id="dt-963a59e96105c17766a3">
> <p style="white-space: pre-wrap">Phandle to the calibration data provided by ocotp</p>
> </div>

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

**Item 2**

> <div id="dt-5c95e00094cd656d9937">
> <p style="white-space: pre-wrap">Phandle to the temperature grade provided by ocotp</p>
> </div>

<a id="dt-28ee7fd676493bbd8d08"></a>

### <code>nvmem&#45;cell&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-30d2a590f6c0a447cfaa"><code>&#34;calib&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-441ea0caeb43e3f23d69"><code>&#34;temp&#95;grade&#34;</code></span>

<a id="dt-82d6c129c3170c6f5c2f"></a>

### <code>fsl&#44;tempmon</code> — required here

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

<div id="dt-436876a9b83c252f06fb">
<p style="white-space: pre-wrap">Phandle to anatop system controller node.</p>
</div>

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

### <code>fsl&#44;tempmon&#45;data</code> — not listed as required here

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

<div id="dt-f7464038a81fab33d529">
<p style="white-space: pre-wrap">Deprecated property, phandle pointer to fuse controller that contains
TEMPMON calibration data, e.g. OCOTP on imx6q. The details about
calibration data can be found in SoC Reference Manual.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-61aae32e72eff95164b4"><code>true</code></span>

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><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>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;interrupts&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;fsl&#44;tempmon&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;nvmem&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;nvmem&#45;cell&#45;names&#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>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</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/clock/imx6sx-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

efuse@21bc000 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    compatible = "fsl,imx6sx-ocotp", "syscon";
    reg = &lt;0x021bc000 0x4000&gt;;
    clocks = &lt;&amp;clks IMX6SX_CLK_OCOTP&gt;;

    tempmon_calib: calib@38 {
        reg = &lt;0x38 4&gt;;
    };

    tempmon_temp_grade: temp-grade@20 {
        reg = &lt;0x20 4&gt;;
    };
};

anatop@20c8000 {
    compatible = "fsl,imx6q-anatop", "syscon", "simple-mfd";
    reg = &lt;0x020c8000 0x1000&gt;;
    interrupts = &lt;0 49 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;0 54 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;0 127 IRQ_TYPE_LEVEL_HIGH&gt;;

    tempmon {
        compatible = "fsl,imx6sx-tempmon";
        interrupts = &lt;GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH&gt;;
        fsl,tempmon = &lt;&amp;anatop&gt;;
        nvmem-cells = &lt;&amp;tempmon_calib&gt;, &lt;&amp;tempmon_temp_grade&gt;;
        nvmem-cell-names = "calib", "temp_grade";
        clocks = &lt;&amp;clks IMX6SX_CLK_PLL3_USB_OTG&gt;;
        #thermal-sensor-cells = &lt;0&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>

---

# NXP i.MX8M Mini Thermal

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

> Device-tree binding reference for NXP i.MX8M Mini Thermal.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;thermal&#47;imx8mm&#45;thermal&#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;Shawn Guo &#60;shawnguo&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sascha Hauer &#60;s&#46;hauer&#64;pengutronix&#46;de&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Fabio Estevam &#60;festevam&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">i.MX8MM has TMU IP to allow temperature measurement, there are
currently two distinct major versions of the IP that is supported
by a single driver. The IP versions are named v1 and v2, v1 is
for i.MX8MM which has ONLY 1 sensor, v2 is for i.MX8MP which has
2 sensors.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

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

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

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

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;fsl&#44;imx8mm&#45;tmu&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;fsl&#44;imx8mp&#45;tmu&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;fsl&#44;imx8mn&#45;tmu&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx8mm&#45;tmu&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

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

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

### <code>nvmem&#45;cells</code> — not listed as required here

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

<div id="dt-6e22bea212c5f15c1ddb">
<p style="white-space: pre-wrap">Phandle to the calibration data provided by ocotp</p>
</div>

<a id="dt-28ee7fd676493bbd8d08"></a>

### <code>nvmem&#45;cell&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-0f49487ae6227b3e484e"><code>&#34;calib&#34;</code></span>

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

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

<div id="dt-0ef0091c52eb523e7d0b">
<p style="white-space: pre-wrap">Number of cells required to uniquely identify the thermal
sensors, 0 for ONLY one sensor and 1 for multiple sensors.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-ef1718d1bd9aff21caeb"></a> <span id="dt-e88932a60c4c95a26554"><code>0</code></span>, <span id="dt-efaf241770130b5c577d"><code>1</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></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">#include &lt;dt-bindings/clock/imx8mm-clock.h&gt;

thermal-sensor@30260000 {
    compatible = "fsl,imx8mm-tmu";
    reg = &lt;0x30260000 0x10000&gt;;
    clocks = &lt;&amp;clk IMX8MM_CLK_TMU_ROOT&gt;;
    #thermal-sensor-cells = &lt;0&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</span></p>

</details>

---

# Thermal sensors on Loongson-2 SoCs

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

> Device-tree binding reference for Thermal sensors on Loongson-2 SoCs.

<!-- 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;thermal&#47;loongson&#44;ls2k&#45;thermal&#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;zhanghongchen &#60;zhanghongchen&#64;loongson&#46;cn&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Yinbo Zhu &#60;zhuyinbo&#64;loongson&#46;cn&#62;&#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;thermal&#47;thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

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

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

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

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;loongson&#44;ls2k1000&#45;thermal&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;loongson&#44;ls2k2000&#45;thermal&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;loongson&#44;ls2k0500&#45;thermal&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;loongson&#44;ls2k1000&#45;thermal&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>2</code></span>

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

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><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>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-33b6ed092215f2be8801"></a> <span id="dt-9dc9072d1f2469ee9637"><code>&#34;loongson&#44;ls2k2000&#45;thermal&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-8893b96000b374eb19f2"></a>
>
> #### <code>reg</code> — not listed as required here
>
> **Minimum number of items (<code>minItems</code>):** <span id="dt-321e0e16fe3625b59ae7"><code>2</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-91b7bae59d17a6b7385d"><code>2</code></span>

<a id="dt-6f6ab6f7f4b3f2f2f0a8"></a>

## When the condition does not match (<code>else</code>)

> <a id="dt-cf075a4b84ee9b101feb"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-5e0272d80ce3f49e1ff9"></a>
>
> #### <code>reg</code> — not listed as required here
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-7847ec4ac643eb377cf3"><code>1</code></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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
thermal: thermal-sensor@1fe01500 {
    compatible = "loongson,ls2k1000-thermal";
    reg = &lt;0x1fe01500 0x30&gt;;
    interrupt-parent = &lt;&amp;liointc0&gt;;
    interrupts = &lt;7 IRQ_TYPE_LEVEL_LOW&gt;;
    #thermal-sensor-cells = &lt;1&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>

---

# Marvell Armada AP80x/CP110 thermal management

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

> Device-tree binding reference for Marvell Armada AP80x/CP110 thermal management.

<!-- 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;thermal&#47;marvell&#44;armada&#45;ap806&#45;thermal&#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;Miquel Raynal &#60;miquel&#46;raynal&#64;bootlin&#46;com&#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;marvell&#44;armada&#45;ap806&#45;thermal&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;marvell&#44;armada&#45;ap807&#45;thermal&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;marvell&#44;armada&#45;cp110&#45;thermal&#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">Overheat interrupt. The interrupt is connected thru a System Error Interrupt (SEI) controller.</p>
</div>

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

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

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

<div id="dt-0ef0091c52eb523e7d0b">
<p style="white-space: pre-wrap">Cell represents the channel ID. There is one sensor per channel. O refers to the thermal IP internal channel.</p>
</div>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">thermal-sensor@80 {
    compatible = "marvell,armada-ap806-thermal";
    reg = &lt;0x80 0x10&gt;;
    interrupts = &lt;18&gt;;
    #thermal-sensor-cells = &lt;1&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>

---

# Marvell Armada 3xx/XP thermal management

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

> Device-tree binding reference for Marvell Armada 3xx/XP thermal management.

<!-- 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;thermal&#47;marvell&#44;armada370&#45;thermal&#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;Miquel Raynal &#60;miquel&#46;raynal&#64;bootlin&#46;com&#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;marvell&#44;armada370&#45;thermal&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;marvell&#44;armada375&#45;thermal&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;marvell&#44;armada380&#45;thermal&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;marvell&#44;armadaxp&#45;thermal&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">status register (4B)</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">control register (8B)</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-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">thermal@d0018300 {
    compatible = "marvell,armada370-thermal";
    reg = &lt;0xd0018300 0x4&gt;,
          &lt;0xd0018304 0x8&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>

---

# MediaTek SoC Low Voltage Thermal Sensor (LVTS)

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

> Device-tree binding reference for MediaTek SoC Low Voltage Thermal Sensor (LVTS).

<!-- 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;thermal&#47;mediatek&#44;lvts&#45;thermal&#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;Balsam CHIHI &#60;bchihi&#64;baylibre&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">LVTS is a thermal management architecture composed of three subsystems,
a Sensing device - Thermal Sensing Micro Circuit Unit (TSMCU),
a Converter - Low Voltage Thermal Sensor converter (LVTS), and
a Digital controller (LVTS_CTRL).</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;mediatek&#44;mt7987&#45;lvts&#45;ap&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mediatek&#44;mt7988&#45;lvts&#45;ap&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;mediatek&#44;mt8186&#45;lvts&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;mediatek&#44;mt8188&#45;lvts&#45;ap&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;mediatek&#44;mt8188&#45;lvts&#45;mcu&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;mediatek&#44;mt8192&#45;lvts&#45;ap&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;mediatek&#44;mt8192&#45;lvts&#45;mcu&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;mediatek&#44;mt8195&#45;lvts&#45;ap&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;mediatek&#44;mt8195&#45;lvts&#45;mcu&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;mediatek&#44;mt8196&#45;lvts&#45;ap&#34;</code></span>, <span id="dt-70e866729f00cfce3510"><code>&#34;mediatek&#44;mt8196&#45;lvts&#45;mcu&#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> — required here

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

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

### <code>clocks</code> — required here

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

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

### <code>resets</code> — required here

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

<div id="dt-d372137de588ae9d23ee">
<p style="white-space: pre-wrap">LVTS reset for clearing temporary data on AP/MCU.</p>
</div>

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

### <code>nvmem&#45;cells</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-4cfb7552a085c116397f"><code>1</code></span>

<a id="dt-6623d2ec738c83ce2eb0"></a>

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

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

**Item 1**

> <div id="dt-963a59e96105c17766a3">
> <p style="white-space: pre-wrap">Calibration eFuse data 1 for LVTS</p>
> </div>

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

**Item 2**

> <div id="dt-5c95e00094cd656d9937">
> <p style="white-space: pre-wrap">Calibration eFuse data 2 for LVTS</p>
> </div>

<a id="dt-28ee7fd676493bbd8d08"></a>

### <code>nvmem&#45;cell&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-b3021e4db427a4bb8dbf"><code>1</code></span>

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-30d2a590f6c0a447cfaa"><code>&#34;lvts&#45;calib&#45;data&#45;1&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-441ea0caeb43e3f23d69"><code>&#34;lvts&#45;calib&#45;data&#45;2&#34;</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-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>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.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;mediatek&#44;mt8188&#45;lvts&#45;ap&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;mediatek&#44;mt8188&#45;lvts&#45;mcu&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;mediatek&#44;mt8192&#45;lvts&#45;ap&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;mediatek&#44;mt8192&#45;lvts&#45;mcu&#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-c0fd9b2d9abe2ca499b8"></a>
> >
> > **<code>nvmem&#45;cells</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-7202190ee193f855951a"><code>1</code></span>
> >
> > <a id="dt-f009c9c64051996c8dcd"></a>
> >
> > **<code>nvmem&#45;cell&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b482c4d592f86aee52a0"><code>1</code></span>

<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;mediatek&#44;mt8186&#45;lvts&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;mediatek&#44;mt8195&#45;lvts&#45;ap&#34;</code></span>, <span id="dt-d1d620265d00d6403d17"><code>&#34;mediatek&#44;mt8195&#45;lvts&#45;mcu&#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-429b63c0b7b6d70569f7"></a>
> >
> > **<code>nvmem&#45;cells</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-25439b4ad2d67cf49920"><code>2</code></span>
> >
> > <a id="dt-6cae09924d1604716903"></a>
> >
> > **<code>nvmem&#45;cell&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-d011c0f97003998331a4"><code>2</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;resets&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;nvmem&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;nvmem&#45;cell&#45;names&#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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/clock/mt8195-clk.h&gt;
#include &lt;dt-bindings/reset/mt8195-resets.h&gt;
#include &lt;dt-bindings/thermal/mediatek,lvts-thermal.h&gt;

soc {
  #address-cells = &lt;2&gt;;
  #size-cells = &lt;2&gt;;

  lvts_mcu: thermal-sensor@11278000 {
    compatible = "mediatek,mt8195-lvts-mcu";
    reg = &lt;0 0x11278000 0 0x1000&gt;;
    interrupts = &lt;GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH 0&gt;;
    clocks = &lt;&amp;infracfg_ao CLK_INFRA_AO_THERM&gt;;
    resets = &lt;&amp;infracfg_ao MT8195_INFRA_RST4_THERM_CTRL_MCU_SWRST&gt;;
    nvmem-cells = &lt;&amp;lvts_efuse_data1 &amp;lvts_efuse_data2&gt;;
    nvmem-cell-names = "lvts-calib-data-1", "lvts-calib-data-2";
    #thermal-sensor-cells = &lt;1&gt;;
  };
};

thermal_zones: thermal-zones {
  cpu0-thermal {
    polling-delay = &lt;1000&gt;;
    polling-delay-passive = &lt;250&gt;;
    thermal-sensors = &lt;&amp;lvts_mcu MT8195_MCU_LITTLE_CPU0&gt;;

    trips {
      cpu0_alert: trip-alert {
        temperature = &lt;85000&gt;;
        hysteresis = &lt;2000&gt;;
        type = "passive";
      };

      cpu0_crit: trip-crit {
        temperature = &lt;100000&gt;;
        hysteresis = &lt;2000&gt;;
        type = "critical";
      };
    };
  };
};
</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>

---

# Mediatek thermal controller for on-SoC temperatures

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

> Device-tree binding reference for Mediatek thermal controller for on-SoC temperatures.

<!-- 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;thermal&#47;mediatek&#44;thermal&#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;Sascha Hauer &#60;s&#46;hauer&#64;pengutronix&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This device does not have its own ADC, instead it directly controls the AUXADC via AHB bus accesses. For this reason it needs phandles to the AUXADC. Also it controls a mux in the apmixedsys register space via AHB bus accesses, so a phandle to the APMIXEDSYS is also needed.</p>
</div>

<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>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;mediatek&#44;mt2701&#45;thermal&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;mediatek&#44;mt2712&#45;thermal&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;mediatek&#44;mt7622&#45;thermal&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;mediatek&#44;mt7986&#45;thermal&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;mediatek&#44;mt8173&#45;thermal&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;mediatek&#44;mt8183&#45;thermal&#34;</code></span>, <span id="dt-7775c6eae6cdca3e9809"><code>&#34;mediatek&#44;mt8365&#45;thermal&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;mediatek&#44;mt8516&#45;thermal&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;mediatek&#44;mt2701&#45;thermal&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;mediatek&#44;mt7981&#45;thermal&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;mediatek&#44;mt7986&#45;thermal&#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> — required here

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

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

### <code>clocks</code> — required here

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Main clock needed for register access</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">The AUXADC clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;therm&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;auxadc&#34;</code></span>

<a id="dt-95a7a307d5c673581b0b"></a>

### <code>mediatek&#44;auxadc</code> — required here

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

<div id="dt-78212cfd122941ba0a62">
<p style="white-space: pre-wrap">A phandle to the AUXADC which the thermal controller uses</p>
</div>

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

### <code>mediatek&#44;apmixedsys</code> — required here

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

<div id="dt-f00347913f772c713a9d">
<p style="white-space: pre-wrap">A phandle to the APMIXEDSYS controller</p>
</div>

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

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

<div id="dt-d372137de588ae9d23ee">
<p style="white-space: pre-wrap">Reset controller controlling the thermal controller</p>
</div>

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

### <code>nvmem&#45;cells</code> — not listed as required here

<a id="dt-6623d2ec738c83ce2eb0"></a>

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

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

**Item 1**

> <div id="dt-963a59e96105c17766a3">
> <p style="white-space: pre-wrap">NVMEM cell with EEPROMA phandle to the calibration data provided by an NVMEM device. If unspecified default values shall be used.</p>
> </div>

<a id="dt-28ee7fd676493bbd8d08"></a>

### <code>nvmem&#45;cell&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-30d2a590f6c0a447cfaa"><code>&#34;calibration&#45;data&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;reg&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;interrupts&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;mediatek&#44;auxadc&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;mediatek&#44;apmixedsys&#34;</code></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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/clock/mt8173-clk.h&gt;
#include &lt;dt-bindings/reset/mt8173-resets.h&gt;

thermal@1100b000 {
    compatible = "mediatek,mt8173-thermal";
    reg = &lt;0x1100b000 0x1000&gt;;
    interrupts = &lt;0 70 IRQ_TYPE_LEVEL_LOW&gt;;
    clocks = &lt;&amp;pericfg CLK_PERI_THERM&gt;, &lt;&amp;pericfg CLK_PERI_AUXADC&gt;;
    clock-names = "therm", "auxadc";
    resets = &lt;&amp;pericfg MT8173_PERI_THERM_SW_RST&gt;;
    mediatek,auxadc = &lt;&amp;auxadc&gt;;
    mediatek,apmixedsys = &lt;&amp;apmixedsys&gt;;
    nvmem-cells = &lt;&amp;thermal_calibration_data&gt;;
    nvmem-cell-names = "calibration-data";
    #thermal-sensor-cells = &lt;1&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>

---

# NVIDIA Tegra124 SOCTHERM Thermal Management System

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

> Device-tree binding reference for NVIDIA Tegra124 SOCTHERM Thermal Management System.

<!-- 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;thermal&#47;nvidia&#44;tegra124&#45;soctherm&#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;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SOCTHERM IP block contains thermal sensors, support for polled or interrupt-based thermal monitoring, CPU and GPU throttling based on temperature trip points, and handling external overcurrent notifications. It is also used to manage emergency shutdown in an overheating situation.</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;nvidia&#44;tegra114&#45;soctherm&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nvidia&#44;tegra124&#45;soctherm&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;nvidia&#44;tegra132&#45;soctherm&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;nvidia&#44;tegra210&#45;soctherm&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;nvidia&#44;tegra210b01&#45;soctherm&#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>2</code></span>

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

### <code>reg&#45;names</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-58a7d566e1c7a6b0e414"><code>2</code></span>

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

### <code>interrupts</code> — 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">module interrupt</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">EDP interrupt</p>
> </div>

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

### <code>interrupt&#45;names</code> — required here

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

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;thermal&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;edp&#34;</code></span>

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

### <code>clocks</code> — required here

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">thermal sensor clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">module clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;tsensor&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;soctherm&#34;</code></span>

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

### <code>resets</code> — required here

<a id="dt-7d15d3b17aa2d528614e"></a>

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

<a id="dt-95107b4b3584e917ff31"></a>

**Item 1**

> <div id="dt-3686a6620d670314acea">
> <p style="white-space: pre-wrap">module reset</p>
> </div>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

<a id="dt-353fc881e5c58d1dcba1"></a>

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

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-00c19fce1fea453eab02"><code>&#34;soctherm&#34;</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-36c28e26a0c8e3f575ff"></a>

### <code>throttle&#45;cfgs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-de0e058f311540c44a77">[<code>thermal&#45;cooling&#45;devices&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-cooling-devices.md#dt-root>)</span>

<div id="dt-3bac42b050d07dc8d0a4">
<p style="white-space: pre-wrap">A sub-node which is a container of configuration for each hardware throttle events. These events can be set as cooling devices. Throttle event sub-nodes must be named as "light" or "heavy".</p>
</div>

<a id="dt-4550d7cf4e9df1fcd2a5"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-550bcf394992c6bd3528"></a>

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

<a id="dt-85b5f5d7154e163716a2"></a>

**<code>&#94;&#40;light&#124;heavy&#124;oc1&#41;&#36;</code> — name matches this regular expression**

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

<a id="dt-a9f15ceeee77db428990"></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-f47b08c8798a61a9dbbb"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-3fb39bc7f26a50d94630"><code>2</code></span>

<a id="dt-0cb674c99997b6458e89"></a>

**<code>nvidia&#44;priority</code> — not listed as required here**

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

**Minimum value (<code>minimum</code>):** <span id="dt-adaf33068c1bc58fef5f"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-d5737c726ad0a7be75cb"><code>100</code></span>

<div id="dt-cbaf640b84ebd2665981">
<p style="white-space: pre-wrap">Each throttles has its own throttle settings, so the SW need to set priorities for various throttle, the HW arbiter can select the final throttle settings. Bigger value indicates higher priority, In general, higher priority translates to lower target frequency. SW needs to ensure that critical thermal alarms are given higher priority, and ensure that there is no race if priority of two vectors is set to the same value.</p>
</div>

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

**<code>nvidia&#44;cpu&#45;throt&#45;percent</code> — not listed as required here**

<div id="dt-03d39c5bb892515f7948">
<p style="white-space: pre-wrap">This property is for Tegra124 and Tegra210. It is the throttling depth of pulse skippers, it's the percentage throttling.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-d3a7d3f0373af8adecdf"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-e946cb6dd50d807128f6"><code>100</code></span>

<a id="dt-3f132d6cf2f31f105132"></a>

**<code>nvidia&#44;cpu&#45;throt&#45;level</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-129baf4fcdbb1648ac16">[<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-03cbf3f039b09253988b">
<p style="white-space: pre-wrap">This property is only for Tegra132, it is the level of pulse skippers, which used to throttle clock frequencies. It indicates cpu clock throttling depth, and the depth can be programmed.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-a0ef52acaa9dabb6fed6"></a> <span id="dt-5183c4d181ffdd63c1b5"><code>0</code></span>, <span id="dt-42c5f5957475f6c64eb9"><code>1</code></span>, <span id="dt-de089f7066d5ebde16b4"><code>2</code></span>, <span id="dt-b3431598f146dd952582"><code>3</code></span>

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

**<code>nvidia&#44;gpu&#45;throt&#45;level</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c0612dda64b81590e707">[<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-3e5a03bd76a39b924c90">
<p style="white-space: pre-wrap">This property is for Tegra124 and Tegra210. It is the level of pulse skippers, which used to throttle clock frequencies. It indicates gpu clock throttling depth and can be programmed to any of the following values which represent a throttling percentage.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-afabdced3da2db2595de"></a> <span id="dt-937aacf22af0618aa6cd"><code>0</code></span>, <span id="dt-6af9ff7d307061411578"><code>1</code></span>, <span id="dt-1e38942fbbd2ba0c312d"><code>2</code></span>, <span id="dt-92a76711606807903883"><code>3</code></span>

<a id="dt-23f9e847bab8e9688388"></a>

**<code>nvidia&#44;count&#45;threshold</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-898e3bb3880c6e49fcbc">[<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-b0857cfbc8e411abb7e6">
<p style="white-space: pre-wrap">Specifies the number of OC events that are required for triggering an interrupt. Interrupts are not triggered if the property is missing. A value of 0 will interrupt on every OC alarm.</p>
</div>

<a id="dt-0ecb204a99a69b847466"></a>

**<code>nvidia&#44;polarity&#45;active&#45;low</code> — not listed as required here**

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

<div id="dt-4d3a16e6466754fa899d">
<p style="white-space: pre-wrap">Configures the polarity of the OC alaram signal. If present, this means assert low, otherwise assert high.</p>
</div>

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

**<code>nvidia&#44;alarm&#45;filter</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-528828f526ebc8654e80">[<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-4b8245a59756d56dc3fa">
<p style="white-space: pre-wrap">Number of clocks to filter event. When the filter expires (which means the OC event has not occurred for a long time), the counter is cleared and filter is rearmed.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-2fa3f342befa5f033735"><code>0</code></span>

<a id="dt-05089fb4c10077553486"></a>

**<code>nvidia&#44;throttle&#45;period&#45;us</code> — not listed as required here**

<div id="dt-870387a85b348552609c">
<p style="white-space: pre-wrap">Specifies the number of microseconds for which throttling is engaged after the OC event is deasserted.</p>
</div>

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

<a id="dt-64c7a308b8be07667aba"></a>

### <code>nvidia&#44;thermtrips</code> — not listed as required here

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

<div id="dt-8986d36c9af8defebfd1">
<p style="white-space: pre-wrap">When present, this property specifies the temperature at which the
SOCTHERM hardware will assert the thermal trigger signal to the Power
Management IC, which can be configured to reset or shutdown the device.
It is an array of pairs where each pair represents a tsensor ID followed
by a temperature in milli Celcius. In the absence of this property the
critical trip point will be used for thermtrip temperature.</p>
<pre><code>Note:
- the "critical" type trip points will be used to set the temperature at
  which the SOCTHERM hardware will assert a thermal trigger if the
  "nvidia,thermtrips" property is missing.  When the thermtrips property
  is present, the breach of a critical trip point is reported back to
  the thermal framework to implement software shutdown.</code></pre>
<pre><code>- the "hot" type trip points will be set to SOCTHERM hardware as the
  throttle temperature.  Once the temperature of this thermal zone is
  higher than it, it will trigger the HW throttle event.</code></pre>
</div>

<a id="dt-949ab3a0a15ac96f20a6"></a>

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

> <a id="dt-7f51f147108b5f17cdd7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-527068e628fb5e9bfb57"></a>
>
> **Item 1**
>
> > <div id="dt-9fe5ff4d900522e67398">
> > <p style="white-space: pre-wrap">sensor ID</p>
> > </div>
> >
> > <a id="dt-22b2c38b4edcc23ada70"></a>
> >
> > **Exactly one of these rules must match (<code>oneOf</code>)**
> >
> > <a id="dt-194eb85c6fab125c6bf6"></a>
> >
> > **Rule 1**
> >
> > > <div id="dt-c6c063f7799dca1e30a4">
> > > <p style="white-space: pre-wrap">CPU sensor</p>
> > > </div>
> > >
> > > **Exact value (<code>const</code>):** <span id="dt-26e916f23821c984eade"><code>0</code></span>
> >
> > <a id="dt-182363a4377344ec6b4a"></a>
> >
> > **Rule 2**
> >
> > > <div id="dt-0126bde76ed94b36f01d">
> > > <p style="white-space: pre-wrap">MEM sensor</p>
> > > </div>
> > >
> > > **Exact value (<code>const</code>):** <span id="dt-47046333c6b3e4ad4821"><code>1</code></span>
> >
> > <a id="dt-9df9f264d243558eb957"></a>
> >
> > **Rule 3**
> >
> > > <div id="dt-ae129b853cc83bae3de2">
> > > <p style="white-space: pre-wrap">GPU sensor</p>
> > > </div>
> > >
> > > **Exact value (<code>const</code>):** <span id="dt-6902971adf042b59d942"><code>2</code></span>
> >
> > <a id="dt-861c9dd07d3a9afbcfda"></a>
> >
> > **Rule 4**
> >
> > > <div id="dt-d92d0a7ffac52b2fa364">
> > > <p style="white-space: pre-wrap">PLLX sensor</p>
> > > </div>
> > >
> > > **Exact value (<code>const</code>):** <span id="dt-c7e82b4d8406e86900a6"><code>3</code></span>
>
> <a id="dt-b79f79817bb78f487675"></a>
>
> **Item 2**
>
> > <div id="dt-4353257b8f30ab280942">
> > <p style="white-space: pre-wrap">temperature threshold (in millidegree Celsius)</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;resets&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;reset&#45;names&#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>thermal&#45;sensor&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.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;nvidia&#44;tegra114&#45;soctherm&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;nvidia&#44;tegra124&#45;soctherm&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;nvidia&#44;tegra210&#45;soctherm&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;nvidia&#44;tegra210b01&#45;soctherm&#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-18ed1f4bd380878274d8"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-57a47f31b9538e0be5c1"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-bc319cbd3310a768e6d0"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-9da9173723afbadba2bd">
> > > <p style="white-space: pre-wrap">SOCTHERM register set</p>
> > > </div>
> >
> > <a id="dt-4b59d984630720aedcbf"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-b910d735710af4cc497d">
> > > <p style="white-space: pre-wrap">clock and reset controller registers</p>
> > > </div>
> >
> > <a id="dt-d950ec7774f5cc573245"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > <a id="dt-a800b5914a4cda2cce34"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-0428080af588ed1ee599"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9324644531bdb5ab5d65"><code>&#34;soctherm&#45;reg&#34;</code></span>
> >
> > <a id="dt-7f354359a699c3516473"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-ec321e37d7c7679af086"><code>&#34;car&#45;reg&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-d92e0020acecb84cba03"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-6d2a34019ba0c7057a81"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-28ddd19ba02a360f1c02"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-25d763924ef988e6933e">
> > > <p style="white-space: pre-wrap">SOCTHERM register set</p>
> > > </div>
> >
> > <a id="dt-f25680cb8a8394747858"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-e7a1149d6d5472d87ec0">
> > > <p style="white-space: pre-wrap">CCROC registers</p>
> > > </div>
> >
> > <a id="dt-de3f0db477c85d08f996"></a>
> >
> > **<code>reg&#45;names</code> — not listed as required here**
> >
> > <a id="dt-480aaa66046d821d7f95"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-d6c0028698b931241b18"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-f1e19f365c38a57f95e9"><code>&#34;soctherm&#45;reg&#34;</code></span>
> >
> > <a id="dt-72a87846d58842a7aca1"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4a93cdfb72dee2a866a0"><code>&#34;ccroc&#45;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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/clock/tegra124-car.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/thermal/tegra124-soctherm.h&gt;

soctherm@700e2000 {
    compatible = "nvidia,tegra124-soctherm";
    reg = &lt;0x700e2000 0x600&gt;, /* SOC_THERM reg_base */
          &lt;0x60006000 0x400&gt;; /* CAR reg_base */
    reg-names = "soctherm-reg", "car-reg";
    interrupts = &lt;GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "thermal", "edp";
    clocks = &lt;&amp;tegra_car TEGRA124_CLK_TSENSOR&gt;,
             &lt;&amp;tegra_car TEGRA124_CLK_SOC_THERM&gt;;
    clock-names = "tsensor", "soctherm";
    resets = &lt;&amp;tegra_car 78&gt;;
    reset-names = "soctherm";

    #thermal-sensor-cells = &lt;1&gt;;

    nvidia,thermtrips = &lt;TEGRA124_SOCTHERM_SENSOR_CPU 102500&gt;,
                        &lt;TEGRA124_SOCTHERM_SENSOR_GPU 103000&gt;;

    throttle-cfgs {
        /*
         * When the "heavy" cooling device triggered,
         * the HW will skip cpu clock's pulse in 85% depth,
         * skip gpu clock's pulse in 85% level
         */
        heavy {
            nvidia,priority = &lt;100&gt;;
            nvidia,cpu-throt-percent = &lt;85&gt;;
            nvidia,gpu-throt-level = &lt;TEGRA_SOCTHERM_THROT_LEVEL_HIGH&gt;;

            #cooling-cells = &lt;2&gt;;
        };

        /*
         * When the "light" cooling device triggered,
         * the HW will skip cpu clock's pulse in 50% depth,
         * skip gpu clock's pulse in 50% level
         */
        light {
            nvidia,priority = &lt;80&gt;;
            nvidia,cpu-throt-percent = &lt;50&gt;;
            nvidia,gpu-throt-level = &lt;TEGRA_SOCTHERM_THROT_LEVEL_LOW&gt;;

            #cooling-cells = &lt;2&gt;;
        };

        /*
         * If these two devices are triggered in same time, the HW throttle
         * arbiter will select the highest priority as the final throttle
         * settings to skip cpu pulse.
         */

        oc1 {
            nvidia,priority = &lt;50&gt;;
            nvidia,polarity-active-low;
            nvidia,count-threshold = &lt;100&gt;;
            nvidia,alarm-filter = &lt;5100000&gt;;
            nvidia,throttle-period-us = &lt;0&gt;;
            nvidia,cpu-throt-percent = &lt;75&gt;;
            nvidia,gpu-throt-level = &lt;TEGRA_SOCTHERM_THROT_LEVEL_MED&gt;;
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">thermal-sensor@700e2000 {
    compatible = "nvidia,tegra132-soctherm";
    reg = &lt;0x700e2000 0x600&gt;, /* SOC_THERM reg_base */
          &lt;0x70040000 0x200&gt;; /* CCROC reg_base */
    reg-names = "soctherm-reg", "ccroc-reg";
    interrupts = &lt;GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "thermal", "edp";
    clocks = &lt;&amp;tegra_car TEGRA124_CLK_TSENSOR&gt;,
             &lt;&amp;tegra_car TEGRA124_CLK_SOC_THERM&gt;;
    clock-names = "tsensor", "soctherm";
    resets = &lt;&amp;tegra_car 78&gt;;
    reset-names = "soctherm";
    #thermal-sensor-cells = &lt;1&gt;;

    throttle-cfgs {
        /*
         * When the "heavy" cooling device triggered,
         * the HW will skip cpu clock's pulse in HIGH level
         */
        heavy {
            nvidia,priority = &lt;100&gt;;
            nvidia,cpu-throt-level = &lt;TEGRA_SOCTHERM_THROT_LEVEL_HIGH&gt;;

            #cooling-cells = &lt;2&gt;;
        };

        /*
         * When the "light" cooling device triggered,
         * the HW will skip cpu clock's pulse in MED level
         */
        light {
            nvidia,priority = &lt;80&gt;;
            nvidia,cpu-throt-level = &lt;TEGRA_SOCTHERM_THROT_LEVEL_MED&gt;;

            #cooling-cells = &lt;2&gt;;
        };

        /*
         * If these two devices are triggered in same time, the HW throttle
         * arbiter will select the highest priority as the final throttle
         * settings to skip cpu pulse.
         */
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">thermal-zones {
    cpu-thermal {
        polling-delay-passive = &lt;1000&gt;;
        polling-delay = &lt;1000&gt;;

        thermal-sensors = &lt;&amp;soctherm TEGRA124_SOCTHERM_SENSOR_CPU&gt;;

        trips {
            cpu_shutdown_trip: shutdown-trip {
                temperature = &lt;102500&gt;;
                hysteresis = &lt;1000&gt;;
                type = "critical";
            };

            cpu_throttle_trip: throttle-trip {
                temperature = &lt;100000&gt;;
                hysteresis = &lt;1000&gt;;
                type = "hot";
            };
        };

        cooling-maps {
            map0 {
                trip = &lt;&amp;cpu_throttle_trip&gt;;
                cooling-device = &lt;&amp;throttle_heavy 1 1&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>

<p id="dt-comment-1"><strong>Line 105:</strong> <span> none (TEGRA_SOCTHERM_THROT_LEVEL_NONE)</span></p>

<p id="dt-comment-2"><strong>Line 107:</strong> <span> low (TEGRA_SOCTHERM_THROT_LEVEL_LOW)</span></p>

<p id="dt-comment-3"><strong>Line 109:</strong> <span> medium (TEGRA_SOCTHERM_THROT_LEVEL_MED)</span></p>

<p id="dt-comment-4"><strong>Line 111:</strong> <span> high (TEGRA_SOCTHERM_THROT_LEVEL_HIGH)</span></p>

<p id="dt-comment-5"><strong>Line 122:</strong> <span> none (0%, TEGRA_SOCTHERM_THROT_LEVEL_NONE)</span></p>

<p id="dt-comment-6"><strong>Line 124:</strong> <span> low (50%, TEGRA_SOCTHERM_THROT_LEVEL_LOW)</span></p>

<p id="dt-comment-7"><strong>Line 126:</strong> <span> medium (75%, TEGRA_SOCTHERM_THROT_LEVEL_MED)</span></p>

<p id="dt-comment-8"><strong>Line 128:</strong> <span> high (85%, TEGRA_SOCTHERM_THROT_LEVEL_HIGH)</span></p>

<p id="dt-comment-9"><strong>Line 131:</strong> <span> optional</span></p>

<p id="dt-comment-10"><strong>Line 132:</strong> <span> Tegra210 specific and valid only for OCx throttle events</span></p>

<p id="dt-comment-11"><strong>Line 157:</strong> <span> optional</span></p>

<p id="dt-comment-12"><strong>Line 310:</strong> <span> referring to Tegra132's "reg", "reg-names" and "throttle-cfgs"</span></p>

<p id="dt-comment-13"><strong>Line 358:</strong> <span> referring to thermal sensors</span></p>

</details>

---

# NVIDIA Tegra186 (and later) BPMP thermal sensor

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

> Device-tree binding reference for NVIDIA Tegra186 (and later) BPMP thermal sensor.

<!-- 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;thermal&#47;nvidia&#44;tegra186&#45;bpmp&#45;thermal&#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;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">In Tegra186, the BPMP (Boot and Power Management Processor) implements
an interface that is used to read system temperatures, including CPU
cluster and GPU temperatures. This binding describes the thermal
sensor that is exposed by BPMP.</p>
<p style="white-space: pre-wrap">The BPMP thermal node must be located directly inside the main BPMP
node. See ../firmware/nvidia,tegra186-bpmp.yaml for details of the
BPMP binding.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;nvidia&#44;tegra186&#45;bpmp&#45;thermal&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nvidia&#44;tegra194&#45;bpmp&#45;thermal&#34;</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-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

## 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>

---

# NVIDIA Tegra30 Thermal Sensor

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

> Device-tree binding reference for NVIDIA Tegra30 Thermal Sensor.

<!-- 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;thermal&#47;nvidia&#44;tegra30&#45;tsensor&#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;Dmitry Osipenko &#60;digetx&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">TSENSOR provides thermal and voltage sensors which monitor temperature
and voltage of the chip. Sensors are placed across the die to gauge the
temperature of the whole chip. The TSENSOR module:</p>
<pre><code>  Generates an interrupt to SW to lower temperature via DVFS on reaching
  a certain thermal/voltage threshold.</code></pre>
<pre><code>  Generates a signal to the CAR to reduce CPU frequency by half on reaching
  a certain thermal/voltage threshold.</code></pre>
<pre><code>  Generates a signal to the PMC when the temperature reaches dangerously high
  levels to reset the chip and sets a flag in the PMC.</code></pre>
<p style="white-space: pre-wrap">TSENSOR has two channels which monitor two different spots of the SoC.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<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;nvidia&#44;tegra30&#45;tsensor&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

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

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

### <code>resets</code> — required here

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

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

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><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>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;resets&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></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">thermal-sensor@70014000 {
  compatible = "nvidia,tegra30-tsensor";
  reg = &lt;0x70014000 0x500&gt;;
  interrupts = &lt;0 102 4&gt;;
  clocks = &lt;&amp;clk 100&gt;;
  resets = &lt;&amp;rst 100&gt;;

  #thermal-sensor-cells = &lt;1&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>

---

# Qualcomm QPNP PMIC Temperature Alarm

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

> Device-tree binding reference for Qualcomm QPNP PMIC Temperature Alarm.

<!-- 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;thermal&#47;qcom&#44;spmi&#45;temp&#45;alarm&#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;Bjorn Andersson &#60;bjorn&#46;andersson&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">QPNP temperature alarm peripherals are found inside of Qualcomm PMIC chips that utilize the Qualcomm SPMI implementation. These peripherals provide an interrupt signal and status register to identify high PMIC die temperature.</p>
</div>

<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>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<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;qcom&#44;spmi&#45;temp&#45;alarm&#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> — required here

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

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

### <code>io&#45;channels</code> — not listed as required here

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

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

<a id="dt-17d53412d1fa1395a9a8"></a>

**Item 1**

> <div id="dt-abac078e3f886f38f23a">
> <p style="white-space: pre-wrap">ADC channel, which reports chip die temperature</p>
> </div>

<a id="dt-52503acc5d03431d5405"></a>

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

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

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

<a id="dt-55a5fdf011bea14cc16c"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-ca12438828b4e158bfc1"><code>&#34;thermal&#34;</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>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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#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-1a130cabaa8a47b058bf"></a>

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

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

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

    pm8350_temp_alarm: temperature-sensor@a00 {
        compatible = "qcom,spmi-temp-alarm";
        reg = &lt;0xa00&gt;;
        interrupts = &lt;0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH&gt;;
        #thermal-sensor-cells = &lt;0&gt;;
    };
};

thermal-zones {
    pm8350_thermal: pm8350c-thermal {
        polling-delay-passive = &lt;100&gt;;
        polling-delay = &lt;0&gt;;
        thermal-sensors = &lt;&amp;pm8350_temp_alarm&gt;;

        trips {
            pm8350_trip0: trip0 {
                temperature = &lt;95000&gt;;
                hysteresis = &lt;0&gt;;
                type = "passive";
            };

            pm8350_crit: pm8350c-crit {
                temperature = &lt;115000&gt;;
                hysteresis = &lt;0&gt;;
                type = "critical";
            };
        };
    };
};
</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>

---

# Qualcomm Limits Management Hardware(LMh)

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

> Device-tree binding reference for Qualcomm Limits Management Hardware(LMh).

<!-- 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;thermal&#47;qcom&#45;lmh&#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;Thara Gopinath &#60;thara&#46;gopinath&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Limits Management Hardware(LMh) is a hardware infrastructure on some Qualcomm SoCs that can enforce temperature and current limits as programmed by software for certain IPs like CPU.</p>
</div>

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

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

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

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;qcom&#44;sc8180x&#45;lmh&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;qcom&#44;sdm845&#45;lmh&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;qcom&#44;sm8150&#45;lmh&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;qcom&#44;qcm2290&#45;lmh&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;sm8150&#45;lmh&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">core registers</p>
> </div>

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

### <code>interrupts</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

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

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

### <code>interrupt&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-109a6d49a50c530c87ba"></a>

### <code>cpus</code> — required here

<div id="dt-8d04f65b3a4af10110ca">
<p style="white-space: pre-wrap">phandle of the first cpu in the LMh cluster</p>
</div>

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

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

### <code>qcom&#44;lmh&#45;temp&#45;arm&#45;millicelsius</code> — required here

<div id="dt-94c7c02174f92093b02a">
<p style="white-space: pre-wrap">An integer expressing temperature threshold at which the LMh thermal FSM is engaged.</p>
</div>

<a id="dt-6e8f6ed45c6f0b38137a"></a>

### <code>qcom&#44;lmh&#45;temp&#45;low&#45;millicelsius</code> — required here

<div id="dt-bc457a88a9246c513759">
<p style="white-space: pre-wrap">An integer expressing temperature threshold at which the state machine will attempt to remove frequency throttling.</p>
</div>

<a id="dt-158e2fc7730bea30035a"></a>

### <code>qcom&#44;lmh&#45;temp&#45;high&#45;millicelsius</code> — required here

<div id="dt-e3e7b098b5acfac2005f">
<p style="white-space: pre-wrap">An integer expressing temperature threshold at which the state machine will attempt to throttle the frequency.</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;interrupt&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupt&#45;controller&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;cpus&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;qcom&#44;lmh&#45;temp&#45;arm&#45;millicelsius&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;qcom&#44;lmh&#45;temp&#45;low&#45;millicelsius&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;qcom&#44;lmh&#45;temp&#45;high&#45;millicelsius&#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-1a130cabaa8a47b058bf"></a>

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

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

lmh@17d70800 {
  compatible = "qcom,sdm845-lmh";
  reg = &lt;0x17d70800 0x400&gt;;
  interrupts = &lt;GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH&gt;;
  cpus = &lt;&amp;CPU4&gt;;
  qcom,lmh-temp-arm-millicelsius = &lt;65000&gt;;
  qcom,lmh-temp-low-millicelsius = &lt;94500&gt;;
  qcom,lmh-temp-high-millicelsius = &lt;95000&gt;;
  interrupt-controller;
  #interrupt-cells = &lt;1&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>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2021 Linaro Ltd.</span></p>

</details>

---

# Qualcomm's SPMI PMIC ADC HC Thermal Monitoring

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

> Device-tree binding reference for Qualcomm's SPMI PMIC ADC HC Thermal Monitoring.

<!-- 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;thermal&#47;qcom&#45;spmi&#45;adc&#45;tm&#45;hc&#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;Dmitry Baryshkov &#60;dmitry&#46;baryshkov&#64;linaro&#46;org&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<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;qcom&#44;spmi&#45;adc&#45;tm&#45;hc&#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> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><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> — 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> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-3390736a1baec95b1395"></a>

### <code>qcom&#44;avg&#45;samples</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d4cbf1bc51bde5bdd5b6">[<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-a4213079616df7c2acf8">
<p style="white-space: pre-wrap">Number of samples to be used for measurement.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-bea5551e0f20fa72c173"></a> <span id="dt-53f1d46b4266f00ad3cb"><code>1</code></span>, <span id="dt-540585d246eb2c1b9358"><code>2</code></span>, <span id="dt-cb4c327488b35edb0959"><code>4</code></span>, <span id="dt-b54425d5e91790a34598"><code>8</code></span>, <span id="dt-a6b26c5051c1cb30e7ef"><code>16</code></span>

**Default value (<code>default</code>):** <span id="dt-6b0a351a3e343e3d57e9"><code>1</code></span>

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

### <code>qcom&#44;decimation</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-24086233832749472270">[<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-78eeb39f4e4d8abea8c4">
<p style="white-space: pre-wrap">This parameter is used to decrease ADC sampling rate. Quicker measurements can be made by reducing decimation ratio.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-03e9816fdd152125121b"></a> <span id="dt-b1ff2cba6d71c085d133"><code>256</code></span>, <span id="dt-4ef149def645828e8dc6"><code>512</code></span>, <span id="dt-c96099df1e92a26e42bb"><code>1024</code></span>

**Default value (<code>default</code>):** <span id="dt-445fd5744c9cbffd8d3c"><code>1024</code></span>

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

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

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

### <code>&#94;&#40;&#91;&#45;a&#45;z0&#45;9&#93;&#42;&#41;&#64;&#91;0&#45;7&#93;&#36;</code> — name matches this regular expression

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

<div id="dt-ccc4611ec17fff0c4c97">
<p style="white-space: pre-wrap">Represent one thermal sensor.</p>
</div>

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

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

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

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

<div id="dt-668081bfdb8783140be5">
<p style="white-space: pre-wrap">Specify the sensor channel. There are 8 channels in PMIC5's ADC TM</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-fae8c55b438ce11d7713"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-58a6d607658c937d784b"><code>7</code></span>

<a id="dt-7598caf96a36f9a1bb6c"></a>

**<code>io&#45;channels</code> — required here**

<div id="dt-6f42091e3643bf5d4cb6">
<p style="white-space: pre-wrap">From common IIO binding. Used to pipe PMIC ADC channel to thermal monitor</p>
</div>

<a id="dt-13ef1d33022a022f486c"></a>

**<code>qcom&#44;ratiometric</code> — not listed as required here**

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

<div id="dt-258b28f7f5ce7aacf28d">
<p style="white-space: pre-wrap">Channel calibration type. If this property is specified VADC will use the VDD reference (1.875V) and GND for channel calibration. If property is not found, channel will be calibrated with 0V and 1.25V reference channels, also known as absolute calibration.</p>
</div>

<a id="dt-52d6f18b5ae643ffe5da"></a>

**<code>qcom&#44;hw&#45;settle&#45;time&#45;us</code> — not listed as required here**

<div id="dt-625fd33908d23a22ba91">
<p style="white-space: pre-wrap">Time between AMUX getting configured and the ADC starting conversion.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-9bda9bb36eb6cd6e1580"></a> <span id="dt-bc88ee71f9b70aff9033"><code>0</code></span>, <span id="dt-4888de55e889540593d3"><code>100</code></span>, <span id="dt-c85a631324a017a692f8"><code>200</code></span>, <span id="dt-4c7e9a70ca2979a33e79"><code>300</code></span>, <span id="dt-330971ce4e44d783484a"><code>400</code></span>, <span id="dt-e2a7ef2d4a1add275fa0"><code>500</code></span>, <span id="dt-aed34a731a1d9c5dd182"><code>600</code></span>, <span id="dt-8bb5f76233879ef2450a"><code>700</code></span>, <span id="dt-9ae77bccb738feb6c6fa"><code>1000</code></span>, <span id="dt-fd54c0307ab8f277c0bd"><code>2000</code></span>, <span id="dt-a2cb6e517993447e9335"><code>4000</code></span>, <span id="dt-0b62f8ee841c19ac7a7b"><code>6000</code></span>, <span id="dt-47546f1b6dd78fffc195"><code>8000</code></span>, <span id="dt-9b2c3232b72fe6b9bc1c"><code>10000</code></span>

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

**<code>qcom&#44;pre&#45;scaling</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1624cf06addd0dae0ad2">[<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>

<div id="dt-7c5434b844fbd55c9dec">
<p style="white-space: pre-wrap">Used for scaling the channel input signal before the signal is fed to VADC. The configuration for this node is to know the pre-determined ratio and use it for post scaling. It is a pair of integers, denoting the numerator and denominator of the fraction by which input signal is multiplied. For example, &lt;1 3&gt; indicates the signal is scaled down to 1/3 of its value before ADC measurement.  If property is not found default value depending on chip will be used.</p>
</div>

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

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

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

**Item 1**

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

<a id="dt-63a3b0aa579ab5c3d5ce"></a>

**Item 2**

> **Allowed values (<code>enum</code>):** <a id="dt-fcffed6f5fbf77997c62"></a> <span id="dt-77e9fb018a260b92a87d"><code>1</code></span>, <span id="dt-bfad84d3b4209fa24742"><code>3</code></span>, <span id="dt-ba82ad26a8521b2244dc"><code>4</code></span>, <span id="dt-37b0d177b252dfe656db"><code>6</code></span>, <span id="dt-c3177f84b008811b0278"><code>20</code></span>, <span id="dt-0adcd283310442f2db32"><code>8</code></span>, <span id="dt-5ef2549be6f84bdc5bb1"><code>10</code></span>

**Required in this object (<code>required</code>):** <a id="dt-30722118f8732bc4db62"></a> <span id="dt-4e51a96cabe35184f062"><code>&#34;reg&#34;</code></span>, <span id="dt-b6fd9ec7b5984cfccfc4"><code>&#34;io&#45;channels&#34;</code></span>

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

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

<code>false</code>

Not allowed by this rule.

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;size&#45;cells&#34;</code></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">#include &lt;dt-bindings/iio/qcom,spmi-vadc.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

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

    pm8998_adc: adc@3100 {
        compatible = "qcom,spmi-adc-rev2";
        reg = &lt;0x3100&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        #io-channel-cells = &lt;1&gt;;

        /* Other properties are omitted */
        channel@4c {
            reg = &lt;ADC5_XO_THERM_100K_PU&gt;;
        };
    };

    adc-tm@3400 {
        compatible = "qcom,spmi-adc-tm-hc";
        reg = &lt;0x3400&gt;;
        interrupts = &lt;0x2 0x34 0x0 IRQ_TYPE_EDGE_RISING&gt;;
        #thermal-sensor-cells = &lt;1&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        thermistor@1 {
            reg = &lt;1&gt;;
            io-channels = &lt;&amp;pm8998_adc ADC5_XO_THERM_100K_PU&gt;;
            qcom,ratiometric;
            qcom,hw-settle-time-us = &lt;200&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>

---

# Qualcomm's SPMI PMIC ADC Thermal Monitoring

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

> Device-tree binding reference for Qualcomm's SPMI PMIC ADC Thermal Monitoring.

<!-- 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;thermal&#47;qcom&#45;spmi&#45;adc&#45;tm5&#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;Dmitry Baryshkov &#60;dmitry&#46;baryshkov&#64;linaro&#46;org&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</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;qcom&#44;spmi&#45;adc&#45;tm5&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;qcom&#44;spmi&#45;adc&#45;tm5&#45;gen2&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;qcom&#44;adc&#45;tm7&#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> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><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> — 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> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-3390736a1baec95b1395"></a>

### <code>qcom&#44;avg&#45;samples</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d4cbf1bc51bde5bdd5b6">[<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-a4213079616df7c2acf8">
<p style="white-space: pre-wrap">Number of samples to be used for measurement. Not applicable for Gen2 ADC_TM peripheral.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-bea5551e0f20fa72c173"></a> <span id="dt-53f1d46b4266f00ad3cb"><code>1</code></span>, <span id="dt-540585d246eb2c1b9358"><code>2</code></span>, <span id="dt-cb4c327488b35edb0959"><code>4</code></span>, <span id="dt-b54425d5e91790a34598"><code>8</code></span>, <span id="dt-a6b26c5051c1cb30e7ef"><code>16</code></span>

**Default value (<code>default</code>):** <span id="dt-6b0a351a3e343e3d57e9"><code>1</code></span>

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

### <code>qcom&#44;decimation</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-24086233832749472270">[<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-78eeb39f4e4d8abea8c4">
<p style="white-space: pre-wrap">This parameter is used to decrease ADC sampling rate. Quicker measurements can be made by reducing decimation ratio. Not applicable for Gen2 ADC_TM peripheral.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-03e9816fdd152125121b"></a> <span id="dt-b1ff2cba6d71c085d133"><code>250</code></span>, <span id="dt-4ef149def645828e8dc6"><code>420</code></span>, <span id="dt-c96099df1e92a26e42bb"><code>840</code></span>

**Default value (<code>default</code>):** <span id="dt-445fd5744c9cbffd8d3c"><code>840</code></span>

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

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

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

### <code>&#94;&#40;&#91;&#45;a&#45;z0&#45;9&#93;&#42;&#41;&#64;&#91;0&#45;7&#93;&#36;</code> — name matches this regular expression

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

<div id="dt-ccc4611ec17fff0c4c97">
<p style="white-space: pre-wrap">Represent one thermal sensor.</p>
</div>

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

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

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

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

<div id="dt-668081bfdb8783140be5">
<p style="white-space: pre-wrap">Specify the sensor channel. There are 8 channels in PMIC5's ADC TM</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-fae8c55b438ce11d7713"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-58a6d607658c937d784b"><code>7</code></span>

<a id="dt-7598caf96a36f9a1bb6c"></a>

**<code>io&#45;channels</code> — required here**

<div id="dt-6f42091e3643bf5d4cb6">
<p style="white-space: pre-wrap">From common IIO binding. Used to pipe PMIC ADC channel to thermal monitor</p>
</div>

<a id="dt-13ef1d33022a022f486c"></a>

**<code>qcom&#44;ratiometric</code> — not listed as required here**

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

<div id="dt-258b28f7f5ce7aacf28d">
<p style="white-space: pre-wrap">Channel calibration type. If this property is specified VADC will use the VDD reference (1.875V) and GND for channel calibration. If property is not found, channel will be calibrated with 0V and 1.25V reference channels, also known as absolute calibration.</p>
</div>

<a id="dt-52d6f18b5ae643ffe5da"></a>

**<code>qcom&#44;hw&#45;settle&#45;time&#45;us</code> — not listed as required here**

<div id="dt-625fd33908d23a22ba91">
<p style="white-space: pre-wrap">Time between AMUX getting configured and the ADC starting conversion.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-9bda9bb36eb6cd6e1580"></a> <span id="dt-bc88ee71f9b70aff9033"><code>15</code></span>, <span id="dt-4888de55e889540593d3"><code>100</code></span>, <span id="dt-c85a631324a017a692f8"><code>200</code></span>, <span id="dt-4c7e9a70ca2979a33e79"><code>300</code></span>, <span id="dt-330971ce4e44d783484a"><code>400</code></span>, <span id="dt-e2a7ef2d4a1add275fa0"><code>500</code></span>, <span id="dt-aed34a731a1d9c5dd182"><code>600</code></span>, <span id="dt-8bb5f76233879ef2450a"><code>700</code></span>, <span id="dt-9ae77bccb738feb6c6fa"><code>1000</code></span>, <span id="dt-fd54c0307ab8f277c0bd"><code>2000</code></span>, <span id="dt-a2cb6e517993447e9335"><code>4000</code></span>, <span id="dt-0b62f8ee841c19ac7a7b"><code>8000</code></span>, <span id="dt-47546f1b6dd78fffc195"><code>16000</code></span>, <span id="dt-9b2c3232b72fe6b9bc1c"><code>32000</code></span>, <span id="dt-8b25cb331d791b76d8b6"><code>64000</code></span>, <span id="dt-349aed75f7e6242d587a"><code>128000</code></span>

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

**<code>qcom&#44;pre&#45;scaling</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1624cf06addd0dae0ad2">[<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>

<div id="dt-7c5434b844fbd55c9dec">
<p style="white-space: pre-wrap">Used for scaling the channel input signal before the signal is fed to VADC. The configuration for this node is to know the pre-determined ratio and use it for post scaling. It is a pair of integers, denoting the numerator and denominator of the fraction by which input signal is multiplied. For example, &lt;1 3&gt; indicates the signal is scaled down to 1/3 of its value before ADC measurement.  If property is not found default value depending on chip will be used.</p>
</div>

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

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

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

**Item 1**

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

<a id="dt-63a3b0aa579ab5c3d5ce"></a>

**Item 2**

> **Allowed values (<code>enum</code>):** <a id="dt-fcffed6f5fbf77997c62"></a> <span id="dt-77e9fb018a260b92a87d"><code>1</code></span>, <span id="dt-bfad84d3b4209fa24742"><code>3</code></span>, <span id="dt-ba82ad26a8521b2244dc"><code>4</code></span>, <span id="dt-37b0d177b252dfe656db"><code>6</code></span>, <span id="dt-c3177f84b008811b0278"><code>20</code></span>, <span id="dt-0adcd283310442f2db32"><code>8</code></span>, <span id="dt-5ef2549be6f84bdc5bb1"><code>10</code></span>

<a id="dt-6a68c13872ca7eb371d6"></a>

**<code>qcom&#44;avg&#45;samples</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-29fc53756a91111cee1f">[<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-68ba2b9090fc990c99a1">
<p style="white-space: pre-wrap">Number of samples to be used for measurement. This property in child node is applicable only for Gen2 ADC_TM peripheral.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-bea79772037133d27cf6"></a> <span id="dt-8e9c4b98b26ecd5d2699"><code>1</code></span>, <span id="dt-9cb6d71a41f1d933c15a"><code>2</code></span>, <span id="dt-e33a0ed4963933b85958"><code>4</code></span>, <span id="dt-bc6ae53ffe6cec111b74"><code>8</code></span>, <span id="dt-095e123220abfad40387"><code>16</code></span>

**Default value (<code>default</code>):** <span id="dt-12a374433f9ed3c36308"><code>1</code></span>

<a id="dt-92305821d1270fe1a7b3"></a>

**<code>qcom&#44;decimation</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d44bd255133d72c904fa">[<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-b2e324cea1b66233c934">
<p style="white-space: pre-wrap">This parameter is used to decrease ADC sampling rate. Quicker measurements can be made by reducing decimation ratio. This property in child node is applicable only for Gen2 ADC_TM peripheral.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-1889031d4dc3c53455f4"></a> <span id="dt-bb03be71973ef4e6f688"><code>85</code></span>, <span id="dt-a4700a377372bf93c2ed"><code>340</code></span>, <span id="dt-7a2edb10aef9c2e25a8a"><code>1360</code></span>

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

**Required in this object (<code>required</code>):** <a id="dt-30722118f8732bc4db62"></a> <span id="dt-4e51a96cabe35184f062"><code>&#34;reg&#34;</code></span>, <span id="dt-b6fd9ec7b5984cfccfc4"><code>&#34;io&#45;channels&#34;</code></span>

<a id="dt-eeb8d3d2fef58812b640"></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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;qcom&#44;spmi&#45;adc&#45;tm5&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-6a22a8f69a54bcbb7d12"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-f8ff12c225184b72141c"></a>
> >
> > **<code>&#94;&#40;&#91;&#45;a&#45;z0&#45;9&#93;&#42;&#41;&#64;&#91;0&#45;7&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-036af21452fe3bb0aa49"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-471aa5305534e84e3bf2"></a>
> >
> > **<code>qcom&#44;decimation</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-3bb62641a3fe4ff8a783"></a>
> >
> > **<code>qcom&#44;avg&#45;samples</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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;qcom&#44;spmi&#45;adc&#45;tm5&#45;gen2&#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-0f1ec0894e25f136f8b1"></a>
> >
> > **<code>qcom&#44;avg&#45;samples</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-4ce780a6ffbdf8a2f7f0"></a>
> >
> > **<code>qcom&#44;decimation</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;size&#45;cells&#34;</code></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">#include &lt;dt-bindings/iio/qcom,spmi-vadc.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

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

    pm8150b_adc: adc@3100 {
        compatible = "qcom,spmi-adc5";
        reg = &lt;0x3100&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        #io-channel-cells = &lt;1&gt;;

        /* Other properties are omitted */
        channel@4f {
            reg = &lt;ADC5_AMUX_THM3_100K_PU&gt;;
            qcom,ratiometric;
            qcom,hw-settle-time = &lt;200&gt;;
            label = "conn_therm";
        };
    };

    adc-tm@3500 {
        compatible = "qcom,spmi-adc-tm5";
        reg = &lt;0x3500&gt;;
        interrupts = &lt;0x2 0x35 0x0 IRQ_TYPE_EDGE_RISING&gt;;
        #thermal-sensor-cells = &lt;1&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        conn-therm@0 {
            reg = &lt;0&gt;;
            io-channels = &lt;&amp;pm8150b_adc ADC5_AMUX_THM3_100K_PU&gt;;
            qcom,ratiometric;
            qcom,hw-settle-time-us = &lt;200&gt;;
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/iio/qcom,spmi-adc7-pmk8350.h&gt;
#include &lt;dt-bindings/iio/qcom,spmi-adc7-pm8350.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

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

    pmk8350_vadc: adc@3100 {
        compatible = "qcom,spmi-adc7";
        reg = &lt;0x3100&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        #io-channel-cells = &lt;1&gt;;

        /* Other properties are omitted */
        channel@44 {
            reg = &lt;PMK8350_ADC7_AMUX_THM1_100K_PU&gt;;
            qcom,ratiometric;
            qcom,hw-settle-time = &lt;200&gt;;
            label = "xo_therm";
        };

        channel@147 {
            reg = &lt;PM8350_ADC7_AMUX_THM4_100K_PU(1)&gt;;
            qcom,ratiometric;
            qcom,hw-settle-time = &lt;200&gt;;
            label = "conn_therm";
        };
    };

    adc-tm@3400 {
        compatible = "qcom,spmi-adc-tm5-gen2";
        reg = &lt;0x3400&gt;;
        interrupts = &lt;0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING&gt;;
        #thermal-sensor-cells = &lt;1&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        pmk8350-xo-therm@0 {
            reg = &lt;0&gt;;
            io-channels = &lt;&amp;pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU&gt;;
            qcom,decimation = &lt;340&gt;;
            qcom,ratiometric;
            qcom,hw-settle-time-us = &lt;200&gt;;
        };

        conn-therm@1 {
            reg = &lt;1&gt;;
            io-channels = &lt;&amp;pmk8350_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)&gt;;
            qcom,avg-samples = &lt;2&gt;;
            qcom,ratiometric;
            qcom,hw-settle-time-us = &lt;200&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>

<p id="dt-comment-1"><strong>Line 18:</strong> <span> Incomplete / subject to change</span></p>

</details>

---

# QCOM SoC Temperature Sensor (TSENS)

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

> Device-tree binding reference for QCOM SoC Temperature Sensor (TSENS).

<!-- SPDX-License-Identifier: (GPL-2.0 OR MIT) -->


<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;thermal&#47;qcom&#45;tsens&#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;Amit Kucheria &#60;amitk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">QCOM SoCs have TSENS IP to allow temperature measurement. There are currently
three distinct major versions of the IP that is supported by a single driver.
The IP versions are named v0.1, v1 and v2 in the driver, where v0.1 captures
everything before v1 when there was no versioning information.</p>
</div>

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

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

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

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <div id="dt-ab1c3e7063bd95dc962e">
> <p style="white-space: pre-wrap">msm8960 TSENS based</p>
> </div>
>
> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;qcom&#44;ipq8064&#45;tsens&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;qcom&#44;msm8960&#45;tsens&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">v0.1 of TSENS</p>
> </div>
>
> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;qcom&#44;mdm9607&#45;tsens&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;qcom&#44;msm8226&#45;tsens&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;qcom&#44;msm8909&#45;tsens&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;qcom&#44;msm8916&#45;tsens&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;qcom&#44;msm8939&#45;tsens&#34;</code></span>, <span id="dt-05b29c21ca38ad337d53"><code>&#34;qcom&#44;msm8974&#45;tsens&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;tsens&#45;v0&#95;1&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <div id="dt-34ebc3371373135d1528">
> <p style="white-space: pre-wrap">v1 of TSENS without RPM which requires to be explicitly reset and enabled in the driver.</p>
> </div>
>
> **Allowed values (<code>enum</code>):** <a id="dt-9fc3f5081af7fe32b794"></a> <span id="dt-264517b00ca7c7f3c30f"><code>&#34;qcom&#44;ipq5018&#45;tsens&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <div id="dt-2e7dbd5da540c0c7ff41">
> <p style="white-space: pre-wrap">v1 of TSENS</p>
> </div>
>
> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;qcom&#44;msm8937&#45;tsens&#34;</code></span>, <span id="dt-f0654d9dc65c16ce7d6a"><code>&#34;qcom&#44;msm8956&#45;tsens&#34;</code></span>, <span id="dt-80bf5233c0e34928f5ac"><code>&#34;qcom&#44;msm8976&#45;tsens&#34;</code></span>, <span id="dt-3e86066ba2e9703b9565"><code>&#34;qcom&#44;qcs404&#45;tsens&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;qcom&#44;tsens&#45;v1&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> <div id="dt-67e1c2ab404e45238d0a">
> <p style="white-space: pre-wrap">v2 of TSENS</p>
> </div>
>
> <a id="dt-196210d7e8a5e94e1226"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4b7c967de45ba4ead27f"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-427722b6d265dacc9449"></a> <span id="dt-3e38de7c21c96fb8ed17"><code>&#34;qcom&#44;glymur&#45;tsens&#34;</code></span>, <span id="dt-70bcbd54d6039c7aaf2b"><code>&#34;qcom&#44;kaanapali&#45;tsens&#34;</code></span>, <span id="dt-86255e190909da68156f"><code>&#34;qcom&#44;milos&#45;tsens&#34;</code></span>, <span id="dt-aac8b48ada99e27f6e6d"><code>&#34;qcom&#44;msm8953&#45;tsens&#34;</code></span>, <span id="dt-f7cdb1e4e4b2902ba168"><code>&#34;qcom&#44;msm8996&#45;tsens&#34;</code></span>, <span id="dt-4d255741ac7f402d8564"><code>&#34;qcom&#44;msm8998&#45;tsens&#34;</code></span>, <span id="dt-b24ab9809243fbe11e64"><code>&#34;qcom&#44;qcm2290&#45;tsens&#34;</code></span>, <span id="dt-e22502167745a31d6059"><code>&#34;qcom&#44;qcs8300&#45;tsens&#34;</code></span>, <span id="dt-d98c48ce9bf7dbc2be50"><code>&#34;qcom&#44;qcs615&#45;tsens&#34;</code></span>, <span id="dt-37784001f15b34f3788e"><code>&#34;qcom&#44;sa8255p&#45;tsens&#34;</code></span>, <span id="dt-07e0ced6433c74f20afb"><code>&#34;qcom&#44;sa8775p&#45;tsens&#34;</code></span>, <span id="dt-397b561a186d46e90ece"><code>&#34;qcom&#44;sar2130p&#45;tsens&#34;</code></span>, <span id="dt-70c34662f65b99f953f9"><code>&#34;qcom&#44;sc7180&#45;tsens&#34;</code></span>, <span id="dt-c1e69b9b225e0d365d3f"><code>&#34;qcom&#44;sc7280&#45;tsens&#34;</code></span>, <span id="dt-d187b517925e4438791a"><code>&#34;qcom&#44;sc8180x&#45;tsens&#34;</code></span>, <span id="dt-6e138d074f6dca0864d7"><code>&#34;qcom&#44;sc8280xp&#45;tsens&#34;</code></span>, <span id="dt-c08c9eb1445ac942add5"><code>&#34;qcom&#44;sdm630&#45;tsens&#34;</code></span>, <span id="dt-b250ce02b1e21b44780b"><code>&#34;qcom&#44;sdm845&#45;tsens&#34;</code></span>, <span id="dt-09f0d0ab0883c44d5635"><code>&#34;qcom&#44;sm6115&#45;tsens&#34;</code></span>, <span id="dt-6c48c56f77e698501e89"><code>&#34;qcom&#44;sm6350&#45;tsens&#34;</code></span>, <span id="dt-73e8042bc1f8c9c6818a"><code>&#34;qcom&#44;sm6375&#45;tsens&#34;</code></span>, <span id="dt-acb61187dc081d51fbf9"><code>&#34;qcom&#44;sm8150&#45;tsens&#34;</code></span>, <span id="dt-d6bcb837a9c371477820"><code>&#34;qcom&#44;sm8250&#45;tsens&#34;</code></span>, <span id="dt-4eb706f7544e6592d739"><code>&#34;qcom&#44;sm8350&#45;tsens&#34;</code></span>, <span id="dt-ea6ddcaaf5c7e3d4f97e"><code>&#34;qcom&#44;sm8450&#45;tsens&#34;</code></span>, <span id="dt-63cd2ef6292f33a01546"><code>&#34;qcom&#44;sm8550&#45;tsens&#34;</code></span>, <span id="dt-e0e7eaa7764bc2266413"><code>&#34;qcom&#44;sm8650&#45;tsens&#34;</code></span>, <span id="dt-4bf72a92d9959559c643"><code>&#34;qcom&#44;x1e80100&#45;tsens&#34;</code></span>
>
> <a id="dt-caf6ce7d7f34e1e8d173"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-4a97b7e5e83d59103118"><code>&#34;qcom&#44;tsens&#45;v2&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> <div id="dt-4045864b8eb90100af37">
> <p style="white-space: pre-wrap">v2 of TSENS with combined interrupt</p>
> </div>
>
> **Allowed values (<code>enum</code>):** <a id="dt-4b1813581229dccf1348"></a> <span id="dt-722faf77a88273020057"><code>&#34;qcom&#44;ipq5332&#45;tsens&#34;</code></span>, <span id="dt-a7638b1568b6444226f0"><code>&#34;qcom&#44;ipq5424&#45;tsens&#34;</code></span>, <span id="dt-9857e885baaec1ae71c3"><code>&#34;qcom&#44;ipq8074&#45;tsens&#34;</code></span>

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

**Rule 7**

> <div id="dt-b8736ed7e7d450a91dd1">
> <p style="white-space: pre-wrap">v2 of TSENS with combined interrupt</p>
> </div>
>
> <a id="dt-12134cfffbae030c1559"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-0f098b450772c8e28b15"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-a50dbdcda1889d080d46"></a> <span id="dt-1ca32ae328bab5c1a3df"><code>&#34;qcom&#44;ipq6018&#45;tsens&#34;</code></span>, <span id="dt-66ac7809c68e429ab039"><code>&#34;qcom&#44;ipq9574&#45;tsens&#34;</code></span>
>
> <a id="dt-1df18a1c142d17441200"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1f1916fbcc1459030d21"><code>&#34;qcom&#44;ipq8074&#45;tsens&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">TM registers</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">SROT registers</p>
> </div>

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

### <code>interrupts</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

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

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

### <code>interrupt&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-30089c7b6e408306475b"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-718f7c4b526ed5355ff2"><code>2</code></span>

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

### <code>nvmem&#45;cells</code> — not listed as required here

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

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-07e08f0be506f624f333"><code>1</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-6a96e6836f0265dbcc2a"><code>2</code></span>
>
> <div id="dt-f8fa9e0e2d6cfc9e2da4">
> <p style="white-space: pre-wrap">Reference to an nvmem node for the calibration data</p>
> </div>

<a id="dt-378b81fc451e8aff6e31"></a>

**Rule 2**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-2484adf13d7dd9acdd43"><code>5</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-cc500119411b08be3519"><code>35</code></span>
>
> <div id="dt-6e3610cab325efafc71b">
> <p style="white-space: pre-wrap">Reference to nvmem cells for the calibration mode, two calibration
> bases and two cells per each sensor</p>
> </div>

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

**Rule 3**

> **Maximum number of items (<code>maxItems</code>):** <span id="dt-81cd0722f17ff3f5d283"><code>51</code></span>
>
> <div id="dt-7c0c6874b5794b1c308b">
> <p style="white-space: pre-wrap">Reference to nvmem cells for the calibration mode, two calibration
> bases and two cells per each sensor, main and backup copies, plus use_backup cell</p>
> </div>

<a id="dt-28ee7fd676493bbd8d08"></a>

### <code>nvmem&#45;cell&#45;names</code> — not listed as required here

<a id="dt-20bae8b12d610e7ca11c"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-8dbee1fcd553591cd938"><code>1</code></span>
>
> <a id="dt-204562eadee7f6c857ac"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-a1c46df38ea7594c603e"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-8805cf0e6d84b0e6bdae"><code>&#34;calib&#34;</code></span>
>
> <a id="dt-b0ad8423c506ce649540"></a>
>
> **Item 2**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-1f23b51683213674f9c2"></a> <span id="dt-f262c6b582191fa3b3ab"><code>&#34;calib&#95;backup&#34;</code></span>, <span id="dt-a03d841281e6360ddf6e"><code>&#34;calib&#95;sel&#34;</code></span>

<a id="dt-880e1b0385fdca213ae3"></a>

**Rule 2**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-64710559638ed062184f"><code>5</code></span>
>
> <a id="dt-1d82d7b32b2982e68e29"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-2508da7c71476f6c9950"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-35e881230a27157c0333"><code>&#34;mode&#34;</code></span>
>
> <a id="dt-274c50aaccb472f05b43"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-000b644a0fc3fbd977a0"><code>&#34;base1&#34;</code></span>
>
> <a id="dt-18f6590fecaead8394d8"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-eb61db0afa4ef53009ac"><code>&#34;base2&#34;</code></span>
>
> <a id="dt-c948240848ef05f995c4"></a>
>
> **Item 4**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-c09765cfa3b9c1603402"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-08a966e12a8abc8939b3"></a>
>
> **Item 5**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-fb74eaa462b2defad244"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-abeaf1e8b65f02c81d97"></a>
>
> **Item 6**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-07257d46363aa89f6909"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-af87b2d0c4ccc06d85e3"></a>
>
> **Item 7**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-232f8b6e79860037a31a"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-8d5b4b6f43a657050863"></a>
>
> **Item 8**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-7becb751a221412396bb"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-8fac73d3977a66fb2904"></a>
>
> **Item 9**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-b4d286260bc1d4ed2423"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-61183098494820c57eea"></a>
>
> **Item 10**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-7099000f00e86d8d355c"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-10cd73135d64e28a57e7"></a>
>
> **Item 11**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-1729c881131960852b8b"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-cf88c733c39da2237c86"></a>
>
> **Item 12**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-48678e5fca1aea84180f"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-783a65c6492ed11cb1be"></a>
>
> **Item 13**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-199694220968cfe1a9c2"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-9b3dbd19715a2f9cf3fd"></a>
>
> **Item 14**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-c664b657c5506213bb7c"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-b057f3a8ab99a6f4acdd"></a>
>
> **Item 15**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-7c1d28eb09da448e9ddd"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-0f5dd4b66cf5ac210787"></a>
>
> **Item 16**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-42e19d62496196494c51"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-65208ef9de3af3420d58"></a>
>
> **Item 17**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-2bef561ab2e4f3345e1f"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-5d6c0cd19e4cb6671a5d"></a>
>
> **Item 18**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-a3a7eafc23b9f76ad55a"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-ebfa296fe8d41403bd3f"></a>
>
> **Item 19**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-a12270f1b7bb477ac4a3"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-4bc6dc6b73053abca30f"></a>
>
> **Item 20**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-8ee7dd4bf90a3b9fa638"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-32f4c7f65552f26f7af9"></a>
>
> **Item 21**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-5a8c4c7976494f980dfe"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-4ca0aaf0f7cbc91cc83b"></a>
>
> **Item 22**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-9cd250b5534e714d2340"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-6b2bca197f7d49960e13"></a>
>
> **Item 23**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-3031bc1b7867916b6adf"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-8d75f8dbbfb9c66c9eea"></a>
>
> **Item 24**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-91db4d8c7647429ef375"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-912ef86ccc5f27d5865e"></a>
>
> **Item 25**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-9a42aafef8a614466693"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-0ebe3752232f8e45c0db"></a>
>
> **Item 26**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-adbd536040a2e01b3743"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-3c833c66e5d55f3d4cc7"></a>
>
> **Item 27**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-4a2b7abce1c5d7099b31"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-0db0d2069eebe9779103"></a>
>
> **Item 28**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-42460aa1f724602a6b40"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-9b617514ecb29c2f3626"></a>
>
> **Item 29**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-4955e8f515c416cbcc6a"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-a5ea3e657f28729240bd"></a>
>
> **Item 30**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-5c25984828c9e37bee94"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-627d28034c638e5a9c74"></a>
>
> **Item 31**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-fef9bc64f3602c094711"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-7b277abb45698a99d7fa"></a>
>
> **Item 32**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-68d4496da237f7b97b09"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-5f7a270a2af8f32ff448"></a>
>
> **Item 33**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-5efafcf22d002e76f6bc"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>
>
> <a id="dt-7c8e28060191276b6e3e"></a>
>
> **Item 34**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-f665cbae3ea5786a61a1"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p1&#36;&#34;</code></span>
>
> <a id="dt-e7e3f226a383e724eff5"></a>
>
> **Item 35**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-54b0a1d4c3e7aa1c237c"><code>&#34;&#94;s&#91;0&#45;9&#93;&#43;&#95;p2&#36;&#34;</code></span>

<a id="dt-5373d32f620495211dbb"></a>

**Rule 3**

> <a id="dt-8d0414b0db1a3107ac00"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-142e490e7fedbde38d8a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-6b946d079531f0251f6a"><code>&#34;mode&#34;</code></span>
>
> <a id="dt-f21f678a7379e158793c"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-47e5d59b4ac3919af288"><code>&#34;base1&#34;</code></span>
>
> <a id="dt-e17e609389b9f8e6e391"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-1d1b385e89292e85b5d9"><code>&#34;base2&#34;</code></span>
>
> <a id="dt-ac0e8323136d7bc332bb"></a>
>
> **Item 4**
>
> > **Exact value (<code>const</code>):** <span id="dt-5213c97b840d85f862b9"><code>&#34;use&#95;backup&#34;</code></span>
>
> <a id="dt-cad848d339241d1c33be"></a>
>
> **Item 5**
>
> > **Exact value (<code>const</code>):** <span id="dt-f397f9553ca87af82111"><code>&#34;mode&#95;backup&#34;</code></span>
>
> <a id="dt-a2b377e1cabff20ca7a3"></a>
>
> **Item 6**
>
> > **Exact value (<code>const</code>):** <span id="dt-6566093fa13c2a43caf9"><code>&#34;base1&#95;backup&#34;</code></span>
>
> <a id="dt-5a5e554b95de94a33a19"></a>
>
> **Item 7**
>
> > **Exact value (<code>const</code>):** <span id="dt-0136b4008eee89c674c1"><code>&#34;base2&#95;backup&#34;</code></span>
>
> <a id="dt-cbcfd36f51a06a892c9e"></a>
>
> **Item 8**
>
> > **Exact value (<code>const</code>):** <span id="dt-398f508dfbb019c9590b"><code>&#34;s0&#95;p1&#34;</code></span>
>
> <a id="dt-baa5df17457e06955d89"></a>
>
> **Item 9**
>
> > **Exact value (<code>const</code>):** <span id="dt-a60ca5852fd88038c9f9"><code>&#34;s0&#95;p2&#34;</code></span>
>
> <a id="dt-f6522f45918aa13fcd75"></a>
>
> **Item 10**
>
> > **Exact value (<code>const</code>):** <span id="dt-665edd703e59017bcc0f"><code>&#34;s1&#95;p1&#34;</code></span>
>
> <a id="dt-ecb6e7efb14572e8cb9c"></a>
>
> **Item 11**
>
> > **Exact value (<code>const</code>):** <span id="dt-3ba5f093ccb41c9cac49"><code>&#34;s1&#95;p2&#34;</code></span>
>
> <a id="dt-c1932706ed17a700d861"></a>
>
> **Item 12**
>
> > **Exact value (<code>const</code>):** <span id="dt-fc39c1fefe7ef3412e4b"><code>&#34;s2&#95;p1&#34;</code></span>
>
> <a id="dt-ba50741b8e82a8490282"></a>
>
> **Item 13**
>
> > **Exact value (<code>const</code>):** <span id="dt-605c9680115a0372c293"><code>&#34;s2&#95;p2&#34;</code></span>
>
> <a id="dt-7ece35defcc4518256d8"></a>
>
> **Item 14**
>
> > **Exact value (<code>const</code>):** <span id="dt-9a80500d219bb27b50b2"><code>&#34;s3&#95;p1&#34;</code></span>
>
> <a id="dt-8cb02e8d4b240f482668"></a>
>
> **Item 15**
>
> > **Exact value (<code>const</code>):** <span id="dt-dbb056b266dc0c9d27ef"><code>&#34;s3&#95;p2&#34;</code></span>
>
> <a id="dt-a96e4965216fe7341a82"></a>
>
> **Item 16**
>
> > **Exact value (<code>const</code>):** <span id="dt-5e0f1a0b92cea25862bb"><code>&#34;s4&#95;p1&#34;</code></span>
>
> <a id="dt-febe4a877ad4a22839d2"></a>
>
> **Item 17**
>
> > **Exact value (<code>const</code>):** <span id="dt-b30b9744b8710f3a6471"><code>&#34;s4&#95;p2&#34;</code></span>
>
> <a id="dt-66f833f2b0299db852d9"></a>
>
> **Item 18**
>
> > **Exact value (<code>const</code>):** <span id="dt-6dfa8933080aae11ada2"><code>&#34;s5&#95;p1&#34;</code></span>
>
> <a id="dt-4ea95d1d9009775adeb1"></a>
>
> **Item 19**
>
> > **Exact value (<code>const</code>):** <span id="dt-2367749a05f00f7952ca"><code>&#34;s5&#95;p2&#34;</code></span>
>
> <a id="dt-3d1558daa3a44e295864"></a>
>
> **Item 20**
>
> > **Exact value (<code>const</code>):** <span id="dt-f88c26fdf631dfdb1461"><code>&#34;s6&#95;p1&#34;</code></span>
>
> <a id="dt-fbc101b5e082316473ce"></a>
>
> **Item 21**
>
> > **Exact value (<code>const</code>):** <span id="dt-1b52fe4d9276239fec6f"><code>&#34;s6&#95;p2&#34;</code></span>
>
> <a id="dt-32bcfd58bfbfa07f1792"></a>
>
> **Item 22**
>
> > **Exact value (<code>const</code>):** <span id="dt-9d5dededa8b0b72441ac"><code>&#34;s7&#95;p1&#34;</code></span>
>
> <a id="dt-d02780be1d8ac49f30d2"></a>
>
> **Item 23**
>
> > **Exact value (<code>const</code>):** <span id="dt-98649bcaeade5f6a0c62"><code>&#34;s7&#95;p2&#34;</code></span>
>
> <a id="dt-9f3ed4a342345d62cefd"></a>
>
> **Item 24**
>
> > **Exact value (<code>const</code>):** <span id="dt-8cdc1af0a1dd84fed5b0"><code>&#34;s8&#95;p1&#34;</code></span>
>
> <a id="dt-ed08429171f2d38363ad"></a>
>
> **Item 25**
>
> > **Exact value (<code>const</code>):** <span id="dt-db6ae654e161b30e5dca"><code>&#34;s8&#95;p2&#34;</code></span>
>
> <a id="dt-98a54b8fe20355747ed3"></a>
>
> **Item 26**
>
> > **Exact value (<code>const</code>):** <span id="dt-86704e810b2ed4de940d"><code>&#34;s9&#95;p1&#34;</code></span>
>
> <a id="dt-a57934a7e0589ebaddd7"></a>
>
> **Item 27**
>
> > **Exact value (<code>const</code>):** <span id="dt-a9bb2205f9cf1e4fe9d6"><code>&#34;s9&#95;p2&#34;</code></span>
>
> <a id="dt-ffbe487bb3aedd3c8221"></a>
>
> **Item 28**
>
> > **Exact value (<code>const</code>):** <span id="dt-a5c0735989d697fe406f"><code>&#34;s10&#95;p1&#34;</code></span>
>
> <a id="dt-217f168347dcd17ed82e"></a>
>
> **Item 29**
>
> > **Exact value (<code>const</code>):** <span id="dt-c353d057dadb76a4bd9f"><code>&#34;s10&#95;p2&#34;</code></span>
>
> <a id="dt-36384f93fb932c203832"></a>
>
> **Item 30**
>
> > **Exact value (<code>const</code>):** <span id="dt-b2b7baa9614b9aa8aafd"><code>&#34;s0&#95;p1&#95;backup&#34;</code></span>
>
> <a id="dt-af741229faa4a3463141"></a>
>
> **Item 31**
>
> > **Exact value (<code>const</code>):** <span id="dt-f0cfb83f3d551b4bf1ea"><code>&#34;s0&#95;p2&#95;backup&#34;</code></span>
>
> <a id="dt-78fea53a7db9807a047b"></a>
>
> **Item 32**
>
> > **Exact value (<code>const</code>):** <span id="dt-0f0ab9d9790912dffddc"><code>&#34;s1&#95;p1&#95;backup&#34;</code></span>
>
> <a id="dt-bb78840f84ba8729c7f0"></a>
>
> **Item 33**
>
> > **Exact value (<code>const</code>):** <span id="dt-0f948688c61e041bfd12"><code>&#34;s1&#95;p2&#95;backup&#34;</code></span>
>
> <a id="dt-50c0249646d665117278"></a>
>
> **Item 34**
>
> > **Exact value (<code>const</code>):** <span id="dt-395b79608dc90e136694"><code>&#34;s2&#95;p1&#95;backup&#34;</code></span>
>
> <a id="dt-6ca191a7b3c1cf40ef45"></a>
>
> **Item 35**
>
> > **Exact value (<code>const</code>):** <span id="dt-e0b92cc5a756f2d39770"><code>&#34;s2&#95;p2&#95;backup&#34;</code></span>
>
> <a id="dt-68c3527c9a78adf6da78"></a>
>
> **Item 36**
>
> > **Exact value (<code>const</code>):** <span id="dt-956d64e48e05c8fc3f59"><code>&#34;s3&#95;p1&#95;backup&#34;</code></span>
>
> <a id="dt-1e4afe39e32b07b3e98e"></a>
>
> **Item 37**
>
> > **Exact value (<code>const</code>):** <span id="dt-2914abbacdaf194e9cd9"><code>&#34;s3&#95;p2&#95;backup&#34;</code></span>
>
> <a id="dt-4c1ebc7eff080f71b90e"></a>
>
> **Item 38**
>
> > **Exact value (<code>const</code>):** <span id="dt-179be05a59c05b5d0a98"><code>&#34;s4&#95;p1&#95;backup&#34;</code></span>
>
> <a id="dt-882d800d666592b886c1"></a>
>
> **Item 39**
>
> > **Exact value (<code>const</code>):** <span id="dt-be67589a499c0ae96080"><code>&#34;s4&#95;p2&#95;backup&#34;</code></span>
>
> <a id="dt-59f2c08f0431f7dabafe"></a>
>
> **Item 40**
>
> > **Exact value (<code>const</code>):** <span id="dt-f849544c7cc4d734667d"><code>&#34;s5&#95;p1&#95;backup&#34;</code></span>
>
> <a id="dt-b66d24c490cc945e8c36"></a>
>
> **Item 41**
>
> > **Exact value (<code>const</code>):** <span id="dt-1123d0fb4d1a76150c34"><code>&#34;s5&#95;p2&#95;backup&#34;</code></span>
>
> <a id="dt-ce3596a54a29a5407ff2"></a>
>
> **Item 42**
>
> > **Exact value (<code>const</code>):** <span id="dt-6693fb818a383f563ab2"><code>&#34;s6&#95;p1&#95;backup&#34;</code></span>
>
> <a id="dt-9c4876c4f2fa294dac88"></a>
>
> **Item 43**
>
> > **Exact value (<code>const</code>):** <span id="dt-0dc87f995889700aa07b"><code>&#34;s6&#95;p2&#95;backup&#34;</code></span>
>
> <a id="dt-038f550b5ba2d5ec876c"></a>
>
> **Item 44**
>
> > **Exact value (<code>const</code>):** <span id="dt-ed7fab34056cbf48ba20"><code>&#34;s7&#95;p1&#95;backup&#34;</code></span>
>
> <a id="dt-f4c099a98d900f6d8e9a"></a>
>
> **Item 45**
>
> > **Exact value (<code>const</code>):** <span id="dt-ffa178623a93e160521f"><code>&#34;s7&#95;p2&#95;backup&#34;</code></span>
>
> <a id="dt-2614e497c81498012acb"></a>
>
> **Item 46**
>
> > **Exact value (<code>const</code>):** <span id="dt-6c1b615869d02209d794"><code>&#34;s8&#95;p1&#95;backup&#34;</code></span>
>
> <a id="dt-7e12d705e09d06712f9e"></a>
>
> **Item 47**
>
> > **Exact value (<code>const</code>):** <span id="dt-a7a299e39202971b6b94"><code>&#34;s8&#95;p2&#95;backup&#34;</code></span>
>
> <a id="dt-b900e6091d9bfc53a071"></a>
>
> **Item 48**
>
> > **Exact value (<code>const</code>):** <span id="dt-8b2162b646ea5b492cc5"><code>&#34;s9&#95;p1&#95;backup&#34;</code></span>
>
> <a id="dt-ee276bbff7ae3998af9b"></a>
>
> **Item 49**
>
> > **Exact value (<code>const</code>):** <span id="dt-ce9c49a10bf9a73d8703"><code>&#34;s9&#95;p2&#95;backup&#34;</code></span>
>
> <a id="dt-c4598a9902d80b60f721"></a>
>
> **Item 50**
>
> > **Exact value (<code>const</code>):** <span id="dt-4495c5742589ee946cb2"><code>&#34;s10&#95;p1&#95;backup&#34;</code></span>
>
> <a id="dt-49cb17c08c29e708cf64"></a>
>
> **Item 51**
>
> > **Exact value (<code>const</code>):** <span id="dt-da70168dae050b4d905b"><code>&#34;s10&#95;p2&#95;backup&#34;</code></span>

<a id="dt-35b7089e0fb354bad878"></a>

**Rule 4**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-e46ceaa1dfdd3938d6c7"><code>8</code></span>
>
> <a id="dt-1604c2a0f960f0e4acdf"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-f59d9e63af732ac1bb6c"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-75d52053972a355da64d"><code>&#34;mode&#34;</code></span>
>
> <a id="dt-d87ee34dc385565d525e"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-41f1dc1b31f8d548bc72"><code>&#34;base0&#34;</code></span>
>
> <a id="dt-0fa76d42dd2699d9cee1"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-796e8b5f59c50c6c04f8"><code>&#34;base1&#34;</code></span>
>
> <a id="dt-c05d24a248bf77878dda"></a>
>
> **Item 4**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-6c1045a092fd0bd445d0"><code>&#34;&#94;tsens&#95;sens&#91;0&#45;9&#93;&#43;&#95;off&#36;&#34;</code></span>
>
> <a id="dt-8dba8cc1e12fe8496879"></a>
>
> **Item 5**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-32cedef7128e6d700165"><code>&#34;&#94;tsens&#95;sens&#91;0&#45;9&#93;&#43;&#95;off&#36;&#34;</code></span>
>
> <a id="dt-855a1074a8e01453f824"></a>
>
> **Item 6**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-8f6f5f8415d4f4abaa13"><code>&#34;&#94;tsens&#95;sens&#91;0&#45;9&#93;&#43;&#95;off&#36;&#34;</code></span>
>
> <a id="dt-25890665b31a0d5e2105"></a>
>
> **Item 7**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-2b3de95ed0ffe0beb224"><code>&#34;&#94;tsens&#95;sens&#91;0&#45;9&#93;&#43;&#95;off&#36;&#34;</code></span>
>
> <a id="dt-23c48b582b9e9e5722e9"></a>
>
> **Item 8**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-e27430ae079d00f3bf63"><code>&#34;&#94;tsens&#95;sens&#91;0&#45;9&#93;&#43;&#95;off&#36;&#34;</code></span>
>
> <a id="dt-e39ab8abb50f68870c4b"></a>
>
> **Item 9**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-520bd3e089490a5376eb"><code>&#34;&#94;tsens&#95;sens&#91;0&#45;9&#93;&#43;&#95;off&#36;&#34;</code></span>
>
> <a id="dt-1ac75aee519d1be093b4"></a>
>
> **Item 10**
>
> > **String pattern (<code>pattern</code>):** <span id="dt-e0fca686dfc1f95a9231"><code>&#34;&#94;tsens&#95;sens&#91;0&#45;9&#93;&#43;&#95;off&#36;&#34;</code></span>

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

### <code>&#35;qcom&#44;sensors</code> — required here

<div id="dt-0123ef03c23922a42423">
<p style="white-space: pre-wrap">Number of sensors enabled on this platform</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-7233a317b6ec1fcd0302"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-7380dbd26c7d4c5d95e0"><code>16</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>

**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;interrupts&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;qcom&#44;sensors&#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>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.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;qcom&#44;ipq5018&#45;tsens&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;qcom&#44;ipq8064&#45;tsens&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;qcom&#44;msm8960&#45;tsens&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;qcom&#44;tsens&#45;v0&#95;1&#34;</code></span>, <span id="dt-f5a9f906c7ab6d73de62"><code>&#34;qcom&#44;tsens&#45;v1&#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-46e318450db8639361ba"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > <a id="dt-38c5f39ec75feb617492"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-34545c0dc4f201806e16"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-c2bd30fe744c96c1b63c">
> > > <p style="white-space: pre-wrap">Combined interrupt if upper or lower threshold crossed</p>
> > > </div>
> >
> > <a id="dt-72203b463a4149b493f4"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > <a id="dt-828de3767b5fb6ec6c0e"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-219400b241329fa4514c"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-75955b66eb426112efe9"><code>&#34;uplow&#34;</code></span>

<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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;qcom&#44;tsens&#45;v2&#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-3a46c9d3a981c9cf87fd"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > <a id="dt-23f0ba8b8eaba2447950"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-0a39c3e674d2d7e538bd"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-6a9eecf190b1cf0b5933">
> > > <p style="white-space: pre-wrap">Combined interrupt if upper or lower threshold crossed</p>
> > > </div>
> >
> > <a id="dt-0da999ad1daac1f50120"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-0729efbf4e7b1dc2716d">
> > > <p style="white-space: pre-wrap">Interrupt if critical threshold crossed</p>
> > > </div>
> >
> > <a id="dt-501b1936fb79ec83d506"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > <a id="dt-19da2d751cf8521f65f2"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-658647818bcb059bf371"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-a8180d4215a7a3f2dc1d"><code>&#34;uplow&#34;</code></span>
> >
> > <a id="dt-c2ef4d60a992cc671900"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8daa2608614e6636493d"><code>&#34;critical&#34;</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;qcom&#44;ipq5332&#45;tsens&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;qcom&#44;ipq5424&#45;tsens&#34;</code></span>, <span id="dt-e937cad1333060d95a2c"><code>&#34;qcom&#44;ipq8074&#45;tsens&#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-a382a3bebc56926866a8"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > <a id="dt-a78dad985ae453bd2b08"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-f97912b457f159eeda57"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-ff93d93ffa9cc2e510e0">
> > > <p style="white-space: pre-wrap">Combined interrupt if upper, lower or critical thresholds crossed</p>
> > > </div>
> >
> > <a id="dt-402fbca3dbb380a9fcb9"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > <a id="dt-d1d5ff3cd67606da45d7"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-1719c2e0992c5183ebe6"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8659725b06fcddcd71c4"><code>&#34;combined&#34;</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;qcom&#44;ipq5332&#45;tsens&#34;</code></span>, <span id="dt-394f4c36882e88052506"><code>&#34;qcom&#44;ipq5424&#45;tsens&#34;</code></span>, <span id="dt-95e59d4b4fc4dc8444e1"><code>&#34;qcom&#44;ipq8074&#45;tsens&#34;</code></span>, <span id="dt-1690cc8817b19888354c"><code>&#34;qcom&#44;tsens&#45;v0&#95;1&#34;</code></span>, <span id="dt-9ab9b547d9880bdef7d4"><code>&#34;qcom&#44;tsens&#45;v1&#34;</code></span>, <span id="dt-c25339ed39a84d965f7c"><code>&#34;qcom&#44;tsens&#45;v2&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-d0be233c145bb706d4e5"></a> <span id="dt-70d480dba72a9448693e"><code>&#34;reg&#34;</code></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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
thermal-sensor {
    compatible = "qcom,ipq8064-tsens";

    nvmem-cells = &lt;&amp;tsens_calib&gt;, &lt;&amp;tsens_calib_backup&gt;;
    nvmem-cell-names = "calib", "calib_backup";
    interrupts = &lt;GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "uplow";

    #qcom,sensors = &lt;11&gt;;
    #thermal-sensor-cells = &lt;1&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
// Example 1 (new calibration data: for pre v1 IP):
thermal-sensor@4a9000 {
    compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";
    reg = &lt;0x4a9000 0x1000&gt;, /* TM */
          &lt;0x4a8000 0x1000&gt;; /* SROT */

    nvmem-cells = &lt;&amp;tsens_mode&gt;,
                  &lt;&amp;tsens_base1&gt;, &lt;&amp;tsens_base2&gt;,
                  &lt;&amp;tsens_s0_p1&gt;, &lt;&amp;tsens_s0_p2&gt;,
                  &lt;&amp;tsens_s1_p1&gt;, &lt;&amp;tsens_s1_p2&gt;,
                  &lt;&amp;tsens_s2_p1&gt;, &lt;&amp;tsens_s2_p2&gt;,
                  &lt;&amp;tsens_s4_p1&gt;, &lt;&amp;tsens_s4_p2&gt;,
                  &lt;&amp;tsens_s5_p1&gt;, &lt;&amp;tsens_s5_p2&gt;;
    nvmem-cell-names = "mode",
                       "base1", "base2",
                       "s0_p1", "s0_p2",
                       "s1_p1", "s1_p2",
                       "s2_p1", "s2_p2",
                       "s4_p1", "s4_p2",
                       "s5_p1", "s5_p2";

    interrupts = &lt;GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "uplow";

    #qcom,sensors = &lt;5&gt;;
    #thermal-sensor-cells = &lt;1&gt;;
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
// Example 1 (legacy: for pre v1 IP):
tsens1: thermal-sensor@4a9000 {
    compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";
    reg = &lt;0x4a9000 0x1000&gt;, /* TM */
          &lt;0x4a8000 0x1000&gt;; /* SROT */

    nvmem-cells = &lt;&amp;tsens_caldata&gt;, &lt;&amp;tsens_calsel&gt;;
    nvmem-cell-names = "calib", "calib_sel";

    interrupts = &lt;GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "uplow";

    #qcom,sensors = &lt;5&gt;;
    #thermal-sensor-cells = &lt;1&gt;;
};
</code></pre>

<pre id="dt-cf8a683b5a963eb1c566"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
// Example 2 (for any platform containing v1 of the TSENS IP):
tsens2: thermal-sensor@4a9000 {
    compatible = "qcom,qcs404-tsens", "qcom,tsens-v1";
    reg = &lt;0x004a9000 0x1000&gt;, /* TM */
          &lt;0x004a8000 0x1000&gt;; /* SROT */

    nvmem-cells = &lt;&amp;tsens_caldata&gt;;
    nvmem-cell-names = "calib";

    interrupts = &lt;GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "uplow";

    #qcom,sensors = &lt;10&gt;;
    #thermal-sensor-cells = &lt;1&gt;;
};
</code></pre>

<pre id="dt-89dd782fdab7d446b5b9"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
// Example 3 (for any platform containing v2 of the TSENS IP):
tsens3: thermal-sensor@c263000 {
    compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
    reg = &lt;0xc263000 0x1ff&gt;,
          &lt;0xc222000 0x1ff&gt;;

    interrupts = &lt;GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "uplow", "critical";

    #qcom,sensors = &lt;13&gt;;
    #thermal-sensor-cells = &lt;1&gt;;
};
</code></pre>

<pre id="dt-0a7a1e02b6a2bd0df8c7"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
// Example 4 (for any IPQ8074 based SoC-s):
tsens4: thermal-sensor@4a9000 {
    compatible = "qcom,ipq8074-tsens";
    reg = &lt;0x4a9000 0x1000&gt;,
          &lt;0x4a8000 0x1000&gt;;

    interrupts = &lt;GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "combined";

    #qcom,sensors = &lt;16&gt;;
    #thermal-sensor-cells = &lt;1&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 MIT)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2019 Linaro Ltd.</span></p>

<p id="dt-comment-2"><strong>Line 124:</strong> <span> special case for msm8974 / apq8084</span></p>

<p id="dt-comment-3"><strong>Line 175:</strong> <span> special case for msm8974 / apq8084</span></p>

</details>

---

# Thermal Monitoring Unit (TMU) on Freescale QorIQ SoCs

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

> Device-tree binding reference for Thermal Monitoring Unit (TMU) on Freescale QorIQ SoCs.

<!-- 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;thermal&#47;qoriq&#45;thermal&#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;Shawn Guo &#60;shawnguo&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sascha Hauer &#60;s&#46;hauer&#64;pengutronix&#46;de&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Fabio Estevam &#60;festevam&#64;gmail&#46;com&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

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

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

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

### <code>compatible</code> — required here

<div id="dt-e84064a2d568e9bcb9c3">
<pre><code>The version of the device is determined by the TMU IP Block Revision
Register (IPBRR0) at offset 0x0BF8.
Table of correspondences between IPBRR0 values and example chips:
      Value           Device
      ----------      -----
      0x01900102      T1040</code></pre>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;fsl&#44;qoriq&#45;tmu&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;fsl&#44;imx8mq&#45;tmu&#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> — required here

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

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

### <code>fsl&#44;tmu&#45;range</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fe45702d4839d384d93c">[<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>

<div id="dt-168d055fbde920408995">
<p style="white-space: pre-wrap">The values to be programmed into TTRnCR, as specified by the SoC
reference manual. The first cell is TTR0CR, the second is TTR1CR, etc.</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6318e6b453a230adf837"><code>7</code></span>

<a id="dt-92941069b1258c39bea3"></a>

### <code>fsl&#44;tmu&#45;calibration</code> — required here

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

<div id="dt-6bdaaaecfd9519a23833">
<p style="white-space: pre-wrap">A list of cell pairs containing temperature calibration data, as
specified by the SoC reference manual. The first cell of each pair
is the value to be written to TTCFGR, and the second is the value
to be written to TSCFGR.</p>
</div>

<a id="dt-01bb167c0bf7e230a524"></a>

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

> <a id="dt-1438cda05af05f1a610a"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-2ff6edb18d45afc74655"></a>
>
> **Item 1**
>
> > <div id="dt-f2480fbf6f962e38aa4d">
> > <p style="white-space: pre-wrap">value for TTCFGR</p>
> > </div>
>
> <a id="dt-2a32cdfee871d821cd64"></a>
>
> **Item 2**
>
> > <div id="dt-e537abfe1c7376e1abaa">
> > <p style="white-space: pre-wrap">value for TSCFGR</p>
> > </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-551ba8dc050cf1c36128"><code>1</code></span>

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

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

### <code>little&#45;endian</code> — not listed as required here

<div id="dt-9666ce8a1ec52638c9b5">
<p style="white-space: pre-wrap">boolean, if present, the TMU registers are little endian. If absent,
the default is big endian.</p>
</div>

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

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><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>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;fsl&#44;tmu&#45;range&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;fsl&#44;tmu&#45;calibration&#34;</code></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">tmu@f0000 {
    compatible = "fsl,qoriq-tmu";
    reg = &lt;0xf0000 0x1000&gt;;
    interrupts = &lt;18 2 0 0&gt;;
    fsl,tmu-range = &lt;0x000a0000 0x00090026 0x0008004a 0x0001006a&gt;;
    fsl,tmu-calibration = &lt;0x00000000 0x00000025&gt;,
                          &lt;0x00000001 0x00000028&gt;,
                          &lt;0x00000002 0x0000002d&gt;,
                          &lt;0x00000003 0x00000031&gt;,
                          &lt;0x00000004 0x00000036&gt;,
                          &lt;0x00000005 0x0000003a&gt;,
                          &lt;0x00000006 0x00000040&gt;,
                          &lt;0x00000007 0x00000044&gt;,
                          &lt;0x00000008 0x0000004a&gt;,
                          &lt;0x00000009 0x0000004f&gt;,
                          &lt;0x0000000a 0x00000054&gt;,
                          &lt;0x00010000 0x0000000d&gt;,
                          &lt;0x00010001 0x00000013&gt;,
                          &lt;0x00010002 0x00000019&gt;,
                          &lt;0x00010003 0x0000001f&gt;,
                          &lt;0x00010004 0x00000025&gt;,
                          &lt;0x00010005 0x0000002d&gt;,
                          &lt;0x00010006 0x00000033&gt;,
                          &lt;0x00010007 0x00000043&gt;,
                          &lt;0x00010008 0x0000004b&gt;,
                          &lt;0x00010009 0x00000053&gt;,
                          &lt;0x00020000 0x00000010&gt;,
                          &lt;0x00020001 0x00000017&gt;,
                          &lt;0x00020002 0x0000001f&gt;,
                          &lt;0x00020003 0x00000029&gt;,
                          &lt;0x00020004 0x00000031&gt;,
                          &lt;0x00020005 0x0000003c&gt;,
                          &lt;0x00020006 0x00000042&gt;,
                          &lt;0x00020007 0x0000004d&gt;,
                          &lt;0x00020008 0x00000056&gt;,
                          &lt;0x00030000 0x00000012&gt;,
                          &lt;0x00030001 0x0000001d&gt;;
    #thermal-sensor-cells = &lt;1&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>

---

# Renesas R-Car Gen3 Thermal Sensor

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

> Device-tree binding reference for Renesas R-Car Gen3 Thermal Sensor.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;thermal&#47;rcar&#45;gen3&#45;thermal&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">On most R-Car Gen3 and later SoCs, the thermal sensor controllers (TSC) control the thermal sensors (THS) which are the analog circuits for measuring temperature (Tj) inside the LSI.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Niklas Söderlund &#60;niklas&#46;soderlund&#64;ragnatech&#46;se&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</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;renesas&#44;r8a774a1&#45;thermal&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;renesas&#44;r8a774b1&#45;thermal&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;renesas&#44;r8a774e1&#45;thermal&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;renesas&#44;r8a7795&#45;thermal&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;renesas&#44;r8a7796&#45;thermal&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;renesas&#44;r8a77961&#45;thermal&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;renesas&#44;r8a77965&#45;thermal&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;renesas&#44;r8a77980&#45;thermal&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;renesas&#44;r8a779a0&#45;thermal&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;renesas&#44;r8a779f0&#45;thermal&#34;</code></span>, <span id="dt-70e866729f00cfce3510"><code>&#34;renesas&#44;r8a779g0&#45;thermal&#34;</code></span>, <span id="dt-81f973819a6dd2302321"><code>&#34;renesas&#44;r8a779h0&#45;thermal&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

<code>true</code> — No constraints added by this property rule.

<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">TEMP1 interrupt</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">TEMP2 interrupt</p>
> </div>

<a id="dt-6825e597892563d56556"></a>

**Item 3**

> <div id="dt-2c85367ad575dfda8b35">
> <p style="white-space: pre-wrap">TEMP3 interrupt</p>
> </div>

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

### <code>clocks</code> — required here

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

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

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

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

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><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>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;resets&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-33b6ed092215f2be8801"></a> <span id="dt-9dc9072d1f2469ee9637"><code>&#34;renesas&#44;r8a779a0&#45;thermal&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-8893b96000b374eb19f2"></a>
>
> #### <code>reg</code> — not listed as required here
>
> <a id="dt-2b3fe04a47e17c962dc2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4d7a5599c6685d1b1347"></a>
>
> **Item 1**
>
> > <div id="dt-e6386dad4b9758dbdc55">
> > <p style="white-space: pre-wrap">TSC0 registers</p>
> > </div>
>
> <a id="dt-116d5405e5ac57aa3e7a"></a>
>
> **Item 2**
>
> > <div id="dt-54657e0e5316f45c20f0">
> > <p style="white-space: pre-wrap">TSC1 registers</p>
> > </div>
>
> <a id="dt-ab77c65dcc94aa8a3def"></a>
>
> **Item 3**
>
> > <div id="dt-62df60782fed23187f19">
> > <p style="white-space: pre-wrap">TSC2 registers</p>
> > </div>
>
> <a id="dt-39f1b0217c3542a9d3b5"></a>
>
> **Item 4**
>
> > <div id="dt-9e27d3058245523fd27e">
> > <p style="white-space: pre-wrap">TSC3 registers</p>
> > </div>
>
> <a id="dt-3865ead6ec2515529f0d"></a>
>
> **Item 5**
>
> > <div id="dt-aa07c84608f420aa6d1d">
> > <p style="white-space: pre-wrap">TSC4 registers</p>
> > </div>

<a id="dt-6f6ab6f7f4b3f2f2f0a8"></a>

## When the condition does not match (<code>else</code>)

> <a id="dt-cf075a4b84ee9b101feb"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-5e0272d80ce3f49e1ff9"></a>
>
> #### <code>reg</code> — not listed as required here
>
> **Minimum number of items (<code>minItems</code>):** <span id="dt-838c355a70d79f4a15ff"><code>2</code></span>
>
> <a id="dt-2467125f94d38afed6a0"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-e0eab801672442714725"></a>
>
> **Item 1**
>
> > <div id="dt-7e7ada6fdce923812f1d">
> > <p style="white-space: pre-wrap">TSC1 registers</p>
> > </div>
>
> <a id="dt-47af8ecd1b1d5a0efed5"></a>
>
> **Item 2**
>
> > <div id="dt-4dbed1f1568c8fb3947a">
> > <p style="white-space: pre-wrap">TSC2 registers</p>
> > </div>
>
> <a id="dt-026ad6b6f0a892f13439"></a>
>
> **Item 3**
>
> > <div id="dt-ead6c666d07d409bd102">
> > <p style="white-space: pre-wrap">TSC3 registers</p>
> > </div>
>
> <a id="dt-4781af0e13e9bce0aeb2"></a>
>
> **Item 4**
>
> > <div id="dt-9efe99ab0541b6803c10">
> > <p style="white-space: pre-wrap">TSC4 registers</p>
> > </div>
>
> <a id="dt-9d3d039ed48a94011ee3"></a>
>
> ### Condition (<code>if</code>)
>
> > <a id="dt-f21e36e53f7df15cdfb3"></a>
> >
> > #### This rule must not match (<code>not</code>)
> >
> > > <a id="dt-4a125279ee75bb85e5e8"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-0b1d93446faf8e046ffc"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-2978970504c947e2a51f"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-a1f9fb31004950526829"></a> <span id="dt-1a4f58740b087bf31891"><code>&#34;renesas&#44;r8a779f0&#45;thermal&#34;</code></span>, <span id="dt-75bc70e98e96f2416875"><code>&#34;renesas&#44;r8a779g0&#45;thermal&#34;</code></span>, <span id="dt-dae7614c3d863f9f4f04"><code>&#34;renesas&#44;r8a779h0&#45;thermal&#34;</code></span>
>
> <a id="dt-bc67bb3b3f94a62c5444"></a>
>
> ### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b936cb08ddb542690a6c"></a> <span id="dt-3b91745206d07c1fba07"><code>&#34;interrupts&#34;</code></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">#include &lt;dt-bindings/clock/r8a7795-cpg-mssr.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/power/r8a7795-sysc.h&gt;

tsc: thermal@e6198000 {
    compatible = "renesas,r8a7795-thermal";
    reg = &lt;0xe6198000 0x100&gt;,
          &lt;0xe61a0000 0x100&gt;,
          &lt;0xe61a8000 0x100&gt;;
    interrupts = &lt;GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;cpg CPG_MOD 522&gt;;
    power-domains = &lt;&amp;sysc R8A7795_PD_ALWAYS_ON&gt;;
    resets = &lt;&amp;cpg 522&gt;;
    #thermal-sensor-cells = &lt;1&gt;;
};

thermal-zones {
    sensor_thermal: sensor-thermal {
        polling-delay-passive = &lt;250&gt;;
        polling-delay = &lt;1000&gt;;
        thermal-sensors = &lt;&amp;tsc 0&gt;;

        trips {
            sensor1_crit: sensor1-crit {
                temperature = &lt;90000&gt;;
                hysteresis = &lt;2000&gt;;
                type = "critical";
            };
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/clock/r8a779a0-cpg-mssr.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/power/r8a779a0-sysc.h&gt;

tsc_r8a779a0: thermal@e6190000 {
    compatible = "renesas,r8a779a0-thermal";
    reg = &lt;0xe6190000 0x200&gt;,
          &lt;0xe6198000 0x200&gt;,
          &lt;0xe61a0000 0x200&gt;,
          &lt;0xe61a8000 0x200&gt;,
          &lt;0xe61b0000 0x200&gt;;
    clocks = &lt;&amp;cpg CPG_MOD 919&gt;;
    power-domains = &lt;&amp;sysc R8A779A0_PD_ALWAYS_ON&gt;;
    resets = &lt;&amp;cpg 919&gt;;
    #thermal-sensor-cells = &lt;1&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</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2020 Renesas Electronics Corp.</span></p>

<p id="dt-comment-2"><strong>Line 23:</strong> <span> RZ/G2M</span></p>

<p id="dt-comment-3"><strong>Line 24:</strong> <span> RZ/G2N</span></p>

<p id="dt-comment-4"><strong>Line 25:</strong> <span> RZ/G2H</span></p>

<p id="dt-comment-5"><strong>Line 26:</strong> <span> R-Car H3</span></p>

<p id="dt-comment-6"><strong>Line 27:</strong> <span> R-Car M3-W</span></p>

<p id="dt-comment-7"><strong>Line 28:</strong> <span> R-Car M3-W+</span></p>

<p id="dt-comment-8"><strong>Line 29:</strong> <span> R-Car M3-N</span></p>

<p id="dt-comment-9"><strong>Line 30:</strong> <span> R-Car V3H</span></p>

<p id="dt-comment-10"><strong>Line 31:</strong> <span> R-Car V3U</span></p>

<p id="dt-comment-11"><strong>Line 32:</strong> <span> R-Car S4-8</span></p>

<p id="dt-comment-12"><strong>Line 33:</strong> <span> R-Car V4H</span></p>

<p id="dt-comment-13"><strong>Line 34:</strong> <span> R-Car V4M</span></p>

</details>

---

# Renesas R-Car Thermal

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

> Device-tree binding reference for Renesas R-Car Thermal.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;thermal&#47;rcar&#45;thermal&#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;Niklas Söderlund &#60;niklas&#46;soderlund&#64;ragnatech&#46;se&#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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;renesas&#44;thermal&#45;r8a73a4&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;renesas&#44;thermal&#45;r8a7779&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;renesas&#44;rcar&#45;thermal&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;renesas&#44;thermal&#45;r8a7742&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;renesas&#44;thermal&#45;r8a7743&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;renesas&#44;thermal&#45;r8a7744&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;renesas&#44;rcar&#45;gen2&#45;thermal&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;renesas&#44;thermal&#45;r8a7790&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;renesas&#44;thermal&#45;r8a7791&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;renesas&#44;thermal&#45;r8a7792&#34;</code></span>, <span id="dt-7337bb6973adc8f5010d"><code>&#34;renesas&#44;thermal&#45;r8a7793&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;renesas&#44;rcar&#45;gen2&#45;thermal&#34;</code></span>
>
> <a id="dt-3acd265d2314f4be0bd4"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-d09fdb468825e586f676"><code>&#34;renesas&#44;rcar&#45;thermal&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;renesas&#44;thermal&#45;r8a774c0&#34;</code></span>, <span id="dt-f0654d9dc65c16ce7d6a"><code>&#34;renesas&#44;thermal&#45;r8a77970&#34;</code></span>, <span id="dt-80bf5233c0e34928f5ac"><code>&#34;renesas&#44;thermal&#45;r8a77990&#34;</code></span>, <span id="dt-3e86066ba2e9703b9565"><code>&#34;renesas&#44;thermal&#45;r8a77995&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">Address ranges of the thermal registers. If more then one range is given the first one must be the common registers followed by each sensor according to the datasheet.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>4</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

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

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

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

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

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

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

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><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>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-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;renesas&#44;thermal&#45;r8a73a4&#34;</code></span>, <span id="dt-c8b958ab48e92db0fc79"><code>&#34;renesas&#44;thermal&#45;r8a7779&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;resets&#34;</code></span>, <span id="dt-5652a54c9ddda3dcd6bf"><code>&#34;&#35;thermal&#45;sensor&#45;cells&#34;</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-1f5272cb1d084137975e"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-eebbb9d41b21f12566d7"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-6aeb4c84797e4c678f3d"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-80145746a4351c4efa1b"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-36a35d0b3eb4ef922a1c"><code>&#34;renesas&#44;thermal&#45;r8a7779&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;interrupts&#34;</code></span>, <span id="dt-5daae4bef35eb1615659"><code>&#34;clocks&#34;</code></span>, <span id="dt-dabdc46fe881a853c5d7"><code>&#34;power&#45;domains&#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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">thermal@ffc48000 {
    compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal";
    reg = &lt;0xffc48000 0x38&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/clock/r8a73a4-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

thermal@e61f0000 {
    compatible = "renesas,thermal-r8a73a4", "renesas,rcar-thermal";
    reg = &lt;0xe61f0000 0x14&gt;, &lt;0xe61f0100 0x38&gt;,
          &lt;0xe61f0200 0x38&gt;, &lt;0xe61f0300 0x38&gt;;
    interrupts = &lt;GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;mstp5_clks R8A73A4_CLK_THERMAL&gt;;
    power-domains = &lt;&amp;pd_c5&gt;;
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">#include &lt;dt-bindings/clock/r8a7790-cpg-mssr.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/power/r8a7790-sysc.h&gt;

thermal: thermal@e61f0000 {
    compatible = "renesas,thermal-r8a7790",
                 "renesas,rcar-gen2-thermal",
                 "renesas,rcar-thermal";
    reg = &lt;0xe61f0000 0x10&gt;, &lt;0xe61f0100 0x38&gt;;
    interrupts = &lt;GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;cpg CPG_MOD 522&gt;;
    power-domains = &lt;&amp;sysc R8A7790_PD_ALWAYS_ON&gt;;
    resets = &lt;&amp;cpg 522&gt;;
    #thermal-sensor-cells = &lt;0&gt;;
};

thermal-zones {
    cpu_thermal: cpu-thermal {
        polling-delay-passive = &lt;1000&gt;;
        polling-delay = &lt;5000&gt;;

        thermal-sensors = &lt;&amp;thermal&gt;;

        trips {
            cpu-crit {
                temperature = &lt;115000&gt;;
                hysteresis = &lt;0&gt;;
                type = "critical";
            };
        };
        cooling-maps {
        };
    };
};
</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</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2020 Renesas Electronics Corp.</span></p>

<p id="dt-comment-2"><strong>Line 18:</strong> <span> R-Mobile APE6</span></p>

<p id="dt-comment-3"><strong>Line 19:</strong> <span> R-Car H1</span></p>

<p id="dt-comment-4"><strong>Line 20:</strong> <span> Generic without thermal-zone</span></p>

<p id="dt-comment-5"><strong>Line 23:</strong> <span> RZ/G1H</span></p>

<p id="dt-comment-6"><strong>Line 24:</strong> <span> RZ/G1M</span></p>

<p id="dt-comment-7"><strong>Line 25:</strong> <span> RZ/G1N</span></p>

<p id="dt-comment-8"><strong>Line 26:</strong> <span> Generic thermal-zone</span></p>

<p id="dt-comment-9"><strong>Line 29:</strong> <span> R-Car H2</span></p>

<p id="dt-comment-10"><strong>Line 30:</strong> <span> R-Car M2-W</span></p>

<p id="dt-comment-11"><strong>Line 31:</strong> <span> R-Car V2H</span></p>

<p id="dt-comment-12"><strong>Line 32:</strong> <span> R-Car M2-N</span></p>

<p id="dt-comment-13"><strong>Line 33:</strong> <span> Generic thermal-zone</span></p>

<p id="dt-comment-14"><strong>Line 34:</strong> <span> Generic without thermal-zone</span></p>

<p id="dt-comment-15"><strong>Line 37:</strong> <span> RZ/G2E</span></p>

<p id="dt-comment-16"><strong>Line 38:</strong> <span> R-Car V3M</span></p>

<p id="dt-comment-17"><strong>Line 39:</strong> <span> R-Car E3</span></p>

<p id="dt-comment-18"><strong>Line 40:</strong> <span> R-Car D3</span></p>

<p id="dt-comment-19"><strong>Line 76:</strong> <span> R-Mobile APE6</span></p>

<p id="dt-comment-20"><strong>Line 77:</strong> <span> R-Car H1</span></p>

<p id="dt-comment-21"><strong>Line 88:</strong> <span> R-Car H1</span></p>

<p id="dt-comment-22"><strong>Line 98:</strong> <span> Example (non interrupt support)</span></p>

<p id="dt-comment-23"><strong>Line 105:</strong> <span> Example (interrupt support)</span></p>

<p id="dt-comment-24"><strong>Line 120:</strong> <span> Example (with thermal-zone)</span></p>

</details>

---

# Renesas RZ/G3S Thermal Sensor Unit

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

> Device-tree binding reference for Renesas RZ/G3S Thermal Sensor Unit.

<!-- 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;thermal&#47;renesas&#44;r9a08g045&#45;tsu&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The thermal sensor unit (TSU) measures the temperature(Tj) inside the LSI.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Claudiu Beznea &#60;claudiu&#46;beznea&#46;uj&#64;bp&#46;renesas&#46;com&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<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;renesas&#44;r9a08g045&#45;tsu&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">TSU module clock</p>
> </div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

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

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

### <code>resets</code> — required here

<a id="dt-7d15d3b17aa2d528614e"></a>

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

<a id="dt-95107b4b3584e917ff31"></a>

**Item 1**

> <div id="dt-3686a6620d670314acea">
> <p style="white-space: pre-wrap">TSU module reset</p>
> </div>

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

### <code>io&#45;channels</code> — required here

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

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

<a id="dt-17d53412d1fa1395a9a8"></a>

**Item 1**

> <div id="dt-abac078e3f886f38f23a">
> <p style="white-space: pre-wrap">ADC channel which reports the TSU temperature</p>
> </div>

<a id="dt-52503acc5d03431d5405"></a>

### <code>io&#45;channel&#45;names</code> — required here

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

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

<a id="dt-55a5fdf011bea14cc16c"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-ca12438828b4e158bfc1"><code>&#34;tsu&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-864271cb6a9393891ea2"><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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;resets&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;io&#45;channels&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;io&#45;channel&#45;names&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;thermal&#45;sensor&#45;cells&#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-1a130cabaa8a47b058bf"></a>

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

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

tsu: thermal@10059000 {
    compatible = "renesas,r9a08g045-tsu";
    reg = &lt;0x10059000 0x1000&gt;;
    clocks = &lt;&amp;cpg CPG_MOD R9A08G045_TSU_PCLK&gt;;
    resets = &lt;&amp;cpg R9A08G045_TSU_PRESETN&gt;;
    power-domains = &lt;&amp;cpg&gt;;
    #thermal-sensor-cells = &lt;0&gt;;
    io-channels = &lt;&amp;adc 8&gt;;
    io-channel-names = "tsu";
};

thermal-zones {
    cpu-thermal {
        polling-delay-passive = &lt;250&gt;;
        polling-delay = &lt;1000&gt;;
        thermal-sensors = &lt;&amp;tsu&gt;;

        trips {
            sensor_crit: sensor-crit {
                temperature = &lt;125000&gt;;
                hysteresis = &lt;1000&gt;;
                type = "critical";
            };
            target: trip-point {
                temperature = &lt;100000&gt;;
                hysteresis = &lt;1000&gt;;
                type = "passive";
            };
        };
    };
};
</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>

---

# Renesas RZ/G3E Temperature Sensor Unit (TSU)

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

> Device-tree binding reference for Renesas RZ/G3E Temperature Sensor Unit (TSU).

<!-- 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;thermal&#47;renesas&#44;r9a09g047&#45;tsu&#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;John Madieu &#60;john&#46;madieu&#46;xa&#64;bp&#46;renesas&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Temperature Sensor Unit (TSU) is an integrated thermal sensor that monitors the chip temperature on the Renesas RZ/G3E SoC. The TSU provides real-time temperature measurements for thermal management.</p>
</div>

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

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

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

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;renesas&#44;r9a09g047&#45;tsu&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;renesas&#44;r9a09g077&#45;tsu&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;renesas&#44;r9a09g056&#45;tsu&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;renesas&#44;r9a09g057&#45;tsu&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;renesas&#44;r9a09g047&#45;tsu&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-b4cf31a5f463012e1429"><code>&#34;renesas&#44;r9a09g087&#45;tsu&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;renesas&#44;r9a09g077&#45;tsu&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

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

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

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

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

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

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

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

### <code>interrupts</code> — 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">Conversion complete interrupt signal (pulse)</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">Comparison result interrupt signal (level)</p>
> </div>

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

### <code>interrupt&#45;names</code> — required here

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

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;adi&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;adcmpi&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-864271cb6a9393891ea2"><code>0</code></span>

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

### <code>renesas&#44;tsu&#45;trim</code> — not listed as required here

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

<a id="dt-54b5f851e148ed58dc8f"></a>

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

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

**Item 1**

> <a id="dt-bccd26a8be20646ca5f2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-69d767be914ec4ea9756"></a>
>
> **Item 1**
>
> > <div id="dt-fdbc2e80eea809dc102c">
> > <p style="white-space: pre-wrap">phandle to system controller</p>
> > </div>
>
> <a id="dt-91c6ac232c3258d5ad27"></a>
>
> **Item 2**
>
> > <div id="dt-5f97991a1edb22395cdf">
> > <p style="white-space: pre-wrap">offset of trim registers</p>
> > </div>

<div id="dt-3092e0ddf28b8d716080">
<p style="white-space: pre-wrap">Phandle and offset to the system controller containing the TSU calibration trim values. The offset points to the first trim register (OTPTSU1TRMVAL0), with the second trim register (OTPTSU1TRMVAL1) located at offset + 4.</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;thermal&#45;sensor&#45;cells&#34;</code></span>

<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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;renesas&#44;r9a09g047&#45;tsu&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;resets&#34;</code></span>, <span id="dt-5652a54c9ddda3dcd6bf"><code>&#34;renesas&#44;tsu&#45;trim&#34;</code></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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;renesas&#44;r9a09g077&#45;tsu&#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-205788d1fea947f3ac3d"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-b0f44e0075c636fd7357"></a>
> >
> > **<code>renesas&#44;tsu&#45;trim</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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/clock/renesas,r9a09g047-cpg.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

thermal-sensor@14002000 {
    compatible = "renesas,r9a09g047-tsu";
    reg = &lt;0x14002000 0x1000&gt;;
    clocks = &lt;&amp;cpg CPG_MOD 0x10a&gt;;
    resets = &lt;&amp;cpg 0xf8&gt;;
    power-domains = &lt;&amp;cpg&gt;;
    interrupts = &lt;GIC_SPI 250 IRQ_TYPE_EDGE_RISING&gt;,
                 &lt;GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "adi", "adcmpi";
    #thermal-sensor-cells = &lt;0&gt;;
    renesas,tsu-trim = &lt;&amp;sys 0x330&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>

<p id="dt-comment-1"><strong>Line 21:</strong> <span> RZ/G3E</span></p>

<p id="dt-comment-2"><strong>Line 22:</strong> <span> RZ/T2H</span></p>

<p id="dt-comment-3"><strong>Line 25:</strong> <span> RZ/V2N</span></p>

<p id="dt-comment-4"><strong>Line 26:</strong> <span> RZ/V2H</span></p>

<p id="dt-comment-5"><strong>Line 27:</strong> <span> RZ/G3E</span></p>

<p id="dt-comment-6"><strong>Line 29:</strong> <span> RZ/N2H</span></p>

<p id="dt-comment-7"><strong>Line 30:</strong> <span> RZ/T2H</span></p>

</details>

---

# Temperature Sensor ADC (TSADC) on Rockchip SoCs

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

> Device-tree binding reference for Temperature Sensor ADC (TSADC) on Rockchip SoCs.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;thermal&#47;rockchip&#45;thermal&#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;Heiko Stuebner &#60;heiko&#64;sntech&#46;de&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</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;rockchip&#44;px30&#45;tsadc&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;rockchip&#44;rk3228&#45;tsadc&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;rockchip&#44;rk3288&#45;tsadc&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;rockchip&#44;rk3328&#45;tsadc&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;rockchip&#44;rk3368&#45;tsadc&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;rockchip&#44;rk3399&#45;tsadc&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;rockchip&#44;rk3568&#45;tsadc&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;rockchip&#44;rk3576&#45;tsadc&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;rockchip&#44;rk3588&#45;tsadc&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;rockchip&#44;rv1108&#45;tsadc&#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> — required here

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

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

### <code>clocks</code> — required here

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;tsadc&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;apb&#95;pclk&#34;</code></span>

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

### <code>nvmem&#45;cells</code> — not listed as required here

<a id="dt-6623d2ec738c83ce2eb0"></a>

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

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

**Item 1**

> <div id="dt-963a59e96105c17766a3">
> <p style="white-space: pre-wrap">cell handle to where the trim's base temperature is stored</p>
> </div>

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

**Item 2**

> <div id="dt-5c95e00094cd656d9937">
> <p style="white-space: pre-wrap">cell handle to where the trim's tenths of Celsius base value is stored</p>
> </div>

<a id="dt-28ee7fd676493bbd8d08"></a>

### <code>nvmem&#45;cell&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-30d2a590f6c0a447cfaa"><code>&#34;trim&#95;base&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-441ea0caeb43e3f23d69"><code>&#34;trim&#95;base&#95;frac&#34;</code></span>

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

### <code>resets</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-645ab1fb5ab11474dc54"><code>1</code></span>

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

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-925b97f1cea5dc23a612"><code>1</code></span>

<a id="dt-353fc881e5c58d1dcba1"></a>

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

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-00c19fce1fea453eab02"><code>&#34;tsadc&#45;apb&#34;</code></span>

<a id="dt-80813f149d5a57545875"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-bff27a7e8c043853e284"><code>&#34;tsadc&#34;</code></span>

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

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-b66875ab339f76330538"><code>&#34;tsadc&#45;phy&#34;</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-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-a3d74649c68c99b43fa2"></a>

### <code>rockchip&#44;grf</code> — not listed as required here

<div id="dt-85bb741738dc0c8676e5">
<p style="white-space: pre-wrap">The phandle of the syscon node for the general register file.</p>
</div>

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

<a id="dt-07cd62b007324fda1c8d"></a>

### <code>rockchip&#44;hw&#45;tshut&#45;temp</code> — not listed as required here

<div id="dt-93f1b418b9f3a50c5f14">
<p style="white-space: pre-wrap">The hardware-controlled shutdown temperature value.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-47eb6b3c89d8b94ee19d">[<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-4c20d567ad022130ff67"></a>

### <code>rockchip&#44;hw&#45;tshut&#45;mode</code> — not listed as required here

<div id="dt-20f292072643e5ab01d1">
<p style="white-space: pre-wrap">The hardware-controlled shutdown mode 0:CRU 1:GPIO.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f6acf8251608ee1ba1a8">[<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-e0b999bca392ce60c9ee"></a> <span id="dt-49f759deeaa04e24069d"><code>0</code></span>, <span id="dt-e93eade8f9ae7952450c"><code>1</code></span>

<a id="dt-2717fa8bf7142f6fcbe1"></a>

### <code>rockchip&#44;hw&#45;tshut&#45;polarity</code> — not listed as required here

<div id="dt-9fc6e21a94ca8e2d510f">
<p style="white-space: pre-wrap">The hardware-controlled active polarity 0:LOW 1:HIGH.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-31cffcf38923839d7798">[<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-af5cf118e80a01ec8683"></a> <span id="dt-68974fe30656a51427ee"><code>0</code></span>, <span id="dt-eb2c428fb71bac800473"><code>1</code></span>

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

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

<a id="dt-573587cdb3ff39c5b5e0"></a>

### <code>&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

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

<a id="dt-2086facb1246423cc914"></a>

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

<a id="dt-11d15fd5bdba07ab85a5"></a>

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

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

<div id="dt-97f4c9116970a1f94f97">
<p style="white-space: pre-wrap">sensor ID, a.k.a. channel number</p>
</div>

<a id="dt-88a5e03bb911238982e9"></a>

**<code>nvmem&#45;cells</code> — not listed as required here**

<a id="dt-834dc55bc6bc46f0cf8d"></a>

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

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

**Item 1**

> <div id="dt-80dcc3b179f03e47d20e">
> <p style="white-space: pre-wrap">handle of cell containing calibration data</p>
> </div>

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

**<code>nvmem&#45;cell&#45;names</code> — not listed as required here**

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

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

<a id="dt-151262b46cbd375f20ad"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-b52ba2a7775cd1d1e117"><code>&#34;trim&#34;</code></span>

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

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

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;resets&#34;</code></span>

<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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;rockchip&#44;px30&#45;tsadc&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;rockchip&#44;rk3366&#45;tsadc&#34;</code></span>, <span id="dt-f7ddd2674cdadacec733"><code>&#34;rockchip&#44;rk3399&#45;tsadc&#34;</code></span>, <span id="dt-1afa9c359b113daf77e4"><code>&#34;rockchip&#44;rk3568&#45;tsadc&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;rockchip&#44;grf&#34;</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-64bb9e6b3a8791f43624"></a>
> >
> > **<code>rockchip&#44;grf</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-1f5272cb1d084137975e"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-eebbb9d41b21f12566d7"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-6aeb4c84797e4c678f3d"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-80145746a4351c4efa1b"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-36a35d0b3eb4ef922a1c"><code>&#34;rockchip&#44;rk3568&#45;tsadc&#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-c0fd9b2d9abe2ca499b8"></a>
> >
> > **<code>nvmem&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-f009c9c64051996c8dcd"></a>
> >
> > **<code>nvmem&#45;cell&#45;names</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-ef222142ff9d3190ed20"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-4987b4debb3a74d94c5b"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-ac7b0d241b0eeac3f8cf"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-bd6e7c649225ce52037a"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-fd10450fb4fc48d60cff"></a> <span id="dt-a53b1d1c12f88be042f7"><code>&#34;rockchip&#44;rk3568&#45;tsadc&#34;</code></span>, <span id="dt-40123c56d322becfcf47"><code>&#34;rockchip&#44;rk3576&#45;tsadc&#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-0afb3c1e4194fc55ceb8"></a>
> >
> > **<code>&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/clock/rk3288-cru.h&gt;

tsadc: tsadc@ff280000 {
    compatible = "rockchip,rk3288-tsadc";
    reg = &lt;0xff280000 0x100&gt;;
    interrupts = &lt;GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;cru SCLK_TSADC&gt;, &lt;&amp;cru PCLK_TSADC&gt;;
    clock-names = "tsadc", "apb_pclk";
    resets = &lt;&amp;cru SRST_TSADC&gt;;
    reset-names = "tsadc-apb";
    #thermal-sensor-cells = &lt;1&gt;;
    rockchip,hw-tshut-temp = &lt;95000&gt;;
    rockchip,hw-tshut-mode = &lt;0&gt;;
    rockchip,hw-tshut-polarity = &lt;0&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</span></p>

</details>

---

# Renesas RZ/G2L Thermal Sensor Unit

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

> Device-tree binding reference for Renesas RZ/G2L Thermal Sensor Unit.

<!-- 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;thermal&#47;rzg2l&#45;thermal&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">On RZ/G2L SoCs, the thermal sensor unit (TSU) measures the temperature(Tj) inside the LSI.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Biju Das &#60;biju&#46;das&#46;jz&#64;bp&#46;renesas&#46;com&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

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

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

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

### <code>compatible</code> — required here

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

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;renesas&#44;r9a07g043&#45;tsu&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;renesas&#44;r9a07g044&#45;tsu&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;renesas&#44;r9a07g054&#45;tsu&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;renesas&#44;rzg2l&#45;tsu&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

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

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

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

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

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><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>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;resets&#34;</code></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">#include &lt;dt-bindings/clock/r9a07g044-cpg.h&gt;

tsu: thermal@10059400 {
    compatible = "renesas,r9a07g044-tsu",
                 "renesas,rzg2l-tsu";
    reg = &lt;0x10059400 0x400&gt;;
    clocks = &lt;&amp;cpg CPG_MOD R9A07G044_TSU_PCLK&gt;;
    resets = &lt;&amp;cpg R9A07G044_TSU_PRESETN&gt;;
    power-domains = &lt;&amp;cpg&gt;;
    #thermal-sensor-cells = &lt;1&gt;;
};

thermal-zones {
    cpu-thermal {
        polling-delay-passive = &lt;250&gt;;
        polling-delay = &lt;1000&gt;;
        thermal-sensors = &lt;&amp;tsu 0&gt;;

        trips {
            sensor_crit: sensor-crit {
                temperature = &lt;125000&gt;;
                hysteresis = &lt;1000&gt;;
                type = "critical";
            };
        };
    };
};
</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>

<p id="dt-comment-1"><strong>Line 22:</strong> <span> RZ/G2UL and RZ/Five</span></p>

<p id="dt-comment-2"><strong>Line 23:</strong> <span> RZ/G2{L,LC}</span></p>

<p id="dt-comment-3"><strong>Line 24:</strong> <span> RZ/V2L</span></p>

</details>

---

# Samsung Exynos SoC Thermal Management Unit (TMU)

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

> Device-tree binding reference for Samsung Exynos SoC Thermal Management Unit (TMU).

<!-- 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;thermal&#47;samsung&#44;exynos&#45;thermal&#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">For multi-instance tmu each instance should have an alias correctly numbered
in "aliases" node.</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;samsung&#44;exynos3250&#45;tmu&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;samsung&#44;exynos4412&#45;tmu&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;samsung&#44;exynos4210&#45;tmu&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;samsung&#44;exynos5250&#45;tmu&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;samsung&#44;exynos5260&#45;tmu&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;samsung&#44;exynos5420&#45;tmu&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;samsung&#44;exynos5420&#45;tmu&#45;ext&#45;triminfo&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;samsung&#44;exynos5433&#45;tmu&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;samsung&#44;exynos7&#45;tmu&#34;</code></span>

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

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

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

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

### <code>interrupts</code> — required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">The Exynos TMU supports generating interrupts when reaching given
temperature thresholds. Number of supported thermal trip points depends
on the SoC (only first trip points defined in DT will be configured)::
 - most of SoC: 4
 - samsung,exynos5433-tmu: 8
 - samsung,exynos7-tmu: 8</p>
</div>

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

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">TMU instance registers.</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">Shared TMU registers.</p>
> <p style="white-space: pre-wrap">Note:: On Exynos5420, the TRIMINFO register is misplaced for TMU
> channels 2, 3 and 4 Use "samsung,exynos5420-tmu-ext-triminfo" in
> cases, there is a misplaced register, also provide clock to access
> that base.
> TRIMINFO at 0x1006c000 contains data for TMU channel 3
> TRIMINFO at 0x100a0000 contains data for TMU channel 4
> TRIMINFO at 0x10068000 contains data for TMU channel 2</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><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>0</code></span>

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

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

<div id="dt-0711423c5ee347e457ec">
<p style="white-space: pre-wrap">The regulator node supplying voltage to TMU.</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;clocks&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><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;thermal&#47;thermal&#45;sensor&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.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>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;samsung&#44;exynos5420&#45;tmu&#45;ext&#45;triminfo&#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-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-9bc2c4bcef6f6d2c7e6f"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-9a92b8140775cdd9d56e"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-5f2a23fcde50f95228b6">
> > > <p style="white-space: pre-wrap">Operational clock for TMU channel.</p>
> > > </div>
> >
> > <a id="dt-dc6ae259ca41c4b0d9fb"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-2cb4ced180ccd82e5b26">
> > > <p style="white-space: pre-wrap">Optional clock to access the shared registers (e.g. TRIMINFO) of TMU channel.</p>
> > > </div>
> >
> > <a id="dt-dde63784a5285c3f925c"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-07c804bf76c975c5a644"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-855b6229a724a1e988d5"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d22ff96126d7db564137"><code>&#34;tmu&#95;apbif&#34;</code></span>
> >
> > <a id="dt-fbbb17d593cc6352303b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1c6351ea0af6cbead296"><code>&#34;tmu&#95;triminfo&#95;apbif&#34;</code></span>
> >
> > <a id="dt-18ed1f4bd380878274d8"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-0bf955aace5399cedc74"><code>2</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-022546edf486cc20947c"><code>2</code></span>

<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;samsung&#44;exynos5433&#45;tmu&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;samsung&#44;exynos7&#45;tmu&#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-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > <a id="dt-848f98d28ea162761487"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-5bfe5ca02fe705443505"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-09903707c496e0ef03ef">
> > > <p style="white-space: pre-wrap">Operational clock for TMU channel.</p>
> > > </div>
> >
> > <a id="dt-082251df1c3a6e1c1dfa"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-b5f0a83e869b82c86019">
> > > <p style="white-space: pre-wrap">Optional special clock for functional operation of TMU channel.</p>
> > > </div>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;tmu&#95;apbif&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;tmu&#95;sclk&#34;</code></span>
> >
> > <a id="dt-b5c94fac3a56b4f9f0e9"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-951abd00fab37bf86404"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-69135558470d5e3ce462"><code>1</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;samsung&#44;exynos3250&#45;tmu&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;samsung&#44;exynos4412&#45;tmu&#34;</code></span>, <span id="dt-e937cad1333060d95a2c"><code>&#34;samsung&#44;exynos4210&#45;tmu&#34;</code></span>, <span id="dt-056d08a65205139bcaab"><code>&#34;samsung&#44;exynos5250&#45;tmu&#34;</code></span>, <span id="dt-02fa8e60e9295856d1a5"><code>&#34;samsung&#44;exynos5260&#45;tmu&#34;</code></span>, <span id="dt-9686ee1a9e2f3fa92406"><code>&#34;samsung&#44;exynos5420&#45;tmu&#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-9b48ab756d49c09e7d6e"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-0d329c1d0e8794ec82db"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2840472fefd88961267c"><code>1</code></span>
> >
> > <a id="dt-bf3c32dc20c3c8a6e8c5"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-3d3d2222c50fad4d2b47"><code>1</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-a871c44be1e9f993b306"><code>1</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/clock/exynos4.h&gt;

tmu@100c0000 {
    compatible = "samsung,exynos4412-tmu";
    reg = &lt;0x100C0000 0x100&gt;;
    interrupt-parent = &lt;&amp;combiner&gt;;
    interrupts = &lt;2 4&gt;;
    #thermal-sensor-cells = &lt;0&gt;;
    clocks = &lt;&amp;clock CLK_TMU_APBIF&gt;;
    clock-names = "tmu_apbif";
    vtmu-supply = &lt;&amp;ldo10_reg&gt;;
};
</code></pre>

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

tmu@10068000 {
    compatible = "samsung,exynos5420-tmu-ext-triminfo";
    reg = &lt;0x10068000 0x100&gt;, &lt;0x1006c000 0x4&gt;;
    interrupts = &lt;GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH&gt;;
    #thermal-sensor-cells = &lt;0&gt;;
    clocks = &lt;&amp;clock 318&gt;, &lt;&amp;clock 318&gt;; /* CLK_TMU */
    clock-names = "tmu_apbif", "tmu_triminfo_apbif";
    vtmu-supply = &lt;&amp;ldo7_reg&gt;;
};
</code></pre>

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

tmu@10060000 {
    compatible = "samsung,exynos5433-tmu";
    reg = &lt;0x10060000 0x200&gt;;
    interrupts = &lt;GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH&gt;;
    #thermal-sensor-cells = &lt;0&gt;;
    clocks = &lt;&amp;cmu_peris 3&gt;, /* CLK_PCLK_TMU0_APBIF */
             &lt;&amp;cmu_peris 35&gt;; /* CLK_SCLK_TMU0 */
    clock-names = "tmu_apbif", "tmu_sclk";
    vtmu-supply = &lt;&amp;ldo3_reg&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>

<p id="dt-comment-1"><strong>Line 24:</strong> <span> For TMU channel 0, 1 on Exynos5420:</span></p>

<p id="dt-comment-2"><strong>Line 26:</strong> <span> For TMU channels 2, 3 and 4 of Exynos5420:</span></p>

</details>

---

# Socionext UniPhier thermal monitor

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

> Device-tree binding reference for Socionext UniPhier thermal monitor.

<!-- 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;thermal&#47;socionext&#44;uniphier&#45;thermal&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This describes the devicetree bindings for thermal monitor supported by
PVT(Process, Voltage and Temperature) monitoring unit implemented on
Socionext UniPhier SoCs.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Kunihiko Hayashi &#60;hayashi&#46;kunihiko&#64;socionext&#46;com&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</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;socionext&#44;uniphier&#45;pxs2&#45;thermal&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;socionext&#44;uniphier&#45;ld20&#45;thermal&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;socionext&#44;uniphier&#45;pxs3&#45;thermal&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;socionext&#44;uniphier&#45;nx1&#45;thermal&#34;</code></span>

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

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><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>0</code></span>

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

### <code>socionext&#44;tmod&#45;calibration</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-629bc04c192785c1d01c">[<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>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8e96c8d33f45c7c6151b"><code>2</code></span>

<div id="dt-951b87ba6807069d9c16">
<p style="white-space: pre-wrap">A pair of calibrated values referred from PVT, in case that the values aren't set on SoC, like a reference board.</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;interrupts&#34;</code></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">// The UniPhier thermal should be a subnode of a "syscon" compatible node.

#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
pvtctl: thermal-sensor {
    compatible = "socionext,uniphier-ld20-thermal";
    interrupts = &lt;GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH&gt;;
    #thermal-sensor-cells = &lt;0&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>

---

# Spreadtrum thermal sensor controller

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

> Device-tree binding reference for Spreadtrum thermal sensor controller.

<!-- 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;thermal&#47;sprd&#45;thermal&#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;Orson Zhai &#60;orsonzhai&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Baolin Wang &#60;baolin&#46;wang7&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Chunyan Zhang &#60;zhang&#46;lyra&#64;gmail&#46;com&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<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;sprd&#44;ums512&#45;thermal&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;enable&#34;</code></span>

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

### <code>nvmem&#45;cells</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6ff2c544fbe83d749a59"><code>2</code></span>

<div id="dt-6e22bea212c5f15c1ddb">
<p style="white-space: pre-wrap">Reference to nvmem nodes for the calibration data.</p>
</div>

<a id="dt-28ee7fd676493bbd8d08"></a>

### <code>nvmem&#45;cell&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-30d2a590f6c0a447cfaa"><code>&#34;thm&#95;sign&#95;cal&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-441ea0caeb43e3f23d69"><code>&#34;thm&#95;ratio&#95;cal&#34;</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> — 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> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

<a id="dt-3b168be9ee841e07b68d"></a>

### <code>&#94;&#40;&#91;a&#45;z&#93;&#42;&#45;&#41;&#63;sensor&#40;&#45;section&#41;&#63;&#64;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

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

<div id="dt-e56305a55857462afaa3">
<p style="white-space: pre-wrap">Represent one thermal sensor.</p>
</div>

<a id="dt-2365a3d6bc71c3e5d44a"></a>

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

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

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

<div id="dt-c04504c294793cb1a8d9">
<p style="white-space: pre-wrap">Specify the sensor id.</p>
</div>

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

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

**<code>nvmem&#45;cells</code> — required here**

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

<div id="dt-bbdafc9c84392058ed2a">
<p style="white-space: pre-wrap">Reference to an nvmem node for the calibration data.</p>
</div>

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

**<code>nvmem&#45;cell&#45;names</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-876d9b6b8820c100d32f"><code>&#34;sen&#95;delta&#95;cal&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-7277ef9a746fadae5573"></a> <span id="dt-f14bf16c43b38ee710de"><code>&#34;reg&#34;</code></span>, <span id="dt-787bbb8ce0a657d42f67"><code>&#34;nvmem&#45;cells&#34;</code></span>, <span id="dt-9197599a26535be48f03"><code>&#34;nvmem&#45;cell&#45;names&#34;</code></span>

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

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

<code>false</code>

Not allowed by this rule.

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;nvmem&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;nvmem&#45;cell&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;size&#45;cells&#34;</code></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">thermal@32200000 {
    compatible = "sprd,ums512-thermal";
    reg = &lt;0x32200000 0x10000&gt;;
    clock-names = "enable";
    clocks = &lt;&amp;aonapb_gate 32&gt;;
    #thermal-sensor-cells = &lt;1&gt;;
    nvmem-cells = &lt;&amp;thm0_sign&gt;, &lt;&amp;thm0_ratio&gt;;
    nvmem-cell-names = "thm_sign_cal", "thm_ratio_cal";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    prometheus-sensor@0 {
        reg = &lt;0&gt;;
        nvmem-cells = &lt;&amp;thm0_sen0&gt;;
        nvmem-cell-names = "sen_delta_cal";
    };

    ank-sensor@1 {
        reg = &lt;1&gt;;
        nvmem-cells = &lt;&amp;thm0_sen1&gt;;
        nvmem-cell-names = "sen_delta_cal";
    };
};
</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>

---

# STMicroelectronics STi digital thermal sensor (DTS)

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

> Device-tree binding reference for STMicroelectronics STi digital thermal sensor (DTS).

<!-- 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;thermal&#47;st&#44;stih407&#45;thermal&#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;Patrice Chotard &#60;patrice&#46;chotard&#64;foss&#46;st&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Lee Jones &#60;lee&#64;kernel&#46;org&#62;&#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>thermal&#45;sensor&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<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;st&#44;stih407&#45;thermal&#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-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;thermal&#34;</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">For thermal sensors for which no interrupt has been defined, a polling delay of 1000ms will be used to read the temperature from device.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><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>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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
temperature-sensor@91a0000 {
    compatible = "st,stih407-thermal";
    reg = &lt;0x91a0000 0x28&gt;;
    clock-names = "thermal";
    clocks = &lt;&amp;CLK_SYSIN&gt;;
    interrupts = &lt;GIC_SPI 205 IRQ_TYPE_EDGE_RISING&gt;;
    #thermal-sensor-cells = &lt;0&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>

---

# STMicroelectronics STM32 digital thermal sensor (DTS)

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

> Device-tree binding reference for STMicroelectronics STM32 digital thermal sensor (DTS).

<!-- 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;thermal&#47;st&#44;stm32&#45;thermal&#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;Pascal Paillet &#60;p&#46;paillet&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<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;st&#44;stm32&#45;thermal&#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> — required here

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

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

### <code>clocks</code> — required here

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pclk&#34;</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>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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/clock/stm32mp1-clks.h&gt;
dts: thermal@50028000 {
    compatible = "st,stm32-thermal";
    reg = &lt;0x50028000 0x100&gt;;
    clocks = &lt;&amp;rcc TMPSENS&gt;;
    clock-names = "pclk";
    #thermal-sensor-cells = &lt;0&gt;;
    interrupts = &lt;GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH&gt;;
};

thermal-zones {
    cpu_thermal: cpu-thermal {
        polling-delay-passive = &lt;0&gt;;
        polling-delay = &lt;0&gt;;

        thermal-sensors = &lt;&amp;dts&gt;;
        trips {
            cpu_alert1: cpu-alert1 {
                temperature = &lt;85000&gt;;
                hysteresis = &lt;0&gt;;
                type = "passive";
            };

            cpu_crit: cpu-crit {
                temperature = &lt;120000&gt;;
                hysteresis = &lt;0&gt;;
                type = "critical";
            };
        };

        cooling-maps {
        };
    };
};
</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>

---

# Thermal cooling device

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

> Device-tree binding reference for Thermal cooling device.

<!-- SPDX-License-Identifier: (GPL-2.0) -->


<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;thermal&#47;thermal&#45;cooling&#45;devices&#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;Amit Kucheria &#60;amitk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Thermal management is achieved in devicetree by describing the sensor hardware
and the software abstraction of cooling devices and thermal zones required to
take appropriate action to mitigate thermal overload.</p>
<pre><code>The following node types are used to completely describe a thermal management
system in devicetree:
 - thermal-sensor: device that measures temperature, has SoC-specific bindings
 - cooling-device: device used to dissipate heat either passively or actively
 - thermal-zones: a container of the following node types used to describe all
   thermal data for the platform</code></pre>
<p style="white-space: pre-wrap">This binding describes the cooling devices.</p>
<pre><code>There are essentially two ways to provide control on power dissipation:
  - Passive cooling: by means of regulating device performance. A typical
    passive cooling mechanism is a CPU that has dynamic voltage and frequency
    scaling (DVFS), and uses lower frequencies as cooling states.
  - Active cooling: by means of activating devices in order to remove the
    dissipated heat, e.g. regulating fan speeds.</code></pre>
<p style="white-space: pre-wrap">Any cooling device has a range of cooling states (i.e. different levels of
heat dissipation). They also have a way to determine the state of cooling in
which the device is. For example, a fan's cooling states correspond to the
different fan speeds possible. Cooling states are referred to by single
unsigned integers, where larger numbers mean greater heat dissipation. The
precise set of cooling states associated with a device should be defined in
a particular device's binding.</p>
</div>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

<code>true</code>

This selection rule always matches.

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

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

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

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

<div id="dt-12ba0e3f87c43781a56e">
<p style="white-space: pre-wrap">Must be 2, in order to specify minimum and maximum cooling state used in the cooling-maps reference. The first cell is the minimum cooling state and the second cell is the maximum cooling state requested.</p>
</div>

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

<a id="dt-738c4b4f9e483441138b"></a>

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

<code>true</code>

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/arm-gic.h&gt;
#include &lt;dt-bindings/thermal/thermal.h&gt;

// Example 1: Cpufreq cooling device on CPU0
cpus {
        #address-cells = &lt;2&gt;;
        #size-cells = &lt;0&gt;;

        CPU0: cpu@0 {
                device_type = "cpu";
                compatible = "qcom,kryo385";
                reg = &lt;0x0 0x0&gt;;
                enable-method = "psci";
                cpu-idle-states = &lt;&amp;LITTLE_CPU_SLEEP_0&gt;,
                                  &lt;&amp;LITTLE_CPU_SLEEP_1&gt;,
                                  &lt;&amp;CLUSTER_SLEEP_0&gt;;
                capacity-dmips-mhz = &lt;607&gt;;
                dynamic-power-coefficient = &lt;100&gt;;
                qcom,freq-domain = &lt;&amp;cpufreq_hw 0&gt;;
                #cooling-cells = &lt;2&gt;;
                next-level-cache = &lt;&amp;L2_0&gt;;
                L2_0: l2-cache {
                        compatible = "cache";
                        cache-unified;
                        cache-level = &lt;2&gt;;
                        next-level-cache = &lt;&amp;L3_0&gt;;
                        L3_0: l3-cache {
                                compatible = "cache";
                                cache-unified;
                                cache-level = &lt;3&gt;;
                        };
                };
      };

      /* ... */

};

/* ... */

thermal-zones {
        cpu0-thermal {
                polling-delay-passive = &lt;250&gt;;
                polling-delay = &lt;1000&gt;;

                thermal-sensors = &lt;&amp;tsens0 1&gt;;

                trips {
                        cpu0_alert0: trip-point0 {
                                temperature = &lt;90000&gt;;
                                hysteresis = &lt;2000&gt;;
                                type = "passive";
                        };
                };

                cooling-maps {
                        map0 {
                                trip = &lt;&amp;cpu0_alert0&gt;;
                                /* Corresponds to 1000MHz in OPP table */
                                cooling-device = &lt;&amp;CPU0 5 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)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2020 Linaro Ltd.</span></p>

</details>

---

# Thermal idle cooling device

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

> Device-tree binding reference for Thermal idle cooling device.

<!-- 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;thermal&#47;thermal&#45;idle&#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;Daniel Lezcano &#60;daniel&#46;lezcano&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The thermal idle cooling device allows the system to passively
mitigate the temperature on the device by injecting idle cycles,
forcing it to cool down.</p>
<p style="white-space: pre-wrap">This binding describes the thermal idle node.</p>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8cca737a574136d30da2"><code>&#34;thermal&#45;idle&#34;</code></span>

<div id="dt-a548345486641e38cbb3">
<p style="white-space: pre-wrap">A thermal-idle node describes the idle cooling device properties to
cool down efficiently the attached thermal zone.</p>
</div>

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

### <code>&#35;cooling&#45;cells</code> — required here

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

<div id="dt-12ba0e3f87c43781a56e">
<p style="white-space: pre-wrap">Must be 2, in order to specify minimum and maximum cooling state used in
the cooling-maps reference. The first cell is the minimum cooling state
and the second cell is the maximum cooling state requested.</p>
</div>

<a id="dt-3b14bbb8e50978645cd0"></a>

### <code>duration&#45;us</code> — not listed as required here

<div id="dt-b61825d02a3d78849fe3">
<p style="white-space: pre-wrap">The idle duration in microsecond the device should cool down.</p>
</div>

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

### <code>exit&#45;latency&#45;us</code> — not listed as required here

<div id="dt-9cbea8f5bd94febdae2d">
<p style="white-space: pre-wrap">The exit latency constraint in microsecond for the injected idle state
for the device. It is the latency constraint to apply when selecting an
idle state from among all the present ones.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;cooling&#45;cells&#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-1a130cabaa8a47b058bf"></a>

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

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

    compatible = "foo";
    model = "foo";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;

    // Example: Combining idle cooling device on big CPUs with cpufreq cooling device
    cpus {
        #address-cells = &lt;2&gt;;
        #size-cells = &lt;0&gt;;

        /* ... */

        cpu_b0: cpu@100 {
            device_type = "cpu";
            compatible = "arm,cortex-a72";
            reg = &lt;0x0 0x100&gt;;
            enable-method = "psci";
            capacity-dmips-mhz = &lt;1024&gt;;
            dynamic-power-coefficient = &lt;436&gt;;
            #cooling-cells = &lt;2&gt;; /* min followed by max */
            cpu-idle-states = &lt;&amp;CPU_SLEEP&gt;, &lt;&amp;CLUSTER_SLEEP&gt;;
            cpu_b0_therm: thermal-idle {
                #cooling-cells = &lt;2&gt;;
                duration-us = &lt;10000&gt;;
                exit-latency-us = &lt;500&gt;;
            };
        };

        cpu_b1: cpu@101 {
            device_type = "cpu";
            compatible = "arm,cortex-a72";
            reg = &lt;0x0 0x101&gt;;
            enable-method = "psci";
            capacity-dmips-mhz = &lt;1024&gt;;
            dynamic-power-coefficient = &lt;436&gt;;
            #cooling-cells = &lt;2&gt;; /* min followed by max */
            cpu-idle-states = &lt;&amp;CPU_SLEEP&gt;, &lt;&amp;CLUSTER_SLEEP&gt;;
            cpu_b1_therm: thermal-idle {
                #cooling-cells = &lt;2&gt;;
                duration-us = &lt;10000&gt;;
                exit-latency-us = &lt;500&gt;;
            };
        };

        /* ... */

    };

    /* ... */

    thermal_zones {
        cpu_thermal: cpu {
            polling-delay-passive = &lt;100&gt;;
            polling-delay = &lt;1000&gt;;

            /* ... */

            trips {
                cpu_alert0: cpu_alert0 {
                    temperature = &lt;65000&gt;;
                    hysteresis = &lt;2000&gt;;
                    type = "passive";
                };

                cpu_alert1: cpu_alert1 {
                    temperature = &lt;70000&gt;;
                    hysteresis = &lt;2000&gt;;
                    type = "passive";
                };

                cpu_alert2: cpu_alert2 {
                    temperature = &lt;75000&gt;;
                    hysteresis = &lt;2000&gt;;
                    type = "passive";
                };

                cpu_crit: cpu_crit {
                    temperature = &lt;95000&gt;;
                    hysteresis = &lt;2000&gt;;
                    type = "critical";
                };
            };

            cooling-maps {
                map0 {
                    trip = &lt;&amp;cpu_alert1&gt;;
                    cooling-device = &lt;&amp;cpu_b0_therm 0 15 &gt;,
                                     &lt;&amp;cpu_b1_therm 0 15&gt;;
                };

                map1 {
                    trip = &lt;&amp;cpu_alert2&gt;;
                    cooling-device = &lt;&amp;cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT&gt;,
                                     &lt;&amp;cpu_b1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT&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>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2020 Linaro Ltd.</span></p>

</details>

---

# Thermal sensor

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

> Device-tree binding reference for Thermal sensor.

<!-- SPDX-License-Identifier: (GPL-2.0) -->


<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;thermal&#47;thermal&#45;sensor&#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;Amit Kucheria &#60;amitk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Thermal management is achieved in devicetree by describing the sensor hardware
and the software abstraction of thermal zones required to take appropriate
action to mitigate thermal overloads.</p>
<pre><code>The following node types are used to completely describe a thermal management
system in devicetree:
 - thermal-sensor: device that measures temperature, has SoC-specific bindings
 - cooling-device: device used to dissipate heat either passively or actively
 - thermal-zones: a container of the following node types used to describe all
   thermal data for the platform</code></pre>
<p style="white-space: pre-wrap">This binding describes the thermal-sensor.</p>
<p style="white-space: pre-wrap">Thermal sensor devices provide temperature sensing capabilities on thermal
zones. Typical devices are I2C ADC converters and bandgaps. Thermal sensor
devices may control one or more internal sensors.</p>
</div>

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

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

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

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

<div id="dt-0ef0091c52eb523e7d0b">
<p style="white-space: pre-wrap">Used to uniquely identify a thermal sensor instance within an IC. Will be 0 on sensor nodes with only a single sensor and at least 1 on nodes containing several internal sensors.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-ef1718d1bd9aff21caeb"></a> <span id="dt-e88932a60c4c95a26554"><code>0</code></span>, <span id="dt-efaf241770130b5c577d"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;thermal&#45;sensor&#45;cells&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

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

<code>true</code>

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/arm-gic.h&gt;

// Example 1: SDM845 TSENS
soc: soc {
        #address-cells = &lt;2&gt;;
        #size-cells = &lt;2&gt;;

        /* ... */

        tsens0: thermal-sensor@c263000 {
                compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
                reg = &lt;0 0x0c263000 0 0x1ff&gt;, /* TM */
                      &lt;0 0x0c222000 0 0x1ff&gt;; /* SROT */
                #qcom,sensors = &lt;13&gt;;
                interrupts = &lt;GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH&gt;,
                             &lt;GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH&gt;;
                interrupt-names = "uplow", "critical";
                #thermal-sensor-cells = &lt;1&gt;;
        };

        tsens1: thermal-sensor@c265000 {
                compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
                reg = &lt;0 0x0c265000 0 0x1ff&gt;, /* TM */
                      &lt;0 0x0c223000 0 0x1ff&gt;; /* SROT */
                #qcom,sensors = &lt;8&gt;;
                interrupts = &lt;GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH&gt;,
                             &lt;GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH&gt;;
                interrupt-names = "uplow", "critical";
                #thermal-sensor-cells = &lt;1&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)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2020 Linaro Ltd.</span></p>

</details>

---

# Thermal zone

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

> Device-tree binding reference for Thermal zone.

<!-- SPDX-License-Identifier: (GPL-2.0) -->


<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;thermal&#47;thermal&#45;zones&#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;base&#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;Daniel Lezcano &#60;daniel&#46;lezcano&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Thermal management is achieved in devicetree by describing the sensor hardware
and the software abstraction of cooling devices and thermal zones required to
take appropriate action to mitigate thermal overloads.</p>
<pre><code>The following node types are used to completely describe a thermal management
system in devicetree:
 - thermal-sensor: device that measures temperature, has SoC-specific bindings
 - cooling-device: device used to dissipate heat either passively or actively
 - thermal-zones: a container of the following node types used to describe all
   thermal data for the platform</code></pre>
<p style="white-space: pre-wrap">This binding describes the thermal-zones.</p>
<pre><code>The polling-delay properties of a thermal-zone are bound to the maximum dT/dt
(temperature derivative over time) in two situations for a thermal zone:
  1. when passive cooling is activated (polling-delay-passive)
  2. when the zone just needs to be monitored (polling-delay) or when
     active cooling is activated.</code></pre>
<p style="white-space: pre-wrap">The maximum dT/dt is highly bound to hardware power consumption and
dissipation capability. The delays should be chosen to account for said
max dT/dt, such that a device does not cross several trip boundaries
unexpectedly between polls. Choosing the right polling delays shall avoid
having the device in temperature ranges that may damage the silicon structures
and reduce silicon lifetime.</p>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8cca737a574136d30da2"><code>&#34;thermal&#45;zones&#34;</code></span>

<div id="dt-a548345486641e38cbb3">
<p style="white-space: pre-wrap">A /thermal-zones node is required in order to use the thermal framework to manage input from the various thermal zones in the system in order to mitigate thermal overload conditions. It does not represent a real device in the system, but acts as a container to link a thermal sensor device, platform-data regarding temperature thresholds and the mitigation actions to take when the temperature crosses those thresholds.</p>
</div>

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

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

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

### <code>&#94;&#91;a&#45;zA&#45;Z&#93;&#91;a&#45;zA&#45;Z0&#45;9&#92;&#45;&#93;&#123;1&#44;10&#125;&#45;thermal&#36;</code> — name matches this regular expression

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

<div id="dt-260ddac1ec339065d223">
<p style="white-space: pre-wrap">Each thermal zone node contains information about how frequently it must be checked, the sensor responsible for reporting temperature for this zone, one sub-node containing the various trip points for this zone and one sub-node containing all the zone cooling-maps.</p>
</div>

<a id="dt-176f4c490bde96702e84"></a>

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

<a id="dt-0d4c527a82ad55d78052"></a>

**<code>polling&#45;delay</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-52c5fa00ab2d547bd06e">[<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-ff8889f57497e14b60f5">
<p style="white-space: pre-wrap">The maximum number of milliseconds to wait between polls when checking this thermal zone. Setting this to 0 disables the polling timers setup by the thermal framework and assumes that the thermal sensors in this zone support interrupts.</p>
</div>

<a id="dt-29809c9ac05293cbd78e"></a>

**<code>polling&#45;delay&#45;passive</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-20d90ea0d2c3ad86e404">[<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-f20e31f6e40936ce41f0">
<p style="white-space: pre-wrap">The maximum number of milliseconds to wait between polls when checking this thermal zone while doing passive cooling. Setting this to 0 disables the polling timers setup by the thermal framework and assumes that the thermal sensors in this zone support interrupts.</p>
</div>

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

**<code>critical&#45;action</code> — not listed as required here**

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

<div id="dt-a5459a7274f391138840">
<p style="white-space: pre-wrap">The action the OS should perform after the critical temperature is reached.
If the property is not set, it is up to the system to select the correct
action. The recommended and preferred default is shutdown.
Choose 'reboot' with care, as the hardware may be in thermal stress,
thus leading to infinite reboots that may cause damage to the hardware.
Make sure the firmware/bootloader will act as the last resort and take
over the thermal control.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-f080996451f0d8401bea"></a> <span id="dt-fec30355489b028e10e8"><code>&#34;shutdown&#34;</code></span>, <span id="dt-e0b1c1f4e09b115f5150"><code>&#34;reboot&#34;</code></span>

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

**<code>thermal&#45;sensors</code> — required here**

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

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

<div id="dt-284000f45c6c579fe975">
<p style="white-space: pre-wrap">The thermal sensor phandle and sensor specifier used to monitor this thermal zone.</p>
</div>

<a id="dt-097661da9f8befc6b58a"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1d093f4c393cfe4c3daa">[<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>

<div id="dt-801847a22314aa6253b5">
<p style="white-space: pre-wrap">An array of integers containing the coefficients of a linear equation that binds all the sensors listed in this thermal zone.
The linear equation used is as follows, z = c0 * x0 + c1 * x1 + ... + c(n-1) * x(n-1) + cn where c0, c1, .., cn are the coefficients.
Coefficients default to 1 in case this property is not specified. The coefficients are ordered and are matched with sensors by means of the sensor ID. Additional coefficients are interpreted as constant offset.</p>
</div>

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

**<code>sustainable&#45;power</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-64e17d30a869a3b0a422">[<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-42676bf47e800ad4d9af">
<p style="white-space: pre-wrap">An estimate of the sustainable power (in mW) that this thermal zone can dissipate at the desired control temperature. For reference, the sustainable power of a 4-inch phone is typically 2000mW, while on a 10-inch tablet is around 4500mW.</p>
</div>

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

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

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

<div id="dt-0e8c6765222bd2868777">
<p style="white-space: pre-wrap">This node describes a set of points in the temperature domain at which the thermal framework needs to take action. The actions to be taken are defined in another node called cooling-maps.</p>
</div>

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

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

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

**<code>&#94;&#91;a&#45;zA&#45;Z&#93;&#91;a&#45;zA&#45;Z0&#45;9&#92;&#45;&#95;&#93;&#123;0&#44;63&#125;&#36;</code> — name matches this regular expression**

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

<a id="dt-32647f26f04652a064f7"></a>

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a4bd6d67db9569aef309">[<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-1a0c1c86494d7d10077f"><code>&#45;273000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-c58d91c7a860728cebd1"><code>200000</code></span>

<div id="dt-c93e42390cd0a8a6ff70">
<p style="white-space: pre-wrap">An integer expressing the trip temperature in millicelsius.</p>
</div>

<a id="dt-0a05f7ebaf44f6caac37"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-085a9fb15a2445a7a823">[<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-5bb737bb77039b57dca0">
<p style="white-space: pre-wrap">An unsigned integer expressing the hysteresis delta with respect to the trip temperature property above, also in millicelsius. Any cooling action initiated by the framework is maintained until the temperature falls below (trip temperature - hysteresis). This potentially prevents a situation where the trip gets constantly triggered soon after cooling action is removed.</p>
</div>

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-f8fc5813a304eee107e1"></a> <span id="dt-bc6dbdcabe7979485c28"><code>&#34;active&#34;</code></span>, <span id="dt-94c11b65a81fb5912617"><code>&#34;passive&#34;</code></span>, <span id="dt-21c4fb20333eb3fbb1d7"><code>&#34;hot&#34;</code></span>, <span id="dt-d415de4426fe61741eb4"><code>&#34;critical&#34;</code></span>

<div id="dt-fefce6fe5379e915d271">
<p style="white-space: pre-wrap">There are four valid trip types: active, passive, hot,
critical.</p>
<p style="white-space: pre-wrap">The critical trip type is used to set the maximum
temperature threshold above which the HW becomes
unstable and underlying firmware might even trigger a
reboot. Hitting the critical threshold triggers a system
shutdown.</p>
<p style="white-space: pre-wrap">The hot trip type can be used to send a notification to
the thermal driver (if a .notify callback is registered).
The action to be taken is left to the driver.</p>
<p style="white-space: pre-wrap">The passive trip type can be used to slow down HW e.g. run
the CPU, GPU, bus at a lower frequency.</p>
<p style="white-space: pre-wrap">The active trip type can be used to control other HW to
help in cooling e.g. fans can be sped up or slowed down</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-2d24b21cb32692eb8d99"></a> <span id="dt-e3759c0d9327515db4ab"><code>&#34;temperature&#34;</code></span>, <span id="dt-62a269915918bf684e32"><code>&#34;hysteresis&#34;</code></span>, <span id="dt-96002155bfd9f25220bd"><code>&#34;type&#34;</code></span>

<a id="dt-db4201b880b38f98a20f"></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-ae58f25acaed07e9fc17"></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-869b07da55a64c247eb6"></a>

**<code>cooling&#45;maps</code> — not listed as required here**

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

<a id="dt-3b20a4785c8ccd571527"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-1ae4df15953b5185598b">
<p style="white-space: pre-wrap">This node describes the action to be taken when a thermal zone crosses one of the temperature thresholds described in the trips node. The action takes the form of a mapping relation between a trip and the target cooling device state.</p>
</div>

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

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

<a id="dt-303659ac98cf53d019ec"></a>

**<code>&#94;map&#91;&#45;a&#45;zA&#45;Z0&#45;9&#93;&#42;&#36;</code> — name matches this regular expression**

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

<a id="dt-168297874703e6b12c81"></a>

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

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

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

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

<div id="dt-51b379d8abc5c9ca47d1">
<p style="white-space: pre-wrap">A phandle of a trip point node within this thermal zone.</p>
</div>

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

**<code>cooling&#45;device</code> — required here**

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

<div id="dt-264143e4baddd3a14dd7">
<p style="white-space: pre-wrap">A list of cooling device phandles along with the minimum and maximum cooling state specifiers for each cooling device. Using the THERMAL_NO_LIMIT (-1UL) constant in the cooling-device phandle limit specifier lets the framework use the minimum and maximum cooling state for that cooling device automatically.</p>
</div>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-48c3d292ab3b51591c8a">[<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-0e6ac26259d4c80a6f37">
<p style="white-space: pre-wrap">The cooling contribution to the thermal zone of the referred cooling device at the referred trip point. The contribution is a ratio of the sum of all cooling contributions within a thermal zone.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-25afd69f1ec8a21f7225"></a> <span id="dt-e3344dafd4354667a39d"><code>&#34;trip&#34;</code></span>, <span id="dt-5c9c6c5d648c9592889c"><code>&#34;cooling&#45;device&#34;</code></span>

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

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

<code>false</code>

Not allowed by this rule.

**Required in this object (<code>required</code>):** <a id="dt-0ba11f97eb2f4649a865"></a> <span id="dt-becca232cfc19b269f15"><code>&#34;thermal&#45;sensors&#34;</code></span>

<a id="dt-ec01ebdb08252e5b7ad7"></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-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/arm-gic.h&gt;
#include &lt;dt-bindings/thermal/thermal.h&gt;

// Example 1: SDM845 TSENS
soc {
        #address-cells = &lt;2&gt;;
        #size-cells = &lt;2&gt;;

        /* ... */

        tsens0: thermal-sensor@c263000 {
                compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
                reg = &lt;0 0x0c263000 0 0x1ff&gt;, /* TM */
                      &lt;0 0x0c222000 0 0x1ff&gt;; /* SROT */
                #qcom,sensors = &lt;13&gt;;
                interrupts = &lt;GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH&gt;,
                             &lt;GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH&gt;;
                interrupt-names = "uplow", "critical";
                #thermal-sensor-cells = &lt;1&gt;;
        };

        tsens1: thermal-sensor@c265000 {
                compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
                reg = &lt;0 0x0c265000 0 0x1ff&gt;, /* TM */
                      &lt;0 0x0c223000 0 0x1ff&gt;; /* SROT */
                #qcom,sensors = &lt;8&gt;;
                interrupts = &lt;GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH&gt;,
                             &lt;GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH&gt;;
                interrupt-names = "uplow", "critical";
                #thermal-sensor-cells = &lt;1&gt;;
        };
};

/* ... */

thermal-zones {
        cpu0-thermal {
                polling-delay-passive = &lt;250&gt;;
                polling-delay = &lt;1000&gt;;

                thermal-sensors = &lt;&amp;tsens0 1&gt;;

                trips {
                        cpu0_alert0: trip-point0 {
                                temperature = &lt;90000&gt;;
                                hysteresis = &lt;2000&gt;;
                                type = "passive";
                        };

                        cpu0_alert1: trip-point1 {
                                temperature = &lt;95000&gt;;
                                hysteresis = &lt;2000&gt;;
                                type = "passive";
                        };

                        cpu0_crit: cpu_crit {
                                temperature = &lt;110000&gt;;
                                hysteresis = &lt;1000&gt;;
                                type = "critical";
                        };
                };

                cooling-maps {
                        map0 {
                                trip = &lt;&amp;cpu0_alert0&gt;;
                                /* Corresponds to 1400MHz in OPP table */
                                cooling-device = &lt;&amp;CPU0 3 3&gt;, &lt;&amp;CPU1 3 3&gt;,
                                                 &lt;&amp;CPU2 3 3&gt;, &lt;&amp;CPU3 3 3&gt;;
                        };

                        map1 {
                                trip = &lt;&amp;cpu0_alert1&gt;;
                                /* Corresponds to 1000MHz in OPP table */
                                cooling-device = &lt;&amp;CPU0 5 5&gt;, &lt;&amp;CPU1 5 5&gt;,
                                                 &lt;&amp;CPU2 5 5&gt;, &lt;&amp;CPU3 5 5&gt;;
                        };
                };
        };

        /* ... */

        cluster0-thermal {
                polling-delay-passive = &lt;250&gt;;
                polling-delay = &lt;1000&gt;;

                thermal-sensors = &lt;&amp;tsens0 5&gt;;

                trips {
                        cluster0_alert0: trip-point0 {
                                temperature = &lt;90000&gt;;
                                hysteresis = &lt;2000&gt;;
                                type = "hot";
                        };
                        cluster0_crit: cluster0_crit {
                                temperature = &lt;110000&gt;;
                                hysteresis = &lt;2000&gt;;
                                type = "critical";
                        };
                };
        };

        /* ... */

        gpu-top-thermal {
                polling-delay-passive = &lt;250&gt;;
                polling-delay = &lt;1000&gt;;

                thermal-sensors = &lt;&amp;tsens0 11&gt;;

                trips {
                        gpu1_alert0: trip-point0 {
                                temperature = &lt;90000&gt;;
                                hysteresis = &lt;2000&gt;;
                                type = "hot";
                        };
                };
        };
};
</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)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2020 Linaro Ltd.</span></p>

<p id="dt-comment-2"><strong>Line 52:</strong> <span> Node name is limited in size due to Linux kernel requirements - 19</span></p>

<p id="dt-comment-3"><strong>Line 53:</strong> <span> characters in total (see THERMAL_NAME_LENGTH, including terminating NUL</span></p>

<p id="dt-comment-4"><strong>Line 54:</strong> <span> byte):</span></p>

<p id="dt-comment-5"><strong>Line 158:</strong> <span> enable active cooling e.g. fans</span></p>

<p id="dt-comment-6"><strong>Line 159:</strong> <span> enable passive cooling e.g. throttling cpu</span></p>

<p id="dt-comment-7"><strong>Line 160:</strong> <span> send notification to driver</span></p>

<p id="dt-comment-8"><strong>Line 161:</strong> <span> send notification to driver, trigger shutdown</span></p>

</details>

---

# Texas Instruments AM654 VTM (DTS)

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

> Device-tree binding reference for Texas Instruments AM654 VTM (DTS).

<!-- 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;thermal&#47;ti&#44;am654&#45;thermal&#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;Keerthy &#60;j&#45;keerthy&#64;ti&#46;com&#62;&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</span>

<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;ti&#44;am654&#45;vtm&#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-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><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>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;power&#45;domains&#34;</code></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">#include &lt;dt-bindings/soc/ti,sci_pm_domain.h&gt;
vtm: thermal@42050000 {
    compatible = "ti,am654-vtm";
    reg = &lt;0x42050000 0x25c&gt;;
    power-domains = &lt;&amp;k3_pds 80 TI_SCI_PD_EXCLUSIVE&gt;;
    #thermal-sensor-cells = &lt;1&gt;;
};

mpu0_thermal: mpu0_thermal {
    polling-delay-passive = &lt;250&gt;; /* milliseconds */
    polling-delay = &lt;500&gt;; /* milliseconds */
    thermal-sensors = &lt;&amp;vtm0 0&gt;;

    trips {
        mpu0_crit: mpu0_crit {
            temperature = &lt;125000&gt;; /* milliCelsius */
            hysteresis = &lt;2000&gt;; /* milliCelsius */
            type = "critical";
        };
    };
};
</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>

---

# Texas Instruments J72XX VTM (DTS)

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

> Device-tree binding reference for Texas Instruments J72XX VTM (DTS).

<!-- 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;thermal&#47;ti&#44;j72xx&#45;thermal&#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;Keerthy &#60;j&#45;keerthy&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TI K3 family of SoCs typically have a Voltage &amp; Thermal
Management (VTM) device to control up to 8 temperature diode
sensors to measure silicon junction temperatures from different
hotspots of the chip as well as provide temperature, interrupt
and alerting information.</p>
<p style="white-space: pre-wrap">The following polynomial equation can then be used to convert
value returned by this device into a temperature in Celsius</p>
<pre><code>Temp(C) = (-9.2627e-12) * x^4 + (6.0373e-08) * x^3 + \
          (-1.7058e-04) * x^2 + (3.2512e-01) * x   + (-4.9003e+01)</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>thermal&#45;sensor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-thermal/thermal-sensor.md#dt-root>)</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;ti&#44;j721e&#45;vtm&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;j7200&#45;vtm&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">VTM cfg1 register space</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">VTM cfg2 register space</p>
> </div>

<a id="dt-80d36cb915ffeff5364a"></a>

**Item 3**

> <div id="dt-5151e97c331b693ee0dd">
> <p style="white-space: pre-wrap">A software trimming method must be applied to some Jacinto
> devices to function properly. This eFuse region provides
> the information needed for these SoCs to report
> temperatures accurately.</p>
> </div>

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

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><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-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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;ti&#44;j721e&#45;vtm&#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-f6af340cf87a1ddfe255"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-fffe812d0ea9e20356f9"><code>3</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b8e4772f5364b2c96f73"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-8494f22b818f1d4ae683"><code>2</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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;power&#45;domains&#34;</code></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">#include &lt;dt-bindings/soc/ti,sci_pm_domain.h&gt;
wkup_vtm0: thermal-sensor@42040000 {
    compatible = "ti,j721e-vtm";
    reg = &lt;0x42040000 0x350&gt;,
          &lt;0x42050000 0x350&gt;,
          &lt;0x43000300 0x10&gt;;
    power-domains = &lt;&amp;k3_pds 154 TI_SCI_PD_EXCLUSIVE&gt;;
    #thermal-sensor-cells = &lt;1&gt;;
};

mpu_thermal: mpu-thermal {
    polling-delay-passive = &lt;250&gt;; /* milliseconds */
    polling-delay = &lt;500&gt;; /* milliseconds */
    thermal-sensors = &lt;&amp;wkup_vtm0 0&gt;;

    trips {
        mpu_crit: mpu-crit {
            temperature = &lt;125000&gt;; /* milliCelsius */
            hysteresis = &lt;2000&gt;; /* milliCelsius */
            type = "critical";
        };
    };
};
</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>
